Searched refs:DW_SWAP (Results 1 – 4 of 4) sorted by relevance
| /trueos/sys/dev/oce/ |
| HD | oce_mbox.c | 275 DW_SWAP(u32ptr(&mbx), mbx.payload_length + OCE_BMBX_RHDR_SZ); in oce_get_fw_version() 368 DW_SWAP(u32ptr(&mb_cqe->u0.dw[0]), sizeof(struct oce_mq_cqe)); in oce_mbox_post() 434 DW_SWAP(u32ptr(&mbx), mbx.payload_length + OCE_BMBX_RHDR_SZ); in oce_read_mac_addr() 479 DW_SWAP(u32ptr(&mbx), mbx.payload_length + OCE_BMBX_RHDR_SZ); in oce_get_fw_config() 492 DW_SWAP(u32ptr(fwcmd), sizeof(struct mbx_common_query_fw_config)); in oce_get_fw_config() 546 DW_SWAP(u32ptr(&fwcmd->hdr), sizeof(struct mbx_hdr)); in oce_if_create() 561 DW_SWAP(u32ptr(&mbx), OCE_BMBX_RHDR_SZ); in oce_if_create() 609 DW_SWAP(u32ptr(&mbx), mbx.payload_length + OCE_BMBX_RHDR_SZ); in oce_if_del() 666 DW_SWAP(u32ptr(&mbx), (OCE_BMBX_RHDR_SZ + mbx.payload_length)); in oce_config_vlan() 719 DW_SWAP(u32ptr(&mbx), mbx.payload_length + OCE_BMBX_RHDR_SZ); in oce_set_flow_control() [all …]
|
| HD | oce_if.c | 1220 DW_SWAP((uint32_t *) cqe, sizeof(oce_wq_cqe)); in oce_wq_handler() 1607 DW_SWAP(u32ptr(rqe), sizeof(struct oce_nic_rqe)); in oce_alloc_rx_bufs() 1645 DW_SWAP((uint32_t *) cqe, sizeof(oce_rq_cqe)); in oce_rq_handler() 2190 DW_SWAP((uint32_t *) cqe, sizeof(oce_mq_cqe)); in oce_mq_handler()
|
| HD | oce_queue.c | 728 DW_SWAP(u32ptr(&mbx), mbx.payload_length + OCE_BMBX_RHDR_SZ); in oce_mq_create() 851 DW_SWAP(u32ptr(mbx), mbx->payload_length + OCE_BMBX_RHDR_SZ); in oce_destroy_q()
|
| HD | oce_if.h | 1108 #define DW_SWAP(x, l) macro
|