Home
last modified time | relevance | path

Searched refs:port_info (Results 1 – 25 of 98) sorted by relevance

1234

/Linux-v5.15/sound/soc/sh/
Dsiu_dai.c94 static void siu_dai_start(struct siu_port *port_info) in siu_dai_start() argument
99 dev_dbg(port_info->pcm->card->dev, "%s\n", __func__); in siu_dai_start()
107 port_info->stfifo = 0; in siu_dai_start()
108 port_info->trdat = 0; in siu_dai_start()
133 siu_write32(base + SIU_SBDVCA, port_info->playback.volume); in siu_dai_start()
134 siu_write32(base + SIU_SBDVCB, port_info->capture.volume); in siu_dai_start()
137 static void siu_dai_stop(struct siu_port *port_info) in siu_dai_stop() argument
146 static void siu_dai_spbAselect(struct siu_port *port_info) in siu_dai_spbAselect() argument
167 port_info->stfifo |= fw->spbpar[idx].stfifo; in siu_dai_spbAselect()
168 port_info->trdat |= fw->spbpar[idx].trdat; in siu_dai_spbAselect()
[all …]
Dsiu_pcm.c37 static int siu_pcm_stmwrite_stop(struct siu_port *port_info) in siu_pcm_stmwrite_stop() argument
41 struct siu_stream *siu_stream = &port_info->playback; in siu_pcm_stmwrite_stop()
59 static int siu_pcm_stmwrite_start(struct siu_port *port_info) in siu_pcm_stmwrite_start() argument
61 struct siu_stream *siu_stream = &port_info->playback; in siu_pcm_stmwrite_start()
67 port_info->playback.cur_period = 0; in siu_pcm_stmwrite_start()
102 static int siu_pcm_wr_set(struct siu_port *port_info, in siu_pcm_wr_set() argument
107 struct siu_stream *siu_stream = &port_info->playback; in siu_pcm_wr_set()
143 siu_write32(base + SIU_STFIFO, stfifo | (port_info->stfifo & 0x0c180c18)); in siu_pcm_wr_set()
145 stfifo, stfifo | (port_info->stfifo & 0x0c180c18)); in siu_pcm_wr_set()
150 static int siu_pcm_rd_set(struct siu_port *port_info, in siu_pcm_rd_set() argument
[all …]
/Linux-v5.15/drivers/message/fusion/
Dmptsas.c128 struct mptsas_portinfo *port_info, u8 force);
409 struct mptsas_portinfo *port_info, *rc=NULL; in mptsas_find_portinfo_by_handle() local
412 list_for_each_entry(port_info, &ioc->sas_topology, list) in mptsas_find_portinfo_by_handle()
413 for (i = 0; i < port_info->num_phys; i++) in mptsas_find_portinfo_by_handle()
414 if (port_info->phy_info[i].identify.handle == handle) { in mptsas_find_portinfo_by_handle()
415 rc = port_info; in mptsas_find_portinfo_by_handle()
435 struct mptsas_portinfo *port_info, *rc = NULL; in mptsas_find_portinfo_by_sas_address() local
444 list_for_each_entry(port_info, &ioc->sas_topology, list) in mptsas_find_portinfo_by_sas_address()
445 for (i = 0; i < port_info->num_phys; i++) in mptsas_find_portinfo_by_sas_address()
446 if (port_info->phy_info[i].identify.sas_address == in mptsas_find_portinfo_by_sas_address()
[all …]
/Linux-v5.15/drivers/acpi/acpica/
Dhwvalid.c95 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-v5.15/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.c31 dcbcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_vsi_cfg_netdev_tc()
128 static u8 ice_dcb_get_mode(struct ice_port_info *port_info, bool host) in ice_dcb_get_mode() argument
137 if (port_info->qos_cfg.local_dcbx_cfg.dcbx_mode & ICE_DCBX_MODE_CEE) in ice_dcb_get_mode()
281 curr_cfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_pf_dcb_cfg()
284 if (!pf->hw.port_info->qos_cfg.is_sw_lldp) in ice_pf_dcb_cfg()
342 if (pf->hw.port_info->qos_cfg.is_sw_lldp) { in ice_pf_dcb_cfg()
343 ret = ice_set_dcb_cfg(pf->hw.port_info); in ice_pf_dcb_cfg()
352 ret = ice_query_port_ets(pf->hw.port_info, &buf, sizeof(buf), NULL); in ice_pf_dcb_cfg()
453 ret = ice_query_port_ets(pf->hw.port_info, &buf, sizeof(buf), NULL); in ice_dcb_rebuild()
461 if (!pf->hw.port_info->qos_cfg.is_sw_lldp) in ice_dcb_rebuild()
[all …]
Dice_dcb_nl.c38 dcbxcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_dcbnl_getets()
73 new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg; in ice_dcbnl_setets()
175 qos_cfg = &pf->hw.port_info->qos_cfg; in ice_dcbnl_setdcbx()
193 struct ice_port_info *pi = pf->hw.port_info; in ice_dcbnl_get_perm_hw_addr()
226 struct ice_port_info *pi = pf->hw.port_info; in ice_dcbnl_getpfc()
261 new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg; in ice_dcbnl_setpfc()
289 struct ice_port_info *pi = pf->hw.port_info; in ice_dcbnl_get_pfc_cfg()
321 new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg; in ice_dcbnl_set_pfc_cfg()
340 struct ice_port_info *pi = pf->hw.port_info; in ice_dcbnl_getpfcstate()
383 memcpy(&pf->hw.port_info->qos_cfg.desired_dcbx_cfg, in ice_dcbnl_setstate()
[all …]
Dice_idc.c97 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-v5.15/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema.c179 static inline void vema_get_pod_values(struct opa_veswport_info *port_info) in vema_get_pod_values() argument
181 memset(port_info, 0, sizeof(*port_info)); in vema_get_pod_values()
182 port_info->vport.max_mac_tbl_ent = in vema_get_pod_values()
184 port_info->vport.max_smac_ent = in vema_get_pod_values()
186 port_info->vport.oper_state = OPA_VNIC_STATE_DROP_ALL; in vema_get_pod_values()
187 port_info->vport.config_state = OPA_VNIC_STATE_DROP_ALL; in vema_get_pod_values()
188 port_info->vesw.eth_mtu = cpu_to_be16(ETH_DATA_LEN); in vema_get_pod_values()
232 struct opa_class_port_info *port_info; in vema_get_class_port_info() local
234 port_info = (struct opa_class_port_info *)rsp_mad->data; in vema_get_class_port_info()
235 memcpy(port_info, &port->class_port_info, sizeof(*port_info)); in vema_get_class_port_info()
[all …]
/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb4/
Dsched.c41 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()
185 static int t4_sched_queue_unbind(struct port_info *pi, struct ch_sched_queue *p) in t4_sched_queue_unbind()
215 static int t4_sched_queue_bind(struct port_info *pi, struct ch_sched_queue *p) in t4_sched_queue_bind()
259 static int t4_sched_flowc_unbind(struct port_info *pi, struct ch_sched_flowc *p) in t4_sched_flowc_unbind()
286 static int t4_sched_flowc_bind(struct port_info *pi, struct ch_sched_flowc *p) in t4_sched_flowc_bind()
324 static void t4_sched_class_unbind_all(struct port_info *pi, in t4_sched_class_unbind_all()
351 static int t4_sched_class_bind_unbind_op(struct port_info *pi, void *arg, in t4_sched_class_bind_unbind_op()
[all …]
Dcxgb4_ptp.h53 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);
Dcxgb4_tc_matchall.c16 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 …]
Dcxgb4_dcb.c35 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 …]
Dcxgb4_ethtool.c280 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()
818 const struct port_info *pi = netdev_priv(dev); in get_fecparam()
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()
895 const struct port_info *pi = netdev_priv(dev); in get_sge_param()
[all …]
Dsched.h90 struct port_info *pi = netdev2pinfo(dev); in can_sched()
97 struct port_info *pi = netdev2pinfo(dev); in valid_class_id()
Dcxgb4_fcoe.c70 struct port_info *pi = netdev_priv(netdev); in cxgb_fcoe_enable()
102 struct port_info *pi = netdev_priv(netdev); in cxgb_fcoe_disable()
/Linux-v5.15/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.h29 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-v5.15/drivers/net/ethernet/chelsio/cxgb3/
Dadapter.h50 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()
Dcxgb3_main.c161 const struct port_info *p = netdev_priv(dev); in link_report()
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()
321 const struct port_info *pi = netdev_priv(dev); in t3_os_phymod_changed()
332 struct port_info *pi = netdev_priv(dev); in cxgb_set_rxmode()
345 struct port_info *pi = netdev_priv(dev); in link_start()
390 const struct port_info *pi = netdev_priv(d); in name_msix_vecs()
664 struct port_info *pi = netdev_priv(dev); in setup_sge_qsets()
[all …]
/Linux-v5.15/drivers/net/ethernet/pensando/ionic/
Dionic_main.c527 if (!idev->port_info) { in ionic_port_init()
528 idev->port_info_sz = ALIGN(sizeof(*idev->port_info), PAGE_SIZE); in ionic_port_init()
529 idev->port_info = dma_alloc_coherent(ionic->dev, in ionic_port_init()
533 if (!idev->port_info) in ionic_port_init()
552 idev->port_info, idev->port_info_pa); in ionic_port_init()
553 idev->port_info = NULL; in ionic_port_init()
565 if (!idev->port_info) in ionic_port_reset()
574 idev->port_info, idev->port_info_pa); in ionic_port_reset()
576 idev->port_info = NULL; in ionic_port_reset()
Dionic_ethtool.c130 if (!idev->port_info) { in ionic_get_link_ksettings()
140 switch (le16_to_cpu(idev->port_info->status.xcvr.pid)) { in ionic_get_link_ksettings()
226 idev->port_info->status.xcvr.pid, in ionic_get_link_ksettings()
227 idev->port_info->status.xcvr.pid); in ionic_get_link_ksettings()
236 if (idev->port_info->config.fec_type == IONIC_PORT_FEC_TYPE_FC) in ionic_get_link_ksettings()
238 else if (idev->port_info->config.fec_type == IONIC_PORT_FEC_TYPE_RS) in ionic_get_link_ksettings()
244 if (idev->port_info->status.xcvr.phy == IONIC_PHY_TYPE_COPPER || in ionic_get_link_ksettings()
247 else if (idev->port_info->status.xcvr.phy == IONIC_PHY_TYPE_FIBER) in ionic_get_link_ksettings()
262 if (idev->port_info->config.an_enable) { in ionic_get_link_ksettings()
284 if (ks->base.autoneg != idev->port_info->config.an_enable) { in ionic_set_link_ksettings()
[all …]
/Linux-v5.15/drivers/ata/
Dpata_rdc.c313 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()
Dpata_netcell.c69 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-v5.15/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c155 const struct port_info *pi = netdev_priv(dev); in t4vf_os_link_changed()
219 const struct port_info *pi = netdev_priv(dev); in t4vf_os_portmod_changed()
241 static int cxgb4vf_set_addr_hash(struct port_info *pi) in cxgb4vf_set_addr_hash()
272 static int cxgb4vf_change_mac(struct port_info *pi, unsigned int viid, in cxgb4vf_change_mac()
322 struct port_info *pi = netdev_priv(dev); in link_start()
366 const struct port_info *pi = netdev_priv(dev); in name_msix_vecs()
631 struct port_info *pi = netdev_priv(dev); in setup_sge_queues()
662 struct port_info *pi = netdev_priv(dev); in setup_sge_queues()
704 struct port_info *pi = adap2pinfo(adapter, pidx); in setup_rss()
836 struct port_info *pi = netdev_priv(dev); in cxgb4vf_open()
[all …]
/Linux-v5.15/drivers/tty/serial/
Dicom.c869 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()
1335 icom_adapter->port_info[0].status = ICOM_PORT_ACTIVE; in icom_init_ports()
1339 icom_adapter->port_info[0].imbed_modem = ICOM_IMBED_MODEM; in icom_init_ports()
1341 icom_adapter->port_info[0].imbed_modem = ICOM_RVX; in icom_init_ports()
[all …]
/Linux-v5.15/include/net/
Ddst_metadata.h24 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()

1234