| /linux/drivers/scsi/isci/ |
| A D | port_config.c | 250 u8 phy_index; in sci_mpc_agent_validate_phy_configuration() local 269 for (phy_index = 0; phy_index < SCI_MAX_PHYS; phy_index++) { in sci_mpc_agent_validate_phy_configuration() 280 port_agent->phy_valid_port_range[phy_index].max_index = phy_index; in sci_mpc_agent_validate_phy_configuration() 294 for (; phy_index < SCI_MAX_PHYS; phy_index++) { in sci_mpc_agent_validate_phy_configuration() 308 port_agent->phy_valid_port_range[phy_index].max_index = phy_index; in sci_mpc_agent_validate_phy_configuration() 436 u8 phy_index; in sci_apc_agent_validate_phy_configuration() local 441 phy_index = 0; in sci_apc_agent_validate_phy_configuration() 457 port_agent->phy_valid_port_range[phy_index].max_index = phy_index; in sci_apc_agent_validate_phy_configuration() 459 port_agent->phy_valid_port_range[phy_index].min_index = phy_index; in sci_apc_agent_validate_phy_configuration() 460 port_agent->phy_valid_port_range[phy_index].max_index = phy_index; in sci_apc_agent_validate_phy_configuration() [all …]
|
| A D | port.c | 379 (phy_index == 0 || phy_index == 1)) in sci_port_is_valid_phy_assignment() 526 sas->low += iphy->phy_index; in sci_port_get_attached_sas_address() 657 writel(iphy->phy_index, in sci_port_deactivate_phy() 768 writel(iphy->phy_index, in sci_port_link_detected() 1154 u32 phy_index; in sci_port_hard_reset() local 1164 for (phy_index = 0; phy_index < SCI_MAX_PHYS && !iphy; phy_index++) { in sci_port_hard_reset() 1165 iphy = iport->phy_table[phy_index]; in sci_port_hard_reset() 1556 int phy_index; in sci_port_set_hang_detection_timeout() local 1567 for (phy_index = 0; phy_index < SCI_MAX_PHYS; phy_index++) { in sci_port_set_hang_detection_timeout() 1568 if ((phy_mask >> phy_index) & 1) { in sci_port_set_hang_detection_timeout() [all …]
|
| A D | port.h | 200 (((port)->active_phy_mask & (1 << (phy)->phy_index)) != 0) 263 u32 phy_index);
|
| A D | phy.h | 92 u8 phy_index; member 402 u8 phy_index);
|
| A D | phy.c | 82 struct isci_phy *table = iphy - iphy->phy_index; in phy_to_host() 122 int phy_idx = iphy->phy_index; in sci_phy_link_layer_initialization() 660 phy_to_host(iphy)->id, iphy->phy_index, \ 665 phy_to_host(iphy)->id, iphy->phy_index, \ 1372 struct isci_port *iport, u8 phy_index) in sci_phy_construct() argument 1378 iphy->phy_index = phy_index; in sci_phy_construct()
|
| A D | host.c | 949 ihost->phys[ihost->next_phy_to_start].phy_index, in sci_controller_start_next_phy() 1220 ihost->phys[index].phy_index, phy_status); in sci_controller_stop_phys() 1858 ihost->power_control.requesters[iphy->phy_index] = iphy; in sci_controller_power_control_queue_insert() 1869 if (ihost->power_control.requesters[iphy->phy_index]) in sci_controller_power_control_queue_remove() 1872 ihost->power_control.requesters[iphy->phy_index] = NULL; in sci_controller_power_control_queue_remove() 2397 "unexpected state %d\n", __func__, iphy->phy_index, in sci_controller_link_up() 2416 iphy->phy_index, in sci_controller_link_down()
|
| A D | host.h | 377 ((controller)->invalid_phy_mask &= ~(1 << (phy)->phy_index))
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| A D | bnx2x_link.c | 1448 for (phy_index = INT_PHY; phy_index < params->num_phys; in bnx2x_set_mdio_emac_per_phy() 3195 for (phy_index = 0; phy_index < params->num_phys; phy_index++) { in bnx2x_phy_read() 3212 for (phy_index = 0; phy_index < params->num_phys; phy_index++) { in bnx2x_phy_write() 3426 for (phy_index = INT_PHY; phy_index < params->num_phys; in set_phy_vars() 12157 if (phy_index == INT_PHY || phy_index == EXT_PHY1) { in bnx2x_populate_preemphasis() 12599 for (phy_index = INT_PHY; phy_index < MAX_PHYS; in bnx2x_phy_probe() 12783 phy_index < params->num_phys; phy_index++) in bnx2x_init_xgxs_loopback() 13600 for (phy_index = EXT_PHY1; phy_index < MAX_PHYS; in bnx2x_common_init_phy() 13962 for (phy_index = EXT_PHY1; phy_index < MAX_PHYS; in bnx2x_fan_failure_det_req() 13987 for (phy_index = INT_PHY; phy_index < MAX_PHYS; in bnx2x_hw_reset_phy() [all …]
|
| /linux/net/ethtool/ |
| A D | phy.c | 205 unsigned long phy_index; member 225 ctx->phy_index = 0; in ethnl_phy_start() 257 xa_for_each_start(&dev->link_topo->phys, ctx->phy_index, pdn, ctx->phy_index) { in ethnl_phy_dump_one_dev() 300 ctx->phy_index = 0; in ethnl_phy_dumpit()
|
| A D | netlink.c | 199 req_info->phy_index = nla_get_u32(tb[ETHTOOL_A_HEADER_PHY_INDEX]); in ethnl_parse_header_dev_get() 223 if (!req_info->phy_index) in ethnl_req_get_phydev() 226 phydev = phy_link_topo_get_phy(req_info->dev, req_info->phy_index); in ethnl_req_get_phydev()
|
| A D | netlink.h | 266 u32 phy_index; member
|
| /linux/drivers/hwmon/ |
| A D | lenovo-ec-sensors.c | 49 unsigned short phy_index = page * 256 + index; in get_ec_reg() local 53 m_index = phy_index & GENMASK(14, 2); in get_ec_reg() 56 onebyte = inb_p(MCHP_EMI0_EC_DATA_BYTE0 + (phy_index & GENMASK(1, 0))); in get_ec_reg()
|
| /linux/drivers/net/fddi/skfp/ |
| A D | smt.c | 55 static int phy_index(struct s_smc *smc, int phy); 1289 latency->lt_phyout_idx1 = phy_index(smc,0) ; in smt_fill_latency() 1296 latency->lt_phyout_idx2 = phy_index(smc,1) ; in smt_fill_latency() 1410 lem->lem_phy_index = phy_index(smc,phy) ; in smt_fill_lem() 1732 static int phy_index(struct s_smc *smc, int phy) in phy_index() function 1792 return phy_index(smc, e - ENTITY_PHY(0)); in entity_to_index()
|
| /linux/drivers/scsi/mpt3sas/ |
| A D | mpt3sas_transport.c | 1022 int phy_index = mpt3sas_phy->phy_id; in mpt3sas_transport_add_host_phy() local 1026 phy = sas_phy_alloc(parent_dev, phy_index); in mpt3sas_transport_add_host_phy() 1092 int phy_index = mpt3sas_phy->phy_id; in mpt3sas_transport_add_expander_phy() local 1095 phy = sas_phy_alloc(parent_dev, phy_index); in mpt3sas_transport_add_expander_phy()
|
| /linux/drivers/usb/gadget/udc/ |
| A D | tegra-xudc.c | 801 int phy_index; in tegra_xudc_update_data_role() local 813 phy_index = tegra_xudc_get_phy_index(xudc, usbphy); in tegra_xudc_update_data_role() 815 phy_index); in tegra_xudc_update_data_role() 817 if (!xudc->suspended && phy_index != -1) { in tegra_xudc_update_data_role() 818 xudc->curr_utmi_phy = xudc->utmi_phy[phy_index]; in tegra_xudc_update_data_role() 819 xudc->curr_usb3_phy = xudc->usb3_phy[phy_index]; in tegra_xudc_update_data_role()
|
| /linux/drivers/scsi/mpi3mr/ |
| A D | mpi3mr_transport.c | 884 int phy_index = mr_sas_phy->phy_id; in mpi3mr_add_host_phy() local 888 phy = sas_phy_alloc(parent_dev, phy_index); in mpi3mr_add_host_phy() 955 int phy_index = mr_sas_phy->phy_id; in mpi3mr_add_expander_phy() local 958 phy = sas_phy_alloc(parent_dev, phy_index); in mpi3mr_add_expander_phy()
|