Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/ti/
Dcpsw_ale.c864 int shift, port_shift; member
874 .port_shift = 0,
882 .port_shift = 0,
890 .port_shift = 0,
898 .port_shift = 0,
906 .port_shift = 0,
914 .port_shift = 0,
922 .port_shift = 0,
930 .port_shift = 0,
938 .port_shift = 0,
[all …]
/linux-6.1.9/drivers/ata/
Dpata_sil680.c118 int port_shift = 4 * adev->devno; in sil680_set_piomode() local
134 mode &= ~(3 << port_shift); /* Clear IORDY and DMA bits */ in sil680_set_piomode()
138 mode |= 1 << port_shift; in sil680_set_piomode()
167 int port_shift = adev->devno * 4; in sil680_set_dmamode() local
178 mode &= ~(0x03 << port_shift); in sil680_set_dmamode()
186 mode |= (0x03 << port_shift); in sil680_set_dmamode()
189 mode |= (0x02 << port_shift); in sil680_set_dmamode()
/linux-6.1.9/drivers/usb/host/
Dpci-quirks.c552 unsigned char value, port_shift; in usb_amd_pt_check_port() local
592 port_shift = port - 7; in usb_amd_pt_check_port()
595 port_shift = port + 1; in usb_amd_pt_check_port()
606 port_shift = port - 3; in usb_amd_pt_check_port()
609 port_shift = port + 5; in usb_amd_pt_check_port()
620 port_shift = port - 4; in usb_amd_pt_check_port()
623 port_shift = port + 4; in usb_amd_pt_check_port()
632 return !(value & BIT(port_shift)); in usb_amd_pt_check_port()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c487 if (tp->port_shift >= 0) in cxgb4_select_ntuple()
488 ntuple |= (u64)l2t->lport << tp->port_shift; in cxgb4_select_ntuple()
Dcxgb4_filter.c1198 if (tp->port_shift >= 0) in is_filter_exact_match()
1199 ntuple_mask |= (u64)fs->mask.iport << tp->port_shift; in is_filter_exact_match()
1249 if (tp->port_shift >= 0 && fs->mask.iport) in hash_filter_ntuple()
1250 ntuple |= (u64)fs->val.iport << tp->port_shift; in hash_filter_ntuple()
Dcxgb4.h378 int port_shift; member
Dt4_hw.c9478 adap->params.tp.port_shift = t4_filter_field_shift(adap, PORT_F); in t4_init_tp_params()