Searched refs:phy_index (Results  1 – 10 of 10) sorted by relevance
| /Linux-v5.4/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 | 362 bool sci_port_is_valid_phy_assignment(struct isci_port *iport, u32 phy_index)  in sci_port_is_valid_phy_assignment()  argument 371 	if ((iport->physical_port_index == 1) && (phy_index != 1))  in sci_port_is_valid_phy_assignment() 374 	if (iport->physical_port_index == 3 && phy_index != 3)  in sci_port_is_valid_phy_assignment() 378 	    (phy_index == 0 || phy_index == 1))  in sci_port_is_valid_phy_assignment() 382 		if (iport->phy_table[index] && index != phy_index)  in sci_port_is_valid_phy_assignment() 389 	    user->phys[phy_index].max_speed_generation !=  in sci_port_is_valid_phy_assignment() 467 	if (!iport->phy_table[iphy->phy_index] &&  in sci_port_set_phy() 469 	    sci_port_is_valid_phy_assignment(iport, iphy->phy_index)) {  in sci_port_set_phy() 474 		iport->phy_table[iphy->phy_index] = iphy;  in sci_port_set_phy() 486 	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() 663 		phy_to_host(iphy)->id, iphy->phy_index, \ 668 		phy_to_host(iphy)->id, iphy->phy_index, \ 1376 			    struct isci_port *iport, u8 phy_index)  in sci_phy_construct()  argument 1382 	iphy->phy_index = phy_index;  in sci_phy_construct()
  | 
| D | host.c | 951 				 ihost->phys[ihost->next_phy_to_start].phy_index,  in sci_controller_start_next_phy() 1222 				 ihost->phys[index].phy_index, phy_status);  in sci_controller_stop_phys() 1860 			ihost->power_control.requesters[iphy->phy_index] = iphy;  in sci_controller_power_control_queue_insert() 1871 	if (ihost->power_control.requesters[iphy->phy_index])  in sci_controller_power_control_queue_remove() 1874 	ihost->power_control.requesters[iphy->phy_index] = NULL;  in sci_controller_power_control_queue_remove() 2399 			"unexpected state %d\n", __func__, iphy->phy_index,  in sci_controller_link_up() 2418 			iphy->phy_index,  in sci_controller_link_down()
  | 
| D | host.h | 377 	((controller)->invalid_phy_mask &= ~(1 << (phy)->phy_index))
  | 
| /Linux-v5.4/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() 3187 	u8 phy_index;  in bnx2x_phy_read()  local 3191 	for (phy_index = 0; phy_index < params->num_phys; phy_index++) {  in bnx2x_phy_read() 3192 		if (params->phy[phy_index].addr == phy_addr) {  in bnx2x_phy_read() 3194 					       ¶ms->phy[phy_index], devad,  in bnx2x_phy_read() 3204 	u8 phy_index;  in bnx2x_phy_write()  local 3208 	for (phy_index = 0; phy_index < params->num_phys; phy_index++) {  in bnx2x_phy_write() [all …] 
 | 
| /Linux-v5.4/drivers/net/fddi/skfp/ | 
| D | smt.c | 59 static int phy_index(struct s_smc *smc, int phy); 1293 	latency->lt_phyout_idx1 = phy_index(smc,0) ;  in smt_fill_latency() 1300 		latency->lt_phyout_idx2 = phy_index(smc,1) ;  in smt_fill_latency() 1414 	lem->lem_phy_index = phy_index(smc,phy) ;  in smt_fill_lem() 1751 static int phy_index(struct s_smc *smc, int phy)  in phy_index()  function 1811 		return phy_index(smc, e - ENTITY_PHY(0));  in entity_to_index()
  | 
| /Linux-v5.4/drivers/scsi/mpt3sas/ | 
| D | mpt3sas_transport.c | 833 	int phy_index = mpt3sas_phy->phy_id;  in mpt3sas_transport_add_host_phy()  local 837 	phy = sas_phy_alloc(parent_dev, phy_index);  in mpt3sas_transport_add_host_phy() 902 	int phy_index = mpt3sas_phy->phy_id;  in mpt3sas_transport_add_expander_phy()  local 905 	phy = sas_phy_alloc(parent_dev, phy_index);  in mpt3sas_transport_add_expander_phy()
  |