/drivers/scsi/isci/ |
D | port_config.c | 249 u8 port_index; in sci_mpc_agent_validate_phy_configuration() local 256 for (port_index = 0; port_index < SCI_MAX_PORTS; port_index++) { in sci_mpc_agent_validate_phy_configuration() 257 phy_mask = ihost->oem_parameters.ports[port_index].phy_mask; in sci_mpc_agent_validate_phy_configuration() 279 port_agent->phy_valid_port_range[phy_index].min_index = port_index; in sci_mpc_agent_validate_phy_configuration() 282 if (phy_index != port_index) { in sci_mpc_agent_validate_phy_configuration() 307 port_agent->phy_valid_port_range[phy_index].min_index = port_index; in sci_mpc_agent_validate_phy_configuration() 310 sci_port_add_phy(&ihost->ports[port_index], in sci_mpc_agent_validate_phy_configuration() 437 u8 port_index; in sci_apc_agent_validate_phy_configuration() local 444 port_index = phy_index; in sci_apc_agent_validate_phy_configuration() 456 port_agent->phy_valid_port_range[phy_index].min_index = port_index; in sci_apc_agent_validate_phy_configuration() [all …]
|
D | port.h | 204 u8 port_index,
|
/drivers/infiniband/sw/rdmavt/ |
D | vt.c | 124 u32 port_index = ibport_num_to_idx(ibdev, port_num); in rvt_query_port() local 126 rvp = rdi->ports[port_index]; in rvt_query_port() 157 u32 port_index = ibport_num_to_idx(ibdev, port_num); in rvt_modify_port() local 159 rvp = rdi->ports[port_index]; in rvt_modify_port() 197 u32 port_index; in rvt_query_pkey() local 199 port_index = ibport_num_to_idx(ibdev, port_num); in rvt_query_pkey() 204 *pkey = rvt_get_pkey(rdi, port_index, index); in rvt_query_pkey() 222 u32 port_index; in rvt_query_gid() local 229 port_index = ibport_num_to_idx(ibdev, port_num); in rvt_query_gid() 232 rvp = rdi->ports[port_index]; in rvt_query_gid() [all …]
|
/drivers/usb/host/ |
D | xhci-hub.c | 1703 int max_ports, port_index; in xhci_bus_suspend() local 1733 port_index = max_ports; in xhci_bus_suspend() 1734 while (port_index--) { in xhci_bus_suspend() 1738 t1 = readl(ports[port_index]->addr); in xhci_bus_suspend() 1740 portsc_buf[port_index] = 0; in xhci_bus_suspend() 1752 hcd->self.busnum, port_index + 1); in xhci_bus_suspend() 1771 hcd->self.busnum, port_index + 1); in xhci_bus_suspend() 1774 set_bit(port_index, &bus_state->bus_suspended); in xhci_bus_suspend() 1792 port_index)) in xhci_bus_suspend() 1800 portsc_buf[port_index] = t2; in xhci_bus_suspend() [all …]
|
D | u132-hcd.c | 2630 static int u132_roothub_portreset(struct u132 *u132, int port_index) in u132_roothub_portreset() argument 2645 roothub.portstatus[port_index], &portstat); in u132_roothub_portreset() 2658 roothub.portstatus[port_index], in u132_roothub_portreset() 2666 retval = u132_write_pcimem(u132, roothub.portstatus[port_index], in u132_roothub_portreset() 2685 int port_index = wIndex - 1; in u132_roothub_setportfeature() local 2686 struct u132_port *port = &u132->port[port_index]; in u132_roothub_setportfeature() 2691 roothub.portstatus[port_index], RH_PS_PSS); in u132_roothub_setportfeature() 2694 roothub.portstatus[port_index], RH_PS_PPS); in u132_roothub_setportfeature() 2696 return u132_roothub_portreset(u132, port_index); in u132_roothub_setportfeature() 2709 int port_index = wIndex - 1; in u132_roothub_clearportfeature() local [all …]
|
/drivers/net/netdevsim/ |
D | dev.c | 39 nsim_dev_port_index(enum nsim_dev_port_type type, unsigned int port_index) in nsim_dev_port_index() argument 43 port_index = NSIM_DEV_VF_PORT_INDEX_BASE + port_index; in nsim_dev_port_index() 49 return port_index; in nsim_dev_port_index() 52 static inline unsigned int nsim_dev_port_index_to_vf_index(unsigned int port_index) in nsim_dev_port_index_to_vf_index() argument 54 return port_index - NSIM_DEV_VF_PORT_INDEX_BASE; in nsim_dev_port_index_to_vf_index() 316 unsigned int port_index = nsim_dev_port->port_index; in nsim_dev_port_debugfs_init() local 320 sprintf(port_ddir_name, "%u", port_index); in nsim_dev_port_debugfs_init() 328 unsigned int vf_id = nsim_dev_port_index_to_vf_index(port_index); in nsim_dev_port_debugfs_init() 1097 int vf_id = nsim_dev_port_index_to_vf_index(nsim_dev_port->port_index); in nsim_leaf_tx_share_set() 1113 int vf_id = nsim_dev_port_index_to_vf_index(nsim_dev_port->port_index); in nsim_leaf_tx_max_set() [all …]
|
D | bus.c | 186 unsigned int port_index; in new_port_store() local 192 ret = kstrtouint(buf, 0, &port_index); in new_port_store() 204 ret = nsim_dev_port_add(nsim_bus_dev, NSIM_DEV_PORT_TYPE_PF, port_index); in new_port_store() 216 unsigned int port_index; in del_port_store() local 222 ret = kstrtouint(buf, 0, &port_index); in del_port_store() 234 ret = nsim_dev_port_del(nsim_bus_dev, NSIM_DEV_PORT_TYPE_PF, port_index); in del_port_store()
|
D | netdevsim.h | 211 unsigned int port_index; member 291 unsigned int port_index); 294 unsigned int port_index);
|
/drivers/infiniband/hw/mlx4/ |
D | alias_GUID.c | 81 u32 port_index = port_num - 1; in mlx4_ib_update_cache_on_guid_change() local 102 memcpy(&dev->sriov.demux[port_index].guid_cache[slave_id], in mlx4_ib_update_cache_on_guid_change() 132 int port_index = port - 1; in mlx4_ib_slave_alias_guid_event() local 137 if (dev->sriov.alias_guid.ports_guid[port_index].state_flags & in mlx4_ib_slave_alias_guid_event() 142 alias_guid.ports_guid[port_index]. in mlx4_ib_slave_alias_guid_event() 154 *(__be64 *)&dev->sriov.alias_guid.ports_guid[port_index]. in mlx4_ib_slave_alias_guid_event() 157 dev->sriov.alias_guid.ports_guid[port_index]. in mlx4_ib_slave_alias_guid_event() 160 dev->sriov.alias_guid.ports_guid[port_index]. in mlx4_ib_slave_alias_guid_event() 164 dev->sriov.alias_guid.ports_guid[port_index]. in mlx4_ib_slave_alias_guid_event() 166 dev->sriov.alias_guid.ports_guid[port_index]. in mlx4_ib_slave_alias_guid_event() [all …]
|
/drivers/net/team/ |
D | team_mode_random.c | 17 int port_index; in rnd_transmit() local 19 port_index = prandom_u32_max(team->en_port_count); in rnd_transmit() 20 port = team_get_port_by_index_rcu(team, port_index); in rnd_transmit()
|
D | team_mode_roundrobin.c | 27 int port_index; in rr_transmit() local 29 port_index = team_num_to_port_index(team, in rr_transmit() 31 port = team_get_port_by_index_rcu(team, port_index); in rr_transmit()
|
D | team_mode_loadbalance.c | 125 int port_index = team_num_to_port_index(team, hash); in lb_hash_select_tx_port() local 127 return team_get_port_by_index_rcu(team, port_index); in lb_hash_select_tx_port()
|
/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
D | devlink.c | 14 unsigned int port_index; member 33 mlx5_sf_lookup_by_index(struct mlx5_sf_table *table, unsigned int port_index) in mlx5_sf_lookup_by_index() argument 35 return xa_load(&table->port_indices, port_index); in mlx5_sf_lookup_by_index() 53 return xa_insert(&table->port_indices, sf->port_index, sf, GFP_KERNEL); in mlx5_sf_id_insert() 58 xa_erase(&table->port_indices, sf->port_index); in mlx5_sf_id_erase() 90 sf->port_index = dl_port_index; in mlx5_sf_alloc() 295 *new_port_index = sf->port_index; in mlx5_sf_add() 376 int mlx5_devlink_sf_port_del(struct devlink *devlink, unsigned int port_index, in mlx5_devlink_sf_port_del() argument 391 sf = mlx5_sf_lookup_by_index(table, port_index); in mlx5_devlink_sf_port_del()
|
D | sf.h | 25 int mlx5_devlink_sf_port_del(struct devlink *devlink, unsigned int port_index,
|
/drivers/w1/masters/ |
D | matrox_w1.c | 45 void __iomem *port_index; member 71 writeb(reg, dev->port_index); in matrox_w1_read_reg() 80 writeb(reg, dev->port_index); in matrox_w1_write_reg() 151 dev->port_index = dev->base_addr + MATROX_PORT_INDEX_OFFSET; in matrox_w1_probe()
|
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_devlink.c | 29 nfp_devlink_fill_eth_port_from_id(struct nfp_pf *pf, unsigned int port_index, in nfp_devlink_fill_eth_port_from_id() argument 34 port = nfp_port_from_id(pf, NFP_PORT_PHYS_PORT, port_index); in nfp_devlink_fill_eth_port_from_id() 65 nfp_devlink_port_split(struct devlink *devlink, unsigned int port_index, in nfp_devlink_port_split() argument 76 ret = nfp_devlink_fill_eth_port_from_id(pf, port_index, ð_port); in nfp_devlink_port_split() 99 nfp_devlink_port_unsplit(struct devlink *devlink, unsigned int port_index, in nfp_devlink_port_unsplit() argument 110 ret = nfp_devlink_fill_eth_port_from_id(pf, port_index, ð_port); in nfp_devlink_port_unsplit()
|
/drivers/usb/chipidea/ |
D | host.c | 244 u32 temp, port_index; in ci_ehci_hub_control() local 251 port_index = wIndex & 0xff; in ci_ehci_hub_control() 252 port_index -= (port_index > 0); in ci_ehci_hub_control() 253 status_reg = &ehci->regs->port_status[port_index]; in ci_ehci_hub_control() 298 set_bit(port_index, &ehci->suspended_ports); in ci_ehci_hub_control()
|
/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_mactable.c | 240 u16 vid, u16 port_index) in alloc_mact_entry() argument 251 mact_entry->port = port_index; in alloc_mact_entry() 257 u16 vid, u16 port_index) in find_mact_entry() argument 266 mact_entry->port == port_index) { in find_mact_entry()
|
/drivers/staging/octeon/ |
D | ethernet.c | 805 int port_index; in cvm_oct_probe() local 807 for (port_index = 0, in cvm_oct_probe() 810 port_index++, port++) { in cvm_oct_probe() 825 port_index); in cvm_oct_probe() 885 port_index); in cvm_oct_probe()
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ae_adapt.c | 35 ppe_index = vf_cb->port_index; in hns_get_ppe_cb() 122 vf_cb->port_index = port_id; in hns_ae_get_handle() 636 port = vf_cb->port_index; in hns_ae_update_stats() 731 hns_dsaf_get_stats(vf_cb->dsaf_dev, p, vf_cb->port_index); in hns_ae_get_stats() 748 port = vf_cb->port_index; in hns_ae_get_strings() 859 hns_dsaf_get_regs(vf_cb->dsaf_dev, vf_cb->port_index, p); in hns_ae_get_regs()
|
/drivers/staging/vc04_services/vchiq-mmal/ |
D | mmal-msg.h | 160 u32 port_index; /* port indexed in query */ member 173 u32 port_index; /* port indexed in query */ member
|
/drivers/firewire/ |
D | core-topology.c | 91 static int get_port_type(u32 *sid, int port_index) in get_port_type() argument 95 index = (port_index + 5) / 8; in get_port_type() 96 shift = 16 - ((port_index + 5) & 7) * 2; in get_port_type()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | core.c | 1213 unsigned int port_index, in mlxsw_devlink_port_split() argument 1219 if (port_index >= mlxsw_core->max_ports) { in mlxsw_devlink_port_split() 1225 return mlxsw_core->driver->port_split(mlxsw_core, port_index, count, in mlxsw_devlink_port_split() 1230 unsigned int port_index, in mlxsw_devlink_port_unsplit() argument 1235 if (port_index >= mlxsw_core->max_ports) { in mlxsw_devlink_port_unsplit() 1241 return mlxsw_core->driver->port_unsplit(mlxsw_core, port_index, in mlxsw_devlink_port_unsplit() 2712 u16 lag_id, u8 port_index) in mlxsw_core_lag_mapping_index() argument 2715 port_index; in mlxsw_core_lag_mapping_index() 2719 u16 lag_id, u8 port_index, u8 local_port) in mlxsw_core_lag_mapping_set() argument 2722 lag_id, port_index); in mlxsw_core_lag_mapping_set() [all …]
|
D | core.h | 221 u16 lag_id, u8 port_index, u8 local_port); 223 u16 lag_id, u8 port_index);
|
/drivers/media/platform/qcom/venus/ |
D | hfi_helper.h | 906 u32 port_index; member 1087 u32 port_index; member 1156 u32 port_index; member
|