Searched refs:slave_data (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/drivers/ata/ |
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_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_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 | 559 u8 slave_data; in piix_set_timings() local 602 pci_read_config_byte(dev, slave_port, &slave_data); in piix_set_timings() 603 slave_data &= (ap->port_no ? 0x0f : 0xf0); in piix_set_timings() 605 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) in piix_set_timings() 622 pci_write_config_byte(dev, slave_port, slave_data); in piix_set_timings()
|
/linux-6.6.21/drivers/net/ethernet/ti/ |
D | cpsw_new.c | 1244 data->slave_data = devm_kcalloc(dev, CPSW_SLAVE_PORTS_NUM, in cpsw_probe_dt() 1247 if (!data->slave_data) { in cpsw_probe_dt() 1260 struct cpsw_slave_data *slave_data; in cpsw_probe_dt() local 1277 slave_data = &data->slave_data[port_id - 1]; in cpsw_probe_dt() 1279 slave_data->disabled = !of_device_is_available(port_np); in cpsw_probe_dt() 1280 if (slave_data->disabled) in cpsw_probe_dt() 1283 slave_data->slave_node = port_np; in cpsw_probe_dt() 1284 slave_data->ifphy = devm_of_phy_get(dev, port_np, NULL); in cpsw_probe_dt() 1285 if (IS_ERR(slave_data->ifphy)) { in cpsw_probe_dt() 1286 ret = PTR_ERR(slave_data->ifphy); in cpsw_probe_dt() [all …]
|
D | cpsw.c | 1257 data->slave_data = devm_kcalloc(&pdev->dev, in cpsw_probe_dt() 1261 if (!data->slave_data) in cpsw_probe_dt() 1294 struct cpsw_slave_data *slave_data = data->slave_data + i; in cpsw_probe_dt() local 1302 slave_data->ifphy = devm_of_phy_get(&pdev->dev, slave_node, in cpsw_probe_dt() 1305 IS_ERR(slave_data->ifphy)) { in cpsw_probe_dt() 1306 ret = PTR_ERR(slave_data->ifphy); in cpsw_probe_dt() 1312 slave_data->slave_node = slave_node; in cpsw_probe_dt() 1313 slave_data->phy_node = of_parse_phandle(slave_node, in cpsw_probe_dt() 1316 if (slave_data->phy_node) { in cpsw_probe_dt() 1319 i, slave_data->phy_node); in cpsw_probe_dt() [all …]
|
D | cpsw_priv.h | 294 struct cpsw_slave_data *slave_data; member
|
D | cpsw_priv.c | 491 slave->data = &cpsw->data.slave_data[i]; in cpsw_init_common()
|
/linux-6.6.21/net/core/ |
D | rtnetlink.c | 666 struct nlattr *slave_data; in rtnl_link_slave_info_fill() local 678 slave_data = nla_nest_start_noflag(skb, IFLA_INFO_SLAVE_DATA); in rtnl_link_slave_info_fill() 679 if (!slave_data) in rtnl_link_slave_info_fill() 684 nla_nest_end(skb, slave_data); in rtnl_link_slave_info_fill() 689 nla_nest_cancel(skb, slave_data); in rtnl_link_slave_info_fill() 3539 struct nlattr **slave_data; in __rtnl_newlink() local 3619 slave_data = NULL; in __rtnl_newlink() 3633 slave_data = tbs->slave_attr; in __rtnl_newlink() 3665 slave_data, extack); in __rtnl_newlink()
|