Searched defs:phy_index (Results 1 - 11 of 11) sorted by relevance

/drivers/scsi/isci/
H A Dport_config.c250 u8 phy_index; local
269 for (phy_index = 0; phy_index < SCI_MAX_PHYS; phy_index++) {
270 if ((phy_mask & (1 << phy_index)) == 0)
272 sci_phy_get_sas_address(&ihost->phys[phy_index],
276 * The phy_index can be used as the starting point for the
279 port_agent->phy_valid_port_range[phy_index].min_index = port_index;
280 port_agent->phy_valid_port_range[phy_index].max_index = phy_index;
436 u8 phy_index; local
609 u8 phy_index = iphy->phy_index; local
[all...]
H A Dphy.h83 * @phy_index: physical index relative to the controller (0-3)
92 u8 phy_index; member in struct:isci_phy
402 u8 phy_index);
H A Dphy.c82 struct isci_phy *table = iphy - iphy->phy_index;
122 int phy_idx = iphy->phy_index;
663 phy_to_host(iphy)->id, iphy->phy_index, \
668 phy_to_host(iphy)->id, iphy->phy_index, \
1375 struct isci_port *iport, u8 phy_index)
1381 iphy->phy_index = phy_index;
1374 sci_phy_construct(struct isci_phy *iphy, struct isci_port *iport, u8 phy_index) argument
H A Dport.c362 bool sci_port_is_valid_phy_assignment(struct isci_port *iport, u32 phy_index) argument
371 if ((iport->physical_port_index == 1) && (phy_index != 1))
374 if (iport->physical_port_index == 3 && phy_index != 3)
378 (phy_index == 0 || phy_index == 1))
382 if (iport->phy_table[index] && index != phy_index)
389 user->phys[phy_index].max_speed_generation !=
467 if (!iport->phy_table[iphy->phy_index] &&
469 sci_port_is_valid_phy_assignment(iport, iphy->phy_index)) {
474 iport->phy_table[iphy->phy_index]
1151 u32 phy_index; local
1553 int phy_index; local
[all...]
/drivers/infiniband/hw/nes/
H A Dnes_nic.c1490 u8 phy_index = nesadapter->phy_index[mac_index]; local
1513 nes_read_1G_phy_reg(nesdev, 0, phy_index, &phy_data);
1520 et_cmd->phy_address = phy_index;
1531 et_cmd->phy_address = phy_index;
1557 u8 phy_index = nesadapter->phy_index[nesdev->mac_index]; local
1560 nes_read_1G_phy_reg(nesdev, 0, phy_index, &phy_data);
1568 nes_write_1G_phy_reg(nesdev, 0, phy_index, phy_data);
1802 nesdev->nesadapter->phy_index[nesde
[all...]
H A Dnes_hw.c1307 static int nes_init_1g_phy(struct nes_device *nesdev, u8 phy_type, u8 phy_index) argument
1313 nes_read_1G_phy_reg(nesdev, 1, phy_index, &phy_data);
1314 nes_write_1G_phy_reg(nesdev, 23, phy_index, 0xb000);
1317 nes_write_1G_phy_reg(nesdev, 0, phy_index, 0x8000);
1321 nes_read_1G_phy_reg(nesdev, 0, phy_index, &phy_data);
1331 nes_write_1G_phy_reg(nesdev, 0, phy_index, phy_data);
1332 nes_read_1G_phy_reg(nesdev, 0, phy_index, &phy_data);
1333 nes_read_1G_phy_reg(nesdev, 0x17, phy_index, &phy_data);
1334 nes_read_1G_phy_reg(nesdev, 0x1e, phy_index, &phy_data);
1337 nes_read_1G_phy_reg(nesdev, 0x19, phy_index,
1361 nes_init_2025_phy(struct nes_device *nesdev, u8 phy_type, u8 phy_index) argument
1520 u8 phy_index = nesadapter->phy_index[mac_index]; local
[all...]
H A Dnes_hw.h1164 u8 phy_index[4]; member in struct:nes_adapter
/drivers/net/fddi/skfp/
H A Dsmt.c64 static int phy_index(struct s_smc *smc, int phy);
1298 latency->lt_phyout_idx1 = phy_index(smc,0) ;
1305 latency->lt_phyout_idx2 = phy_index(smc,1) ;
1419 lem->lem_phy_index = phy_index(smc,phy) ;
1768 static int phy_index(struct s_smc *smc, int phy) function
1828 return phy_index(smc, e - ENTITY_PHY(0));
/drivers/scsi/mpt2sas/
H A Dmpt2sas_transport.c853 int phy_index = mpt2sas_phy->phy_id; local
857 phy = sas_phy_alloc(parent_dev, phy_index);
920 int phy_index = mpt2sas_phy->phy_id; local
923 phy = sas_phy_alloc(parent_dev, phy_index);
/drivers/scsi/mpt3sas/
H A Dmpt3sas_transport.c847 int phy_index = mpt3sas_phy->phy_id; local
851 phy = sas_phy_alloc(parent_dev, phy_index);
916 int phy_index = mpt3sas_phy->phy_id; local
919 phy = sas_phy_alloc(parent_dev, phy_index);
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c1450 u8 phy_index; local
1452 for (phy_index = INT_PHY; phy_index < params->num_phys;
1453 phy_index++)
1455 params->phy[phy_index].mdio_ctrl);
3191 u8 phy_index; local
3195 for (phy_index = 0; phy_index < params->num_phys; phy_index++) {
3196 if (params->phy[phy_index]
3208 u8 phy_index; local
3423 u8 actual_phy_idx, phy_index, link_cfg_idx; local
6415 u16 gp_status = 0, phy_index = 0; local
6495 u8 phy_index, non_ext_phy; local
6751 u8 link_10g_plus, phy_index; local
11812 bnx2x_populate_preemphasis(struct bnx2x *bp, u32 shmem_base, struct bnx2x_phy *phy, u8 port, u8 phy_index) argument
11849 bnx2x_get_ext_phy_config(struct bnx2x *bp, u32 shmem_base, u8 phy_index, u8 port) argument
12008 bnx2x_populate_ext_phy(struct bnx2x *bp, u8 phy_index, u32 shmem_base, u32 shmem2_base, u8 port, struct bnx2x_phy *phy) argument
12135 bnx2x_populate_phy(struct bnx2x *bp, u8 phy_index, u32 shmem_base, u32 shmem2_base, u8 port, struct bnx2x_phy *phy) argument
12147 bnx2x_phy_def_cfg(struct link_params *params, struct bnx2x_phy *phy, u8 phy_index) argument
12254 u8 phy_index, actual_phy_idx; local
12445 u8 phy_index; local
12703 u8 phy_index, port = params->port, clear_latch_ind = 0; local
12844 bnx2x_8073_common_init_phy(struct bnx2x *bp, u32 shmem_base_path[], u32 shmem2_base_path[], u8 phy_index, u32 chip_id) argument
12970 bnx2x_8726_common_init_phy(struct bnx2x *bp, u32 shmem_base_path[], u32 shmem2_base_path[], u8 phy_index, u32 chip_id) argument
13065 bnx2x_8727_common_init_phy(struct bnx2x *bp, u32 shmem_base_path[], u32 shmem2_base_path[], u8 phy_index, u32 chip_id) argument
13164 bnx2x_84833_common_init_phy(struct bnx2x *bp, u32 shmem_base_path[], u32 shmem2_base_path[], u8 phy_index, u32 chip_id) argument
13180 bnx2x_ext_phy_common_init(struct bnx2x *bp, u32 shmem_base_path[], u32 shmem2_base_path[], u8 phy_index, u32 ext_phy_type, u32 chip_id) argument
13239 u8 phy_index = 0; local
13619 u8 phy_index, fan_failure_det_req = 0; local
13637 u8 phy_index; local
13661 u8 gpio_num = 0xff, gpio_port = 0xff, phy_index; local
[all...]

Completed in 220 milliseconds