link_width 160 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t link_width; link_width 163 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c link_width = PHM_READ_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__PCIE, link_width 166 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c PP_ASSERT_WITH_CODE((7 >= link_width), link_width 169 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c return decode_pcie_lane_width(link_width); link_width 4825 drivers/gpu/drm/radeon/ci_dpm.c u32 link_width = 0; link_width 4827 drivers/gpu/drm/radeon/ci_dpm.c link_width = RREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL) & LC_LINK_WIDTH_RD_MASK; link_width 4828 drivers/gpu/drm/radeon/ci_dpm.c link_width >>= LC_LINK_WIDTH_RD_SHIFT; link_width 4830 drivers/gpu/drm/radeon/ci_dpm.c switch (link_width) { link_width 1087 drivers/infiniband/hw/hfi1/chip.c static void update_xmit_counters(struct hfi1_pportdata *ppd, u16 link_width); link_width 6966 drivers/infiniband/hw/hfi1/chip.c static void update_xmit_counters(struct hfi1_pportdata *ppd, u16 link_width) link_width 6972 drivers/infiniband/hw/hfi1/chip.c tx_width = tx_link_width(link_width); link_width 1561 drivers/infiniband/hw/hfi1/hfi.h u16 link_width = ppd->link_width_active; link_width 1569 drivers/infiniband/hw/hfi1/hfi.h switch (link_width) { link_width 845 drivers/infiniband/hw/hfi1/mad.c pi->link_width.enabled = cpu_to_be16(ppd->link_width_enabled); link_width 846 drivers/infiniband/hw/hfi1/mad.c pi->link_width.supported = cpu_to_be16(ppd->link_width_supported); link_width 847 drivers/infiniband/hw/hfi1/mad.c pi->link_width.active = cpu_to_be16(ppd->link_width_active); link_width 1485 drivers/infiniband/hw/hfi1/mad.c lwe = be16_to_cpu(pi->link_width.enabled); link_width 2660 drivers/infiniband/hw/hfi1/mad.c u16 tx_link_width(u16 link_width) link_width 2665 drivers/infiniband/hw/hfi1/mad.c while (link_width && n) { link_width 2666 drivers/infiniband/hw/hfi1/mad.c if (link_width & (1 << (n - 1))) { link_width 2694 drivers/infiniband/hw/hfi1/mad.c u16 link_width, u16 link_speed, int vl) link_width 2719 drivers/infiniband/hw/hfi1/mad.c ppd->prev_link_width = link_width; link_width 2743 drivers/infiniband/hw/hfi1/mad.c u16 link_width; link_width 2791 drivers/infiniband/hw/hfi1/mad.c link_width = link_width 2795 drivers/infiniband/hw/hfi1/mad.c cpu_to_be64(get_xmit_wait_counters(ppd, link_width, link_width 2865 drivers/infiniband/hw/hfi1/mad.c cpu_to_be64(get_xmit_wait_counters(ppd, link_width, link_width 2995 drivers/infiniband/hw/hfi1/mad.c u16 link_width; link_width 3049 drivers/infiniband/hw/hfi1/mad.c link_width = link_width 3053 drivers/infiniband/hw/hfi1/mad.c cpu_to_be64(get_xmit_wait_counters(ppd, link_width, link_width 3094 drivers/infiniband/hw/hfi1/mad.c cpu_to_be64(get_xmit_wait_counters(ppd, link_width, link_width 441 drivers/infiniband/hw/hfi1/mad.h u16 tx_link_width(u16 link_width); link_width 442 drivers/infiniband/hw/hfi1/mad.h u64 get_xmit_wait_counters(struct hfi1_pportdata *ppd, u16 link_width, link_width 472 drivers/infiniband/hw/hfi1/mad.h static inline u64 convert_xmit_counter(u64 xmit_wait_val, u16 link_width, link_width 475 drivers/infiniband/hw/hfi1/mad.h return (xmit_wait_val * 2 * (FACTOR_LINK_WIDTH / link_width) link_width 4293 drivers/net/ethernet/mellanox/mlxsw/reg.h u16 proto_admin, u16 link_width) link_width 4299 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ptys_ib_link_width_admin_set(payload, link_width); link_width 3201 drivers/net/ethernet/myricom/myri10ge/myri10ge.c int link_width; link_width 3205 drivers/net/ethernet/myricom/myri10ge/myri10ge.c link_width = (lnk >> 4) & 0x3f; link_width 3210 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if (link_width < 8) { link_width 3212 drivers/net/ethernet/myricom/myri10ge/myri10ge.c link_width); link_width 88 drivers/ntb/hw/mscc/ntb_hw_switchtec.c enum ntb_width link_width; link_width 440 drivers/ntb/hw/mscc/ntb_hw_switchtec.c sndev->link_width = NTB_WIDTH_NONE; link_width 450 drivers/ntb/hw/mscc/ntb_hw_switchtec.c sndev->link_width = min(self_width, peer_width); link_width 566 drivers/ntb/hw/mscc/ntb_hw_switchtec.c *width = sndev->link_width; link_width 2417 drivers/rapidio/devices/rio_mport_cdev.c md->properties.link_width = attr.link_width; link_width 2557 drivers/rapidio/devices/tsi721.c attr->link_width = (rval & RIO_PORT_N_CTL_IPW) >> 27; link_width 4235 drivers/scsi/qla2xxx/qla_def.h int link_width; link_width 2546 drivers/scsi/qla2xxx/qla_nx.c ha->link_width = (lnk >> 4) & 0x3f; link_width 741 drivers/scsi/qla4xxx/ql4_def.h int link_width; link_width 1776 drivers/scsi/qla4xxx/ql4_nx.c ha->link_width = (lnk >> 4) & 0x3f; link_width 368 include/linux/rio.h int link_width; link_width 332 include/rdma/opa_port_info.h } link_width; link_width 77 include/uapi/linux/rio_mport_cdev.h __u8 link_width;