Home
last modified time | relevance | path

Searched refs:pktctl (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/cavium/liquidio/
H A Dcn68xx_device.c71 u64 pktctl, tx_pipe, max_oqs; in lio_cn68xx_setup_pkt_ctl_regs() local
73 pktctl = octeon_read_csr64(oct, CN6XXX_SLI_PKT_CTL); in lio_cn68xx_setup_pkt_ctl_regs()
83 pktctl |= 0xF; in lio_cn68xx_setup_pkt_ctl_regs()
86 pktctl &= ~0xF; in lio_cn68xx_setup_pkt_ctl_regs()
87 octeon_write_csr64(oct, CN6XXX_SLI_PKT_CTL, pktctl); in lio_cn68xx_setup_pkt_ctl_regs()
H A Dcn66xx_device.c172 u64 pktctl; in lio_cn66xx_setup_pkt_ctl_regs() local
176 pktctl = octeon_read_csr64(oct, CN6XXX_SLI_PKT_CTL); in lio_cn66xx_setup_pkt_ctl_regs()
181 pktctl &= ~(1 << 4); in lio_cn66xx_setup_pkt_ctl_regs()
183 pktctl |= (1 << 4); in lio_cn66xx_setup_pkt_ctl_regs()
186 pktctl |= 0xF; in lio_cn66xx_setup_pkt_ctl_regs()
189 pktctl &= ~0xF; in lio_cn66xx_setup_pkt_ctl_regs()
190 octeon_write_csr64(oct, CN6XXX_SLI_PKT_CTL, pktctl); in lio_cn66xx_setup_pkt_ctl_regs()