Searched refs:port_shift (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/ti/ |
D | cpsw_ale.c | 878 int shift, port_shift; member 888 .port_shift = 0, 896 .port_shift = 0, 904 .port_shift = 0, 912 .port_shift = 0, 920 .port_shift = 0, 928 .port_shift = 0, 936 .port_shift = 0, 944 .port_shift = 0, 952 .port_shift = 0, [all …]
|
/linux-6.6.21/drivers/ata/ |
D | pata_sil680.c | 118 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.6.21/drivers/usb/host/ |
D | pci-quirks.c | 550 unsigned char value, port_shift; in usb_amd_pt_check_port() local 590 port_shift = port - 7; in usb_amd_pt_check_port() 593 port_shift = port + 1; in usb_amd_pt_check_port() 604 port_shift = port - 3; in usb_amd_pt_check_port() 607 port_shift = port + 5; in usb_amd_pt_check_port() 618 port_shift = port - 4; in usb_amd_pt_check_port() 621 port_shift = port + 4; in usb_amd_pt_check_port() 630 return !(value & BIT(port_shift)); in usb_amd_pt_check_port()
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/ |
D | l2t.c | 487 if (tp->port_shift >= 0) in cxgb4_select_ntuple() 488 ntuple |= (u64)l2t->lport << tp->port_shift; in cxgb4_select_ntuple()
|
D | cxgb4_filter.c | 1198 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()
|
D | cxgb4.h | 378 int port_shift; member
|
D | t4_hw.c | 9480 adap->params.tp.port_shift = t4_filter_field_shift(adap, PORT_F); in t4_init_tp_params()
|