/linux-6.1.9/drivers/scsi/isci/ |
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() 270 if ((phy_mask & (1 << phy_index)) == 0) in sci_mpc_agent_validate_phy_configuration() 272 sci_phy_get_sas_address(&ihost->phys[phy_index], 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() 280 port_agent->phy_valid_port_range[phy_index].max_index = phy_index; in sci_mpc_agent_validate_phy_configuration() 282 if (phy_index != port_index) { in sci_mpc_agent_validate_phy_configuration() 294 for (; phy_index < SCI_MAX_PHYS; phy_index++) { in sci_mpc_agent_validate_phy_configuration() 295 if ((phy_mask & (1 << phy_index)) == 0) in sci_mpc_agent_validate_phy_configuration() 297 sci_phy_get_sas_address(&ihost->phys[phy_index], in sci_mpc_agent_validate_phy_configuration() [all …]
|
D | port.c | 363 bool sci_port_is_valid_phy_assignment(struct isci_port *iport, u32 phy_index) in sci_port_is_valid_phy_assignment() argument 372 if ((iport->physical_port_index == 1) && (phy_index != 1)) in sci_port_is_valid_phy_assignment() 375 if (iport->physical_port_index == 3 && phy_index != 3) in sci_port_is_valid_phy_assignment() 379 (phy_index == 0 || phy_index == 1)) in sci_port_is_valid_phy_assignment() 383 if (iport->phy_table[index] && index != phy_index) in sci_port_is_valid_phy_assignment() 390 user->phys[phy_index].max_speed_generation != in sci_port_is_valid_phy_assignment() 469 if (!iport->phy_table[iphy->phy_index] && in sci_port_set_phy() 471 sci_port_is_valid_phy_assignment(iport, iphy->phy_index)) { in sci_port_set_phy() 476 iport->phy_table[iphy->phy_index] = iphy; in sci_port_set_phy() 488 if (iport->phy_table[iphy->phy_index] == iphy && in sci_port_clear_phy() [all …]
|
D | port.h | 200 (((port)->active_phy_mask & (1 << (phy)->phy_index)) != 0) 263 u32 phy_index);
|
D | phy.h | 92 u8 phy_index; member 402 u8 phy_index);
|
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()
|
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()
|
D | host.h | 377 ((controller)->invalid_phy_mask &= ~(1 << (phy)->phy_index))
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 1446 u8 phy_index; in bnx2x_set_mdio_emac_per_phy() local 1448 for (phy_index = INT_PHY; phy_index < params->num_phys; in bnx2x_set_mdio_emac_per_phy() 1449 phy_index++) in bnx2x_set_mdio_emac_per_phy() 1451 params->phy[phy_index].mdio_ctrl); in bnx2x_set_mdio_emac_per_phy() 3191 u8 phy_index; in bnx2x_phy_read() local 3195 for (phy_index = 0; phy_index < params->num_phys; phy_index++) { in bnx2x_phy_read() 3196 if (params->phy[phy_index].addr == phy_addr) { in bnx2x_phy_read() 3198 ¶ms->phy[phy_index], devad, in bnx2x_phy_read() 3208 u8 phy_index; in bnx2x_phy_write() local 3212 for (phy_index = 0; phy_index < params->num_phys; phy_index++) { in bnx2x_phy_write() [all …]
|
/linux-6.1.9/drivers/net/fddi/skfp/ |
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-6.1.9/drivers/scsi/mpt3sas/ |
D | mpt3sas_transport.c | 1016 int phy_index = mpt3sas_phy->phy_id; in mpt3sas_transport_add_host_phy() local 1020 phy = sas_phy_alloc(parent_dev, phy_index); in mpt3sas_transport_add_host_phy() 1086 int phy_index = mpt3sas_phy->phy_id; in mpt3sas_transport_add_expander_phy() local 1089 phy = sas_phy_alloc(parent_dev, phy_index); in mpt3sas_transport_add_expander_phy()
|
/linux-6.1.9/drivers/usb/gadget/udc/ |
D | tegra-xudc.c | 805 int phy_index; in tegra_xudc_vbus_notify() local 819 phy_index = tegra_xudc_get_phy_index(xudc, usbphy); in tegra_xudc_vbus_notify() 821 phy_index); in tegra_xudc_vbus_notify() 823 if (!xudc->suspended && phy_index != -1) { in tegra_xudc_vbus_notify() 824 xudc->curr_utmi_phy = xudc->utmi_phy[phy_index]; in tegra_xudc_vbus_notify() 825 xudc->curr_usb3_phy = xudc->usb3_phy[phy_index]; in tegra_xudc_vbus_notify()
|
/linux-6.1.9/drivers/scsi/mpi3mr/ |
D | mpi3mr_transport.c | 869 int phy_index = mr_sas_phy->phy_id; in mpi3mr_add_host_phy() local 873 phy = sas_phy_alloc(parent_dev, phy_index); in mpi3mr_add_host_phy() 940 int phy_index = mr_sas_phy->phy_id; in mpi3mr_add_expander_phy() local 943 phy = sas_phy_alloc(parent_dev, phy_index); in mpi3mr_add_expander_phy()
|