Searched refs:wrp (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | hal.c | 230 hal->wrp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->wrp.paddr, in ath11k_hal_alloc_cont_wrp() 232 if (!hal->wrp.vaddr) in ath11k_hal_alloc_cont_wrp() 243 if (!hal->wrp.vaddr) in ath11k_hal_free_cont_wrp() 248 hal->wrp.vaddr, hal->wrp.paddr); in ath11k_hal_free_cont_wrp() 249 hal->wrp.vaddr = NULL; in ath11k_hal_free_cont_wrp() 535 return ab->hal.wrp.paddr + in ath11k_hal_srng_get_hp_addr() 537 (unsigned long)ab->hal.wrp.vaddr); in ath11k_hal_srng_get_hp_addr() 555 return ab->hal.wrp.paddr + in ath11k_hal_srng_get_tp_addr() 557 (unsigned long)ab->hal.wrp.vaddr); in ath11k_hal_srng_get_tp_addr() 1016 srng->u.src_ring.hp_addr = (void *)(hal->wrp.vaddr + in ath11k_hal_srng_setup() [all …]
|
H A D | hal.h | 904 } wrp; member
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | hal.c | 1213 hal->wrp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->wrp.paddr, in ath12k_hal_alloc_cont_wrp() 1215 if (!hal->wrp.vaddr) in ath12k_hal_alloc_cont_wrp() 1226 if (!hal->wrp.vaddr) in ath12k_hal_free_cont_wrp() 1231 hal->wrp.vaddr, hal->wrp.paddr); in ath12k_hal_free_cont_wrp() 1232 hal->wrp.vaddr = NULL; in ath12k_hal_free_cont_wrp() 1503 return ab->hal.wrp.paddr + in ath12k_hal_srng_get_hp_addr() 1505 (unsigned long)ab->hal.wrp.vaddr); in ath12k_hal_srng_get_hp_addr() 1523 return ab->hal.wrp.paddr + in ath12k_hal_srng_get_tp_addr() 1525 (unsigned long)ab->hal.wrp.vaddr); in ath12k_hal_srng_get_tp_addr() 1962 srng->u.src_ring.hp_addr = (void *)(hal->wrp.vaddr + in ath12k_hal_srng_setup() [all …]
|
H A D | hal.h | 1016 } wrp; member
|
/freebsd/sys/dev/cxgb/ |
H A D | cxgb_sge.c | 287 set_wr_hdr(struct work_request_hdr *wrp, uint32_t wr_hi, uint32_t wr_lo) in set_wr_hdr() argument 297 wrp->wrh_hilo = wr_hilo; in set_wr_hdr() 301 set_wr_hdr(struct work_request_hdr *wrp, uint32_t wr_hi, uint32_t wr_lo) in set_wr_hdr() argument 304 wrp->wrh_hi = wr_hi; in set_wr_hdr() 306 wrp->wrh_lo = wr_lo; in set_wr_hdr() 1284 struct work_request_hdr *wrp = (struct work_request_hdr *)txd; in write_wr_hdr_sgl() local 1287 set_wr_hdr(wrp, htonl(F_WR_SOP | F_WR_EOP | V_WR_DATATYPE(1) | in write_wr_hdr_sgl() 1297 struct work_request_hdr *wp = wrp; in write_wr_hdr_sgl() 1299 wrp->wrh_hi = htonl(F_WR_SOP | V_WR_DATATYPE(1) | in write_wr_hdr_sgl() 1326 wrp = (struct work_request_hdr *)txd; in write_wr_hdr_sgl() [all …]
|