Searched refs:oq_ctl (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/ |
D | octep_vf_cn9k.c | 203 u64 oq_ctl = ULL(0); in octep_vf_setup_oq_regs_cn93() local 230 oq_ctl = octep_vf_read_csr64(oct, CN93_VF_SDP_R_OUT_CONTROL(oq_no)); in octep_vf_setup_oq_regs_cn93() 231 oq_ctl &= ~GENMASK_ULL(22, 0); //clear the ISIZE and BSIZE (22-0) in octep_vf_setup_oq_regs_cn93() 232 oq_ctl |= (oq->buffer_size & GENMASK_ULL(15, 0)); //populate the BSIZE (15-0) in octep_vf_setup_oq_regs_cn93() 233 octep_vf_write_csr64(oct, CN93_VF_SDP_R_OUT_CONTROL(oq_no), oq_ctl); in octep_vf_setup_oq_regs_cn93()
|
D | octep_vf_cnxk.c | 206 u64 oq_ctl = ULL(0); in octep_vf_setup_oq_regs_cnxk() local 233 oq_ctl = octep_vf_read_csr64(oct, CNXK_VF_SDP_R_OUT_CONTROL(oq_no)); in octep_vf_setup_oq_regs_cnxk() 235 oq_ctl &= ~GENMASK_ULL(22, 0); in octep_vf_setup_oq_regs_cnxk() 237 oq_ctl |= (oq->buffer_size & GENMASK_ULL(15, 0)); in octep_vf_setup_oq_regs_cnxk() 238 octep_vf_write_csr64(oct, CNXK_VF_SDP_R_OUT_CONTROL(oq_no), oq_ctl); in octep_vf_setup_oq_regs_cnxk()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_cn9k_pf.c | 313 u64 oq_ctl = 0ULL; in octep_setup_oq_regs_cn93_pf() local 344 oq_ctl = octep_read_csr64(oct, CN93_SDP_R_OUT_CONTROL(oq_no)); in octep_setup_oq_regs_cn93_pf() 345 oq_ctl &= ~0x7fffffULL; //clear the ISIZE and BSIZE (22-0) in octep_setup_oq_regs_cn93_pf() 346 oq_ctl |= (oq->buffer_size & 0xffff); //populate the BSIZE (15-0) in octep_setup_oq_regs_cn93_pf() 347 octep_write_csr64(oct, CN93_SDP_R_OUT_CONTROL(oq_no), oq_ctl); in octep_setup_oq_regs_cn93_pf()
|
D | octep_cnxk_pf.c | 333 u64 oq_ctl = 0ULL; in octep_setup_oq_regs_cnxk_pf() local 364 oq_ctl = octep_read_csr64(oct, CNXK_SDP_R_OUT_CONTROL(oq_no)); in octep_setup_oq_regs_cnxk_pf() 367 oq_ctl &= ~0x7fffffULL; in octep_setup_oq_regs_cnxk_pf() 370 oq_ctl |= (oq->buffer_size & 0xffff); in octep_setup_oq_regs_cnxk_pf() 371 octep_write_csr64(oct, CNXK_SDP_R_OUT_CONTROL(oq_no), oq_ctl); in octep_setup_oq_regs_cnxk_pf()
|