Home
last modified time | relevance | path

Searched refs:slot_index (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_env.c41 u8 slot_index) in __mlxsw_env_linecard_is_active() argument
43 return mlxsw_env->line_cards[slot_index]->active; in __mlxsw_env_linecard_is_active()
47 u8 slot_index) in mlxsw_env_linecard_is_active() argument
52 active = __mlxsw_env_linecard_is_active(mlxsw_env, slot_index); in mlxsw_env_linecard_is_active()
60 u8 slot_index, u8 module) in mlxsw_env_module_info_get() argument
64 return &mlxsw_env->line_cards[slot_index]->module_info[module]; in mlxsw_env_module_info_get()
68 u8 slot_index, u8 module) in __mlxsw_env_validate_module_type() argument
74 if (!__mlxsw_env_linecard_is_active(mlxsw_env, slot_index)) in __mlxsw_env_validate_module_type()
77 module_info = mlxsw_env_module_info_get(core, slot_index, module); in __mlxsw_env_validate_module_type()
90 u8 slot_index, u8 module) in mlxsw_env_validate_module_type() argument
[all …]
H A Dminimal.c49 u8 slot_index; member
113 mlxsw_m_port->slot_index, in mlxsw_m_get_module_info()
125 mlxsw_m_port->slot_index, in mlxsw_m_get_module_eeprom()
138 mlxsw_m_port->slot_index, in mlxsw_m_get_module_eeprom_by_page()
152 mlxsw_m_port->slot_index, in mlxsw_m_set_module_eeprom_by_page()
162 return mlxsw_env_reset_module(netdev, core, mlxsw_m_port->slot_index, in mlxsw_m_reset()
175 return mlxsw_env_get_module_power_mode(core, mlxsw_m_port->slot_index, in mlxsw_m_get_module_power_mode()
188 return mlxsw_env_set_module_power_mode(core, mlxsw_m_port->slot_index, in mlxsw_m_set_module_power_mode()
246 mlxsw_m_port_create(struct mlxsw_m *mlxsw_m, u16 local_port, u8 slot_index, in mlxsw_m_port_create() argument
253 err = mlxsw_core_port_init(mlxsw_m->core, local_port, slot_index, in mlxsw_m_port_create()
[all …]
H A Dcore_env.h13 u8 slot_index, int module, int off,
17 struct mlxsw_core *mlxsw_core, u8 slot_index,
21 struct mlxsw_core *mlxsw_core, u8 slot_index,
27 u8 slot_index, u8 module,
33 u8 slot_index, u8 module,
38 struct mlxsw_core *mlxsw_core, u8 slot_index,
42 mlxsw_env_get_module_power_mode(struct mlxsw_core *mlxsw_core, u8 slot_index,
48 mlxsw_env_set_module_power_mode(struct mlxsw_core *mlxsw_core, u8 slot_index,
54 mlxsw_env_module_overheat_counter_get(struct mlxsw_core *mlxsw_core, u8 slot_index,
57 void mlxsw_env_module_port_map(struct mlxsw_core *mlxsw_core, u8 slot_index,
[all …]
H A Dcore_linecards.c83 mlxsw_reg_mddq_slot_name_pack(mddq_pl, linecard->slot_index); in mlxsw_linecard_type_name()
112 mlxsw_reg_mddt_pack(mddt_pl, linecard->slot_index, in mlxsw_linecard_device_fw_component_query()
143 mlxsw_reg_mddt_pack(mddt_pl, linecard->slot_index, in mlxsw_linecard_device_fw_fsm_lock()
156 mlxsw_reg_mddt_pack(mddt_pl, linecard->slot_index, in mlxsw_linecard_device_fw_fsm_lock()
179 mlxsw_reg_mddt_pack(mddt_pl, linecard->slot_index, in mlxsw_linecard_device_fw_fsm_component_update()
201 mlxsw_reg_mddt_pack(mddt_pl, linecard->slot_index, in mlxsw_linecard_device_fw_fsm_block_download()
221 mlxsw_reg_mddt_pack(mddt_pl, linecard->slot_index, in mlxsw_linecard_device_fw_fsm_component_verify()
241 mlxsw_reg_mddt_pack(mddt_pl, linecard->slot_index, in mlxsw_linecard_device_fw_fsm_activate()
267 mlxsw_reg_mddt_pack(mddt_pl, linecard->slot_index, in mlxsw_linecard_device_fw_fsm_query_state()
294 mlxsw_reg_mddt_pack(mddt_pl, linecard->slot_index, in mlxsw_linecard_device_fw_fsm_cancel()
[all …]
H A Dcore_thermal.c115 u8 slot_index; member
123 u8 slot_index; member
246 mlxsw_reg_mtmp_pack(mtmp_pl, tz->slot_index, sensor_index, in mlxsw_thermal_module_temp_get()
271 mlxsw_reg_mtmp_pack(mtmp_pl, tz->slot_index, index, false, false); in mlxsw_thermal_gearbox_temp_get()
355 if (module_tz->slot_index) in mlxsw_thermal_module_tz_init()
357 module_tz->slot_index, module_tz->module + 1); in mlxsw_thermal_module_tz_init()
395 module_tz->slot_index = area->slot_index; in mlxsw_thermal_module_init()
422 mlxsw_reg_mgpir_pack(mgpir_pl, area->slot_index); in mlxsw_thermal_modules_init()
472 if (gearbox_tz->slot_index) in mlxsw_thermal_gearbox_tz_init()
474 gearbox_tz->slot_index, gearbox_tz->module + 1); in mlxsw_thermal_gearbox_tz_init()
[all …]
H A Dcore_hwmon.c55 u8 slot_index; member
79 mlxsw_reg_mtmp_pack(mtmp_pl, mlxsw_hwmon_dev->slot_index, index, false, in mlxsw_hwmon_temp_show()
104 mlxsw_reg_mtmp_pack(mtmp_pl, mlxsw_hwmon_dev->slot_index, index, false, in mlxsw_hwmon_temp_max_show()
137 mlxsw_reg_mtmp_slot_index_set(mtmp_pl, mlxsw_hwmon_dev->slot_index); in mlxsw_hwmon_temp_rst_store()
255 mlxsw_reg_mtmp_pack(mtmp_pl, mlxsw_hwmon_dev->slot_index, in mlxsw_hwmon_module_temp_get()
295 mlxsw_reg_mtbr_pack(mtbr_pl, mlxsw_hwmon_dev->slot_index, in mlxsw_hwmon_module_temp_fault_show()
337 mlxsw_hwmon_dev->slot_index, in mlxsw_hwmon_module_temp_critical_get()
374 mlxsw_hwmon_dev->slot_index, in mlxsw_hwmon_module_temp_emergency_get()
623 mlxsw_hwmon_dev->slot_index); in mlxsw_hwmon_temp_init()
693 mlxsw_reg_mgpir_pack(mgpir_pl, mlxsw_hwmon_dev->slot_index); in mlxsw_hwmon_module_init()
[all …]
H A Dspectrum_ethtool.c572 u8 slot_index = mlxsw_sp_port->mapping.slot_index; in mlxsw_sp_port_get_transceiver_overheat_stats() local
577 err = mlxsw_env_module_overheat_counter_get(mlxsw_core, slot_index, in mlxsw_sp_port_get_transceiver_overheat_stats()
1041 mlxsw_sp_port->mapping.slot_index, in mlxsw_sp_get_module_info()
1051 u8 slot_index = mlxsw_sp_port->mapping.slot_index; in mlxsw_sp_get_module_eeprom() local
1054 return mlxsw_env_get_module_eeprom(netdev, mlxsw_sp->core, slot_index, in mlxsw_sp_get_module_eeprom()
1065 u8 slot_index = mlxsw_sp_port->mapping.slot_index; in mlxsw_sp_get_module_eeprom_by_page() local
1068 return mlxsw_env_get_module_eeprom_by_page(mlxsw_sp->core, slot_index, in mlxsw_sp_get_module_eeprom_by_page()
1079 u8 slot_index = mlxsw_sp_port->mapping.slot_index; in mlxsw_sp_set_module_eeprom_by_page() local
1082 return mlxsw_env_set_module_eeprom_by_page(mlxsw_sp->core, slot_index, in mlxsw_sp_set_module_eeprom_by_page()
1224 u8 slot_index = mlxsw_sp_port->mapping.slot_index; in mlxsw_sp_reset() local
[all …]
/linux/kernel/dma/
H A Dswiotlb.c1031 unsigned int slot_index; in swiotlb_search_pool_area() local
1071 slot_index = slot_base + index; in swiotlb_search_pool_area()
1072 tlb_addr = slot_addr(tbl_dma_addr, slot_index); in swiotlb_search_pool_area()
1082 if (!iommu_is_span_boundary(slot_index, nslots, in swiotlb_search_pool_area()
1085 if (pool->slots[slot_index].list >= nslots) in swiotlb_search_pool_area()
1102 for (i = slot_index; i < slot_index + nslots; i++) { in swiotlb_search_pool_area()
1105 ((i - slot_index) << IO_TLB_SHIFT)); in swiotlb_search_pool_area()
1107 for (i = slot_index - 1; in swiotlb_search_pool_area()
1120 return slot_index; in swiotlb_search_pool_area()
/linux/fs/orangefs/
H A Dorangefs-bufmap.h37 void orangefs_bufmap_page_fill(void *kaddr, int buffer_index, int slot_index);
H A Dorangefs-bufmap.c538 int slot_index) in orangefs_bufmap_page_fill() argument
544 page_from = kmap_atomic(from->page_array[slot_index]); in orangefs_bufmap_page_fill()
/linux/drivers/gpu/drm/qxl/
H A Dqxl_kms.c67 unsigned int slot_index, in setup_slot() argument
74 slot->index = slot_index; in setup_slot()
/linux/drivers/scsi/mpi3mr/mpi/
H A Dmpi30_cnfg.h1807 __le16 slot_index; member
1865 __le16 slot_index; member
2196 __le16 slot_index; member
2397 __le16 slot_index; member
/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c2266 int slot_index = i * slots_per_blk; in hisi_sas_alloc() local
2275 for (j = 0; j < slots_per_blk; j++, slot_index++) { in hisi_sas_alloc()
2278 slot = &hisi_hba->slot_info[slot_index]; in hisi_sas_alloc()
2281 slot->idx = slot_index; in hisi_sas_alloc()
/linux/sound/soc/fsl/
H A Dfsl_easrc.h579 int slot_index; member
/linux/drivers/net/wireless/ath/wcn36xx/
H A Dhal.h3546 u32 slot_index; member