Searched refs:swa (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.h | 268 static inline void *dpaa2_get_hwa(void *buf_addr, bool swa) in dpaa2_get_hwa() argument 270 return buf_addr + (swa ? DPAA2_ETH_SWA_SIZE : 0); in dpaa2_get_hwa() 273 static inline struct dpaa2_fas *dpaa2_get_fas(void *buf_addr, bool swa) in dpaa2_get_fas() argument 275 return dpaa2_get_hwa(buf_addr, swa) + DPAA2_FAS_OFFSET; in dpaa2_get_fas() 278 static inline __le64 *dpaa2_get_ts(void *buf_addr, bool swa) in dpaa2_get_ts() argument 280 return dpaa2_get_hwa(buf_addr, swa) + DPAA2_TS_OFFSET; in dpaa2_get_ts() 283 static inline struct dpaa2_fapr *dpaa2_get_fapr(void *buf_addr, bool swa) in dpaa2_get_fapr() argument 285 return dpaa2_get_hwa(buf_addr, swa) + DPAA2_FAPR_OFFSET; in dpaa2_get_fapr() 288 static inline struct dpaa2_faead *dpaa2_get_faead(void *buf_addr, bool swa) in dpaa2_get_faead() argument 290 return dpaa2_get_hwa(buf_addr, swa) + DPAA2_FAEAD_OFFSET; in dpaa2_get_faead()
|
D | dpaa2-eth.c | 879 struct dpaa2_eth_swa *swa; in dpaa2_eth_build_sg_fd() local 935 swa = (struct dpaa2_eth_swa *)sgt_buf; in dpaa2_eth_build_sg_fd() 936 swa->type = DPAA2_ETH_SWA_SG; in dpaa2_eth_build_sg_fd() 937 swa->sg.skb = skb; in dpaa2_eth_build_sg_fd() 938 swa->sg.scl = scl; in dpaa2_eth_build_sg_fd() 939 swa->sg.num_sg = num_sg; in dpaa2_eth_build_sg_fd() 940 swa->sg.sgt_size = sgt_buf_size; in dpaa2_eth_build_sg_fd() 979 struct dpaa2_eth_swa *swa; in dpaa2_eth_build_sg_fd_single_buf() local 1005 swa = (struct dpaa2_eth_swa *)sgt_buf; in dpaa2_eth_build_sg_fd_single_buf() 1006 swa->type = DPAA2_ETH_SWA_SINGLE; in dpaa2_eth_build_sg_fd_single_buf() [all …]
|
/Linux-v6.1/drivers/scsi/aic94xx/ |
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);
|