Symbol: phy_port
drivers/infiniband/hw/hns/hns_roce_device.h
623
u8 phy_port;
drivers/infiniband/hw/hns/hns_roce_device.h
663
u8 phy_port[HNS_ROCE_MAX_PORTS];
drivers/infiniband/hw/hns/hns_roce_device.h
930
int (*set_mac)(struct hns_roce_dev *hr_dev, u8 phy_port,
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
3513
static int hns_roce_v2_set_mac(struct hns_roce_dev *hr_dev, u8 phy_port,
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
3527
hr_reg_write(smac_tb, CFG_SMAC_TB_IDX, phy_port);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
5562
hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port];
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7286
hr_dev->iboe.phy_port[0] = 0;
drivers/infiniband/hw/hns/hns_roce_main.c
48
u8 phy_port;
drivers/infiniband/hw/hns/hns_roce_main.c
60
phy_port = hr_dev->iboe.phy_port[port];
drivers/infiniband/hw/hns/hns_roce_main.c
61
return hr_dev->hw->set_mac(hr_dev, phy_port, addr);
drivers/infiniband/hw/hns/hns_roce_qp.c
1344
hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port];
drivers/infiniband/hw/ocrdma/ocrdma_sli.h
661
u32 phy_port;
drivers/media/pci/intel/ipu6/ipu6-isys-mcd-phy.c
594
int phy_port;
drivers/media/pci/intel/ipu6/ipu6-isys-mcd-phy.c
602
phy_port = cfg->port % 4;
drivers/media/pci/intel/ipu6/ipu6-isys-mcd-phy.c
605
if (phy_port == 0)
drivers/media/pci/intel/ipu6/ipu6-isys-mcd-phy.c
606
phy_port = 1;
drivers/media/pci/intel/ipu6/ipu6-isys-mcd-phy.c
607
else if (phy_port == 1)
drivers/media/pci/intel/ipu6/ipu6-isys-mcd-phy.c
608
phy_port = 0;
drivers/media/pci/intel/ipu6/ipu6-isys-mcd-phy.c
610
ret = phy_port;
drivers/media/pci/intel/ipu6/ipu6-isys-mcd-phy.c
613
if (cfg->nlanes == 4 && !(phy_port == 0 || phy_port == 2))
drivers/media/pci/intel/ipu6/ipu6-isys-mcd-phy.c
616
!(phy_port >= 0 && phy_port <= 3))
drivers/media/pci/intel/ipu6/ipu6-isys-mcd-phy.c
632
int phy_port, phy_id;
drivers/media/pci/intel/ipu6/ipu6-isys-mcd-phy.c
640
phy_port = ipu6_isys_driver_port_to_phy_port(&cfg);
drivers/media/pci/intel/ipu6/ipu6-isys-mcd-phy.c
641
if (phy_port < 0) {
drivers/media/pci/intel/ipu6/ipu6-isys-mcd-phy.c
653
cfg.port = phy_port;
drivers/net/ethernet/broadcom/bnx2.c
1891
if (bp->phy_port == PORT_TP)
drivers/net/ethernet/broadcom/bnx2.c
2038
old_port = bp->phy_port;
drivers/net/ethernet/broadcom/bnx2.c
2040
bp->phy_port = PORT_FIBRE;
drivers/net/ethernet/broadcom/bnx2.c
2042
bp->phy_port = PORT_TP;
drivers/net/ethernet/broadcom/bnx2.c
2044
if (old_port != bp->phy_port)
drivers/net/ethernet/broadcom/bnx2.c
2426
rc = bnx2_setup_phy(bp, bp->phy_port);
drivers/net/ethernet/broadcom/bnx2.c
3942
if (bp->phy_port == PORT_TP) {
drivers/net/ethernet/broadcom/bnx2.c
3952
bnx2_setup_phy(bp, bp->phy_port);
drivers/net/ethernet/broadcom/bnx2.c
3967
if (bp->phy_port == PORT_TP) {
drivers/net/ethernet/broadcom/bnx2.c
4718
bp->phy_port = PORT_FIBRE;
drivers/net/ethernet/broadcom/bnx2.c
4720
bp->phy_port = PORT_TP;
drivers/net/ethernet/broadcom/bnx2.c
4854
old_port = bp->phy_port;
drivers/net/ethernet/broadcom/bnx2.c
4857
old_port != bp->phy_port)
drivers/net/ethernet/broadcom/bnx2.c
6886
} else if (bp->phy_port == PORT_FIBRE)
drivers/net/ethernet/broadcom/bnx2.c
6907
cmd->base.port = bp->phy_port;
drivers/net/ethernet/broadcom/bnx2.c
6958
if (cmd->base.port != bp->phy_port &&
drivers/net/ethernet/broadcom/bnx2.c
6965
if (!netif_running(dev) && cmd->base.port != bp->phy_port)
drivers/net/ethernet/broadcom/bnx2.c
7154
rc = bnx2_setup_remote_phy(bp, bp->phy_port);
drivers/net/ethernet/broadcom/bnx2.c
7426
bnx2_setup_phy(bp, bp->phy_port);
drivers/net/ethernet/broadcom/bnx2.c
8339
bp->phy_port = PORT_TP;
drivers/net/ethernet/broadcom/bnx2.c
8341
bp->phy_port = PORT_FIBRE;
drivers/net/ethernet/broadcom/bnx2.c
994
return (bp->phy_port == PORT_FIBRE) ? "SerDes" :
drivers/net/ethernet/broadcom/bnx2.h
6945
u8 phy_port;
drivers/net/ethernet/emulex/benet/be_cmds.c
3549
adapter->hba_port_num = attribs->hba_attribs.phy_port;
drivers/net/ethernet/emulex/benet/be_cmds.h
1718
u8 phy_port;
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
2218
int phy_port, quadtype;
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
2220
phy_port = port % hw->ptp.ports_per_phy;
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
2225
msg->msg_addr_low = P_Q0_L(P_0_BASE + offset, phy_port);
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
2226
msg->msg_addr_high = P_Q0_H(P_0_BASE + offset, phy_port);
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
2228
msg->msg_addr_low = P_Q1_L(P_4_BASE + offset, phy_port);
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
2229
msg->msg_addr_high = P_Q1_H(P_4_BASE + offset, phy_port);
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
1292
u8 phy_port;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h
175
u8 phy_port;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h
182
u8 phy_port;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c
112
npar->phy_port, npar->min_bw, npar->max_bw,
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1215
if (adapter->npars[i].phy_port != eswitch)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1341
arg1 = (adapter->npars[index].phy_port & BIT_0);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1411
u8 phy_port;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1417
phy_port = adapter->npars[index].phy_port;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1419
phy_port = adapter->ahw->physical_port;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1421
arg1 = phy_port;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1037
adapter->npars[j].phy_port = (u8)pci_info[i].default_port;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
387
s_esw_id = adapter->npars[src_index].phy_port;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
388
d_esw_id = adapter->npars[dest_index].phy_port;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
427
id = adapter->npars[index].phy_port;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
439
id = adapter->npars[index].phy_port;
drivers/net/ethernet/sun/niu.c
8596
int dev_id_1, int dev_id_2, u8 phy_port, int type)
drivers/net/ethernet/sun/niu.c
8619
phy_port);
drivers/net/ethernet/sun/niu.c
8627
p->phy_port[type][idx] = phy_port;
drivers/net/ethernet/sun/niu.c
8637
if (p->phy_port[PHY_TYPE_PMA_PMD][i] == port)
drivers/net/ethernet/sun/niu.c
8641
if (p->phy_port[PHY_TYPE_PCS][i] == port)
drivers/net/ethernet/sun/niu.c
8669
*lowest = p->phy_port[PHY_TYPE_MII][0];
drivers/net/ethernet/sun/niu.h
3043
u8 phy_port[PHY_TYPE_MAX][NIU_MAX_PORTS];
drivers/net/phy/dp83822.c
944
struct phy_port *port)
drivers/net/phy/marvell-88x2222.c
476
static int mv2222_configure_serdes(struct phy_port *port, bool enable,
drivers/net/phy/marvell-88x2222.c
505
static void mv2222_port_link_up(struct phy_port *port)
drivers/net/phy/marvell-88x2222.c
514
static void mv2222_port_link_down(struct phy_port *port)
drivers/net/phy/marvell-88x2222.c
529
static int mv2222_attach_mii_port(struct phy_device *phydev, struct phy_port *port)
drivers/net/phy/marvell.c
3601
static int m88e1510_port_configure_serdes(struct phy_port *port, bool enable,
drivers/net/phy/marvell.c
3656
struct phy_port *port)
drivers/net/phy/marvell10g.c
467
struct phy_port *port)
drivers/net/phy/marvell10g.c
474
struct phy_port *port)
drivers/net/phy/phy-core.c
214
struct phy_port *port;
drivers/net/phy/phy_device.c
1548
struct phy_port *port;
drivers/net/phy/phy_device.c
1585
struct phy_port *port = phy_get_sfp_port(phydev);
drivers/net/phy/phy_device.c
1597
struct phy_port *port = phy_get_sfp_port(phydev);
drivers/net/phy/phy_device.c
1606
struct phy_port *port = phy_get_sfp_port(phydev);
drivers/net/phy/phy_device.c
1623
static int phy_add_port(struct phy_device *phydev, struct phy_port *port)
drivers/net/phy/phy_device.c
1658
static void phy_del_port(struct phy_device *phydev, struct phy_port *port)
drivers/net/phy/phy_device.c
1670
struct phy_port *port = phy_port_alloc();
drivers/net/phy/phy_device.c
3428
struct phy_port *tmp, *port;
drivers/net/phy/phy_device.c
3438
struct phy_port *port = phy_port_alloc();
drivers/net/phy/phy_device.c
3475
struct phy_port *port;
drivers/net/phy/phy_device.c
3519
struct phy_port *port;
drivers/net/phy/phy_device.c
3572
struct phy_port *phy_get_sfp_port(struct phy_device *phydev)
drivers/net/phy/phy_device.c
3574
struct phy_port *port;
drivers/net/phy/phy_port.c
109
void phy_port_update_supported(struct phy_port *port)
drivers/net/phy/phy_port.c
165
static void phy_port_filter_supported(struct phy_port *port)
drivers/net/phy/phy_port.c
18
struct phy_port *phy_port_alloc(void)
drivers/net/phy/phy_port.c
187
int phy_port_restrict_mediums(struct phy_port *port, unsigned long mediums)
drivers/net/phy/phy_port.c
20
struct phy_port *port;
drivers/net/phy/phy_port.c
207
int phy_port_get_type(struct phy_port *port)
drivers/net/phy/phy_port.c
37
void phy_port_destroy(struct phy_port *port)
drivers/net/phy/phy_port.c
50
struct phy_port *phy_of_parse_port(struct device_node *dn)
drivers/net/phy/phy_port.c
54
struct phy_port *port;
drivers/net/phy/qcom/at803x.c
772
static int at803x_configure_mii(struct phy_port *port, bool enable,
drivers/net/phy/qcom/at803x.c
789
struct phy_port *port)
drivers/net/phy/qcom/qca807x.c
646
static int qca807x_configure_serdes(struct phy_port *port, bool enable,
drivers/net/phy/qcom/qca807x.c
684
struct phy_port *port)
drivers/net/thunderbolt/main.c
1321
u8 phy_port;
drivers/net/thunderbolt/main.c
1324
phy_port = tb_phy_port_from_link(TBNET_L0_PORT_NUM(xd->route));
drivers/net/thunderbolt/main.c
1327
addr[0] = phy_port << 4 | 0x02;
drivers/scsi/be2iscsi/be_mgmt.h
97
u8 phy_port;
drivers/thunderbolt/icm.c
1875
static int icm_reset_phy_port(struct tb *tb, int phy_port)
drivers/thunderbolt/icm.c
1886
if (phy_port) {
drivers/thunderbolt/icm.c
617
u8 phy_port;
drivers/thunderbolt/icm.c
620
phy_port = tb_phy_port_from_link(xd->link);
drivers/thunderbolt/icm.c
621
if (phy_port == 0)
drivers/thunderbolt/icm.c
779
u8 phy_port, sw_phy_port;
drivers/thunderbolt/icm.c
782
phy_port = tb_phy_port_from_link(link);
drivers/thunderbolt/icm.c
792
if (sw->depth == depth && sw_phy_port == phy_port &&
drivers/thunderbolt/icm.c
949
u8 xd_phy_port, phy_port;
drivers/thunderbolt/icm.c
952
phy_port = phy_port_from_route(route, depth);
drivers/thunderbolt/icm.c
954
if (xd->depth == depth && xd_phy_port == phy_port) {
drivers/thunderbolt/tb.c
1826
int phy_port = tb_phy_port_from_link(port->port);
drivers/thunderbolt/tb.c
1835
index = !phy_port ? 6 : 7;
drivers/thunderbolt/tb.c
1837
index = !phy_port ? 6 : 8;
drivers/thunderbolt/tb.c
1839
index = !phy_port ? 8 : 9;
include/linux/phy.h
1543
int (*attach_mii_port)(struct phy_device *dev, struct phy_port *port);
include/linux/phy.h
1564
int (*attach_mdi_port)(struct phy_device *dev, struct phy_port *port);
include/linux/phy.h
2449
struct phy_port *phy_get_sfp_port(struct phy_device *phydev);
include/linux/phy.h
330
struct phy_port;
include/linux/phy_port.h
10
struct phy_port;
include/linux/phy_port.h
26
void (*link_up)(struct phy_port *port);
include/linux/phy_port.h
27
void (*link_down)(struct phy_port *port);
include/linux/phy_port.h
33
int (*configure_mii)(struct phy_port *port, bool enable, phy_interface_t interface);
include/linux/phy_port.h
74
struct phy_port *phy_port_alloc(void);
include/linux/phy_port.h
75
void phy_port_destroy(struct phy_port *port);
include/linux/phy_port.h
77
static inline struct phy_device *port_phydev(struct phy_port *port)
include/linux/phy_port.h
82
struct phy_port *phy_of_parse_port(struct device_node *dn);
include/linux/phy_port.h
84
static inline bool phy_port_is_copper(struct phy_port *port)
include/linux/phy_port.h
89
static inline bool phy_port_is_fiber(struct phy_port *port)
include/linux/phy_port.h
94
void phy_port_update_supported(struct phy_port *port);
include/linux/phy_port.h
95
int phy_port_restrict_mediums(struct phy_port *port, unsigned long mediums);
include/linux/phy_port.h
97
int phy_port_get_type(struct phy_port *port);