Searched refs:hfi1_id (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/drivers/infiniband/hw/hfi1/ |
D | platform.c | 109 (dd->hfi1_id ? PORT1_PORT_TYPE_SMASK : in save_platform_config_fields() 112 (dd->hfi1_id ? PORT1_PORT_TYPE_SHIFT : in save_platform_config_fields() 116 (dd->hfi1_id ? PORT1_LOCAL_ATTEN_SMASK : in save_platform_config_fields() 119 (dd->hfi1_id ? PORT1_LOCAL_ATTEN_SHIFT : in save_platform_config_fields() 123 (dd->hfi1_id ? PORT1_REMOTE_ATTEN_SMASK : in save_platform_config_fields() 126 (dd->hfi1_id ? PORT1_REMOTE_ATTEN_SHIFT : in save_platform_config_fields() 130 (dd->hfi1_id ? PORT1_DEFAULT_ATTEN_SMASK : in save_platform_config_fields() 133 (dd->hfi1_id ? PORT1_DEFAULT_ATTEN_SHIFT : in save_platform_config_fields() 136 temp_scratch = read_csr(dd, dd->hfi1_id ? ASIC_CFG_SCRATCH_3 : in save_platform_config_fields() 225 ret = qsfp_write(ppd, ppd->dd->hfi1_id, QSFP_TX_CTRL_BYTE_OFFS, in set_qsfp_tx() [all …]
|
D | firmware.c | 1151 sbus_request(dd, fabric_serdes_broadcast[dd->hfi1_id], in turn_off_spicos() 1187 u8 ra = fabric_serdes_broadcast[dd->hfi1_id]; in fabric_serdes_reset() 1262 const u8 ra = fabric_serdes_broadcast[dd->hfi1_id]; /* receiver addr */ in load_fabric_serdes_firmware() 1399 u8 mask = 1 << dd->hfi1_id; in acquire_hw_mutex() 1438 u8 mask = 1 << dd->hfi1_id; in release_hw_mutex() 1450 static inline u64 resource_mask(u32 hfi1_id, u32 resource) in resource_mask() argument 1452 return ((u64)resource) << (hfi1_id ? CR_DYN_SHIFT : 0); in resource_mask() 1484 my_bit = resource_mask(dd->hfi1_id, resource); in __acquire_chip_resource() 1554 bit = resource_mask(dd->hfi1_id, resource); in release_chip_resource() 1572 __func__, dd->hfi1_id, resource); in release_chip_resource() [all …]
|
D | pcie.c | 840 sbus_request(dd, pcie_pcs_addrs[dd->hfi1_id][i], in pcie_post_steps() 899 reg = (((u64)1 << dd->hfi1_id) << in arm_gasket_logic() 901 ((u64)pcie_serdes_broadcast[dd->hfi1_id] << in arm_gasket_logic() 1399 if ((status & (1 << dd->hfi1_id)) == 0) { in do_pcie_gen3_transition() 1402 __func__, status, 1 << dd->hfi1_id); in do_pcie_gen3_transition()
|
D | qsfp.c | 560 u32 target = ppd->dd->hfi1_id; in refresh_qsfp_cache() 688 reg = read_csr(dd, dd->hfi1_id ? ASIC_QSFP2_IN : ASIC_QSFP1_IN); in qsfp_mod_present() 766 ret = one_qsfp_read(ppd, dd->hfi1_id, addr, data + offset, len); in get_cable_info()
|
D | debugfs.c | 575 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, in asic_flags_read() 577 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, in asic_flags_read() 579 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, in asic_flags_read() 581 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, in asic_flags_read()
|
D | chip.c | 6140 write_csr(dd, dd->hfi1_id ? ASIC_QSFP2_INVERT : in handle_qsfp_int() 6176 write_csr(dd, dd->hfi1_id ? ASIC_QSFP2_INVERT : in handle_qsfp_int() 9525 mask = read_csr(dd, dd->hfi1_id ? in wait_for_qsfp_init() 9543 mask = read_csr(dd, dd->hfi1_id ? ASIC_QSFP2_MASK : ASIC_QSFP1_MASK); in set_qsfp_int_n() 9549 write_csr(dd, dd->hfi1_id ? ASIC_QSFP2_CLEAR : ASIC_QSFP1_CLEAR, in set_qsfp_int_n() 9555 write_csr(dd, dd->hfi1_id ? ASIC_QSFP2_MASK : ASIC_QSFP1_MASK, mask); in set_qsfp_int_n() 9570 dd->hfi1_id ? ASIC_QSFP2_OUT : ASIC_QSFP1_OUT); in reset_qsfp() 9573 dd->hfi1_id ? ASIC_QSFP2_OUT : ASIC_QSFP1_OUT, qsfp_mask); in reset_qsfp() 9579 dd->hfi1_id ? ASIC_QSFP2_OUT : ASIC_QSFP1_OUT, qsfp_mask); in reset_qsfp() 9741 if (one_qsfp_read(ppd, dd->hfi1_id, 6, in qsfp_event() [all …]
|
D | init.c | 1205 dd->asic_data->dds[dd->hfi1_id] = NULL; in release_asic_data() 1206 other = dd->hfi1_id ? 0 : 1; in release_asic_data()
|
D | hfi.h | 1235 u8 hfi1_id; member 2449 return i2c_target(dd->hfi1_id); in qsfp_resource()
|