Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/ti/
H A Dcpsw_ale.c911 int shift, port_shift; member
921 .port_shift = 0,
929 .port_shift = 0,
937 .port_shift = 0,
945 .port_shift = 0,
953 .port_shift = 0,
961 .port_shift = 0,
969 .port_shift = 0,
977 .port_shift = 0,
985 .port_shift = 0,
[all …]
/linux/drivers/ata/
H A 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/drivers/usb/host/
H A Dpci-quirks.c508 unsigned char value, port_shift; in usb_amd_pt_check_port() local
548 port_shift = port - 7; in usb_amd_pt_check_port()
551 port_shift = port + 1; in usb_amd_pt_check_port()
562 port_shift = port - 3; in usb_amd_pt_check_port()
565 port_shift = port + 5; in usb_amd_pt_check_port()
576 port_shift = port - 4; in usb_amd_pt_check_port()
579 port_shift = port + 4; in usb_amd_pt_check_port()
588 return !(value & BIT(port_shift)); in usb_amd_pt_check_port()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A 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()
1250 if (tp->port_shift >= 0 && fs->mask.iport) in hash_filter_ntuple()
1251 ntuple |= (u64)fs->val.iport << tp->port_shift; in hash_filter_ntuple()
H A Dcxgb4.h378 int port_shift; member
H A Dt4_hw.c9480 adap->params.tp.port_shift = t4_filter_field_shift(adap, PORT_F); in t4_init_tp_params()