Home
last modified time | relevance | path

Searched refs:port_shift (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/ti/
Dcpsw_ale.c521 int shift, port_shift; member
531 .port_shift = 0,
539 .port_shift = 0,
547 .port_shift = 0,
555 .port_shift = 0,
563 .port_shift = 0,
571 .port_shift = 0,
579 .port_shift = 0,
587 .port_shift = 0,
595 .port_shift = 0,
[all …]
/Linux-v4.19/drivers/ata/
Dpata_sil680.c121 int port_shift = 4 * adev->devno; in sil680_set_piomode() local
137 mode &= ~(3 << port_shift); /* Clear IORDY and DMA bits */ in sil680_set_piomode()
141 mode |= 1 << port_shift; in sil680_set_piomode()
170 int port_shift = adev->devno * 4; in sil680_set_dmamode() local
181 mode &= ~(0x03 << port_shift); in sil680_set_dmamode()
189 mode |= (0x03 << port_shift); in sil680_set_dmamode()
192 mode |= (0x02 << port_shift); in sil680_set_dmamode()
/Linux-v4.19/drivers/usb/host/
Dpci-quirks.c540 unsigned char value, port_shift; in usb_amd_pt_check_port() local
580 port_shift = port - 7; in usb_amd_pt_check_port()
583 port_shift = port + 1; in usb_amd_pt_check_port()
594 port_shift = port - 3; in usb_amd_pt_check_port()
597 port_shift = port + 5; in usb_amd_pt_check_port()
608 port_shift = port - 4; in usb_amd_pt_check_port()
611 port_shift = port + 4; in usb_amd_pt_check_port()
620 return !(value & BIT(port_shift)); in usb_amd_pt_check_port()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c489 if (tp->port_shift >= 0) in cxgb4_select_ntuple()
490 ntuple |= (u64)l2t->lport << tp->port_shift; in cxgb4_select_ntuple()
Dcxgb4_filter.c892 if (tp->port_shift >= 0) in is_filter_exact_match()
893 ntuple_mask |= (u64)fs->mask.iport << tp->port_shift; in is_filter_exact_match()
943 if (tp->port_shift >= 0 && fs->mask.iport) in hash_filter_ntuple()
944 ntuple |= (u64)fs->val.iport << tp->port_shift; in hash_filter_ntuple()
Dcxgb4.h301 int port_shift; member
Dt4_hw.c9241 adap->params.tp.port_shift = t4_filter_field_shift(adap, PORT_F); in t4_init_tp_params()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c9688 u32 port_shift = 0; in ixgbe_add_udp_tunnel_port() local
9727 port_shift = IXGBE_VXLANCTRL_GENEVE_UDPPORT_SHIFT; in ixgbe_add_udp_tunnel_port()
9734 reg = IXGBE_READ_REG(hw, IXGBE_VXLANCTRL) | ntohs(port) << port_shift; in ixgbe_add_udp_tunnel_port()