/linux/sound/soc/sh/ |
A D | siu_dai.c | 107 port_info->stfifo = 0; in siu_dai_start() 108 port_info->trdat = 0; in siu_dai_start() 284 port_info->trdat = 0x0; in siu_dai_spbstart() 316 port_info->stfifo = 0; in siu_dai_spbstop() 456 *port_info = kzalloc(sizeof(**port_info), GFP_KERNEL); in siu_init_port() 457 if (!*port_info) in siu_init_port() 490 kfree(port_info); in siu_free_port() 502 info->port_id, port_info); in siu_dai_startup() 510 siu_dai_start(port_info); in siu_dai_startup() 532 if (WARN_ON(port_info->playback.rw_flg || port_info->capture.rw_flg)) in siu_dai_shutdown() [all …]
|
A D | siu_pcm.c | 67 port_info->playback.cur_period = 0; in siu_pcm_stmwrite_start() 229 siu_pcm_wr_set(port_info, in siu_io_work() 310 siu_stream = &port_info->playback; in siu_pcm_open() 315 siu_stream = &port_info->capture; in siu_pcm_open() 346 siu_stream = &port_info->capture; in siu_pcm_close() 369 siu_stream = &port_info->capture; in siu_pcm_prepare() 412 info->port_id, port_info, cmd); in siu_pcm_trigger() 430 siu_pcm_stmread_stop(port_info); in siu_pcm_trigger() 461 siu_stream = &port_info->capture; in siu_pcm_pointer_dma() 517 (*port_info)->pcm = pcm; in siu_pcm_new() [all …]
|
/linux/drivers/message/fusion/ |
A D | mptsas.c | 487 port_info = port_details->port_info; in mptsas_port_delete() 915 port_details->port_info = port_info; in mptsas_setup_wide_ports() 2286 if (port_info && port_info->phy_info) in mptsas_smp_handler() 2430 port_info->phy_info = kcalloc(port_info->num_phys, in mptsas_sas_io_unit_pg0() 2449 port_info->phy_info[i].portinfo = port_info; in mptsas_sas_io_unit_pg0() 2721 port_info->phy_info = kcalloc(port_info->num_phys, in mptsas_sas_expander_pg0() 2730 port_info->phy_info[i].portinfo = port_info; in mptsas_sas_expander_pg0() 3457 port_info->phy_info[i].portinfo = port_info; in mptsas_expander_event_add() 3645 port_info->phy_info[i].portinfo = port_info; in mptsas_send_expander_event() 3691 port_info->phy_info[i].portinfo = port_info; in mptsas_expander_add() [all …]
|
/linux/drivers/acpi/acpica/ |
A D | hwvalid.c | 95 const struct acpi_port_info *port_info; in acpi_hw_validate_io_request() local 107 port_info = acpi_protected_ports; in acpi_hw_validate_io_request() 133 for (i = 0; i < ACPI_PORT_INFO_ENTRIES; i++, port_info++) { in acpi_hw_validate_io_request() 143 if ((address <= port_info->end) in acpi_hw_validate_io_request() 144 && (last_address >= port_info->start)) { in acpi_hw_validate_io_request() 148 if (acpi_gbl_osi_data >= port_info->osi_dependency) { in acpi_hw_validate_io_request() 152 byte_width, port_info->name, in acpi_hw_validate_io_request() 153 port_info->start, in acpi_hw_validate_io_request() 154 port_info->end)); in acpi_hw_validate_io_request() 162 if (last_address <= port_info->end) { in acpi_hw_validate_io_request()
|
/linux/drivers/infiniband/ulp/opa_vnic/ |
A D | opa_vnic_vema.c | 182 memset(port_info, 0, sizeof(*port_info)); in vema_get_pod_values() 183 port_info->vport.max_mac_tbl_ent = in vema_get_pod_values() 185 port_info->vport.max_smac_ent = in vema_get_pod_values() 233 struct opa_class_port_info *port_info; in vema_get_class_port_info() local 236 memcpy(port_info, &port->class_port_info, sizeof(*port_info)); in vema_get_class_port_info() 284 struct opa_veswport_info *port_info = in vema_get_veswport_info() local 290 memset(port_info, 0, sizeof(*port_info)); in vema_get_veswport_info() 293 &port_info->vport); in vema_get_veswport_info() 295 vema_get_pod_values(port_info); in vema_get_veswport_info() 312 struct opa_veswport_info *port_info; in vema_set_veswport_info() local [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_dcb_lib.c | 361 if (!pf->hw.port_info->qos_cfg.is_sw_lldp) in ice_pf_dcb_cfg() 422 ret = ice_set_dcb_cfg(pf->hw.port_info); in ice_pf_dcb_cfg() 544 ret = ice_set_dcb_cfg(pf->hw.port_info); in ice_dcb_rebuild() 604 pi = pf->hw.port_info; in ice_dcb_init_cfg() 636 pi = hw->port_info; in ice_dcb_sw_dflt_cfg() 717 ret = ice_set_dcb_cfg(pf->hw.port_info); in ice_dcb_noncontig_cfg() 797 struct ice_port_info *port_info; in ice_init_pf_dcb() local 801 port_info = hw->port_info; in ice_init_pf_dcb() 873 port = hw->port_info->lport; in ice_update_dcb_stats() 959 pi = pf->hw.port_info; in ice_dcb_process_lldp_set_mib_change() [all …]
|
A D | ice_dcb_nl.c | 38 dcbxcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_dcbnl_getets() 173 qos_cfg = &pf->hw.port_info->qos_cfg; in ice_dcbnl_setdcbx() 198 struct ice_port_info *pi = pf->hw.port_info; in ice_dcbnl_get_perm_hw_addr() 231 struct ice_port_info *pi = pf->hw.port_info; in ice_dcbnl_getpfc() 294 struct ice_port_info *pi = pf->hw.port_info; in ice_dcbnl_get_pfc_cfg() 345 struct ice_port_info *pi = pf->hw.port_info; in ice_dcbnl_getpfcstate() 389 &pf->hw.port_info->qos_cfg.local_dcbx_cfg, in ice_dcbnl_setstate() 414 struct ice_port_info *pi = pf->hw.port_info; in ice_dcbnl_get_pg_tc_cfg_tx() 475 struct ice_port_info *pi = pf->hw.port_info; in ice_dcbnl_get_pg_bwg_cfg_tx() 529 struct ice_port_info *pi = pf->hw.port_info; in ice_dcbnl_get_pg_tc_cfg_rx() [all …]
|
A D | ice_eswitch.c | 24 struct ice_port_info *pi = pf->hw.port_info; in ice_eswitch_setup_env() 72 uplink_vsi->port_info->mac.perm_addr, in ice_eswitch_setup_env() 186 dst->u.port_info.port_id = vsi->vsi_num; in ice_eswitch_setup_reprs() 187 dst->u.port_info.lower_dev = repr->netdev; in ice_eswitch_setup_reprs() 248 repr->dst->u.port_info.port_id = vsi->vsi_num; in ice_eswitch_update_repr() 303 dst_vsi = ((u64)dst->u.port_info.port_id << in ice_eswitch_set_target_vsi() 326 uplink_vsi->port_info->mac.perm_addr, in ice_eswitch_release_env() 403 pf->switchdev.control_vsi = ice_eswitch_vsi_setup(pf, pf->hw.port_info); in ice_eswitch_enable_switchdev()
|
A D | ice_idc.c | 97 status = ice_cfg_vsi_rdma(vsi->port_info, vsi->idx, vsi->tc_cfg.ena_tc, in ice_add_rdma_qset() 104 status = ice_ena_vsi_rdma_qset(vsi->port_info, vsi->idx, qset->tc, in ice_add_rdma_qset() 142 return ice_dis_vsi_rdma_qset(vsi->port_info, 1, &teid, &q_id); in ice_del_rdma_qset() 221 dcbx_cfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_get_qos_params()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | sched.c | 41 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() 120 static void *t4_sched_entry_lookup(struct port_info *pi, in t4_sched_entry_lookup() 172 struct port_info *pi = netdev2pinfo(dev); in cxgb4_sched_queue_lookup() 324 static void t4_sched_class_unbind_all(struct port_info *pi, in t4_sched_class_unbind_all() 399 struct port_info *pi = netdev2pinfo(dev); in cxgb4_sched_class_bind() 446 struct port_info *pi = netdev2pinfo(dev); in cxgb4_sched_class_unbind() 585 struct port_info *pi = netdev2pinfo(dev); in cxgb4_sched_class_alloc() 607 struct port_info *pi = netdev2pinfo(dev); in cxgb4_sched_class_free() 645 struct port_info *pi = netdev2pinfo(dev); in t4_sched_class_free() [all …]
|
A D | cxgb4_tc_matchall.c | 16 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_egress_validate() 87 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_tc_bind_queues() 114 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_tc_unbind_queues() 141 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_alloc_tc() 188 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_free_tc() 205 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_mirror_alloc() 232 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_mirror_free() 246 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_del_filter() 266 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_add_filter() 312 struct port_info *pi = netdev2pinfo(dev); in cxgb4_matchall_alloc_filter() [all …]
|
A D | cxgb4_dcb.c | 35 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_state_init() 50 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_version_init() 61 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_cleanup_apps() 128 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_state_fsm() 279 struct port_info *pi = netdev_priv(dev); in cxgb4_dcb_handle_fw_update() 413 struct port_info *pi = netdev2pinfo(dev); in cxgb4_getstate() 422 struct port_info *pi = netdev2pinfo(dev); in cxgb4_setstate() 443 struct port_info *pi = netdev2pinfo(dev); in cxgb4_getpgtccfg() 506 struct port_info *pi = netdev2pinfo(dev); in cxgb4_setpgtccfg_tx() 568 struct port_info *pi = netdev2pinfo(dev); in cxgb4_getpgbwgcfg() [all …]
|
A D | cxgb4_ptp.h | 53 struct port_info; 69 int cxgb4_ptprx_timestamping(struct port_info *pi, u8 port, u16 mode); 70 int cxgb4_ptp_redirect_rx_packet(struct adapter *adap, struct port_info *pi); 72 void cxgb4_ptp_read_hwstamp(struct adapter *adap, struct port_info *pi);
|
A D | cxgb4_ethtool.c | 280 const struct port_info *p, in collect_sge_port_stats() 355 struct port_info *pi = netdev_priv(dev); in get_stats() 393 struct port_info *p = netdev_priv(dev); in restart_autoneg() 665 struct port_info *pi = netdev_priv(dev); in get_link_ksettings() 720 struct port_info *pi = netdev_priv(dev); in set_link_ksettings() 839 struct port_info *pi = netdev_priv(dev); in set_fecparam() 863 struct port_info *p = netdev_priv(dev); in get_pauseparam() 873 struct port_info *p = netdev_priv(dev); in set_pauseparam() 946 struct port_info *pi = netdev_priv(dev); in set_rx_intr_params() 961 struct port_info *pi = netdev_priv(dev); in set_adaptive_rx_setting() [all …]
|
A D | sched.h | 90 struct port_info *pi = netdev2pinfo(dev); in can_sched() 97 struct port_info *pi = netdev2pinfo(dev); in valid_class_id()
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
A D | cxgb3_main.c | 182 struct port_info *pi) in enable_tx_fifo_drain() 192 struct port_info *pi) in disable_tx_fifo_drain() 201 struct port_info *pi = netdev_priv(dev); in t3_os_link_fault() 254 struct port_info *pi = netdev_priv(dev); in t3_os_link_changed() 332 struct port_info *pi = netdev_priv(dev); in cxgb_set_rxmode() 345 struct port_info *pi = netdev_priv(dev); in link_start() 735 struct port_info *pi = netdev_priv(dev); in set_nfilters() 758 struct port_info *pi = netdev_priv(dev); in set_nservers() 1652 struct port_info *p, int idx) in collect_sge_port_stats() 1769 struct port_info *p = netdev_priv(dev); in restart_autoneg() [all …]
|
A 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 284 static inline struct port_info *adap2pinfo(struct adapter *adap, int idx) in adap2pinfo() 292 struct port_info *port0 = adap2pinfo(adap, 0); in phy2portid()
|
/linux/drivers/net/ethernet/pensando/ionic/ |
A D | ionic_ethtool.c | 116 if (!idev->port_info) { in ionic_get_link_ksettings() 126 switch (le16_to_cpu(idev->port_info->status.xcvr.pid)) { in ionic_get_link_ksettings() 212 idev->port_info->status.xcvr.pid, in ionic_get_link_ksettings() 213 idev->port_info->status.xcvr.pid); in ionic_get_link_ksettings() 247 if (idev->port_info->config.an_enable) { in ionic_get_link_ksettings() 269 if (ks->base.autoneg != idev->port_info->config.an_enable) { in ionic_set_link_ksettings() 299 pause_type = lif->ionic->idev.port_info->config.pause_type; in ionic_get_pauseparam() 345 switch (lif->ionic->idev.port_info->config.fec_type) { in ionic_get_fecparam() 372 if (lif->ionic->idev.port_info->config.an_enable) { in ionic_set_fecparam() 784 xcvr = &idev->port_info->status.xcvr; in ionic_get_module_info() [all …]
|
A D | ionic_main.c | 579 if (!idev->port_info) { in ionic_port_init() 580 idev->port_info_sz = ALIGN(sizeof(*idev->port_info), PAGE_SIZE); in ionic_port_init() 581 idev->port_info = dma_alloc_coherent(ionic->dev, in ionic_port_init() 585 if (!idev->port_info) in ionic_port_init() 604 idev->port_info, idev->port_info_pa); in ionic_port_init() 605 idev->port_info = NULL; in ionic_port_init() 617 if (!idev->port_info) in ionic_port_reset() 626 idev->port_info, idev->port_info_pa); in ionic_port_reset() 628 idev->port_info = NULL; in ionic_port_reset()
|
/linux/drivers/scsi/cxgbi/cxgb3i/ |
A 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()
|
/linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
A D | cxgb4vf_main.c | 322 struct port_info *pi = netdev_priv(dev); in link_start() 836 struct port_info *pi = netdev_priv(dev); in cxgb4vf_open() 888 struct port_info *pi = netdev_priv(dev); in cxgb4vf_stop() 996 struct port_info *pi = netdev_priv(dev); in set_rxmode() 1167 struct port_info *pi = netdev_priv(dev); in cxgb4vf_change_mtu() 1194 struct port_info *pi = netdev_priv(dev); in cxgb4vf_set_features() 1802 const struct port_info *pi, in collect_sge_port_stats() 2069 ? ((struct port_info *) in sge_qinfo_show() 2763 struct port_info *pi; in reduce_ethqs() 2896 struct port_info *pi; in cxgb4vf_pci_probe() [all …]
|
/linux/drivers/ata/ |
A D | pata_rdc.c | 313 struct ata_port_info port_info[2]; in rdc_init_one() local 314 const struct ata_port_info *ppi[] = { &port_info[0], &port_info[1] }; in rdc_init_one() 321 port_info[0] = rdc_port_info; in rdc_init_one() 322 port_info[1] = rdc_port_info; in rdc_init_one()
|
A D | pata_netcell.c | 69 const struct ata_port_info *port_info[] = { &info, NULL }; in netcell_init_one() local 82 return ata_pci_bmdma_init_one(pdev, port_info, &netcell_sht, NULL, 0); in netcell_init_one()
|
/linux/drivers/tty/serial/ |
A D | icom.c | 869 icom_port = &icom_adapter->port_info[2]; in icom_interrupt() 876 icom_port = &icom_adapter->port_info[3]; in icom_interrupt() 897 icom_port = &icom_adapter->port_info[0]; in icom_interrupt() 904 icom_port = &icom_adapter->port_info[1]; in icom_interrupt() 1315 icom_port = &icom_adapter->port_info[i]; in icom_init_ports() 1325 icom_port = &icom_adapter->port_info[i]; in icom_init_ports() 1334 icom_adapter->port_info[0].port = 0; in icom_init_ports() 1346 icom_adapter->port_info[2].port = 2; in icom_init_ports() 1379 icom_port = &icom_adapter->port_info[port_num]; in icom_load_ports() 1441 icom_port = &icom_adapter->port_info[index]; in icom_remove_adapter() [all …]
|
/linux/include/net/ |
A D | dst_metadata.h | 24 struct hw_port_info port_info; member 79 return memcmp(&a->u.port_info, &b->u.port_info, in skb_metadata_dst_cmp() 80 sizeof(a->u.port_info)); in skb_metadata_dst_cmp()
|