Searched refs:swa (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.h | 288 static inline void *dpaa2_get_hwa(void *buf_addr, bool swa) in dpaa2_get_hwa() argument 290 return buf_addr + (swa ? DPAA2_ETH_SWA_SIZE : 0); in dpaa2_get_hwa() 293 static inline struct dpaa2_fas *dpaa2_get_fas(void *buf_addr, bool swa) in dpaa2_get_fas() argument 295 return dpaa2_get_hwa(buf_addr, swa) + DPAA2_FAS_OFFSET; in dpaa2_get_fas() 298 static inline __le64 *dpaa2_get_ts(void *buf_addr, bool swa) in dpaa2_get_ts() argument 300 return dpaa2_get_hwa(buf_addr, swa) + DPAA2_TS_OFFSET; in dpaa2_get_ts() 303 static inline struct dpaa2_fapr *dpaa2_get_fapr(void *buf_addr, bool swa) in dpaa2_get_fapr() argument 305 return dpaa2_get_hwa(buf_addr, swa) + DPAA2_FAPR_OFFSET; in dpaa2_get_fapr() 308 static inline struct dpaa2_faead *dpaa2_get_faead(void *buf_addr, bool swa) in dpaa2_get_faead() argument 310 return dpaa2_get_hwa(buf_addr, swa) + DPAA2_FAEAD_OFFSET; in dpaa2_get_faead()
|
H A D | dpaa2-eth.c | 971 swa->sg.skb = skb; in dpaa2_eth_build_sg_fd() 972 swa->sg.scl = scl; in dpaa2_eth_build_sg_fd() 1041 swa->single.skb = skb; in dpaa2_eth_build_sg_fd_single_buf() 1094 swa->single.skb = skb; in dpaa2_eth_build_single_fd() 1156 skb = swa->sg.skb; in dpaa2_eth_free_tx_fd() 1159 dma_unmap_sg(dev, swa->sg.scl, swa->sg.num_sg, in dpaa2_eth_free_tx_fd() 1161 kfree(swa->sg.scl); in dpaa2_eth_free_tx_fd() 1167 skb = swa->tso.skb; in dpaa2_eth_free_tx_fd() 1342 swa->tso.skb = skb; in dpaa2_eth_build_gso_fd() 1408 void *swa = NULL; in __dpaa2_eth_tx() local [all …]
|
H A D | dpaa2-xsk.c | 40 struct dpaa2_eth_swa *swa; in dpaa2_xsk_run_xdp() local 48 swa = (struct dpaa2_eth_swa *)(vaddr + DPAA2_ETH_RX_HWA_SIZE + in dpaa2_xsk_run_xdp() 50 xdp_buff = swa->xsk.xdp_buff; in dpaa2_xsk_run_xdp() 339 struct dpaa2_eth_swa *swa; in dpaa2_xsk_tx_build_fd() local 363 swa = (struct dpaa2_eth_swa *)sgt_buf; in dpaa2_xsk_tx_build_fd() 364 swa->type = DPAA2_ETH_SWA_XSK; in dpaa2_xsk_tx_build_fd() 365 swa->xsk.sgt_size = sgt_buf_size; in dpaa2_xsk_tx_build_fd()
|
/openbmc/linux/drivers/scsi/aic94xx/ |
H A D | aic94xx_reg.c | 126 ASD_READ_SW(swa, u8, byte); 127 ASD_READ_SW(swa, u16, word); 128 ASD_READ_SW(swa, u32, dword); 138 ASD_WRITE_SW(swa, u8, byte); 139 ASD_WRITE_SW(swa, u16, word); 140 ASD_WRITE_SW(swa, u32, dword);
|
/openbmc/qemu/target/openrisc/ |
H A D | disas.c | 96 INSN(swa, "%d(r%d), r%d", a->i, a->a, a->b)
|