Searched refs:port_info (Results 1 - 25 of 112) sorted by relevance

12345

/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A 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);
H A Dcxgb4_fcoe.c70 struct port_info *pi = netdev_priv(netdev);
102 struct port_info *pi = netdev_priv(netdev);
H A Dsched.h90 struct port_info *pi = netdev2pinfo(dev);
97 struct port_info *pi = netdev2pinfo(dev);
H A Dsched.c41 static int t4_sched_class_fw_cmd(struct port_info *pi,
71 static int t4_sched_bind_unbind_op(struct port_info *pi, void *arg,
120 static void *t4_sched_entry_lookup(struct port_info *pi,
172 struct port_info *pi = netdev2pinfo(dev);
185 static int t4_sched_queue_unbind(struct port_info *pi, struct ch_sched_queue *p)
215 static int t4_sched_queue_bind(struct port_info *pi, struct ch_sched_queue *p)
259 static int t4_sched_flowc_unbind(struct port_info *pi, struct ch_sched_flowc *p)
286 static int t4_sched_flowc_bind(struct port_info *pi, struct ch_sched_flowc *p)
324 static void t4_sched_class_unbind_all(struct port_info *pi,
351 static int t4_sched_class_bind_unbind_op(struct port_info *p
[all...]
H A Dcxgb4_tc_matchall.c56 struct port_info *pi = netdev2pinfo(dev);
126 struct port_info *pi = netdev2pinfo(dev);
153 struct port_info *pi = netdev2pinfo(dev);
180 struct port_info *pi = netdev2pinfo(dev);
227 struct port_info *pi = netdev2pinfo(dev);
244 struct port_info *pi = netdev2pinfo(dev);
271 struct port_info *pi = netdev2pinfo(dev);
285 struct port_info *pi = netdev2pinfo(dev);
305 struct port_info *pi = netdev2pinfo(dev);
351 struct port_info *p
[all...]
H A Dcxgb4_dcb.c35 struct port_info *pi = netdev2pinfo(dev);
50 struct port_info *pi = netdev2pinfo(dev);
61 struct port_info *pi = netdev2pinfo(dev);
128 struct port_info *pi = netdev2pinfo(dev);
279 struct port_info *pi = netdev_priv(dev);
413 struct port_info *pi = netdev2pinfo(dev);
422 struct port_info *pi = netdev2pinfo(dev);
443 struct port_info *pi = netdev2pinfo(dev);
506 struct port_info *pi = netdev2pinfo(dev);
568 struct port_info *p
[all...]
H A Dcxgb4_ethtool.c280 const struct port_info *p,
355 struct port_info *pi = netdev_priv(dev);
393 struct port_info *p = netdev_priv(dev);
665 struct port_info *pi = netdev_priv(dev);
720 struct port_info *pi = netdev_priv(dev);
818 const struct port_info *pi = netdev_priv(dev);
839 struct port_info *pi = netdev_priv(dev);
863 struct port_info *p = netdev_priv(dev);
873 struct port_info *p = netdev_priv(dev);
897 const struct port_info *p
[all...]
/linux-master/sound/soc/sh/
H A Dsiu_dai.c94 static void siu_dai_start(struct siu_port *port_info) argument
99 dev_dbg(port_info->pcm->card->dev, "%s\n", __func__);
107 port_info->stfifo = 0;
108 port_info->trdat = 0;
133 siu_write32(base + SIU_SBDVCA, port_info->playback.volume);
134 siu_write32(base + SIU_SBDVCB, port_info->capture.volume);
137 static void siu_dai_stop(struct siu_port *port_info) argument
146 static void siu_dai_spbAselect(struct siu_port *port_info) argument
167 port_info->stfifo |= fw->spbpar[idx].stfifo;
168 port_info
171 siu_dai_spbBselect(struct siu_port *port_info) argument
242 siu_dai_spbstart(struct siu_port *port_info) argument
307 siu_dai_spbstop(struct siu_port *port_info) argument
340 struct siu_port *port_info = snd_kcontrol_chip(kctrl); local
355 struct siu_port *port_info = snd_kcontrol_chip(kctrl); local
386 struct siu_port *port_info = snd_kcontrol_chip(kctrl); local
450 siu_init_port(int port, struct siu_port **port_info, struct snd_card *card) argument
488 siu_free_port(struct siu_port *port_info) argument
498 struct siu_port *port_info = siu_port_info(substream); local
519 struct siu_port *port_info = siu_port_info(substream); local
545 struct siu_port *port_info = siu_port_info(substream); local
[all...]
H A Dsiu_pcm.c37 static int siu_pcm_stmwrite_stop(struct siu_port *port_info) argument
41 struct siu_stream *siu_stream = &port_info->playback;
59 static int siu_pcm_stmwrite_start(struct siu_port *port_info) argument
61 struct siu_stream *siu_stream = &port_info->playback;
67 port_info->playback.cur_period = 0;
102 static int siu_pcm_wr_set(struct siu_port *port_info, argument
107 struct siu_stream *siu_stream = &port_info->playback;
143 siu_write32(base + SIU_STFIFO, stfifo | (port_info->stfifo & 0x0c180c18));
145 stfifo, stfifo | (port_info->stfifo & 0x0c180c18));
150 static int siu_pcm_rd_set(struct siu_port *port_info, argument
208 struct siu_port *port_info = siu_port_info(substream); local
238 siu_pcm_stmread_start(struct siu_port *port_info) argument
258 siu_pcm_stmread_stop(struct siu_port *port_info) argument
297 struct siu_port *port_info = siu_port_info(ss); local
338 struct siu_port *port_info = siu_port_info(ss); local
360 struct siu_port *port_info = siu_port_info(ss); local
408 struct siu_port *port_info = siu_port_info(ss); local
453 struct siu_port *port_info = siu_port_info(ss); local
507 struct siu_port **port_info = &siu_ports[i]; local
532 struct siu_port *port_info = siu_ports[pdev->id]; local
[all...]
/linux-master/drivers/scsi/cxgbi/cxgb3i/
H A Dcxgb3i.h29 return ((struct port_info *)(netdev_priv(ndev)))->iscsi_ipv4addr;
35 struct port_info *pi = (struct port_info *)netdev_priv(ndev);
/linux-master/drivers/acpi/acpica/
H A Dhwvalid.c95 const struct acpi_port_info *port_info; local
107 port_info = acpi_protected_ports;
133 for (i = 0; i < ACPI_PORT_INFO_ENTRIES; i++, port_info++) {
143 if ((address <= port_info->end)
144 && (last_address >= port_info->start)) {
148 if (port_info->osi_dependency == ACPI_ALWAYS_ILLEGAL ||
149 acpi_gbl_osi_data == port_info->osi_dependency) {
153 byte_width, port_info->name,
154 port_info->start,
155 port_info
[all...]
/linux-master/drivers/message/fusion/
H A Dmptsas.c128 struct mptsas_portinfo *port_info, u8 force);
409 struct mptsas_portinfo *port_info, *rc=NULL; local
412 list_for_each_entry(port_info, &ioc->sas_topology, list)
413 for (i = 0; i < port_info->num_phys; i++)
414 if (port_info->phy_info[i].identify.handle == handle) {
415 rc = port_info;
435 struct mptsas_portinfo *port_info, *rc = NULL; local
444 list_for_each_entry(port_info, &ioc->sas_topology, list)
445 for (i = 0; i < port_info->num_phys; i++)
446 if (port_info
480 struct mptsas_portinfo *port_info; local
857 mptsas_setup_wide_ports(MPT_ADAPTER *ioc, struct mptsas_portinfo *port_info) argument
1524 struct mptsas_portinfo *port_info; local
1608 struct mptsas_portinfo *port_info; local
2283 struct mptsas_portinfo *port_info; local
2385 mptsas_sas_io_unit_pg0(MPT_ADAPTER *ioc, struct mptsas_portinfo *port_info) argument
2665 mptsas_sas_expander_pg0(MPT_ADAPTER *ioc, struct mptsas_portinfo *port_info, u32 form, u32 form_specific) argument
3235 struct mptsas_portinfo *port_info; local
3309 struct mptsas_portinfo *port_info, *hba; local
3382 mptsas_expander_refresh(MPT_ADAPTER *ioc, struct mptsas_portinfo *port_info) argument
3443 struct mptsas_portinfo *port_info; local
3487 struct mptsas_portinfo *port_info; local
3533 mptsas_expander_delete(MPT_ADAPTER *ioc, struct mptsas_portinfo *port_info, u8 force) argument
3630 struct mptsas_portinfo *port_info; local
3672 struct mptsas_portinfo buffer, *port_info; local
3706 struct mptsas_portinfo *port_info; local
3797 struct mptsas_portinfo buffer, *port_info; local
3923 struct mptsas_portinfo buffer, *port_info; local
4135 struct mptsas_portinfo *port_info; local
4170 struct mptsas_portinfo *port_info; local
4335 struct mptsas_portinfo *port_info; local
[all...]
/linux-master/drivers/ata/
H A Dpata_netcell.c70 const struct ata_port_info *port_info[] = { &info, NULL }; local
83 return ata_pci_bmdma_init_one(pdev, port_info, &netcell_sht, NULL, 0);
H A Dpata_rdc.c313 struct ata_port_info port_info[2]; local
314 const struct ata_port_info *ppi[] = { &port_info[0], &port_info[1] };
321 port_info[0] = rdc_port_info;
322 port_info[1] = rdc_port_info;
/linux-master/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_vema.c180 static inline void vema_get_pod_values(struct opa_veswport_info *port_info) argument
182 memset(port_info, 0, sizeof(*port_info));
183 port_info->vport.max_mac_tbl_ent =
185 port_info->vport.max_smac_ent =
187 port_info->vport.oper_state = OPA_VNIC_STATE_DROP_ALL;
188 port_info->vport.config_state = OPA_VNIC_STATE_DROP_ALL;
189 port_info->vesw.eth_mtu = cpu_to_be16(ETH_DATA_LEN);
233 struct opa_class_port_info *port_info; local
235 port_info
284 struct opa_veswport_info *port_info = local
312 struct opa_veswport_info *port_info; local
425 struct opa_veswport_info *port_info = local
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_dcb_lib.c84 * @port_info: pointer to port info structure
87 static u8 ice_dcb_get_mode(struct ice_port_info *port_info, bool host) argument
96 if (port_info->qos_cfg.local_dcbx_cfg.dcbx_mode & ICE_DCBX_MODE_CEE)
151 struct ice_dcbx_cfg *cfg = &vsi->port_info->qos_cfg.local_dcbx_cfg;
182 struct ice_dcbx_cfg *cfg = &vsi->port_info->qos_cfg.local_dcbx_cfg;
358 curr_cfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg;
361 if (!pf->hw.port_info->qos_cfg.is_sw_lldp)
367 if (pf->hw.port_info->is_custom_tx_enabled) {
427 if (pf->hw.port_info->qos_cfg.is_sw_lldp) {
428 ret = ice_set_dcb_cfg(pf->hw.port_info);
805 struct ice_port_info *port_info; local
[all...]
H A Dice_eswitch.c41 if (ice_cfg_dflt_vsi(uplink_vsi->port_info, uplink_vsi->idx, true,
45 if (ice_cfg_dflt_vsi(uplink_vsi->port_info, uplink_vsi->idx, true,
71 ice_cfg_dflt_vsi(uplink_vsi->port_info, uplink_vsi->idx, false,
74 ice_cfg_dflt_vsi(uplink_vsi->port_info, uplink_vsi->idx, false,
80 uplink_vsi->port_info->mac.perm_addr,
135 dst->u.port_info.port_id = vsi->vsi_num;
136 dst->u.port_info.lower_dev = uplink_vsi->netdev;
170 repr->dst->u.port_info.port_id = vsi->vsi_num;
201 skb->dev = repr->dst->u.port_info.lower_dev;
227 dst->u.port_info
[all...]
H A Dice_dcb_nl.c38 dcbxcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg;
78 new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg;
183 qos_cfg = &pf->hw.port_info->qos_cfg;
208 struct ice_port_info *pi = pf->hw.port_info;
241 struct ice_port_info *pi = pf->hw.port_info;
281 new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg;
309 struct ice_port_info *pi = pf->hw.port_info;
346 new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg;
365 struct ice_port_info *pi = pf->hw.port_info;
413 memcpy(&pf->hw.port_info
[all...]
H A Dice_lag.c147 if (hw->port_info->lport == lport)
239 s_rule->src = cpu_to_le16(hw->port_info->lport);
449 struct ice_port_info *pi = hw->port_info;
710 pri_port = pf->hw.port_info->lport;
798 s_rule->src = cpu_to_le16(vsi->port_info->lport);
928 src_hw->port_info->lport, hw->port_info->lport,
1019 pri_port = lag->pf->hw.port_info->lport;
1030 pri_port = primary_lag->pf->hw.port_info->lport;
1031 loc_port = pf->hw.port_info
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb3/
H A 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)
292 struct port_info *port0 = adap2pinfo(adap, 0);
H A Dcxgb3_main.c161 const struct port_info *p = netdev_priv(dev);
182 struct port_info *pi)
192 struct port_info *pi)
201 struct port_info *pi = netdev_priv(dev);
254 struct port_info *pi = netdev_priv(dev);
321 const struct port_info *pi = netdev_priv(dev);
332 struct port_info *pi = netdev_priv(dev);
345 struct port_info *pi = netdev_priv(dev);
389 const struct port_info *pi = netdev_priv(d);
662 struct port_info *p
[all...]
/linux-master/include/net/
H A Ddst_metadata.h37 struct hw_port_info port_info; member in union:metadata_dst::__anon2709
115 return memcmp(&a->u.port_info, &b->u.port_info,
116 sizeof(a->u.port_info));
/linux-master/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dcxgb4vf_main.c155 const struct port_info *pi = netdev_priv(dev);
219 const struct port_info *pi = netdev_priv(dev);
241 static int cxgb4vf_set_addr_hash(struct port_info *pi)
258 * @pi: the port_info
272 static int cxgb4vf_change_mac(struct port_info *pi, unsigned int viid,
322 struct port_info *pi = netdev_priv(dev);
366 const struct port_info *pi = netdev_priv(dev);
631 struct port_info *pi = netdev_priv(dev);
662 struct port_info *pi = netdev_priv(dev);
704 struct port_info *p
[all...]
/linux-master/drivers/net/ethernet/pensando/ionic/
H A Dionic_main.c720 if (!idev->port_info) {
721 idev->port_info_sz = ALIGN(sizeof(*idev->port_info), PAGE_SIZE);
722 idev->port_info = dma_alloc_coherent(ionic->dev,
726 if (!idev->port_info)
745 idev->port_info, idev->port_info_pa);
746 idev->port_info = NULL;
758 if (!idev->port_info)
769 idev->port_info, idev->port_info_pa);
771 idev->port_info = NULL;
H A Dionic_ethtool.c130 if (!idev->port_info) {
131 netdev_err(netdev, "port_info not initialized\n");
135 /* The port_info data is found in a DMA space that the NIC keeps
140 switch (le16_to_cpu(idev->port_info->status.xcvr.pid)) {
226 idev->port_info->status.xcvr.pid,
227 idev->port_info->status.xcvr.pid);
235 if (idev->port_info->config.fec_type == IONIC_PORT_FEC_TYPE_FC)
237 else if (idev->port_info->config.fec_type == IONIC_PORT_FEC_TYPE_RS)
243 if (idev->port_info->status.xcvr.phy == IONIC_PHY_TYPE_COPPER ||
246 else if (idev->port_info
[all...]

Completed in 319 milliseconds

12345