drivers/acpi/acpica/hwvalid.c
107
port_info = acpi_protected_ports;
drivers/acpi/acpica/hwvalid.c
133
for (i = 0; i < ACPI_PORT_INFO_ENTRIES; i++, port_info++) {
drivers/acpi/acpica/hwvalid.c
143
if ((address <= port_info->end)
drivers/acpi/acpica/hwvalid.c
144
&& (last_address >= port_info->start)) {
drivers/acpi/acpica/hwvalid.c
148
if (port_info->osi_dependency == ACPI_ALWAYS_ILLEGAL ||
drivers/acpi/acpica/hwvalid.c
149
acpi_gbl_osi_data == port_info->osi_dependency) {
drivers/acpi/acpica/hwvalid.c
153
byte_width, port_info->name,
drivers/acpi/acpica/hwvalid.c
154
port_info->start,
drivers/acpi/acpica/hwvalid.c
155
port_info->end));
drivers/acpi/acpica/hwvalid.c
163
if (last_address <= port_info->end) {
drivers/acpi/acpica/hwvalid.c
95
const struct acpi_port_info *port_info;
drivers/ata/ata_piix.c
1646
struct ata_port_info port_info[2];
drivers/ata/ata_piix.c
1647
const struct ata_port_info *ppi[] = { &port_info[0], &port_info[1] };
drivers/ata/ata_piix.c
1668
port_info[0] = piix_port_info[ent->driver_data];
drivers/ata/ata_piix.c
1669
port_info[1] = piix_port_info[ent->driver_data];
drivers/ata/ata_piix.c
1671
port_flags = port_info[0].flags;
drivers/ata/ata_piix.c
1701
hpriv->map = piix_init_sata_map(pdev, port_info,
drivers/ata/pata_netcell.c
70
const struct ata_port_info *port_info[] = { &info, NULL };
drivers/ata/pata_netcell.c
83
return ata_pci_bmdma_init_one(pdev, port_info, &netcell_sht, NULL, 0);
drivers/ata/pata_rdc.c
313
struct ata_port_info port_info[2];
drivers/ata/pata_rdc.c
314
const struct ata_port_info *ppi[] = { &port_info[0], &port_info[1] };
drivers/ata/pata_rdc.c
321
port_info[0] = rdc_port_info;
drivers/ata/pata_rdc.c
322
port_info[1] = rdc_port_info;
drivers/gpu/drm/i915/display/intel_vbt_defs.h
1480
u16 port_info;
drivers/hv/mshv_portid_table.c
27
struct port_table_info *port_info;
drivers/hv/mshv_portid_table.c
32
idr_for_each_entry_ul(&port_table_idr, port_info, tmp, i) {
drivers/hv/mshv_portid_table.c
33
port_info = idr_remove(&port_table_idr, i);
drivers/hv/mshv_portid_table.c
34
kfree_rcu(port_info, portbl_rcu);
drivers/hv/mshv_root.h
313
u64 connection_partition_id, struct hv_port_info *port_info,
drivers/hv/mshv_root_hv_call.c
693
struct hv_port_info *port_info,
drivers/hv/mshv_root_hv_call.c
709
input->port_info = *port_info;
drivers/hv/mshv_synic.c
613
struct hv_port_info port_info = { 0 };
drivers/hv/mshv_synic.c
631
port_info.port_type = HV_PORT_TYPE_DOORBELL;
drivers/hv/mshv_synic.c
632
port_info.doorbell_port_info.target_sint = HV_SYNIC_DOORBELL_SINT_INDEX;
drivers/hv/mshv_synic.c
633
port_info.doorbell_port_info.target_vp = HV_ANY_VP;
drivers/hv/mshv_synic.c
635
&port_info,
drivers/infiniband/hw/cxgb4/cm.c
2063
static void set_tcp_window(struct c4iw_ep *ep, struct port_info *pi)
drivers/infiniband/hw/cxgb4/cm.c
2112
ep->smac_idx = ((struct port_info *)netdev_priv(pdev))->smt_idx;
drivers/infiniband/hw/cxgb4/cm.c
2121
set_tcp_window(ep, (struct port_info *)netdev_priv(pdev));
drivers/infiniband/hw/cxgb4/cm.c
2130
ep->smac_idx = ((struct port_info *)netdev_priv(pdev))->smt_idx;
drivers/infiniband/hw/cxgb4/cm.c
2139
set_tcp_window(ep, (struct port_info *)netdev_priv(pdev));
drivers/infiniband/hw/cxgb4/cm.c
4075
struct port_info *pi;
drivers/infiniband/hw/cxgb4/cm.c
4163
pi = (struct port_info *)netdev_priv(pdev);
drivers/infiniband/hw/cxgb4/cm.c
4169
pi = (struct port_info *)netdev_priv(pdev);
drivers/infiniband/hw/mlx4/mad.c
1189
changed_attr = be32_to_cpu(eqe->event.port_mgmt_change.params.port_info.changed_attr);
drivers/infiniband/hw/mlx4/mad.c
1194
u16 lid = be16_to_cpu(eqe->event.port_mgmt_change.params.port_info.mstr_sm_lid);
drivers/infiniband/hw/mlx4/mad.c
1195
u8 sl = eqe->event.port_mgmt_change.params.port_info.mstr_sm_sl & 0xf;
drivers/infiniband/hw/mlx4/mad.c
1209
if (!eqe->event.port_mgmt_change.params.port_info.gid_prefix)
drivers/infiniband/hw/mlx4/mad.c
1213
eqe->event.port_mgmt_change.params.port_info.gid_prefix;
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
180
static inline void vema_get_pod_values(struct opa_veswport_info *port_info)
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
182
memset(port_info, 0, sizeof(*port_info));
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
183
port_info->vport.max_mac_tbl_ent =
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
185
port_info->vport.max_smac_ent =
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
187
port_info->vport.oper_state = OPA_VNIC_STATE_DROP_ALL;
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
188
port_info->vport.config_state = OPA_VNIC_STATE_DROP_ALL;
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
189
port_info->vesw.eth_mtu = cpu_to_be16(ETH_DATA_LEN);
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
233
struct opa_class_port_info *port_info;
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
235
port_info = (struct opa_class_port_info *)rsp_mad->data;
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
236
memcpy(port_info, &port->class_port_info, sizeof(*port_info));
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
237
port_info->base_version = OPA_MGMT_BASE_VERSION;
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
238
port_info->class_version = OPA_EMA_CLASS_VERSION;
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
244
port_info->cap_mask = cpu_to_be16((OPA_VNIC_CLASS_CAP_TRAP |
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
252
port_info->cap_mask2_resp_time = cpu_to_be32(18);
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
284
struct opa_veswport_info *port_info =
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
290
memset(port_info, 0, sizeof(*port_info));
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
291
opa_vnic_get_vesw_info(adapter, &port_info->vesw);
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
293
&port_info->vport);
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
295
vema_get_pod_values(port_info);
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
312
struct opa_veswport_info *port_info;
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
328
port_info = (struct opa_veswport_info *)recvd_mad->data;
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
329
opa_vnic_set_vesw_info(adapter, &port_info->vesw);
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
330
opa_vnic_set_per_veswport_info(adapter, &port_info->vport);
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
425
struct opa_veswport_info *port_info =
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
435
vema_get_pod_values(port_info);
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
436
opa_vnic_set_vesw_info(adapter, &port_info->vesw);
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
437
opa_vnic_set_per_veswport_info(adapter, &port_info->vport);
drivers/message/fusion/mptsas.c
128
struct mptsas_portinfo *port_info, u8 force);
drivers/message/fusion/mptsas.c
1523
struct mptsas_portinfo *port_info;
drivers/message/fusion/mptsas.c
1579
port_info = phy_info->portinfo;
drivers/message/fusion/mptsas.c
1580
phy_info_parent = port_info->phy_info;
drivers/message/fusion/mptsas.c
1581
for (i = 0; i < port_info->num_phys; i++, phy_info_parent++) {
drivers/message/fusion/mptsas.c
1607
struct mptsas_portinfo *port_info;
drivers/message/fusion/mptsas.c
1614
port_info = phy_info->portinfo;
drivers/message/fusion/mptsas.c
1615
if (!port_info)
drivers/message/fusion/mptsas.c
1618
for (i = 0; i < port_info->num_phys; i++) {
drivers/message/fusion/mptsas.c
1619
if (port_info->phy_info[i].attached.sas_address !=
drivers/message/fusion/mptsas.c
1622
port_info->phy_info[i].attached.channel = sas_device->channel;
drivers/message/fusion/mptsas.c
1623
port_info->phy_info[i].attached.id = sas_device->id;
drivers/message/fusion/mptsas.c
1624
port_info->phy_info[i].attached.sas_address =
drivers/message/fusion/mptsas.c
1626
port_info->phy_info[i].attached.handle = sas_device->handle;
drivers/message/fusion/mptsas.c
1627
port_info->phy_info[i].attached.handle_parent =
drivers/message/fusion/mptsas.c
1629
port_info->phy_info[i].attached.handle_enclosure =
drivers/message/fusion/mptsas.c
2282
struct mptsas_portinfo *port_info;
drivers/message/fusion/mptsas.c
2285
port_info = ioc->hba_port_info;
drivers/message/fusion/mptsas.c
2286
if (port_info && port_info->phy_info)
drivers/message/fusion/mptsas.c
2288
port_info->phy_info[0].phy->identify.sas_address;
drivers/message/fusion/mptsas.c
2384
mptsas_sas_io_unit_pg0(MPT_ADAPTER *ioc, struct mptsas_portinfo *port_info)
drivers/message/fusion/mptsas.c
2429
port_info->num_phys = buffer->NumPhys;
drivers/message/fusion/mptsas.c
2430
port_info->phy_info = kzalloc_objs(struct mptsas_phyinfo,
drivers/message/fusion/mptsas.c
2431
port_info->num_phys);
drivers/message/fusion/mptsas.c
2432
if (!port_info->phy_info) {
drivers/message/fusion/mptsas.c
2442
for (i = 0; i < port_info->num_phys; i++) {
drivers/message/fusion/mptsas.c
2444
port_info->phy_info[i].phy_id = i;
drivers/message/fusion/mptsas.c
2445
port_info->phy_info[i].port_id =
drivers/message/fusion/mptsas.c
2447
port_info->phy_info[i].negotiated_link_rate =
drivers/message/fusion/mptsas.c
2449
port_info->phy_info[i].portinfo = port_info;
drivers/message/fusion/mptsas.c
2450
port_info->phy_info[i].handle =
drivers/message/fusion/mptsas.c
2664
mptsas_sas_expander_pg0(MPT_ADAPTER *ioc, struct mptsas_portinfo *port_info,
drivers/message/fusion/mptsas.c
2674
memset(port_info, 0, sizeof(struct mptsas_portinfo));
drivers/message/fusion/mptsas.c
2690
memset(port_info, 0, sizeof(struct mptsas_portinfo));
drivers/message/fusion/mptsas.c
2720
port_info->num_phys = (buffer->NumPhys) ? buffer->NumPhys : 1;
drivers/message/fusion/mptsas.c
2721
port_info->phy_info = kzalloc_objs(struct mptsas_phyinfo,
drivers/message/fusion/mptsas.c
2722
port_info->num_phys);
drivers/message/fusion/mptsas.c
2723
if (!port_info->phy_info) {
drivers/message/fusion/mptsas.c
2729
for (i = 0; i < port_info->num_phys; i++) {
drivers/message/fusion/mptsas.c
2730
port_info->phy_info[i].portinfo = port_info;
drivers/message/fusion/mptsas.c
2731
port_info->phy_info[i].handle =
drivers/message/fusion/mptsas.c
2733
port_info->phy_info[i].identify.sas_address =
drivers/message/fusion/mptsas.c
2735
port_info->phy_info[i].identify.handle_parent =
drivers/message/fusion/mptsas.c
3234
struct mptsas_portinfo *port_info;
drivers/message/fusion/mptsas.c
3237
port_info = ioc->hba_port_info;
drivers/message/fusion/mptsas.c
3239
for (i = 0; i < port_info->num_phys; i++)
drivers/message/fusion/mptsas.c
3240
if (port_info->phy_info[i].identify.sas_address ==
drivers/message/fusion/mptsas.c
3308
struct mptsas_portinfo *port_info, *hba;
drivers/message/fusion/mptsas.c
3321
port_info = ioc->hba_port_info;
drivers/message/fusion/mptsas.c
3322
if (!port_info) {
drivers/message/fusion/mptsas.c
3323
ioc->hba_port_info = port_info = hba;
drivers/message/fusion/mptsas.c
3324
ioc->hba_port_num_phy = port_info->num_phys;
drivers/message/fusion/mptsas.c
3325
list_add_tail(&port_info->list, &ioc->sas_topology);
drivers/message/fusion/mptsas.c
3328
port_info->phy_info[i].negotiated_link_rate =
drivers/message/fusion/mptsas.c
3330
port_info->phy_info[i].handle =
drivers/message/fusion/mptsas.c
3332
port_info->phy_info[i].port_id =
drivers/message/fusion/mptsas.c
3341
ioc->num_ports = port_info->num_phys;
drivers/message/fusion/mptsas.c
3343
for (i = 0; i < port_info->num_phys; i++) {
drivers/message/fusion/mptsas.c
3344
mptsas_sas_phy_pg0(ioc, &port_info->phy_info[i],
drivers/message/fusion/mptsas.c
3347
port_info->phy_info[i].identify.handle =
drivers/message/fusion/mptsas.c
3348
port_info->phy_info[i].handle;
drivers/message/fusion/mptsas.c
3349
mptsas_sas_device_pg0(ioc, &port_info->phy_info[i].identify,
drivers/message/fusion/mptsas.c
3352
port_info->phy_info[i].identify.handle);
drivers/message/fusion/mptsas.c
3355
port_info->phy_info[i].identify.sas_address;
drivers/message/fusion/mptsas.c
3356
port_info->phy_info[i].identify.phy_id =
drivers/message/fusion/mptsas.c
3357
port_info->phy_info[i].phy_id = i;
drivers/message/fusion/mptsas.c
3358
if (port_info->phy_info[i].attached.handle)
drivers/message/fusion/mptsas.c
3360
&port_info->phy_info[i].attached,
drivers/message/fusion/mptsas.c
3363
port_info->phy_info[i].attached.handle);
drivers/message/fusion/mptsas.c
3366
mptsas_setup_wide_ports(ioc, port_info);
drivers/message/fusion/mptsas.c
3368
for (i = 0; i < port_info->num_phys; i++, ioc->sas_index++)
drivers/message/fusion/mptsas.c
3370
&port_info->phy_info[i], ioc->sas_index, 1);
drivers/message/fusion/mptsas.c
3381
mptsas_expander_refresh(MPT_ADAPTER *ioc, struct mptsas_portinfo *port_info)
drivers/message/fusion/mptsas.c
3390
handle = port_info->phy_info[0].handle;
drivers/message/fusion/mptsas.c
3391
sas_address = port_info->phy_info[0].identify.sas_address;
drivers/message/fusion/mptsas.c
3392
for (i = 0; i < port_info->num_phys; i++) {
drivers/message/fusion/mptsas.c
3393
mptsas_sas_expander_pg1(ioc, &port_info->phy_info[i],
drivers/message/fusion/mptsas.c
3398
&port_info->phy_info[i].identify,
drivers/message/fusion/mptsas.c
3401
port_info->phy_info[i].identify.handle);
drivers/message/fusion/mptsas.c
3402
port_info->phy_info[i].identify.phy_id =
drivers/message/fusion/mptsas.c
3403
port_info->phy_info[i].phy_id;
drivers/message/fusion/mptsas.c
3405
if (port_info->phy_info[i].attached.handle) {
drivers/message/fusion/mptsas.c
3407
&port_info->phy_info[i].attached,
drivers/message/fusion/mptsas.c
3410
port_info->phy_info[i].attached.handle);
drivers/message/fusion/mptsas.c
3411
port_info->phy_info[i].attached.phy_id =
drivers/message/fusion/mptsas.c
3412
port_info->phy_info[i].phy_id;
drivers/message/fusion/mptsas.c
3418
port_info->phy_info[0].identify.handle_parent);
drivers/message/fusion/mptsas.c
3432
mptsas_setup_wide_ports(ioc, port_info);
drivers/message/fusion/mptsas.c
3433
for (i = 0; i < port_info->num_phys; i++, ioc->sas_index++)
drivers/message/fusion/mptsas.c
3434
mptsas_probe_one_phy(parent_dev, &port_info->phy_info[i],
drivers/message/fusion/mptsas.c
3442
struct mptsas_portinfo *port_info;
drivers/message/fusion/mptsas.c
3446
port_info = kzalloc_obj(struct mptsas_portinfo);
drivers/message/fusion/mptsas.c
3447
BUG_ON(!port_info);
drivers/message/fusion/mptsas.c
3448
port_info->num_phys = (expander_data->NumPhys) ?
drivers/message/fusion/mptsas.c
3450
port_info->phy_info = kzalloc_objs(struct mptsas_phyinfo,
drivers/message/fusion/mptsas.c
3451
port_info->num_phys);
drivers/message/fusion/mptsas.c
3452
BUG_ON(!port_info->phy_info);
drivers/message/fusion/mptsas.c
3454
for (i = 0; i < port_info->num_phys; i++) {
drivers/message/fusion/mptsas.c
3455
port_info->phy_info[i].portinfo = port_info;
drivers/message/fusion/mptsas.c
3456
port_info->phy_info[i].handle =
drivers/message/fusion/mptsas.c
3458
port_info->phy_info[i].identify.sas_address =
drivers/message/fusion/mptsas.c
3460
port_info->phy_info[i].identify.handle_parent =
drivers/message/fusion/mptsas.c
3465
list_add_tail(&port_info->list, &ioc->sas_topology);
drivers/message/fusion/mptsas.c
3469
"sas_addr (0x%llx)\n", ioc->name, port_info->num_phys,
drivers/message/fusion/mptsas.c
3472
mptsas_expander_refresh(ioc, port_info);
drivers/message/fusion/mptsas.c
3486
struct mptsas_portinfo *port_info;
drivers/message/fusion/mptsas.c
3508
port_info = mptsas_find_portinfo_by_sas_address(ioc,
drivers/message/fusion/mptsas.c
3510
if (!port_info)
drivers/message/fusion/mptsas.c
3512
if (port_info == parent) /* backlink rphy */
drivers/message/fusion/mptsas.c
3518
mptsas_expander_delete(ioc, port_info, 1);
drivers/message/fusion/mptsas.c
3533
struct mptsas_portinfo *port_info, u8 force)
drivers/message/fusion/mptsas.c
3544
if (!port_info)
drivers/message/fusion/mptsas.c
3551
port_info->phy_info[0].identify.handle);
drivers/message/fusion/mptsas.c
3565
port_info->phy_info[0].identify.sas_address;
drivers/message/fusion/mptsas.c
3567
port_info->phy_info[0].identify.handle_parent);
drivers/message/fusion/mptsas.c
3568
mptsas_delete_expander_siblings(ioc, parent, port_info);
drivers/message/fusion/mptsas.c
3604
"sas_addr (0x%llx)\n", ioc->name, port_info->num_phys,
drivers/message/fusion/mptsas.c
3610
list_del(&port_info->list);
drivers/message/fusion/mptsas.c
3611
kfree(port_info->phy_info);
drivers/message/fusion/mptsas.c
3612
kfree(port_info);
drivers/message/fusion/mptsas.c
3629
struct mptsas_portinfo *port_info;
drivers/message/fusion/mptsas.c
3638
port_info = mptsas_find_portinfo_by_sas_address(ioc, sas_address);
drivers/message/fusion/mptsas.c
3641
if (port_info) {
drivers/message/fusion/mptsas.c
3642
for (i = 0; i < port_info->num_phys; i++) {
drivers/message/fusion/mptsas.c
3643
port_info->phy_info[i].portinfo = port_info;
drivers/message/fusion/mptsas.c
3644
port_info->phy_info[i].handle =
drivers/message/fusion/mptsas.c
3646
port_info->phy_info[i].identify.sas_address =
drivers/message/fusion/mptsas.c
3648
port_info->phy_info[i].identify.handle_parent =
drivers/message/fusion/mptsas.c
3651
mptsas_expander_refresh(ioc, port_info);
drivers/message/fusion/mptsas.c
3652
} else if (!port_info && expander_data->NumPhys)
drivers/message/fusion/mptsas.c
3656
mptsas_expander_delete(ioc, port_info, 0);
drivers/message/fusion/mptsas.c
3671
struct mptsas_portinfo buffer, *port_info;
drivers/message/fusion/mptsas.c
3679
port_info = kzalloc_obj(struct mptsas_portinfo);
drivers/message/fusion/mptsas.c
3680
if (!port_info) {
drivers/message/fusion/mptsas.c
3686
port_info->num_phys = buffer.num_phys;
drivers/message/fusion/mptsas.c
3687
port_info->phy_info = buffer.phy_info;
drivers/message/fusion/mptsas.c
3688
for (i = 0; i < port_info->num_phys; i++)
drivers/message/fusion/mptsas.c
3689
port_info->phy_info[i].portinfo = port_info;
drivers/message/fusion/mptsas.c
3691
list_add_tail(&port_info->list, &ioc->sas_topology);
drivers/message/fusion/mptsas.c
3694
"sas_addr (0x%llx)\n", ioc->name, port_info->num_phys,
drivers/message/fusion/mptsas.c
3696
mptsas_expander_refresh(ioc, port_info);
drivers/message/fusion/mptsas.c
3697
return port_info;
drivers/message/fusion/mptsas.c
3705
struct mptsas_portinfo *port_info;
drivers/message/fusion/mptsas.c
3719
port_info = mptsas_find_portinfo_by_sas_address(ioc, sas_address);
drivers/message/fusion/mptsas.c
3720
if (port_info) {
drivers/message/fusion/mptsas.c
3721
phy_info = &port_info->phy_info[phy_num];
drivers/message/fusion/mptsas.c
3730
if (!port_info) {
drivers/message/fusion/mptsas.c
3732
port_info = mptsas_expander_add(ioc,
drivers/message/fusion/mptsas.c
3734
if (port_info)
drivers/message/fusion/mptsas.c
3740
if (port_info == ioc->hba_port_info)
drivers/message/fusion/mptsas.c
3743
mptsas_expander_refresh(ioc, port_info);
drivers/message/fusion/mptsas.c
3796
struct mptsas_portinfo buffer, *port_info;
drivers/message/fusion/mptsas.c
3886
list_for_each_entry(port_info, &ioc->sas_topology, list) {
drivers/message/fusion/mptsas.c
3888
if (!(port_info->phy_info[0].identify.device_info &
drivers/message/fusion/mptsas.c
3900
port_info->phy_info[0].identify.sas_address) {
drivers/message/fusion/mptsas.c
3907
mptsas_expander_delete(ioc, port_info, 0);
drivers/message/fusion/mptsas.c
3922
struct mptsas_portinfo buffer, *port_info;
drivers/message/fusion/mptsas.c
3932
port_info = mptsas_find_portinfo_by_sas_address(ioc,
drivers/message/fusion/mptsas.c
3935
if (port_info) {
drivers/message/fusion/mptsas.c
3938
port_info->phy_info[i].handle = handle;
drivers/message/fusion/mptsas.c
3939
port_info->phy_info[i].identify.handle_parent =
drivers/message/fusion/mptsas.c
3942
mptsas_expander_refresh(ioc, port_info);
drivers/message/fusion/mptsas.c
3947
port_info = kzalloc_obj(struct mptsas_portinfo);
drivers/message/fusion/mptsas.c
3948
if (!port_info) {
drivers/message/fusion/mptsas.c
3954
port_info->num_phys = buffer.num_phys;
drivers/message/fusion/mptsas.c
3955
port_info->phy_info = buffer.phy_info;
drivers/message/fusion/mptsas.c
3956
for (i = 0; i < port_info->num_phys; i++)
drivers/message/fusion/mptsas.c
3957
port_info->phy_info[i].portinfo = port_info;
drivers/message/fusion/mptsas.c
3959
list_add_tail(&port_info->list, &ioc->sas_topology);
drivers/message/fusion/mptsas.c
3962
"sas_addr (0x%llx)\n", ioc->name, port_info->num_phys,
drivers/message/fusion/mptsas.c
3964
mptsas_expander_refresh(ioc, port_info);
drivers/message/fusion/mptsas.c
409
struct mptsas_portinfo *port_info, *rc=NULL;
drivers/message/fusion/mptsas.c
412
list_for_each_entry(port_info, &ioc->sas_topology, list)
drivers/message/fusion/mptsas.c
413
for (i = 0; i < port_info->num_phys; i++)
drivers/message/fusion/mptsas.c
4134
struct mptsas_portinfo *port_info;
drivers/message/fusion/mptsas.c
4139
list_for_each_entry(port_info, &ioc->sas_topology, list) {
drivers/message/fusion/mptsas.c
414
if (port_info->phy_info[i].identify.handle == handle) {
drivers/message/fusion/mptsas.c
4140
for (i = 0; i < port_info->num_phys; i++) {
drivers/message/fusion/mptsas.c
4142
&port_info->phy_info[i].attached))
drivers/message/fusion/mptsas.c
4144
if (port_info->phy_info[i].attached.sas_address
drivers/message/fusion/mptsas.c
4147
phy_info = &port_info->phy_info[i];
drivers/message/fusion/mptsas.c
415
rc = port_info;
drivers/message/fusion/mptsas.c
4169
struct mptsas_portinfo *port_info;
drivers/message/fusion/mptsas.c
4211
list_for_each_entry(port_info, &ioc->sas_topology, list) {
drivers/message/fusion/mptsas.c
4212
for (i = 0; i < port_info->num_phys && !phy_info; i++) {
drivers/message/fusion/mptsas.c
4214
&port_info->phy_info[i].attached))
drivers/message/fusion/mptsas.c
4216
if (port_info->phy_info[i].attached.phys_disk_num == ~0)
drivers/message/fusion/mptsas.c
4218
if ((port_info->phy_info[i].attached.phys_disk_num ==
drivers/message/fusion/mptsas.c
4220
(port_info->phy_info[i].attached.id == id) &&
drivers/message/fusion/mptsas.c
4221
(port_info->phy_info[i].attached.channel ==
drivers/message/fusion/mptsas.c
4223
phy_info = &port_info->phy_info[i];
drivers/message/fusion/mptsas.c
4332
struct mptsas_portinfo *port_info;
drivers/message/fusion/mptsas.c
435
struct mptsas_portinfo *port_info, *rc = NULL;
drivers/message/fusion/mptsas.c
4379
port_info = mptsas_find_portinfo_by_handle(ioc,
drivers/message/fusion/mptsas.c
4382
if (port_info == ioc->hba_port_info)
drivers/message/fusion/mptsas.c
4384
else if (port_info)
drivers/message/fusion/mptsas.c
4385
mptsas_expander_refresh(ioc, port_info);
drivers/message/fusion/mptsas.c
444
list_for_each_entry(port_info, &ioc->sas_topology, list)
drivers/message/fusion/mptsas.c
445
for (i = 0; i < port_info->num_phys; i++)
drivers/message/fusion/mptsas.c
446
if (port_info->phy_info[i].identify.sas_address ==
drivers/message/fusion/mptsas.c
448
rc = port_info;
drivers/message/fusion/mptsas.c
480
struct mptsas_portinfo *port_info;
drivers/message/fusion/mptsas.c
487
port_info = port_details->port_info;
drivers/message/fusion/mptsas.c
488
phy_info = port_info->phy_info;
drivers/message/fusion/mptsas.c
495
for (i = 0; i < port_info->num_phys; i++, phy_info++) {
drivers/message/fusion/mptsas.c
857
mptsas_setup_wide_ports(MPT_ADAPTER *ioc, struct mptsas_portinfo *port_info)
drivers/message/fusion/mptsas.c
866
phy_info = port_info->phy_info;
drivers/message/fusion/mptsas.c
867
for (i = 0 ; i < port_info->num_phys ; i++, phy_info++) {
drivers/message/fusion/mptsas.c
898
phy_info = port_info->phy_info;
drivers/message/fusion/mptsas.c
899
for (i = 0 ; i < port_info->num_phys ; i++, phy_info++) {
drivers/message/fusion/mptsas.c
914
port_details->port_info = port_info;
drivers/message/fusion/mptsas.c
925
if (i == port_info->num_phys - 1)
drivers/message/fusion/mptsas.c
927
phy_info_cmp = &port_info->phy_info[i + 1];
drivers/message/fusion/mptsas.c
928
for (j = i + 1 ; j < port_info->num_phys ; j++,
drivers/message/fusion/mptsas.c
966
for (i = 0; i < port_info->num_phys; i++) {
drivers/message/fusion/mptsas.c
967
port_details = port_info->phy_info[i].port_details;
drivers/message/fusion/mptsas.h
156
struct mptsas_portinfo *port_info;
drivers/net/ethernet/airoha/airoha_eth.c
2839
md_dst->u.port_info.port_id = i;
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
1379
return md_dst->u.port_info.port_id;
drivers/net/ethernet/broadcom/bnxt/bnxt.c
457
return md_dst->u.port_info.port_id;
drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c
126
skb->dev = vf_rep->dst->u.port_info.lower_dev;
drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c
405
vf_rep->dst->u.port_info.port_id = vf_rep->tx_cfa_action;
drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c
406
vf_rep->dst->u.port_info.lower_dev = bp->dev;
drivers/net/ethernet/chelsio/cxgb/common.h
240
struct port_info port[MAX_NPORTS];
drivers/net/ethernet/chelsio/cxgb/cxgb2.c
125
static void link_report(struct port_info *p)
drivers/net/ethernet/chelsio/cxgb/cxgb2.c
147
struct port_info *p = &adapter->port[port_id];
drivers/net/ethernet/chelsio/cxgb/cxgb2.c
175
static void link_start(struct port_info *p)
drivers/net/ethernet/chelsio/cxgb/cxgb2.c
269
struct port_info *p = &adapter->port[dev->if_port];
drivers/net/ethernet/chelsio/cxgb/cxgb2.c
295
struct port_info *p = &adapter->port[dev->if_port];
drivers/net/ethernet/chelsio/cxgb/cxgb2.c
571
struct port_info *p = &adapter->port[dev->if_port];
drivers/net/ethernet/chelsio/cxgb/cxgb2.c
636
struct port_info *p = &adapter->port[dev->if_port];
drivers/net/ethernet/chelsio/cxgb/cxgb2.c
676
struct port_info *p = &adapter->port[dev->if_port];
drivers/net/ethernet/chelsio/cxgb/cxgb2.c
687
struct port_info *p = &adapter->port[dev->if_port];
drivers/net/ethernet/chelsio/cxgb/cxgb2.c
913
struct port_info *p = &adapter->port[i];
drivers/net/ethernet/chelsio/cxgb/cxgb2.c
950
struct port_info *pi;
drivers/net/ethernet/chelsio/cxgb3/adapter.h
284
static inline struct port_info *adap2pinfo(struct adapter *adap, int idx)
drivers/net/ethernet/chelsio/cxgb3/adapter.h
292
struct port_info *port0 = adap2pinfo(adap, 0);
drivers/net/ethernet/chelsio/cxgb3/adapter.h
50
struct port_info;
drivers/net/ethernet/chelsio/cxgb3/adapter.h
62
int (*send)(struct port_info *pi, struct sk_buff **skb);
drivers/net/ethernet/chelsio/cxgb3/adapter.h
63
int (*recv)(struct port_info *pi, struct sk_buff *skb);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1165
static void t3_synchronize_rx(struct adapter *adap, const struct port_info *p)
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1179
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1348
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1419
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1450
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1488
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1527
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1535
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
161
const struct port_info *p = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1619
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1651
struct port_info *p, int idx)
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1664
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1738
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1768
struct port_info *p = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1781
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1804
struct port_info *p = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
182
struct port_info *pi)
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1867
struct port_info *p = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1915
struct port_info *p = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
192
struct port_info *pi)
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1925
struct port_info *p = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1954
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1972
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2006
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
201
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2029
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2040
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2057
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2138
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2533
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
254
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2556
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2573
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2615
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2642
struct port_info *p = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2658
struct port_info *p = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2689
struct port_info *p = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2842
struct port_info *p = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2889
struct port_info *pi = netdev_priv(netdev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
3103
struct port_info *pi = adap2pinfo(adap, i);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
3156
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
3194
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
3209
struct port_info *pi;
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
321
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
3288
netdev = alloc_etherdev_mq(sizeof(struct port_info), SGE_QSETS);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
332
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
345
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
389
const struct port_info *pi = netdev_priv(d);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
662
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
721
struct port_info *pi = netdev_priv(dev); \
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
733
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
756
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
800
struct port_info *pi = netdev_priv(to_net_dev(d));
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
826
struct port_info *pi = netdev_priv(to_net_dev(d));
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
903
struct port_info *pi = netdev_priv(adapter->port[idx]);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
976
const struct port_info *pi = adap2pinfo(adap, i);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c
456
struct port_info *pi = netdev_priv(p->dev);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c
660
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/l2t.c
270
struct port_info *p;
drivers/net/ethernet/chelsio/cxgb3/sge.c
1177
const struct port_info *pi,
drivers/net/ethernet/chelsio/cxgb3/sge.c
1264
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/sge.c
1746
const struct port_info *pi = netdev_priv(qs->netdev);
drivers/net/ethernet/chelsio/cxgb3/sge.c
2021
static void cxgb3_arp_process(struct port_info *pi, struct sk_buff *skb)
drivers/net/ethernet/chelsio/cxgb3/sge.c
2059
static void cxgb3_process_iscsi_prov_pack(struct port_info *pi,
drivers/net/ethernet/chelsio/cxgb3/sge.c
2089
struct port_info *pi;
drivers/net/ethernet/chelsio/cxgb3/sge.c
2138
struct port_info *pi = netdev_priv(qs->netdev);
drivers/net/ethernet/chelsio/cxgb3/sge.c
2910
struct port_info *pi = netdev_priv(qs->netdev);
drivers/net/ethernet/chelsio/cxgb3/sge.c
2951
struct port_info *pi = netdev_priv(qs->netdev);
drivers/net/ethernet/chelsio/cxgb3/t3_hw.c
1178
struct port_info *pi = adap2pinfo(adapter, port_id);
drivers/net/ethernet/chelsio/cxgb3/t3_hw.c
1234
struct port_info *pi = adap2pinfo(adapter, port_id);
drivers/net/ethernet/chelsio/cxgb3/t3_hw.c
1833
struct port_info *p = adap2pinfo(adapter, i);
drivers/net/ethernet/chelsio/cxgb3/t3_hw.c
2029
struct port_info *pi = adap2pinfo(adapter, idx);
drivers/net/ethernet/chelsio/cxgb3/t3_hw.c
2037
struct port_info *pi = adap2pinfo(adapter, idx);
drivers/net/ethernet/chelsio/cxgb3/t3_hw.c
213
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/t3_hw.c
232
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/t3_hw.c
276
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/t3_hw.c
296
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb3/t3_hw.c
3671
struct port_info *p = adap2pinfo(adapter, i);
drivers/net/ethernet/chelsio/cxgb3/t3_hw.c
3734
struct port_info *p = adap2pinfo(adapter, i);
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
1557
static inline struct port_info *netdev2pinfo(const struct net_device *dev)
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
1569
static inline struct port_info *adap2pinfo(struct adapter *adap, int idx)
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
1644
int cxgb4_write_rss(const struct port_info *pi, const u16 *queues);
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
1888
int t4_init_portinfo(struct port_info *pi, int mbox,
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
1891
int t4_init_port_mirror(struct port_info *pi, u8 mbox, u8 port, u8 pf, u8 vf,
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
2024
struct port_info *pi,
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
2049
void t4_handle_get_port_info(struct port_info *pi, const __be64 *rpl);
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
2050
int t4_update_port_info(struct port_info *pi);
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
2051
int t4_get_link_params(struct port_info *pi, unsigned int *link_okp,
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
2132
int cxgb4_change_mac(struct port_info *pi, unsigned int viid,
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
2144
int cxgb4_update_mac_filt(struct port_info *pi, unsigned int viid,
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
1003
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
1074
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
1084
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
1113
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
1147
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
1184
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
1227
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
128
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
279
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
35
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
413
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
422
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
443
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
50
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
506
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
568
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
602
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
61
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
634
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
650
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
688
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
730
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
764
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
786
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
839
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
929
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
943
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
2394
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
2601
static inline struct port_info *ethqset2pinfo(struct adapter *adap, int qset)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
2606
struct port_info *pi = adap2pinfo(adap, pidx);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
2746
struct port_info *pi = adap2pinfo(adap, j);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
3180
struct port_info *pi = adap2pinfo(adap, i);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1003
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1025
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1060
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1123
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1176
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1555
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1581
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1589
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1605
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1705
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1736
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1789
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1797
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1828
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1877
struct port_info *pi = netdev_priv(netdev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
2013
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
2081
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
2110
struct port_info *pi = netdev_priv(netdev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
2129
struct port_info *pi = netdev_priv(netdev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
2158
struct port_info *pi = netdev_priv(netdev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
280
const struct port_info *p,
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
355
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
393
struct port_info *p = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
665
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
720
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
818
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
839
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
863
struct port_info *p = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
873
struct port_info *p = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
897
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
916
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
950
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
965
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
977
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
989
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_fcoe.c
101
struct port_info *pi = netdev_priv(netdev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_fcoe.c
70
struct port_info *pi = netdev_priv(netdev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c
1375
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c
1444
struct port_info *pi = netdev_priv(f->dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c
1691
struct port_info *pi = netdev_priv(f->dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c
342
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c
980
struct port_info *pi = netdev_priv(f->dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
1060
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
1167
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
1275
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
1319
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
1426
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
1447
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
1503
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
1515
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
1563
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
197
const struct port_info *p = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
236
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
273
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
2832
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
2880
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
2999
struct port_info *p = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3048
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3058
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
312
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3125
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3168
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3226
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3249
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3269
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3281
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3382
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3406
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3451
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3468
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
348
static inline int cxgb4_set_addr_hash(struct port_info *pi)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3484
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3629
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3658
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
366
struct port_info *pi = netdev_priv(netdev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3697
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3731
struct port_info *pi = netdev_priv(netdev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3774
struct port_info *pi = netdev_priv(netdev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3831
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
404
struct port_info *pi = netdev_priv(netdev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
431
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
460
int cxgb4_change_mac(struct port_info *pi, unsigned int viid,
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
505
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
5483
struct port_info *pi = adap2pinfo(adap, i);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
5725
struct port_info *pi = adap2pinfo(adap, i);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
5812
struct port_info *pi;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
5901
struct port_info *pi;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6097
struct port_info *pi = adap2pinfo(adap, i);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6124
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6184
struct port_info *pi = adap2pinfo(adapter, i);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6288
struct port_info *pi;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6329
netdev = alloc_netdev(sizeof(struct port_info),
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6577
struct port_info *pi;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6767
netdev = alloc_etherdev_mq(sizeof(struct port_info),
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
825
static int cxgb4_config_rss(const struct port_info *pi, u16 *rss,
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
859
int cxgb4_write_rss(const struct port_info *pi, const u16 *queues)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
891
const struct port_info *pi = adap2pinfo(adap, i);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c
107
int cxgb4_update_mac_filt(struct port_info *pi, unsigned int viid,
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c
127
int cxgb4_ptprx_timestamping(struct port_info *pi, u8 port, u16 mode)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c
171
int cxgb4_ptp_redirect_rx_packet(struct adapter *adapter, struct port_info *pi)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c
72
struct port_info *pi;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c
99
void cxgb4_ptp_read_hwstamp(struct adapter *adapter, struct port_info *pi)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.h
53
struct port_info;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.h
69
int cxgb4_ptprx_timestamping(struct port_info *pi, u8 port, u16 mode);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.h
70
int cxgb4_ptp_redirect_rx_packet(struct adapter *adap, struct port_info *pi);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.h
72
void cxgb4_ptp_read_hwstamp(struct adapter *adap, struct port_info *pi);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c
502
struct port_info *pi = netdev_priv(out);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_matchall.c
126
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_matchall.c
153
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_matchall.c
180
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_matchall.c
227
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_matchall.c
244
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_matchall.c
271
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_matchall.c
285
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_matchall.c
305
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_matchall.c
351
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_matchall.c
381
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_matchall.c
409
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_matchall.c
449
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_matchall.c
478
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_matchall.c
517
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_matchall.c
56
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.c
12
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.c
150
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.c
271
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.c
328
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.c
369
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.c
429
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.c
531
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/l2t.c
494
struct port_info *pi = (struct port_info *)netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/sched.c
120
static void *t4_sched_entry_lookup(struct port_info *pi,
drivers/net/ethernet/chelsio/cxgb4/sched.c
172
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/sched.c
185
static int t4_sched_queue_unbind(struct port_info *pi, struct ch_sched_queue *p)
drivers/net/ethernet/chelsio/cxgb4/sched.c
215
static int t4_sched_queue_bind(struct port_info *pi, struct ch_sched_queue *p)
drivers/net/ethernet/chelsio/cxgb4/sched.c
259
static int t4_sched_flowc_unbind(struct port_info *pi, struct ch_sched_flowc *p)
drivers/net/ethernet/chelsio/cxgb4/sched.c
286
static int t4_sched_flowc_bind(struct port_info *pi, struct ch_sched_flowc *p)
drivers/net/ethernet/chelsio/cxgb4/sched.c
324
static void t4_sched_class_unbind_all(struct port_info *pi,
drivers/net/ethernet/chelsio/cxgb4/sched.c
351
static int t4_sched_class_bind_unbind_op(struct port_info *pi, void *arg,
drivers/net/ethernet/chelsio/cxgb4/sched.c
399
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/sched.c
41
static int t4_sched_class_fw_cmd(struct port_info *pi,
drivers/net/ethernet/chelsio/cxgb4/sched.c
446
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/sched.c
479
static struct ch_sched_class *t4_sched_class_lookup(struct port_info *pi,
drivers/net/ethernet/chelsio/cxgb4/sched.c
525
static struct ch_sched_class *t4_sched_class_alloc(struct port_info *pi,
drivers/net/ethernet/chelsio/cxgb4/sched.c
585
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/sched.c
607
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/sched.c
645
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/sched.c
678
struct port_info *pi = netdev2pinfo(adap->port[j]);
drivers/net/ethernet/chelsio/cxgb4/sched.c
71
static int t4_sched_bind_unbind_op(struct port_info *pi, void *arg,
drivers/net/ethernet/chelsio/cxgb4/sched.h
90
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/sched.h
97
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/sge.c
1235
const struct port_info *pi, u64 *cntrl)
drivers/net/ethernet/chelsio/cxgb4/sge.c
1271
struct port_info *pi = netdev_priv(skb->dev);
drivers/net/ethernet/chelsio/cxgb4/sge.c
1499
const struct port_info *pi;
drivers/net/ethernet/chelsio/cxgb4/sge.c
1818
const struct port_info *pi;
drivers/net/ethernet/chelsio/cxgb4/sge.c
2252
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/sge.c
2423
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/sge.c
2464
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/sge.c
2526
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4/sge.c
2654
struct port_info *pi = netdev_priv(netdev);
drivers/net/ethernet/chelsio/cxgb4/sge.c
3435
struct port_info *pi;
drivers/net/ethernet/chelsio/cxgb4/sge.c
3552
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/sge.c
3582
struct port_info *pi = netdev_priv(rspq->netdev);
drivers/net/ethernet/chelsio/cxgb4/sge.c
3629
static int cxgb4_validate_lb_pkt(struct port_info *pi, const struct pkt_gl *si)
drivers/net/ethernet/chelsio/cxgb4/sge.c
3674
struct port_info *pi;
drivers/net/ethernet/chelsio/cxgb4/sge.c
4368
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/sge.c
4582
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/sge.c
4675
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/sge.c
4744
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
8273
struct port_info *pi,
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
8569
void t4_handle_get_port_info(struct port_info *pi, const __be64 *rpl)
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
8751
int t4_update_port_info(struct port_info *pi)
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
8786
int t4_get_link_params(struct port_info *pi, unsigned int *link_okp,
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
8861
struct port_info *pi = NULL;
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
9571
struct port_info *p = adap2pinfo(adap, i);
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
9600
int t4_init_portinfo(struct port_info *pi, int mbox,
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
9702
struct port_info *pi = adap2pinfo(adap, i);
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
9717
int t4_init_port_mirror(struct port_info *pi, u8 mbox, u8 port, u8 pf, u8 vf,
drivers/net/ethernet/chelsio/cxgb4vf/adapter.h
520
static inline struct port_info *netdev2pinfo(const struct net_device *dev)
drivers/net/ethernet/chelsio/cxgb4vf/adapter.h
532
static inline struct port_info *adap2pinfo(struct adapter *adapter, int pidx)
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1167
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1194
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1211
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1232
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1439
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1530
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
155
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1598
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1623
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1658
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1680
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1695
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1709
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1806
const struct port_info *pi,
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1832
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
2073
? ((struct port_info *)
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
219
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
2341
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
241
static int cxgb4vf_set_addr_hash(struct port_info *pi)
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
2709
struct port_info *pi = adap2pinfo(adapter, pidx);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
272
static int cxgb4vf_change_mac(struct port_info *pi, unsigned int viid,
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
2767
struct port_info *pi;
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
2900
struct port_info *pi;
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
3050
netdev = alloc_etherdev_mq(sizeof(struct port_info),
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
3173
struct port_info *pi = netdev_priv(adapter->port[pidx]);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
322
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
3314
struct port_info *pi;
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
366
const struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
631
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
662
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
704
struct port_info *pi = adap2pinfo(adapter, pidx);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
836
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
888
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
907
struct port_info *pi = netdev2pinfo(dev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
937
struct port_info *pi = netdev_priv(netdev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
969
struct port_info *pi = netdev_priv(netdev);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
996
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/sge.c
1165
const struct port_info *pi;
drivers/net/ethernet/chelsio/cxgb4vf/sge.c
1569
struct port_info *pi;
drivers/net/ethernet/chelsio/cxgb4vf/sge.c
1621
struct port_info *pi;
drivers/net/ethernet/chelsio/cxgb4vf/sge.c
2207
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/sge.c
2415
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h
397
int t4vf_enable_pi(struct adapter *adapter, struct port_info *pi, bool rx_en,
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h
415
int t4vf_update_port_info(struct port_info *pi);
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
1423
int t4vf_enable_pi(struct adapter *adapter, struct port_info *pi,
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
1767
struct port_info *pi = adap2pinfo(adapter, pidx);
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
1913
static void t4vf_handle_get_port_info(struct port_info *pi,
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
2067
int t4vf_update_port_info(struct port_info *pi)
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
2124
struct port_info *pi = adap2pinfo(adapter, pidx);
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
498
struct port_info *pi = adap2pinfo(adapter, pidx);
drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c
415
struct port_info *pi;
drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c
466
struct port_info *pi;
drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c
511
struct port_info *pi;
drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c
556
struct port_info *pi = netdev_priv(dev);
drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c
714
struct port_info *pi;
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
423
struct port_info *pi;
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c
1094
struct port_info *pi = netdev_priv(ndev);
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c
1238
csk->smac_idx = ((struct port_info *)netdev_priv(ndev))->smt_idx;
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c
651
struct port_info *pi;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
712
u8 port_info;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5636
hnae3_set_bit(req1->port_info, HCLGE_FD_EPORT_SW_EN_B, 0);
drivers/net/ethernet/ibm/ehea/ehea_phyp.c
533
u64 port_info;
drivers/net/ethernet/ibm/ehea/ehea_phyp.c
537
port_info = EHEA_BMASK_SET(H_MEHEAPORT_CAT, cb_cat)
drivers/net/ethernet/ibm/ehea/ehea_phyp.c
542
port_info, /* R5 */
drivers/net/ethernet/ibm/ehea/ehea_phyp.c
554
u64 port_info;
drivers/net/ethernet/ibm/ehea/ehea_phyp.c
558
port_info = EHEA_BMASK_SET(H_MEHEAPORT_CAT, cb_cat)
drivers/net/ethernet/ibm/ehea/ehea_phyp.c
566
port_info, /* R5 */
drivers/net/ethernet/intel/ice/devlink/devlink.c
1542
pi = pf->hw.port_info;
drivers/net/ethernet/intel/ice/devlink/devlink.c
1567
pi = pf->hw.port_info;
drivers/net/ethernet/intel/ice/devlink/devlink.c
721
struct ice_port_info *pi = ice_get_main_vsi(pf)->port_info;
drivers/net/ethernet/intel/ice/devlink/devlink.c
812
struct ice_port_info *pi = vsi->port_info;
drivers/net/ethernet/intel/ice/devlink/devlink.c
843
struct ice_port_info *pi = vsi->port_info;
drivers/net/ethernet/intel/ice/devlink/devlink.c
972
return ice_get_main_vsi(pf)->port_info;
drivers/net/ethernet/intel/ice/ice.h
454
struct ice_port_info *port_info; /* back pointer to port_info */
drivers/net/ethernet/intel/ice/ice_base.c
1088
status = ice_ena_vsi_txq(vsi->port_info, vsi_idx, tc, ring->q_handle,
drivers/net/ethernet/intel/ice/ice_base.c
1125
ice_dis_vsi_txq(vsi->port_info, vsi_idx, tc, 1, &ring->q_handle,
drivers/net/ethernet/intel/ice/ice_base.c
1333
status = ice_dis_vsi_txq(vsi->port_info, txq_meta->vsi_idx,
drivers/net/ethernet/intel/ice/ice_base.c
1525
ice_get_link_status(vsi->port_info, &link_up);
drivers/net/ethernet/intel/ice/ice_base.c
351
tlan_ctx->port_num = vsi->port_info->lport;
drivers/net/ethernet/intel/ice/ice_common.c
1034
if (!hw->port_info)
drivers/net/ethernet/intel/ice/ice_common.c
1035
hw->port_info = devm_kzalloc(ice_hw_to_dev(hw),
drivers/net/ethernet/intel/ice/ice_common.c
1036
sizeof(*hw->port_info),
drivers/net/ethernet/intel/ice/ice_common.c
1038
if (!hw->port_info) {
drivers/net/ethernet/intel/ice/ice_common.c
1043
hw->port_info->local_fwd_mode = ICE_LOCAL_FWD_MODE_ENABLED;
drivers/net/ethernet/intel/ice/ice_common.c
1045
hw->port_info->hw = hw;
drivers/net/ethernet/intel/ice/ice_common.c
1055
xa_init_flags(&hw->port_info->sched_node_ids, XA_FLAGS_ALLOC);
drivers/net/ethernet/intel/ice/ice_common.c
1066
status = ice_sched_init_port(hw->port_info);
drivers/net/ethernet/intel/ice/ice_common.c
1077
status = ice_aq_get_phy_caps(hw->port_info, false,
drivers/net/ethernet/intel/ice/ice_common.c
1085
status = ice_aq_get_link_info(hw->port_info, false, NULL, NULL);
drivers/net/ethernet/intel/ice/ice_common.c
1152
devm_kfree(ice_hw_to_dev(hw), hw->port_info);
drivers/net/ethernet/intel/ice/ice_common.c
270
ether_addr_copy(hw->port_info->mac.lan_addr,
drivers/net/ethernet/intel/ice/ice_common.c
272
ether_addr_copy(hw->port_info->mac.perm_addr,
drivers/net/ethernet/intel/ice/ice_dcb.c
1014
ret = ice_get_dcb_cfg(hw->port_info);
drivers/net/ethernet/intel/ice/ice_dcb.c
1041
struct ice_qos_cfg *qos_cfg = &hw->port_info->qos_cfg;
drivers/net/ethernet/intel/ice/ice_dcb.c
999
struct ice_qos_cfg *qos_cfg = &hw->port_info->qos_cfg;
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
1022
pi = pf->hw.port_info;
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
151
struct ice_dcbx_cfg *cfg = &vsi->port_info->qos_cfg.local_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
182
struct ice_dcbx_cfg *cfg = &vsi->port_info->qos_cfg.local_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
359
curr_cfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
362
if (!pf->hw.port_info->qos_cfg.is_sw_lldp)
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
368
if (pf->hw.port_info->is_custom_tx_enabled) {
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
428
if (pf->hw.port_info->qos_cfg.is_sw_lldp) {
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
429
ret = ice_set_dcb_cfg(pf->hw.port_info);
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
438
ret = ice_query_port_ets(pf->hw.port_info, &buf, sizeof(buf), NULL);
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
540
ret = ice_query_port_ets(pf->hw.port_info, &buf, sizeof(buf), NULL);
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
548
if (!pf->hw.port_info->qos_cfg.is_sw_lldp)
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
549
ice_cfg_etsrec_defaults(pf->hw.port_info);
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
551
ret = ice_set_dcb_cfg(pf->hw.port_info);
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
557
if (!pf->hw.port_info->qos_cfg.is_sw_lldp) {
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
559
if (ret && !pf->hw.port_info->qos_cfg.is_sw_lldp) {
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
566
ret = ice_query_port_ets(pf->hw.port_info, &buf, sizeof(buf), NULL);
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
611
pi = pf->hw.port_info;
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
643
pi = hw->port_info;
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
711
struct ice_dcbx_cfg *dcbcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
724
ret = ice_set_dcb_cfg(pf->hw.port_info);
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
742
struct ice_dcbx_cfg *dcbcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
812
struct ice_port_info *port_info;
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
816
port_info = hw->port_info;
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
819
if (err && !port_info->qos_cfg.is_sw_lldp) {
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
857
pf->dcbx_cap = ice_dcb_get_mode(port_info, true);
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
864
pf->dcbx_cap = ice_dcb_get_mode(port_info, false);
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
87
static u8 ice_dcb_get_mode(struct ice_port_info *port_info, bool host)
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
888
port = hw->port_info->lport;
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
96
if (port_info->qos_cfg.local_dcbx_cfg.dcbx_mode & ICE_DCBX_MODE_CEE)
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
967
dcbx_cfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_dcb_lib.h
66
return pf->hw.port_info->qos_cfg.local_dcbx_cfg.pfc_mode;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
1051
pi = pf->hw.port_info;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
183
qos_cfg = &pf->hw.port_info->qos_cfg;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
208
struct ice_port_info *pi = pf->hw.port_info;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
241
struct ice_port_info *pi = pf->hw.port_info;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
281
new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
309
struct ice_port_info *pi = pf->hw.port_info;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
346
new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
365
struct ice_port_info *pi = pf->hw.port_info;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
38
dcbxcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
413
memcpy(&pf->hw.port_info->qos_cfg.desired_dcbx_cfg,
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
414
&pf->hw.port_info->qos_cfg.local_dcbx_cfg,
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
439
struct ice_port_info *pi = pf->hw.port_info;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
484
new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
505
struct ice_port_info *pi = pf->hw.port_info;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
543
new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
564
struct ice_port_info *pi = pf->hw.port_info;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
778
new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
779
old_cfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
78
new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
885
old_cfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
891
new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_dcb_nl.c
990
new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_eswitch.c
123
dst->u.port_info.port_id = vsi->vsi_num;
drivers/net/ethernet/intel/ice/ice_eswitch.c
124
dst->u.port_info.lower_dev = uplink_vsi->netdev;
drivers/net/ethernet/intel/ice/ice_eswitch.c
190
repr->dst->u.port_info.port_id = vsi->vsi_num;
drivers/net/ethernet/intel/ice/ice_eswitch.c
228
skb->dev = repr->dst->u.port_info.lower_dev;
drivers/net/ethernet/intel/ice/ice_eswitch.c
258
dst->u.port_info.port_id);
drivers/net/ethernet/intel/ice/ice_eswitch.c
279
ice_cfg_dflt_vsi(uplink_vsi->port_info, uplink_vsi->idx, false,
drivers/net/ethernet/intel/ice/ice_eswitch.c
281
ice_cfg_dflt_vsi(uplink_vsi->port_info, uplink_vsi->idx, false,
drivers/net/ethernet/intel/ice/ice_eswitch.c
284
uplink_vsi->port_info->mac.perm_addr,
drivers/net/ethernet/intel/ice/ice_eswitch.c
45
if (ice_cfg_dflt_vsi(uplink_vsi->port_info, uplink_vsi->idx, true,
drivers/net/ethernet/intel/ice/ice_eswitch.c
66
ice_cfg_dflt_vsi(uplink_vsi->port_info, uplink_vsi->idx, false,
drivers/net/ethernet/intel/ice/ice_eswitch.c
69
ice_cfg_dflt_vsi(uplink_vsi->port_info, uplink_vsi->idx, false,
drivers/net/ethernet/intel/ice/ice_eswitch.c
75
uplink_vsi->port_info->mac.perm_addr,
drivers/net/ethernet/intel/ice/ice_ethtool.c
1012
struct ice_hw *hw = np->vsi->port_info->hw;
drivers/net/ethernet/intel/ice/ice_ethtool.c
1283
test_vsi = ice_lb_vsi_setup(pf, pf->hw.port_info);
drivers/net/ethernet/intel/ice/ice_ethtool.c
1539
if (ice_aq_set_port_id_led(np->vsi->port_info, !led_active, NULL))
drivers/net/ethernet/intel/ice/ice_ethtool.c
1557
pi = vsi->port_info;
drivers/net/ethernet/intel/ice/ice_ethtool.c
1639
pi = vsi->port_info;
drivers/net/ethernet/intel/ice/ice_ethtool.c
2132
req_speeds = vsi->port_info->phy.link_info.req_speeds;
drivers/net/ethernet/intel/ice/ice_ethtool.c
2175
phy_types_low = vsi->port_info->phy.phy_type_low;
drivers/net/ethernet/intel/ice/ice_ethtool.c
2176
phy_types_high = vsi->port_info->phy.phy_type_high;
drivers/net/ethernet/intel/ice/ice_ethtool.c
2183
advert_phy_type_lo = vsi->port_info->phy.phy_type_low;
drivers/net/ethernet/intel/ice/ice_ethtool.c
2184
advert_phy_type_hi = vsi->port_info->phy.phy_type_high;
drivers/net/ethernet/intel/ice/ice_ethtool.c
2219
struct ice_port_info *pi = np->vsi->port_info;
drivers/net/ethernet/intel/ice/ice_ethtool.c
2223
link_info = &vsi->port_info->phy.link_info;
drivers/net/ethernet/intel/ice/ice_ethtool.c
2337
hw_link_info = &vsi->port_info->phy.link_info;
drivers/net/ethernet/intel/ice/ice_ethtool.c
2350
switch (vsi->port_info->phy.media_type) {
drivers/net/ethernet/intel/ice/ice_ethtool.c
2383
err = ice_aq_get_phy_caps(vsi->port_info, false,
drivers/net/ethernet/intel/ice/ice_ethtool.c
2418
err = ice_aq_get_phy_caps(vsi->port_info, false,
drivers/net/ethernet/intel/ice/ice_ethtool.c
2632
pi = np->vsi->port_info;
drivers/net/ethernet/intel/ice/ice_ethtool.c
3457
struct ice_port_info *pi = np->vsi->port_info;
drivers/net/ethernet/intel/ice/ice_ethtool.c
3515
pi = vsi->port_info;
drivers/net/ethernet/intel/ice/ice_ethtool.c
4644
pi = np->vsi->port_info;
drivers/net/ethernet/intel/ice/ice_ethtool.c
766
pi = np->vsi->port_info;
drivers/net/ethernet/intel/ice/ice_ethtool.c
933
status = ice_get_link_status(np->vsi->port_info, &link_up);
drivers/net/ethernet/intel/ice/ice_idc.c
103
status = ice_cfg_vsi_rdma(vsi->port_info, vsi->idx, vsi->tc_cfg.ena_tc,
drivers/net/ethernet/intel/ice/ice_idc.c
110
status = ice_ena_vsi_rdma_qset(vsi->port_info, vsi->idx, qset->tc,
drivers/net/ethernet/intel/ice/ice_idc.c
150
return ice_dis_vsi_rdma_qset(vsi->port_info, 1, &teid, &q_id);
drivers/net/ethernet/intel/ice/ice_lag.c
1079
pi = old_hw->port_info;
drivers/net/ethernet/intel/ice/ice_lag.c
1080
new_pi = new_hw->port_info;
drivers/net/ethernet/intel/ice/ice_lag.c
1093
n_prt = ice_sched_get_free_qparent(new_hw->port_info,
drivers/net/ethernet/intel/ice/ice_lag.c
123
repr->dst->u.port_info.lower_dev = netdev;
drivers/net/ethernet/intel/ice/ice_lag.c
1281
src_hw->port_info->lport, hw->port_info->lport,
drivers/net/ethernet/intel/ice/ice_lag.c
1373
pri_port = lag->pf->hw.port_info->lport;
drivers/net/ethernet/intel/ice/ice_lag.c
1387
pri_port = primary_lag->pf->hw.port_info->lport;
drivers/net/ethernet/intel/ice/ice_lag.c
1388
loc_port = pf->hw.port_info->lport;
drivers/net/ethernet/intel/ice/ice_lag.c
1500
cpu_to_le16(local_lag->pf->hw.port_info->sw_id);
drivers/net/ethernet/intel/ice/ice_lag.c
1515
swid = local_lag->pf->hw.port_info->sw_id;
drivers/net/ethernet/intel/ice/ice_lag.c
1550
u16 swid = hw->port_info->sw_id;
drivers/net/ethernet/intel/ice/ice_lag.c
1691
lag->bond_lport_pri = lag->pf->hw.port_info->lport;
drivers/net/ethernet/intel/ice/ice_lag.c
1700
swid = primary_lag->pf->hw.port_info->sw_id;
drivers/net/ethernet/intel/ice/ice_lag.c
1704
lag->pf->hw.port_info->lport;
drivers/net/ethernet/intel/ice/ice_lag.c
174
if (hw->port_info->lport == lport)
drivers/net/ethernet/intel/ice/ice_lag.c
1767
prim_port = prim_hw->port_info->lport;
drivers/net/ethernet/intel/ice/ice_lag.c
1820
event_port = event_pf->hw.port_info->lport;
drivers/net/ethernet/intel/ice/ice_lag.c
1821
prim_port = pf->hw.port_info->lport;
drivers/net/ethernet/intel/ice/ice_lag.c
1884
event_port = event_pf->hw.port_info->lport;
drivers/net/ethernet/intel/ice/ice_lag.c
1885
prim_port = lag->pf->hw.port_info->lport;
drivers/net/ethernet/intel/ice/ice_lag.c
1919
params.port_info = event_pf->hw.port_info;
drivers/net/ethernet/intel/ice/ice_lag.c
2060
dcb_cfg = &vsi->port_info->qos_cfg.local_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_lag.c
2061
peer_dcb_cfg = &peer_vsi->port_info->qos_cfg.local_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_lag.c
2097
if (p_lag->active_port != p_lag->pf->hw.port_info->lport &&
drivers/net/ethernet/intel/ice/ice_lag.c
2498
if (ice_aq_cfg_lan_txq(hw, qbuf, qbuf_size, numq, hw->port_info->lport,
drivers/net/ethernet/intel/ice/ice_lag.c
2499
dest_hw->port_info->lport,
drivers/net/ethernet/intel/ice/ice_lag.c
265
s_rule->src = cpu_to_le16(hw->port_info->lport);
drivers/net/ethernet/intel/ice/ice_lag.c
2725
loc_port = lag->pf->hw.port_info->lport;
drivers/net/ethernet/intel/ice/ice_lag.c
2731
ice_lag_set_swid(prim_lag->pf->hw.port_info->sw_id, lag, true);
drivers/net/ethernet/intel/ice/ice_lag.c
403
s_rule->src = cpu_to_le16(vsi->port_info->lport);
drivers/net/ethernet/intel/ice/ice_lag.c
562
struct ice_port_info *pi = hw->port_info;
drivers/net/ethernet/intel/ice/ice_lag.c
849
pri_prt = lag->pf->hw.port_info->lport;
drivers/net/ethernet/intel/ice/ice_lag.c
881
pri_prt = lag->pf->hw.port_info->lport;
drivers/net/ethernet/intel/ice/ice_lib.c
1296
ctxt->info.sw_id = vsi->port_info->sw_id;
drivers/net/ethernet/intel/ice/ice_lib.c
2162
struct ice_port_info *port_info;
drivers/net/ethernet/intel/ice/ice_lib.c
2172
port_info = pf->hw.port_info;
drivers/net/ethernet/intel/ice/ice_lib.c
2173
if (!port_info)
drivers/net/ethernet/intel/ice/ice_lib.c
2237
status = ice_cfg_agg(port_info, agg_id, ICE_AGG_TYPE_AGG,
drivers/net/ethernet/intel/ice/ice_lib.c
2250
status = ice_move_vsi_to_agg(port_info, agg_id, vsi->idx,
drivers/net/ethernet/intel/ice/ice_lib.c
2295
ret = ice_cfg_vsi_lan(vsi->port_info, vsi->idx, vsi->tc_cfg.ena_tc,
drivers/net/ethernet/intel/ice/ice_lib.c
2508
ice_rm_vsi_lan_cfg(vsi->port_info, vsi->idx);
drivers/net/ethernet/intel/ice/ice_lib.c
2509
err = ice_rm_vsi_rdma_cfg(vsi->port_info, vsi->idx);
drivers/net/ethernet/intel/ice/ice_lib.c
2557
WARN_ON(!params->port_info))
drivers/net/ethernet/intel/ice/ice_lib.c
3228
dcbcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_lib.c
3420
ret = ice_cfg_vsi_lan(vsi->port_info, vsi->idx, 1, max_txqs);
drivers/net/ethernet/intel/ice/ice_lib.c
3422
ret = ice_cfg_vsi_lan(vsi->port_info, vsi->idx,
drivers/net/ethernet/intel/ice/ice_lib.c
3526
return ice_check_if_dflt_vsi(vsi->port_info, vsi->idx, NULL);
drivers/net/ethernet/intel/ice/ice_lib.c
3562
status = ice_cfg_dflt_vsi(vsi->port_info, vsi->idx, true, ICE_FLTR_RX);
drivers/net/ethernet/intel/ice/ice_lib.c
3591
if (!ice_is_dflt_vsi_in_use(vsi->port_info))
drivers/net/ethernet/intel/ice/ice_lib.c
3594
status = ice_cfg_dflt_vsi(vsi->port_info, vsi->idx, false,
drivers/net/ethernet/intel/ice/ice_lib.c
3615
link_speed = vsi->port_info->phy.link_info.link_speed;
drivers/net/ethernet/intel/ice/ice_lib.c
3652
if (!vsi->port_info) {
drivers/net/ethernet/intel/ice/ice_lib.c
3668
status = ice_cfg_vsi_bw_lmt_per_tc(vsi->port_info, vsi->idx, 0,
drivers/net/ethernet/intel/ice/ice_lib.c
3680
status = ice_cfg_vsi_bw_dflt_lmt_per_tc(vsi->port_info,
drivers/net/ethernet/intel/ice/ice_lib.c
3713
if (!vsi->port_info) {
drivers/net/ethernet/intel/ice/ice_lib.c
3729
status = ice_cfg_vsi_bw_lmt_per_tc(vsi->port_info, vsi->idx, 0,
drivers/net/ethernet/intel/ice/ice_lib.c
3741
status = ice_cfg_vsi_bw_dflt_lmt_per_tc(vsi->port_info,
drivers/net/ethernet/intel/ice/ice_lib.c
3765
struct ice_port_info *pi = vsi->port_info;
drivers/net/ethernet/intel/ice/ice_main.c
1137
if (!vsi || !vsi->port_info)
drivers/net/ethernet/intel/ice/ice_main.c
1238
struct ice_port_info *port_info;
drivers/net/ethernet/intel/ice/ice_main.c
1242
port_info = pf->hw.port_info;
drivers/net/ethernet/intel/ice/ice_main.c
1243
if (!port_info)
drivers/net/ethernet/intel/ice/ice_main.c
1246
status = ice_link_event(pf, port_info,
drivers/net/ethernet/intel/ice/ice_main.c
1945
if (!vsi || !vsi->port_info || !vsi->back)
drivers/net/ethernet/intel/ice/ice_main.c
1952
pi = vsi->port_info;
drivers/net/ethernet/intel/ice/ice_main.c
196
perm_addr = vsi->port_info->mac.perm_addr;
drivers/net/ethernet/intel/ice/ice_main.c
2185
struct ice_port_info *pi = vsi->port_info;
drivers/net/ethernet/intel/ice/ice_main.c
2321
pi = vsi->port_info;
drivers/net/ethernet/intel/ice/ice_main.c
2804
status = ice_cfg_vsi_lan(vsi->port_info, vsi->idx, vsi->tc_cfg.ena_tc,
drivers/net/ethernet/intel/ice/ice_main.c
2910
return ice_cfg_vsi_lan(vsi->port_info, vsi->idx, vsi->tc_cfg.ena_tc,
drivers/net/ethernet/intel/ice/ice_main.c
3668
params.port_info = pi;
drivers/net/ethernet/intel/ice/ice_main.c
3681
params.port_info = pi;
drivers/net/ethernet/intel/ice/ice_main.c
3702
params.port_info = pi;
drivers/net/ethernet/intel/ice/ice_main.c
3722
params.port_info = pi;
drivers/net/ethernet/intel/ice/ice_main.c
4123
return !(BIT(hw->port_info->lport) & wol_ctrl);
drivers/net/ethernet/intel/ice/ice_main.c
420
if (!ice_is_dflt_vsi_in_use(vsi->port_info)) {
drivers/net/ethernet/intel/ice/ice_main.c
4413
ctrl_vsi = ice_ctrl_vsi_setup(pf, pf->hw.port_info);
drivers/net/ethernet/intel/ice/ice_main.c
4717
ether_addr_copy(mac_addr, vsi->port_info->mac.perm_addr);
drivers/net/ethernet/intel/ice/ice_main.c
4864
err = ice_init_link_events(pf->hw.port_info);
drivers/net/ethernet/intel/ice/ice_main.c
4871
err = ice_init_nvm_phy_type(pf->hw.port_info);
drivers/net/ethernet/intel/ice/ice_main.c
4876
err = ice_update_link_info(pf->hw.port_info);
drivers/net/ethernet/intel/ice/ice_main.c
4880
ice_init_link_dflt_override(pf->hw.port_info);
drivers/net/ethernet/intel/ice/ice_main.c
4883
pf->hw.port_info->phy.link_info.link_cfg_err);
drivers/net/ethernet/intel/ice/ice_main.c
4886
if (pf->hw.port_info->phy.link_info.link_info &
drivers/net/ethernet/intel/ice/ice_main.c
4889
err = ice_init_phy_user_cfg(pf->hw.port_info);
drivers/net/ethernet/intel/ice/ice_main.c
4925
pf->first_sw->sw_id = pf->hw.port_info->sw_id;
drivers/net/ethernet/intel/ice/ice_main.c
4927
err = ice_aq_set_port_params(pf->hw.port_info, dvm, NULL);
drivers/net/ethernet/intel/ice/ice_main.c
4931
vsi = ice_pf_vsi_setup(pf, pf->hw.port_info);
drivers/net/ethernet/intel/ice/ice_main.c
5289
hw->port_info = NULL;
drivers/net/ethernet/intel/ice/ice_main.c
5407
ether_addr_copy(mac_addr, vsi->port_info->mac.perm_addr);
drivers/net/ethernet/intel/ice/ice_main.c
6137
status = ice_cfg_q_bw_dflt_lmt(vsi->port_info, vsi->idx, tc,
drivers/net/ethernet/intel/ice/ice_main.c
6140
status = ice_cfg_q_bw_lmt(vsi->port_info, vsi->idx, tc,
drivers/net/ethernet/intel/ice/ice_main.c
616
if (hw->port_info)
drivers/net/ethernet/intel/ice/ice_main.c
617
ice_sched_clear_port(hw->port_info);
drivers/net/ethernet/intel/ice/ice_main.c
6796
if (vsi->port_info &&
drivers/net/ethernet/intel/ice/ice_main.c
6797
(vsi->port_info->phy.link_info.link_info & ICE_AQ_LINK_UP) &&
drivers/net/ethernet/intel/ice/ice_main.c
7067
port = hw->port_info->lport;
drivers/net/ethernet/intel/ice/ice_main.c
752
switch (vsi->port_info->phy.link_info.topo_media_conflict) {
drivers/net/ethernet/intel/ice/ice_main.c
7681
ice_get_link_status(pf->vsi[i]->port_info, &link_up);
drivers/net/ethernet/intel/ice/ice_main.c
7770
err = ice_aq_set_port_params(pf->hw.port_info, dvm, NULL);
drivers/net/ethernet/intel/ice/ice_main.c
7774
err = ice_sched_init_port(hw->port_info);
drivers/net/ethernet/intel/ice/ice_main.c
800
switch (vsi->port_info->phy.link_info.link_speed) {
drivers/net/ethernet/intel/ice/ice_main.c
839
switch (vsi->port_info->fc.current_mode) {
drivers/net/ethernet/intel/ice/ice_main.c
858
switch (vsi->port_info->phy.link_info.fec_info) {
drivers/net/ethernet/intel/ice/ice_main.c
8651
vsi = ice_chnl_vsi_setup(pf, pf->hw.port_info, ch);
drivers/net/ethernet/intel/ice/ice_main.c
872
if (vsi->port_info->phy.link_info.an_info & ICE_AQ_AN_COMPLETED)
drivers/net/ethernet/intel/ice/ice_main.c
885
status = ice_aq_get_phy_caps(vsi->port_info, false,
drivers/net/ethernet/intel/ice/ice_main.c
9002
ice_rm_vsi_lan_cfg(ch->ch_vsi->port_info, ch->ch_vsi->idx);
drivers/net/ethernet/intel/ice/ice_main.c
9225
if (pf->hw.port_info->is_custom_tx_enabled) {
drivers/net/ethernet/intel/ice/ice_main.c
9689
pi = vsi->port_info;
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
1475
switch (ice_phy_get_speed_eth56g(&hw->port_info->phy.link_info)) {
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
1579
switch (ice_phy_get_speed_eth56g(&hw->port_info->phy.link_info)) {
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
1789
li = &hw->port_info->phy.link_info;
drivers/net/ethernet/intel/ice/ice_sched.c
4235
struct ice_port_info *pi = hw->port_info;
drivers/net/ethernet/intel/ice/ice_sched.c
4315
struct ice_port_info *pi = hw->port_info;
drivers/net/ethernet/intel/ice/ice_sched.c
4330
status = ice_sched_cfg_agg(hw->port_info,
drivers/net/ethernet/intel/ice/ice_sched.c
4354
struct ice_port_info *pi = hw->port_info;
drivers/net/ethernet/intel/ice/ice_sched.c
4382
struct ice_port_info *pi = hw->port_info;
drivers/net/ethernet/intel/ice/ice_sched.c
4398
status = ice_sched_cfg_agg(hw->port_info, agg_info->agg_id,
drivers/net/ethernet/intel/ice/ice_sched.c
4421
struct ice_port_info *pi = hw->port_info;
drivers/net/ethernet/intel/ice/ice_sched.c
882
ice_sched_clear_port(hw->port_info);
drivers/net/ethernet/intel/ice/ice_sf_eth.c
107
vsi->port_info = pf->hw.port_info;
drivers/net/ethernet/intel/ice/ice_sriov.c
204
params.port_info = ice_vf_get_port_info(vf);
drivers/net/ethernet/intel/ice/ice_switch.c
2521
ice_init_port_info(hw->port_info, vsi_port_num,
drivers/net/ethernet/intel/ice/ice_switch.c
3307
new_fltr->src = hw->port_info->lport;
drivers/net/ethernet/intel/ice/ice_switch.c
3960
f_info.src = hw->port_info->lport;
drivers/net/ethernet/intel/ice/ice_switch.c
4405
new_fltr.src = hw->port_info->lport;
drivers/net/ethernet/intel/ice/ice_switch.c
6212
s_rule->src = cpu_to_le16(hw->port_info->lport);
drivers/net/ethernet/intel/ice/ice_tspll.c
802
link_speed = hw->port_info->phy.link_info.link_speed;
drivers/net/ethernet/intel/ice/ice_txrx.c
2223
vsi->port_info->qos_cfg.is_sw_lldp))
drivers/net/ethernet/intel/ice/ice_txrx.c
2305
dcbcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg;
drivers/net/ethernet/intel/ice/ice_type.h
901
struct ice_port_info *port_info;
drivers/net/ethernet/intel/ice/ice_vf_lib.c
1100
return vf->pf->hw.port_info;
drivers/net/ethernet/intel/ice/ice_vf_lib.c
1270
params.port_info = ice_vf_get_port_info(vf);
drivers/net/ethernet/intel/ice/ice_vf_lib.c
481
status = ice_move_vsi_to_agg(pf->hw.port_info, vsi->agg_node->agg_id,
drivers/net/ethernet/intel/ice/ice_vf_lib.c
636
if (ice_is_dflt_vsi_in_use(vsi->port_info))
drivers/net/ethernet/intel/ice/ice_vf_lib.c
919
ice_dis_vsi_txq(vsi->port_info, vsi->idx, 0, 0, NULL, NULL,
drivers/net/ethernet/intel/ice/ice_vlan_mode.c
331
status = ice_aq_set_port_params(hw->port_info, true, NULL);
drivers/net/ethernet/intel/ice/ice_vlan_mode.c
357
status = ice_aq_set_port_params(hw->port_info, false, NULL);
drivers/net/ethernet/intel/ice/virt/queues.c
100
ret = ice_cfg_q_bw_lmt(hw->port_info, vsi->idx, tc,
drivers/net/ethernet/intel/ice/virt/queues.c
104
ret = ice_cfg_q_bw_dflt_lmt(hw->port_info, vsi->idx, tc,
drivers/net/ethernet/intel/ice/virt/queues.c
89
ret = ice_cfg_q_bw_lmt(hw->port_info, vsi->idx, tc,
drivers/net/ethernet/intel/ice/virt/queues.c
93
ret = ice_cfg_q_bw_dflt_lmt(hw->port_info, vsi->idx, tc,
drivers/net/ethernet/intel/ice/virt/virtchnl.c
423
pi = pf->hw.port_info;
drivers/net/ethernet/intel/ice/virt/virtchnl.c
542
if (ice_is_dflt_vsi_in_use(vsi->port_info))
drivers/net/ethernet/intel/ice/virt/virtchnl.c
91
hw->port_info->phy.link_info.link_speed, true);
drivers/net/ethernet/mediatek/mtk_eth_soc.c
3648
md_dst->u.port_info.port_id = i;
drivers/net/ethernet/mellanox/mlx4/eq.c
441
eqe.event.port_mgmt_change.params.port_info.changed_attr =
drivers/net/ethernet/mellanox/mlx4/port.c
1316
struct mlx4_port_info *port_info;
drivers/net/ethernet/mellanox/mlx4/port.c
1337
port_info = &priv->port[port];
drivers/net/ethernet/mellanox/mlx4/port.c
1354
cpu_to_be32(port_info->base_qpn);
drivers/net/ethernet/mellanox/mlx4/port.c
1360
port_info->base_qpn);
drivers/net/ethernet/mellanox/mlx4/port.c
1365
port_info->base_qpn);
drivers/net/ethernet/micrel/ksz884x.c
1199
struct ksz_port_info port_info[SWITCH_PORT_NUM];
drivers/net/ethernet/micrel/ksz884x.c
2927
info = &hw->port_info[p];
drivers/net/ethernet/micrel/ksz884x.c
4426
struct net_device *dev = hw->port_info[port].pdev;
drivers/net/ethernet/micrel/ksz884x.c
4573
port_dev = hw->port_info[port].pdev;
drivers/net/ethernet/micrel/ksz884x.c
4660
struct net_device *dev = hw->port_info[0].pdev;
drivers/net/ethernet/micrel/ksz884x.c
4696
struct net_device *dev = hw->port_info[0].pdev;
drivers/net/ethernet/micrel/ksz884x.c
4714
dev = hw->port_info[p].pdev;
drivers/net/ethernet/micrel/ksz884x.c
4741
struct net_device *dev = hw->port_info[0].pdev;
drivers/net/ethernet/micrel/ksz884x.c
4759
dev = hw->port_info[p].pdev;
drivers/net/ethernet/micrel/ksz884x.c
5154
hw->port_info[p].partner = 0xFF;
drivers/net/ethernet/micrel/ksz884x.c
5155
hw->port_info[p].state = media_disconnected;
drivers/net/ethernet/micrel/ksz884x.c
6703
port->linked = &hw->port_info[port->first_port];
drivers/net/ethernet/micrel/ksz884x.c
6706
hw->port_info[pi].port_id = pi;
drivers/net/ethernet/micrel/ksz884x.c
6707
hw->port_info[pi].pdev = dev;
drivers/net/ethernet/micrel/ksz884x.c
6708
hw->port_info[pi].state = media_disconnected;
drivers/net/ethernet/microchip/lan966x/lan966x_vcap_impl.c
593
.port_info = lan966x_vcap_port_info,
drivers/net/ethernet/microchip/sparx5/sparx5_vcap_impl.c
1503
.port_info = sparx5_port_info,
drivers/net/ethernet/microchip/vcap/vcap_api.c
870
!ctrl->ops->port_info) {
drivers/net/ethernet/microchip/vcap/vcap_api.h
266
int (*port_info)
drivers/net/ethernet/microchip/vcap/vcap_api_debugfs.c
380
info->vctrl->ops->port_info(info->ndev, admin, &out);
drivers/net/ethernet/microchip/vcap/vcap_api_debugfs_kunit.c
233
.port_info = vcap_test_port_info,
drivers/net/ethernet/microchip/vcap/vcap_api_kunit.c
223
.port_info = vcap_test_port_info,
drivers/net/ethernet/netronome/nfp/flower/cmsg.c
113
msg->portnum = cpu_to_be32(repr->dst->u.port_info.port_id);
drivers/net/ethernet/netronome/nfp/flower/cmsg.c
87
msg->portnum = cpu_to_be32(repr->dst->u.port_info.port_id);
drivers/net/ethernet/netronome/nfp/flower/main.c
913
app_priv->mtu_conf.portnum = repr->dst->u.port_info.port_id;
drivers/net/ethernet/netronome/nfp/nfd3/dp.c
209
put_unaligned_be32(md_dst->u.port_info.port_id, data);
drivers/net/ethernet/netronome/nfp/nfdk/dp.c
212
put_unaligned_be32(md_dst->u.port_info.port_id, data);
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c
194
skb->dev = repr->dst->u.port_info.lower_dev;
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c
243
lower_dev = repr->dst->u.port_info.lower_dev;
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c
284
if (repr->dst->u.port_info.lower_dev != lower)
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c
329
repr->dst->u.port_info.port_id = cmsg_port_id;
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c
330
repr->dst->u.port_info.lower_dev = pf_netdev;
drivers/net/ethernet/netronome/nfp/nfp_net_repr.h
87
return priv->dst->u.port_info.port_id;
drivers/net/ethernet/pensando/ionic/ionic_dev.h
185
struct ionic_port_info *port_info;
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
132
if (!idev->port_info) {
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
142
switch (le16_to_cpu(idev->port_info->status.xcvr.pid)) {
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
268
idev->port_info->status.xcvr.pid,
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
269
idev->port_info->status.xcvr.pid);
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
277
if (idev->port_info->config.fec_type == IONIC_PORT_FEC_TYPE_FC)
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
279
else if (idev->port_info->config.fec_type == IONIC_PORT_FEC_TYPE_RS)
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
285
if (idev->port_info->status.xcvr.phy == IONIC_PHY_TYPE_COPPER ||
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
288
else if (idev->port_info->status.xcvr.phy == IONIC_PHY_TYPE_FIBER)
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
303
if (idev->port_info->config.an_enable) {
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
325
if (ks->base.autoneg != idev->port_info->config.an_enable) {
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
335
if (ks->base.speed != le32_to_cpu(idev->port_info->config.speed)) {
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
355
pause_type = lif->ionic->idev.port_info->config.pause_type;
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
383
if (requested_pause == lif->ionic->idev.port_info->config.pause_type)
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
401
switch (lif->ionic->idev.port_info->config.fec_type) {
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
428
if (lif->ionic->idev.port_info->config.an_enable) {
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
453
if (fec_type != lif->ionic->idev.port_info->config.fec_type) {
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
983
src = &idev->port_info->status.xcvr.sprom[page_data->offset];
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
986
src = &idev->port_info->sprom_page1[page_data->offset - 128];
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
989
src = &idev->port_info->sprom_page2[page_data->offset - 128];
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
992
src = &idev->port_info->sprom_page17[page_data->offset - 128];
drivers/net/ethernet/pensando/ionic/ionic_main.c
724
if (!idev->port_info) {
drivers/net/ethernet/pensando/ionic/ionic_main.c
725
idev->port_info_sz = ALIGN(sizeof(*idev->port_info), PAGE_SIZE);
drivers/net/ethernet/pensando/ionic/ionic_main.c
726
idev->port_info = dma_alloc_coherent(ionic->dev,
drivers/net/ethernet/pensando/ionic/ionic_main.c
730
if (!idev->port_info)
drivers/net/ethernet/pensando/ionic/ionic_main.c
749
idev->port_info, idev->port_info_pa);
drivers/net/ethernet/pensando/ionic/ionic_main.c
750
idev->port_info = NULL;
drivers/net/ethernet/pensando/ionic/ionic_main.c
762
if (!idev->port_info)
drivers/net/ethernet/pensando/ionic/ionic_main.c
773
idev->port_info, idev->port_info_pa);
drivers/net/ethernet/pensando/ionic/ionic_main.c
775
idev->port_info = NULL;
drivers/net/ethernet/pensando/ionic/ionic_stats.c
338
port_stats = &lif->ionic->idev.port_info->stats;
drivers/net/wwan/t7xx/t7xx_port_ctrl_msg.c
145
u32 port_info = le32_to_cpu(port_msg->data[i]);
drivers/net/wwan/t7xx/t7xx_port_ctrl_msg.c
149
ch_id = FIELD_GET(PORT_INFO_CH_ID, port_info);
drivers/net/wwan/t7xx/t7xx_port_ctrl_msg.c
150
en_flag = port_info & PORT_INFO_ENFLG;
drivers/platform/x86/uv_sysfs.c
300
struct uv_bios_port_info *port_info;
drivers/platform/x86/uv_sysfs.c
317
ssize_t (*show)(struct uv_bios_port_info *port_info, char *buf);
drivers/platform/x86/uv_sysfs.c
318
ssize_t (*store)(struct uv_bios_port_info *port_info, const char *buf, size_t size);
drivers/platform/x86/uv_sysfs.c
344
struct uv_bios_port_info *port_info = port->port_info;
drivers/platform/x86/uv_sysfs.c
352
return entry->show(port_info, buf);
drivers/platform/x86/uv_sysfs.c
406
uv_hubs[j]->ports[k]->port_info = &port_buf[j][k];
drivers/scsi/bfa/bfa_fc.h
978
struct fc_rpsc2_port_info_s port_info[1]; /* port information */
drivers/scsi/bfa/bfa_fcs_rport.c
3384
WARN_ON(be32_to_cpu(rpsc2_acc->port_info[0].pid) !=
drivers/scsi/bfa/bfa_fcs_rport.c
3387
be32_to_cpu(rpsc2_acc->port_info[0].pid));
drivers/scsi/bfa/bfa_fcs_rport.c
3389
be16_to_cpu(rpsc2_acc->port_info[0].speed));
drivers/scsi/bfa/bfa_fcs_rport.c
3391
be16_to_cpu(rpsc2_acc->port_info[0].index));
drivers/scsi/bfa/bfa_fcs_rport.c
3393
rpsc2_acc->port_info[0].type);
drivers/scsi/bfa/bfa_fcs_rport.c
3395
if (rpsc2_acc->port_info[0].speed == 0) {
drivers/scsi/bfa/bfa_fcs_rport.c
3401
be16_to_cpu(rpsc2_acc->port_info[0].speed));
drivers/scsi/cxgbi/cxgb3i/cxgb3i.h
29
return ((struct port_info *)(netdev_priv(ndev)))->iscsi_ipv4addr;
drivers/scsi/cxgbi/cxgb3i/cxgb3i.h
35
struct port_info *pi = (struct port_info *)netdev_priv(ndev);
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
1862
csk->smac_idx = ((struct port_info *)netdev_priv(ndev))->smt_idx;
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
1869
linkspeed = ((struct port_info *)netdev_priv(ndev))->link_cfg.speed;
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
2214
struct port_info *pi;
drivers/target/iscsi/cxgbit/cxgbit_cm.c
827
static void cxgbit_set_tcp_window(struct cxgbit_sock *csk, struct port_info *pi)
drivers/target/iscsi/cxgbit/cxgbit_cm.c
940
((struct port_info *)netdev_priv(ndev))->smt_idx;
drivers/target/iscsi/cxgbit/cxgbit_cm.c
951
(struct port_info *)netdev_priv(ndev));
drivers/target/iscsi/cxgbit/cxgbit_cm.c
976
((struct port_info *)netdev_priv(ndev))->smt_idx;
drivers/target/iscsi/cxgbit/cxgbit_cm.c
989
(struct port_info *)netdev_priv(ndev));
drivers/tty/serial/icom.c
1113
icom_port = &icom_adapter->port_info[2];
drivers/tty/serial/icom.c
1120
icom_port = &icom_adapter->port_info[3];
drivers/tty/serial/icom.c
1141
icom_port = &icom_adapter->port_info[0];
drivers/tty/serial/icom.c
1148
icom_port = &icom_adapter->port_info[1];
drivers/tty/serial/icom.c
1557
icom_port = &icom_adapter->port_info[i];
drivers/tty/serial/icom.c
1566
icom_port = &icom_adapter->port_info[i];
drivers/tty/serial/icom.c
1574
icom_adapter->port_info[0].port = 0;
drivers/tty/serial/icom.c
1575
icom_adapter->port_info[0].status = ICOM_PORT_ACTIVE;
drivers/tty/serial/icom.c
1576
icom_adapter->port_info[1].status = ICOM_PORT_OFF;
drivers/tty/serial/icom.c
1577
icom_adapter->port_info[2].port = 2;
drivers/tty/serial/icom.c
1578
icom_adapter->port_info[2].status = ICOM_PORT_ACTIVE;
drivers/tty/serial/icom.c
1579
icom_adapter->port_info[3].status = ICOM_PORT_OFF;
drivers/tty/serial/icom.c
1609
icom_port = &icom_adapter->port_info[port_num];
drivers/tty/serial/icom.c
1671
icom_port = &icom_adapter->port_info[index];
drivers/tty/serial/icom.c
1776
icom_port = &icom_adapter->port_info[index];
drivers/tty/serial/icom.c
281
struct icom_port port_info[4];
drivers/usb/host/xhci-ext-caps.h
98
u32 port_info;
include/hyperv/hvhdk.h
653
struct hv_port_info port_info;
include/linux/mlx4/device.h
967
} __packed port_info;
include/net/dst_metadata.h
116
return memcmp(&a->u.port_info, &b->u.port_info,
include/net/dst_metadata.h
117
sizeof(a->u.port_info));
include/net/dst_metadata.h
38
struct hw_port_info port_info;
net/dsa/tag.c
72
unsigned int port = md_dst->u.port_info.port_id;
sound/core/seq/seq_clientmgr.c
2202
struct snd_seq_port_info port_info;
sound/soc/renesas/siu.h
175
int siu_init_port(int port, struct siu_port **port_info, struct snd_card *card);
sound/soc/renesas/siu.h
176
void siu_free_port(struct siu_port *port_info);
sound/soc/renesas/siu_dai.c
107
port_info->stfifo = 0;
sound/soc/renesas/siu_dai.c
108
port_info->trdat = 0;
sound/soc/renesas/siu_dai.c
133
siu_write32(base + SIU_SBDVCA, port_info->playback.volume);
sound/soc/renesas/siu_dai.c
134
siu_write32(base + SIU_SBDVCB, port_info->capture.volume);
sound/soc/renesas/siu_dai.c
137
static void siu_dai_stop(struct siu_port *port_info)
sound/soc/renesas/siu_dai.c
146
static void siu_dai_spbAselect(struct siu_port *port_info)
sound/soc/renesas/siu_dai.c
167
port_info->stfifo |= fw->spbpar[idx].stfifo;
sound/soc/renesas/siu_dai.c
168
port_info->trdat |= fw->spbpar[idx].trdat;
sound/soc/renesas/siu_dai.c
171
static void siu_dai_spbBselect(struct siu_port *port_info)
sound/soc/renesas/siu_dai.c
187
port_info->stfifo |= fw->spbpar[idx].stfifo;
sound/soc/renesas/siu_dai.c
188
port_info->trdat |= fw->spbpar[idx].trdat;
sound/soc/renesas/siu_dai.c
242
static int siu_dai_spbstart(struct siu_port *port_info)
sound/soc/renesas/siu_dai.c
283
siu_write32(base + SIU_TRDAT, port_info->trdat);
sound/soc/renesas/siu_dai.c
284
port_info->trdat = 0x0;
sound/soc/renesas/siu_dai.c
307
static void siu_dai_spbstop(struct siu_port *port_info)
sound/soc/renesas/siu_dai.c
316
port_info->stfifo = 0;
sound/soc/renesas/siu_dai.c
340
struct siu_port *port_info = snd_kcontrol_chip(kctrl);
sound/soc/renesas/siu_dai.c
342
dev_dbg(port_info->pcm->card->dev, "%s\n", __func__);
sound/soc/renesas/siu_dai.c
355
struct siu_port *port_info = snd_kcontrol_chip(kctrl);
sound/soc/renesas/siu_dai.c
356
struct device *dev = port_info->pcm->card->dev;
sound/soc/renesas/siu_dai.c
364
vol = port_info->playback.volume;
sound/soc/renesas/siu_dai.c
370
vol = port_info->capture.volume;
sound/soc/renesas/siu_dai.c
386
struct siu_port *port_info = snd_kcontrol_chip(kctrl);
sound/soc/renesas/siu_dai.c
387
struct device *dev = port_info->pcm->card->dev;
sound/soc/renesas/siu_dai.c
408
cur_vol = port_info->playback.volume;
sound/soc/renesas/siu_dai.c
410
port_info->playback.volume = new_vol;
sound/soc/renesas/siu_dai.c
414
cur_vol = port_info->capture.volume;
sound/soc/renesas/siu_dai.c
416
port_info->capture.volume = new_vol;
sound/soc/renesas/siu_dai.c
450
int siu_init_port(int port, struct siu_port **port_info, struct snd_card *card)
sound/soc/renesas/siu_dai.c
456
*port_info = kzalloc_obj(**port_info);
sound/soc/renesas/siu_dai.c
457
if (!*port_info)
sound/soc/renesas/siu_dai.c
460
dev_dbg(dev, "%s: port #%d@%p\n", __func__, port, *port_info);
sound/soc/renesas/siu_dai.c
462
(*port_info)->playback.volume = DFLT_VOLUME_LEVEL;
sound/soc/renesas/siu_dai.c
463
(*port_info)->capture.volume = DFLT_VOLUME_LEVEL;
sound/soc/renesas/siu_dai.c
471
kctrl = snd_ctl_new1(&playback_controls, *port_info);
sound/soc/renesas/siu_dai.c
478
kctrl = snd_ctl_new1(&capture_controls, *port_info);
sound/soc/renesas/siu_dai.c
488
void siu_free_port(struct siu_port *port_info)
sound/soc/renesas/siu_dai.c
490
kfree(port_info);
sound/soc/renesas/siu_dai.c
498
struct siu_port *port_info = siu_port_info(substream);
sound/soc/renesas/siu_dai.c
502
info->port_id, port_info);
sound/soc/renesas/siu_dai.c
510
siu_dai_start(port_info);
sound/soc/renesas/siu_dai.c
519
struct siu_port *port_info = siu_port_info(substream);
sound/soc/renesas/siu_dai.c
522
info->port_id, port_info);
sound/soc/renesas/siu_dai.c
525
port_info->play_cap &= ~PLAYBACK_ENABLED;
sound/soc/renesas/siu_dai.c
527
port_info->play_cap &= ~CAPTURE_ENABLED;
sound/soc/renesas/siu_dai.c
530
if (!port_info->play_cap) {
sound/soc/renesas/siu_dai.c
532
if (WARN_ON(port_info->playback.rw_flg || port_info->capture.rw_flg))
sound/soc/renesas/siu_dai.c
534
siu_dai_spbstop(port_info);
sound/soc/renesas/siu_dai.c
535
siu_dai_stop(port_info);
sound/soc/renesas/siu_dai.c
545
struct siu_port *port_info = siu_port_info(substream);
sound/soc/renesas/siu_dai.c
551
__func__, info->port_id, port_info->play_cap, rt->channels);
sound/soc/renesas/siu_dai.c
555
siu_stream = &port_info->playback;
sound/soc/renesas/siu_dai.c
558
siu_stream = &port_info->capture;
sound/soc/renesas/siu_dai.c
562
if (!port_info->play_cap) {
sound/soc/renesas/siu_dai.c
565
siu_dai_spbAselect(port_info);
sound/soc/renesas/siu_dai.c
566
siu_dai_spbBselect(port_info);
sound/soc/renesas/siu_dai.c
572
ret = siu_dai_spbstart(port_info);
sound/soc/renesas/siu_dai.c
579
port_info->play_cap |= self;
sound/soc/renesas/siu_dai.c
94
static void siu_dai_start(struct siu_port *port_info)
sound/soc/renesas/siu_dai.c
99
dev_dbg(port_info->pcm->card->dev, "%s\n", __func__);
sound/soc/renesas/siu_pcm.c
102
static int siu_pcm_wr_set(struct siu_port *port_info,
sound/soc/renesas/siu_pcm.c
107
struct siu_stream *siu_stream = &port_info->playback;
sound/soc/renesas/siu_pcm.c
143
siu_write32(base + SIU_STFIFO, stfifo | (port_info->stfifo & 0x0c180c18));
sound/soc/renesas/siu_pcm.c
145
stfifo, stfifo | (port_info->stfifo & 0x0c180c18));
sound/soc/renesas/siu_pcm.c
150
static int siu_pcm_rd_set(struct siu_port *port_info,
sound/soc/renesas/siu_pcm.c
155
struct siu_stream *siu_stream = &port_info->capture;
sound/soc/renesas/siu_pcm.c
194
(port_info->stfifo & 0x13071307));
sound/soc/renesas/siu_pcm.c
196
stfifo, stfifo | (port_info->stfifo & 0x13071307));
sound/soc/renesas/siu_pcm.c
208
struct siu_port *port_info = siu_port_info(substream);
sound/soc/renesas/siu_pcm.c
227
siu_pcm_rd_set(port_info, buff, count);
sound/soc/renesas/siu_pcm.c
229
siu_pcm_wr_set(port_info,
sound/soc/renesas/siu_pcm.c
238
static int siu_pcm_stmread_start(struct siu_port *port_info)
sound/soc/renesas/siu_pcm.c
240
struct siu_stream *siu_stream = &port_info->capture;
sound/soc/renesas/siu_pcm.c
258
static int siu_pcm_stmread_stop(struct siu_port *port_info)
sound/soc/renesas/siu_pcm.c
262
struct siu_stream *siu_stream = &port_info->capture;
sound/soc/renesas/siu_pcm.c
297
struct siu_port *port_info = siu_port_info(ss);
sound/soc/renesas/siu_pcm.c
307
dev_dbg(dev, "%s, port=%d@%p\n", __func__, port, port_info);
sound/soc/renesas/siu_pcm.c
310
siu_stream = &port_info->playback;
sound/soc/renesas/siu_pcm.c
315
siu_stream = &port_info->capture;
sound/soc/renesas/siu_pcm.c
338
struct siu_port *port_info = siu_port_info(ss);
sound/soc/renesas/siu_pcm.c
344
siu_stream = &port_info->playback;
sound/soc/renesas/siu_pcm.c
346
siu_stream = &port_info->capture;
sound/soc/renesas/siu_pcm.c
360
struct siu_port *port_info = siu_port_info(ss);
sound/soc/renesas/siu_pcm.c
367
siu_stream = &port_info->playback;
sound/soc/renesas/siu_pcm.c
369
siu_stream = &port_info->capture;
sound/soc/renesas/siu_pcm.c
37
static int siu_pcm_stmwrite_stop(struct siu_port *port_info)
sound/soc/renesas/siu_pcm.c
408
struct siu_port *port_info = siu_port_info(ss);
sound/soc/renesas/siu_pcm.c
41
struct siu_stream *siu_stream = &port_info->playback;
sound/soc/renesas/siu_pcm.c
412
info->port_id, port_info, cmd);
sound/soc/renesas/siu_pcm.c
417
ret = siu_pcm_stmwrite_start(port_info);
sound/soc/renesas/siu_pcm.c
419
ret = siu_pcm_stmread_start(port_info);
sound/soc/renesas/siu_pcm.c
428
siu_pcm_stmwrite_stop(port_info);
sound/soc/renesas/siu_pcm.c
430
siu_pcm_stmread_stop(port_info);
sound/soc/renesas/siu_pcm.c
453
struct siu_port *port_info = siu_port_info(ss);
sound/soc/renesas/siu_pcm.c
459
siu_stream = &port_info->playback;
sound/soc/renesas/siu_pcm.c
461
siu_stream = &port_info->capture;
sound/soc/renesas/siu_pcm.c
507
struct siu_port **port_info = &siu_ports[i];
sound/soc/renesas/siu_pcm.c
509
ret = siu_init_port(i, port_info, card);
sound/soc/renesas/siu_pcm.c
517
(*port_info)->pcm = pcm;
sound/soc/renesas/siu_pcm.c
520
INIT_WORK(&(*port_info)->playback.work, siu_io_work);
sound/soc/renesas/siu_pcm.c
521
INIT_WORK(&(*port_info)->capture.work, siu_io_work);
sound/soc/renesas/siu_pcm.c
532
struct siu_port *port_info = siu_ports[pdev->id];
sound/soc/renesas/siu_pcm.c
534
cancel_work_sync(&port_info->capture.work);
sound/soc/renesas/siu_pcm.c
535
cancel_work_sync(&port_info->playback.work);
sound/soc/renesas/siu_pcm.c
537
siu_free_port(port_info);
sound/soc/renesas/siu_pcm.c
59
static int siu_pcm_stmwrite_start(struct siu_port *port_info)
sound/soc/renesas/siu_pcm.c
61
struct siu_stream *siu_stream = &port_info->playback;
sound/soc/renesas/siu_pcm.c
67
port_info->playback.cur_period = 0;
sound/usb/midi.c
1775
static struct port_info *find_port_info(struct snd_usb_midi *umidi, int number)
sound/usb/midi.c
1791
struct port_info *port_info;
sound/usb/midi.c
1794
port_info = find_port_info(umidi, number);
sound/usb/midi.c
1795
if (port_info) {
sound/usb/midi.c
1796
seq_port_info->type = port_info->seq_flags;
sound/usb/midi.c
1797
seq_port_info->midi_voices = port_info->voices;
sound/usb/midi.c
1845
struct port_info *port_info;
sound/usb/midi.c
1875
port_info = find_port_info(umidi, number);
sound/usb/midi.c
1876
if (port_info || jack_name == default_jack_name ||
sound/usb/midi.c
1878
name_format = port_info ? port_info->name :