Home
last modified time | relevance | path

Searched refs:phy_port (Results 1 - 25 of 44) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v1.c187 hns_get_gid_index(hr_dev, qp->phy_port, in hns_roce_v1_post_send()
326 SQ_DOORBELL_U32_4_PORT_S, qp->phy_port); in hns_roce_v1_post_send()
407 QP1C_CFGN_OFFSET * hr_qp->phy_port); in hns_roce_v1_post_recv()
416 QP1C_CFGN_OFFSET * hr_qp->phy_port, reg_val); in hns_roce_v1_post_recv()
777 u8 phy_port; in hns_roce_v1_rsv_lp_qp() local
838 phy_port = (i >= HNS_ROCE_MAX_PORTS) ? (i - 2) : in hns_roce_v1_rsv_lp_qp()
843 if (hr_dev->iboe.phy_port[j] == phy_port) { in hns_roce_v1_rsv_lp_qp()
862 hr_qp->phy_port = phy_port; in hns_roce_v1_rsv_lp_qp()
1776 hns_roce_v1_set_mac(struct hns_roce_dev *hr_dev, u8 phy_port, u8 *addr) hns_roce_v1_set_mac() argument
1818 hns_roce_v1_set_mtu(struct hns_roce_dev *hr_dev, u8 phy_port, enum ib_mtu mtu) hns_roce_v1_set_mtu() argument
3757 int phy_port; hns_roce_v1_qp_err_handle() local
4483 u8 phy_port; hns_roce_get_cfg() local
[all...]
H A Dhns_roce_main.c63 u8 phy_port; in hns_roce_set_mac() local
72 phy_port = hr_dev->iboe.phy_port[port]; in hns_roce_set_mac()
73 return hr_dev->hw->set_mac(hr_dev, phy_port, addr); in hns_roce_set_mac()
169 hr_dev->hw->set_mtu(hr_dev, hr_dev->iboe.phy_port[i], in hns_roce_setup_mtu_mac()
H A Dhns_roce_device.h641 u8 phy_port; member
674 u8 phy_port[HNS_ROCE_MAX_PORTS]; member
903 int (*set_mac)(struct hns_roce_dev *hr_dev, u8 phy_port, u8 *addr);
904 void (*set_mtu)(struct hns_roce_dev *hr_dev, u8 phy_port,
H A Dhns_roce_qp.c166 hr_dev->iboe.phy_port[hr_qp->port]; in alloc_qpn()
1045 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_create_qp()
/kernel/linux/linux-5.10/drivers/thunderbolt/
H A Dicm.c574 u8 phy_port; in icm_fr_disconnect_xdomain_paths() local
577 phy_port = tb_phy_port_from_link(xd->link); in icm_fr_disconnect_xdomain_paths()
578 if (phy_port == 0) in icm_fr_disconnect_xdomain_paths()
736 u8 phy_port, sw_phy_port; in icm_fr_device_connected() local
740 phy_port = tb_phy_port_from_link(link); in icm_fr_device_connected()
750 if (sw->depth == depth && sw_phy_port == phy_port && in icm_fr_device_connected()
900 u8 xd_phy_port, phy_port; in icm_fr_xdomain_connected() local
903 phy_port = phy_port_from_route(route, depth); in icm_fr_xdomain_connected()
905 if (xd->depth == depth && xd_phy_port == phy_port) { in icm_fr_xdomain_connected()
1789 static int icm_reset_phy_port(struct tb *tb, int phy_port) in icm_reset_phy_port() argument
[all...]
H A Dtb.c764 int phy_port = tb_phy_port_from_link(port->port); in tb_find_pcie_down() local
773 index = !phy_port ? 6 : 7; in tb_find_pcie_down()
775 index = !phy_port ? 6 : 8; in tb_find_pcie_down()
777 index = !phy_port ? 8 : 9; in tb_find_pcie_down()
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dicm.c594 u8 phy_port; in icm_fr_disconnect_xdomain_paths() local
597 phy_port = tb_phy_port_from_link(xd->link); in icm_fr_disconnect_xdomain_paths()
598 if (phy_port == 0) in icm_fr_disconnect_xdomain_paths()
754 u8 phy_port, sw_phy_port; in icm_fr_device_connected() local
757 phy_port = tb_phy_port_from_link(link); in icm_fr_device_connected()
767 if (sw->depth == depth && sw_phy_port == phy_port && in icm_fr_device_connected()
924 u8 xd_phy_port, phy_port; in icm_fr_xdomain_connected() local
927 phy_port = phy_port_from_route(route, depth); in icm_fr_xdomain_connected()
929 if (xd->depth == depth && xd_phy_port == phy_port) { in icm_fr_xdomain_connected()
1841 static int icm_reset_phy_port(struct tb *tb, int phy_port) in icm_reset_phy_port() argument
[all...]
H A Dtb.c1118 int phy_port = tb_phy_port_from_link(port->port); in tb_find_pcie_down() local
1127 index = !phy_port ? 6 : 7; in tb_find_pcie_down()
1129 index = !phy_port ? 6 : 8; in tb_find_pcie_down()
1131 index = !phy_port ? 8 : 9; in tb_find_pcie_down()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_ctx.c1215 if (adapter->npars[i].phy_port != eswitch) in qlcnic_get_eswitch_stats()
1341 arg1 = (adapter->npars[index].phy_port & BIT_0); in qlcnic_config_switch_port()
1411 u8 phy_port; in qlcnic_get_eswitch_port_config() local
1417 phy_port = adapter->npars[index].phy_port; in qlcnic_get_eswitch_port_config()
1419 phy_port = adapter->ahw->physical_port; in qlcnic_get_eswitch_port_config()
1421 arg1 = phy_port; in qlcnic_get_eswitch_port_config()
H A Dqlcnic_83xx_vnic.c112 npar->phy_port, npar->min_bw, npar->max_bw, in qlcnic_83xx_init_mgmt_vnic()
H A Dqlcnic_sysfs.c388 s_esw_id = adapter->npars[src_index].phy_port; in validate_pm_config()
389 d_esw_id = adapter->npars[dest_index].phy_port; in validate_pm_config()
428 id = adapter->npars[index].phy_port; in qlcnic_sysfs_write_pm_config()
440 id = adapter->npars[index].phy_port; in qlcnic_sysfs_write_pm_config()
H A Dqlcnic_83xx_hw.h166 * @phy_port: physical port id
175 u8 phy_port; member
182 u8 phy_port;
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_ctx.c1215 if (adapter->npars[i].phy_port != eswitch) in qlcnic_get_eswitch_stats()
1341 arg1 = (adapter->npars[index].phy_port & BIT_0); in qlcnic_config_switch_port()
1411 u8 phy_port; in qlcnic_get_eswitch_port_config() local
1417 phy_port = adapter->npars[index].phy_port; in qlcnic_get_eswitch_port_config()
1419 phy_port = adapter->ahw->physical_port; in qlcnic_get_eswitch_port_config()
1421 arg1 = phy_port; in qlcnic_get_eswitch_port_config()
H A Dqlcnic_83xx_vnic.c112 npar->phy_port, npar->min_bw, npar->max_bw, in qlcnic_83xx_init_mgmt_vnic()
H A Dqlcnic_sysfs.c387 s_esw_id = adapter->npars[src_index].phy_port; in validate_pm_config()
388 d_esw_id = adapter->npars[dest_index].phy_port; in validate_pm_config()
427 id = adapter->npars[index].phy_port; in qlcnic_sysfs_write_pm_config()
439 id = adapter->npars[index].phy_port; in qlcnic_sysfs_write_pm_config()
H A Dqlcnic_83xx_hw.h166 * @phy_port: physical port id
175 u8 phy_port; member
182 u8 phy_port;
/kernel/linux/linux-5.10/drivers/scsi/be2iscsi/
H A Dbe_mgmt.h97 u8 phy_port; member
/kernel/linux/linux-6.6/drivers/scsi/be2iscsi/
H A Dbe_mgmt.h97 u8 phy_port; member
/kernel/linux/linux-6.6/drivers/infiniband/hw/hns/
H A Dhns_roce_main.c47 u8 phy_port; in hns_roce_set_mac() local
59 phy_port = hr_dev->iboe.phy_port[port]; in hns_roce_set_mac()
60 return hr_dev->hw->set_mac(hr_dev, phy_port, addr); in hns_roce_set_mac()
H A Dhns_roce_device.h605 u8 phy_port; member
641 u8 phy_port[HNS_ROCE_MAX_PORTS]; member
882 int (*set_mac)(struct hns_roce_dev *hr_dev, u8 phy_port,
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_ptp_hw.c169 int phy_port, phy, quadtype; in ice_fill_phy_msg_e822() local
171 phy_port = port % ICE_PORTS_PER_PHY; in ice_fill_phy_msg_e822()
176 msg->msg_addr_low = P_Q0_L(P_0_BASE + offset, phy_port); in ice_fill_phy_msg_e822()
177 msg->msg_addr_high = P_Q0_H(P_0_BASE + offset, phy_port); in ice_fill_phy_msg_e822()
179 msg->msg_addr_low = P_Q1_L(P_4_BASE + offset, phy_port); in ice_fill_phy_msg_e822()
180 msg->msg_addr_high = P_Q1_H(P_4_BASE + offset, phy_port); in ice_fill_phy_msg_e822()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
H A Dbnx2.c994 return (bp->phy_port == PORT_FIBRE) ? "SerDes" : in bnx2_xceiver_str()
1891 if (bp->phy_port == PORT_TP) in bnx2_set_default_remote_link()
2038 old_port = bp->phy_port; in bnx2_remote_phy_event()
2040 bp->phy_port = PORT_FIBRE; in bnx2_remote_phy_event()
2042 bp->phy_port = PORT_TP; in bnx2_remote_phy_event()
2044 if (old_port != bp->phy_port) in bnx2_remote_phy_event()
2426 rc = bnx2_setup_phy(bp, bp->phy_port);
3957 if (bp->phy_port == PORT_TP) { in bnx2_setup_wol()
3967 bnx2_setup_phy(bp, bp->phy_port); in bnx2_setup_wol()
3982 if (bp->phy_port in bnx2_setup_wol()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/
H A Dbnx2.c993 return (bp->phy_port == PORT_FIBRE) ? "SerDes" : in bnx2_xceiver_str()
1890 if (bp->phy_port == PORT_TP) in bnx2_set_default_remote_link()
2037 old_port = bp->phy_port; in bnx2_remote_phy_event()
2039 bp->phy_port = PORT_FIBRE; in bnx2_remote_phy_event()
2041 bp->phy_port = PORT_TP; in bnx2_remote_phy_event()
2043 if (old_port != bp->phy_port) in bnx2_remote_phy_event()
2425 rc = bnx2_setup_phy(bp, bp->phy_port);
3941 if (bp->phy_port == PORT_TP) { in bnx2_setup_wol()
3951 bnx2_setup_phy(bp, bp->phy_port); in bnx2_setup_wol()
3966 if (bp->phy_port in bnx2_setup_wol()
[all...]
/kernel/linux/linux-5.10/drivers/net/
H A Dthunderbolt.c1176 u8 phy_port; in tbnet_generate_mac() local
1179 phy_port = tb_phy_port_from_link(TBNET_L0_PORT_NUM(xd->route)); in tbnet_generate_mac()
1182 dev->dev_addr[0] = phy_port << 4 | 0x02; in tbnet_generate_mac()
/kernel/linux/linux-6.6/drivers/net/thunderbolt/
H A Dmain.c1273 u8 phy_port; in tbnet_generate_mac() local
1276 phy_port = tb_phy_port_from_link(TBNET_L0_PORT_NUM(xd->route)); in tbnet_generate_mac()
1279 addr[0] = phy_port << 4 | 0x02; in tbnet_generate_mac()

Completed in 53 milliseconds

12