Home
last modified time | relevance | path

Searched refs:hfi1_id (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dplatform.c67 (dd->hfi1_id ? PORT1_PORT_TYPE_SMASK : in save_platform_config_fields()
70 (dd->hfi1_id ? PORT1_PORT_TYPE_SHIFT : in save_platform_config_fields()
74 (dd->hfi1_id ? PORT1_LOCAL_ATTEN_SMASK : in save_platform_config_fields()
77 (dd->hfi1_id ? PORT1_LOCAL_ATTEN_SHIFT : in save_platform_config_fields()
81 (dd->hfi1_id ? PORT1_REMOTE_ATTEN_SMASK : in save_platform_config_fields()
84 (dd->hfi1_id ? PORT1_REMOTE_ATTEN_SHIFT : in save_platform_config_fields()
88 (dd->hfi1_id ? PORT1_DEFAULT_ATTEN_SMASK : in save_platform_config_fields()
262 ret = qsfp_write(ppd, ppd->dd->hfi1_id, in set_qsfp_high_power()
270 ret = qsfp_write(ppd, ppd->dd->hfi1_id, in set_qsfp_high_power()
915 __func__, (int)ppd->dd->hfi1_id); in tune_serdes()
[all …]
H A Dfirmware.c1356 u8 mask = 1 << dd->hfi1_id; in acquire_hw_mutex()
1395 u8 mask = 1 << dd->hfi1_id; in release_hw_mutex()
1511 bit = resource_mask(dd->hfi1_id, resource); in release_chip_resource()
1529 __func__, dd->hfi1_id, resource); in release_chip_resource()
1548 bit = resource_mask(dd->hfi1_id, resource); in check_chip_resource()
1557 func, dd->hfi1_id, resource); in check_chip_resource()
1633 fabric_serdes_broadcast[dd->hfi1_id], in load_firmware()
1634 fabric_serdes_addrs[dd->hfi1_id], in load_firmware()
2087 src_ptr = dd->hfi1_id ? in get_platform_config_field()
2143 pcie_serdes_broadcast[dd->hfi1_id], in load_pcie_firmware()
[all …]
H A Dpcie.c784 sbus_request(dd, pcie_pcs_addrs[dd->hfi1_id][i], in pcie_post_steps()
843 reg = (((u64)1 << dd->hfi1_id) << in arm_gasket_logic()
845 ((u64)pcie_serdes_broadcast[dd->hfi1_id] << in arm_gasket_logic()
1343 if ((status & (1 << dd->hfi1_id)) == 0) { in do_pcie_gen3_transition()
1346 __func__, status, 1 << dd->hfi1_id); in do_pcie_gen3_transition()
H A Dqsfp.c518 u32 target = ppd->dd->hfi1_id; in refresh_qsfp_cache()
646 reg = read_csr(dd, dd->hfi1_id ? ASIC_QSFP2_IN : ASIC_QSFP1_IN); in qsfp_mod_present()
724 ret = one_qsfp_read(ppd, dd->hfi1_id, addr, data + offset, len); in get_cable_info()
H A Ddebugfs.c533 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, in asic_flags_read()
535 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, in asic_flags_read()
537 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, in asic_flags_read()
539 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, in asic_flags_read()
H A Dchip.c6100 write_csr(dd, dd->hfi1_id ? ASIC_QSFP2_INVERT : in handle_qsfp_int()
6136 write_csr(dd, dd->hfi1_id ? ASIC_QSFP2_INVERT : in handle_qsfp_int()
9488 mask = read_csr(dd, dd->hfi1_id ? in wait_for_qsfp_init()
9533 dd->hfi1_id ? ASIC_QSFP2_OUT : ASIC_QSFP1_OUT); in reset_qsfp()
9536 dd->hfi1_id ? ASIC_QSFP2_OUT : ASIC_QSFP1_OUT, qsfp_mask); in reset_qsfp()
9542 dd->hfi1_id ? ASIC_QSFP2_OUT : ASIC_QSFP1_OUT, qsfp_mask); in reset_qsfp()
9704 if (one_qsfp_read(ppd, dd->hfi1_id, 6, in qsfp_event()
9740 dd->hfi1_id ? ASIC_QSFP2_INVERT : ASIC_QSFP1_INVERT, in init_qsfp_int()
9744 if (!dd->hfi1_id) in init_qsfp_int()
9788 ret = one_qsfp_read(ppd, ppd->dd->hfi1_id, 2, &status, 1); in test_qsfp_read()
[all …]
H A Dinit.c1146 dd->asic_data->dds[dd->hfi1_id] = NULL; in release_asic_data()
1147 other = dd->hfi1_id ? 0 : 1; in release_asic_data()
H A Dhfi.h1185 u8 hfi1_id; member
2397 return i2c_target(dd->hfi1_id); in qsfp_resource()