Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/ti/
Dcpsw_ale.c510 int shift, port_shift; member
520 .port_shift = 0,
528 .port_shift = 0,
536 .port_shift = 0,
544 .port_shift = 0,
552 .port_shift = 0,
560 .port_shift = 0,
568 .port_shift = 0,
576 .port_shift = 0,
584 .port_shift = 0,
[all …]
/Linux-v5.4/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-v5.4/drivers/usb/host/
Dpci-quirks.c549 unsigned char value, port_shift; in usb_amd_pt_check_port() local
589 port_shift = port - 7; in usb_amd_pt_check_port()
592 port_shift = port + 1; in usb_amd_pt_check_port()
603 port_shift = port - 3; in usb_amd_pt_check_port()
606 port_shift = port + 5; in usb_amd_pt_check_port()
617 port_shift = port - 4; in usb_amd_pt_check_port()
620 port_shift = port + 4; in usb_amd_pt_check_port()
629 return !(value & BIT(port_shift)); in usb_amd_pt_check_port()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c491 if (tp->port_shift >= 0) in cxgb4_select_ntuple()
492 ntuple |= (u64)l2t->lport << tp->port_shift; in cxgb4_select_ntuple()
Dcxgb4_filter.c914 if (tp->port_shift >= 0) in is_filter_exact_match()
915 ntuple_mask |= (u64)fs->mask.iport << tp->port_shift; in is_filter_exact_match()
965 if (tp->port_shift >= 0 && fs->mask.iport) in hash_filter_ntuple()
966 ntuple |= (u64)fs->val.iport << tp->port_shift; in hash_filter_ntuple()
Dcxgb4.h303 int port_shift; member
Dt4_hw.c9468 adap->params.tp.port_shift = t4_filter_field_shift(adap, PORT_F); in t4_init_tp_params()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c9803 u32 port_shift = 0; in ixgbe_add_udp_tunnel_port() local
9842 port_shift = IXGBE_VXLANCTRL_GENEVE_UDPPORT_SHIFT; in ixgbe_add_udp_tunnel_port()
9849 reg = IXGBE_READ_REG(hw, IXGBE_VXLANCTRL) | ntohs(port) << port_shift; in ixgbe_add_udp_tunnel_port()