/drivers/message/fusion/ |
D | mptsas.c | 128 struct mptsas_portinfo *port_info, u8 force); 384 struct mptsas_portinfo *port_info, *rc=NULL; in mptsas_find_portinfo_by_handle() local 387 list_for_each_entry(port_info, &ioc->sas_topology, list) in mptsas_find_portinfo_by_handle() 388 for (i = 0; i < port_info->num_phys; i++) in mptsas_find_portinfo_by_handle() 389 if (port_info->phy_info[i].identify.handle == handle) { in mptsas_find_portinfo_by_handle() 390 rc = port_info; in mptsas_find_portinfo_by_handle() 408 struct mptsas_portinfo *port_info, *rc = NULL; in mptsas_find_portinfo_by_sas_address() local 417 list_for_each_entry(port_info, &ioc->sas_topology, list) in mptsas_find_portinfo_by_sas_address() 418 for (i = 0; i < port_info->num_phys; i++) in mptsas_find_portinfo_by_sas_address() 419 if (port_info->phy_info[i].identify.sas_address == in mptsas_find_portinfo_by_sas_address() [all …]
|
D | mptsas.h | 155 struct mptsas_portinfo *port_info; member
|
/drivers/acpi/acpica/ |
D | hwvalid.c | 129 const struct acpi_port_info *port_info; in acpi_hw_validate_io_request() local 141 port_info = acpi_protected_ports; in acpi_hw_validate_io_request() 167 for (i = 0; i < ACPI_PORT_INFO_ENTRIES; i++, port_info++) { in acpi_hw_validate_io_request() 177 if ((address <= port_info->end) in acpi_hw_validate_io_request() 178 && (last_address >= port_info->start)) { in acpi_hw_validate_io_request() 182 if (acpi_gbl_osi_data >= port_info->osi_dependency) { in acpi_hw_validate_io_request() 186 byte_width, port_info->name, in acpi_hw_validate_io_request() 187 port_info->start, in acpi_hw_validate_io_request() 188 port_info->end)); in acpi_hw_validate_io_request() 196 if (last_address <= port_info->end) { in acpi_hw_validate_io_request()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | sched.c | 42 static int t4_sched_class_fw_cmd(struct port_info *pi, in t4_sched_class_fw_cmd() 71 static int t4_sched_bind_unbind_op(struct port_info *pi, void *arg, in t4_sched_bind_unbind_op() 110 static struct sched_class *t4_sched_queue_lookup(struct port_info *pi, in t4_sched_queue_lookup() 145 static int t4_sched_queue_unbind(struct port_info *pi, struct ch_sched_queue *p) in t4_sched_queue_unbind() 191 static int t4_sched_queue_bind(struct port_info *pi, struct ch_sched_queue *p) in t4_sched_queue_bind() 239 static void t4_sched_class_unbind_all(struct port_info *pi, in t4_sched_class_unbind_all() 259 static int t4_sched_class_bind_unbind_op(struct port_info *pi, void *arg, in t4_sched_class_bind_unbind_op() 298 struct port_info *pi = netdev2pinfo(dev); in cxgb4_sched_class_bind() 345 struct port_info *pi = netdev2pinfo(dev); in cxgb4_sched_class_unbind() 379 static struct sched_class *t4_sched_class_lookup(struct port_info *pi, in t4_sched_class_lookup() [all …]
|
D | cxgb4_dcb.c | 48 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_state_init() 63 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_version_init() 74 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_cleanup_apps() 114 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_state_fsm() 257 struct port_info *pi = netdev_priv(dev); in cxgb4_dcb_handle_fw_update() 391 struct port_info *pi = netdev2pinfo(dev); in cxgb4_getstate() 400 struct port_info *pi = netdev2pinfo(dev); in cxgb4_setstate() 421 struct port_info *pi = netdev2pinfo(dev); in cxgb4_getpgtccfg() 484 struct port_info *pi = netdev2pinfo(dev); in cxgb4_setpgtccfg_tx() 546 struct port_info *pi = netdev2pinfo(dev); in cxgb4_getpgbwgcfg() [all …]
|
D | cxgb4_ethtool.c | 308 const struct port_info *p, in collect_sge_port_stats() 414 struct port_info *pi = netdev_priv(dev); in get_stats() 457 struct port_info *p = netdev_priv(dev); in restart_autoneg() 677 const struct port_info *pi = netdev_priv(dev); in get_link_ksettings() 726 struct port_info *pi = netdev_priv(dev); in set_link_ksettings() 779 struct port_info *p = netdev_priv(dev); in get_pauseparam() 789 struct port_info *p = netdev_priv(dev); in set_pauseparam() 811 const struct port_info *pi = netdev_priv(dev); in get_sge_param() 828 const struct port_info *pi = netdev_priv(dev); in set_sge_param() 862 struct port_info *pi = netdev_priv(dev); in set_rx_intr_params() [all …]
|
D | sched.h | 84 struct port_info *pi = netdev2pinfo(dev); in can_sched() 91 struct port_info *pi = netdev2pinfo(dev); in valid_class_id()
|
D | cxgb4_fcoe.c | 70 struct port_info *pi = netdev_priv(netdev); in cxgb_fcoe_enable() 102 struct port_info *pi = netdev_priv(netdev); in cxgb_fcoe_disable()
|
D | cxgb4_main.c | 216 const struct port_info *p = netdev_priv(dev); in link_report() 246 struct port_info *pi = netdev_priv(dev); in dcb_tx_queue_prio_enable() 283 struct port_info *pi = netdev_priv(dev); in cxgb4_dcb_enabled() 322 const struct port_info *pi = netdev_priv(dev); in t4_os_portmod_changed() 353 static inline int cxgb4_set_addr_hash(struct port_info *pi) in cxgb4_set_addr_hash() 371 struct port_info *pi = netdev_priv(netdev); in cxgb4_mac_sync() 403 struct port_info *pi = netdev_priv(netdev); in cxgb4_mac_unsync() 430 struct port_info *pi = netdev_priv(dev); in set_rxmode() 451 struct port_info *pi = netdev_priv(dev); in link_start() 634 const struct port_info *pi = netdev_priv(d); in name_msix_vecs() [all …]
|
D | cxgb4.h | 469 struct port_info { struct 1128 static inline struct port_info *netdev2pinfo(const struct net_device *dev) in netdev2pinfo() 1140 static inline struct port_info *adap2pinfo(struct adapter *adap, int idx) in adap2pinfo() 1309 int cxgb4_write_rss(const struct port_info *pi, const u16 *queues); 1500 int t4_init_portinfo(struct port_info *pi, int mbox, 1637 void t4_handle_get_port_info(struct port_info *pi, const __be64 *rpl);
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 162 const struct port_info *p = netdev_priv(dev); in link_report() 183 struct port_info *pi) in enable_tx_fifo_drain() 193 struct port_info *pi) in disable_tx_fifo_drain() 202 struct port_info *pi = netdev_priv(dev); in t3_os_link_fault() 255 struct port_info *pi = netdev_priv(dev); in t3_os_link_changed() 322 const struct port_info *pi = netdev_priv(dev); in t3_os_phymod_changed() 333 struct port_info *pi = netdev_priv(dev); in cxgb_set_rxmode() 346 struct port_info *pi = netdev_priv(dev); in link_start() 391 const struct port_info *pi = netdev_priv(d); in name_msix_vecs() 669 struct port_info *pi = netdev_priv(dev); in setup_sge_qsets() [all …]
|
D | adapter.h | 50 struct port_info; 62 int (*send)(struct port_info *pi, struct sk_buff **skb); 63 int (*recv)(struct port_info *pi, struct sk_buff *skb); 66 struct port_info { struct 285 static inline struct port_info *adap2pinfo(struct adapter *adap, int idx) in adap2pinfo() 293 struct port_info *port0 = adap2pinfo(adap, 0); in phy2portid()
|
D | t3_hw.c | 212 struct port_info *pi = netdev_priv(dev); in t3_mi1_read() 231 struct port_info *pi = netdev_priv(dev); in t3_mi1_write() 275 struct port_info *pi = netdev_priv(dev); in mi1_ext_read() 295 struct port_info *pi = netdev_priv(dev); in mi1_ext_write() 1243 struct port_info *pi = adap2pinfo(adapter, port_id); in t3_link_changed() 1299 struct port_info *pi = adap2pinfo(adapter, port_id); in t3_link_fault() 1898 struct port_info *p = adap2pinfo(adapter, i); in t3_phy_intr_handler() 2094 struct port_info *pi = adap2pinfo(adapter, idx); in t3_xgm_intr_enable() 2102 struct port_info *pi = adap2pinfo(adapter, idx); in t3_xgm_intr_disable() 3733 struct port_info *p = adap2pinfo(adapter, i); in t3_prep_adapter() [all …]
|
/drivers/scsi/cxgbi/cxgb3i/ |
D | cxgb3i.h | 29 return ((struct port_info *)(netdev_priv(ndev)))->iscsi_ipv4addr; in cxgb3i_get_private_ipv4addr() 35 struct port_info *pi = (struct port_info *)netdev_priv(ndev); in cxgb3i_set_private_ipv4addr()
|
/drivers/ata/ |
D | pata_rdc.c | 326 struct ata_port_info port_info[2]; in rdc_init_one() local 327 const struct ata_port_info *ppi[] = { &port_info[0], &port_info[1] }; in rdc_init_one() 334 port_info[0] = rdc_port_info; in rdc_init_one() 335 port_info[1] = rdc_port_info; in rdc_init_one()
|
D | pata_netcell.c | 68 const struct ata_port_info *port_info[] = { &info, NULL }; in netcell_init_one() local 81 return ata_pci_bmdma_init_one(pdev, port_info, &netcell_sht, NULL, 0); in netcell_init_one()
|
D | ata_piix.c | 1660 struct ata_port_info port_info[2]; in piix_init_one() local 1661 const struct ata_port_info *ppi[] = { &port_info[0], &port_info[1] }; in piix_init_one() 1682 port_info[0] = piix_port_info[ent->driver_data]; in piix_init_one() 1683 port_info[1] = piix_port_info[ent->driver_data]; in piix_init_one() 1685 port_flags = port_info[0].flags; in piix_init_one() 1715 hpriv->map = piix_init_sata_map(pdev, port_info, in piix_init_one()
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | cxgb4vf_main.c | 163 const struct port_info *pi = netdev_priv(dev); in t4vf_os_link_changed() 224 const struct port_info *pi = netdev_priv(dev); in t4vf_os_portmod_changed() 261 struct port_info *pi = netdev_priv(dev); in link_start() 308 const struct port_info *pi = netdev_priv(dev); in name_msix_vecs() 573 struct port_info *pi = netdev_priv(dev); in setup_sge_queues() 604 struct port_info *pi = netdev_priv(dev); in setup_sge_queues() 646 struct port_info *pi = adap2pinfo(adapter, pidx); in setup_rss() 778 struct port_info *pi = netdev_priv(dev); in cxgb4vf_open() 814 struct port_info *pi = netdev_priv(dev); in cxgb4vf_stop() 834 struct port_info *pi = netdev2pinfo(dev); in cxgb4vf_get_stats() [all …]
|
D | adapter.h | 93 struct port_info { struct 515 static inline struct port_info *netdev2pinfo(const struct net_device *dev) in netdev2pinfo() 527 static inline struct port_info *adap2pinfo(struct adapter *adapter, int pidx) in adap2pinfo()
|
/drivers/tty/serial/ |
D | icom.c | 883 icom_port = &icom_adapter->port_info[2]; in icom_interrupt() 890 icom_port = &icom_adapter->port_info[3]; in icom_interrupt() 911 icom_port = &icom_adapter->port_info[0]; in icom_interrupt() 918 icom_port = &icom_adapter->port_info[1]; in icom_interrupt() 1329 icom_port = &icom_adapter->port_info[i]; in icom_init_ports() 1339 icom_port = &icom_adapter->port_info[i]; in icom_init_ports() 1348 icom_adapter->port_info[0].port = 0; in icom_init_ports() 1349 icom_adapter->port_info[0].status = ICOM_PORT_ACTIVE; in icom_init_ports() 1353 icom_adapter->port_info[0].imbed_modem = ICOM_IMBED_MODEM; in icom_init_ports() 1355 icom_adapter->port_info[0].imbed_modem = ICOM_RVX; in icom_init_ports() [all …]
|
D | icom.h | 262 struct icom_port port_info[4]; member
|
/drivers/net/ethernet/ibm/ehea/ |
D | ehea_phyp.c | 547 u64 port_info; in ehea_h_query_ehea_port() local 551 port_info = EHEA_BMASK_SET(H_MEHEAPORT_CAT, cb_cat) in ehea_h_query_ehea_port() 556 port_info, /* R5 */ in ehea_h_query_ehea_port() 568 u64 port_info; in ehea_h_modify_ehea_port() local 572 port_info = EHEA_BMASK_SET(H_MEHEAPORT_CAT, cb_cat) in ehea_h_modify_ehea_port() 580 port_info, /* R5 */ in ehea_h_modify_ehea_port()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | cxgb2.c | 129 static void link_report(struct port_info *p) in link_report() 151 struct port_info *p = &adapter->port[port_id]; in t1_link_negotiated() 179 static void link_start(struct port_info *p) in link_start() 272 struct port_info *p = &adapter->port[dev->if_port]; in cxgb_close() 298 struct port_info *p = &adapter->port[dev->if_port]; in t1_get_stats() 574 struct port_info *p = &adapter->port[dev->if_port]; in get_settings() 634 struct port_info *p = &adapter->port[dev->if_port]; in set_settings() 670 struct port_info *p = &adapter->port[dev->if_port]; in get_pauseparam() 681 struct port_info *p = &adapter->port[dev->if_port]; in set_pauseparam() 898 struct port_info *p = &adapter->port[i]; in mac_stats_task() [all …]
|
D | common.h | 216 struct port_info { struct 247 struct port_info port[MAX_NPORTS];
|
/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 1273 struct ksz_port_info port_info[SWITCH_PORT_NUM]; member 3302 info = &hw->port_info[p]; in port_get_link_speed() 3385 info = &hw->port_info[p]; in port_set_link_speed() 4811 struct net_device *dev = hw->port_info[port].pdev; in tx_done() 4957 port_dev = hw->port_info[port].pdev; in netdev_tx_timeout() 5047 struct net_device *dev = hw->port_info[0].pdev; in dev_rcv_packets() 5083 struct net_device *dev = hw->port_info[0].pdev; in port_rcv_packets() 5101 dev = hw->port_info[p].pdev; in port_rcv_packets() 5128 struct net_device *dev = hw->port_info[0].pdev; in dev_rcv_special() 5146 dev = hw->port_info[p].pdev; in dev_rcv_special() [all …]
|