/drivers/ata/ |
D | pata_it8213.c | 112 u8 slave_data; in it8213_set_piomode() local 118 pci_read_config_byte(dev, 0x44, &slave_data); in it8213_set_piomode() 119 slave_data &= 0xF0; in it8213_set_piomode() 120 slave_data |= (timings[pio][0] << 2) | timings[pio][1]; in it8213_set_piomode() 121 pci_write_config_byte(dev, 0x44, slave_data); in it8213_set_piomode() 194 u8 slave_data; in it8213_set_dmamode() local 212 pci_read_config_byte(dev, 0x44, &slave_data); in it8213_set_dmamode() 213 slave_data &= 0xF0; in it8213_set_dmamode() 215 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << (ap->port_no ? 4 : 0); in it8213_set_dmamode() 216 pci_write_config_byte(dev, 0x44, slave_data); in it8213_set_dmamode()
|
D | pata_efar.c | 126 u8 slave_data; in efar_set_piomode() local 132 pci_read_config_byte(dev, 0x44, &slave_data); in efar_set_piomode() 133 slave_data &= ap->port_no ? 0x0F : 0xF0; in efar_set_piomode() 134 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << shift; in efar_set_piomode() 135 pci_write_config_byte(dev, 0x44, slave_data); in efar_set_piomode() 199 u8 slave_data; in efar_set_dmamode() local 217 pci_read_config_byte(dev, 0x44, &slave_data); in efar_set_dmamode() 218 slave_data &= ap->port_no ? 0x0F : 0xF0; in efar_set_dmamode() 220 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << (ap->port_no ? 4 : 0); in efar_set_dmamode() 221 pci_write_config_byte(dev, 0x44, slave_data); in efar_set_dmamode()
|
D | pata_rdc.c | 97 u8 slave_data; in rdc_set_piomode() local 130 pci_read_config_byte(dev, slave_port, &slave_data); in rdc_set_piomode() 131 slave_data &= (ap->port_no ? 0x0f : 0xf0); in rdc_set_piomode() 133 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) in rdc_set_piomode() 147 pci_write_config_byte(dev, slave_port, slave_data); in rdc_set_piomode() 234 u8 slave_data; in rdc_set_dmamode() local 252 pci_read_config_byte(dev, 0x44, &slave_data); in rdc_set_dmamode() 253 slave_data &= (ap->port_no ? 0x0f : 0xf0); in rdc_set_dmamode() 255 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << (ap->port_no ? 4 : 0); in rdc_set_dmamode() 256 pci_write_config_byte(dev, 0x44, slave_data); in rdc_set_dmamode()
|
D | ata_piix.c | 558 u8 slave_data; in piix_set_timings() local 601 pci_read_config_byte(dev, slave_port, &slave_data); in piix_set_timings() 602 slave_data &= (ap->port_no ? 0x0f : 0xf0); in piix_set_timings() 604 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) in piix_set_timings() 621 pci_write_config_byte(dev, slave_port, slave_data); in piix_set_timings()
|
/drivers/ide/ |
D | it8213.c | 35 u8 slave_data; in it8213_set_pio_mode() local 61 pci_read_config_byte(dev, slave_port, &slave_data); in it8213_set_pio_mode() 62 slave_data = slave_data & 0xf0; in it8213_set_pio_mode() 63 slave_data = slave_data | (timings[pio][0] << 2) | timings[pio][1]; in it8213_set_pio_mode() 72 pci_write_config_byte(dev, slave_port, slave_data); in it8213_set_pio_mode()
|
D | slc90e66.c | 30 u8 slave_data; in slc90e66_set_pio_mode() local 58 pci_read_config_byte(dev, slave_port, &slave_data); in slc90e66_set_pio_mode() 59 slave_data &= hwif->channel ? 0x0f : 0xf0; in slc90e66_set_pio_mode() 60 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << in slc90e66_set_pio_mode() 72 pci_write_config_byte(dev, slave_port, slave_data); in slc90e66_set_pio_mode()
|
D | piix.c | 76 u8 slave_data; in piix_set_pio_mode() local 110 pci_read_config_byte(dev, slave_port, &slave_data); in piix_set_pio_mode() 111 slave_data &= hwif->channel ? 0x0f : 0xf0; in piix_set_pio_mode() 112 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << in piix_set_pio_mode() 124 pci_write_config_byte(dev, slave_port, slave_data); in piix_set_pio_mode()
|
/drivers/net/ethernet/ti/ |
D | cpsw_new.c | 1255 data->slave_data = devm_kcalloc(dev, CPSW_SLAVE_PORTS_NUM, in cpsw_probe_dt() 1258 if (!data->slave_data) { in cpsw_probe_dt() 1271 struct cpsw_slave_data *slave_data; in cpsw_probe_dt() local 1289 slave_data = &data->slave_data[port_id - 1]; in cpsw_probe_dt() 1291 slave_data->disabled = !of_device_is_available(port_np); in cpsw_probe_dt() 1292 if (slave_data->disabled) in cpsw_probe_dt() 1295 slave_data->slave_node = port_np; in cpsw_probe_dt() 1296 slave_data->ifphy = devm_of_phy_get(dev, port_np, NULL); in cpsw_probe_dt() 1297 if (IS_ERR(slave_data->ifphy)) { in cpsw_probe_dt() 1298 ret = PTR_ERR(slave_data->ifphy); in cpsw_probe_dt() [all …]
|
D | cpsw.c | 1273 data->slave_data = devm_kcalloc(&pdev->dev, in cpsw_probe_dt() 1277 if (!data->slave_data) in cpsw_probe_dt() 1310 struct cpsw_slave_data *slave_data = data->slave_data + i; in cpsw_probe_dt() local 1319 slave_data->ifphy = devm_of_phy_get(&pdev->dev, slave_node, in cpsw_probe_dt() 1322 IS_ERR(slave_data->ifphy)) { in cpsw_probe_dt() 1323 ret = PTR_ERR(slave_data->ifphy); in cpsw_probe_dt() 1329 slave_data->slave_node = slave_node; in cpsw_probe_dt() 1330 slave_data->phy_node = of_parse_phandle(slave_node, in cpsw_probe_dt() 1333 if (slave_data->phy_node) { in cpsw_probe_dt() 1336 i, slave_data->phy_node); in cpsw_probe_dt() [all …]
|
D | cpsw_priv.h | 292 struct cpsw_slave_data *slave_data; member
|
D | cpsw_priv.c | 490 slave->data = &cpsw->data.slave_data[i]; in cpsw_init_common()
|