/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_env.c | 40 u8 slot_index) in __mlxsw_env_linecard_is_active() argument 42 return mlxsw_env->line_cards[slot_index]->active; in __mlxsw_env_linecard_is_active() 46 u8 slot_index) in mlxsw_env_linecard_is_active() argument 51 active = __mlxsw_env_linecard_is_active(mlxsw_env, slot_index); in mlxsw_env_linecard_is_active() 59 u8 slot_index, u8 module) in mlxsw_env_module_info_get() argument 63 return &mlxsw_env->line_cards[slot_index]->module_info[module]; in mlxsw_env_module_info_get() 67 u8 slot_index, u8 module) in __mlxsw_env_validate_module_type() argument 73 if (!__mlxsw_env_linecard_is_active(mlxsw_env, slot_index)) in __mlxsw_env_validate_module_type() 76 module_info = mlxsw_env_module_info_get(core, slot_index, module); in __mlxsw_env_validate_module_type() 89 u8 slot_index, u8 module) in mlxsw_env_validate_module_type() argument [all …]
|
D | core_env.h | 13 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, 32 struct mlxsw_core *mlxsw_core, u8 slot_index, 36 mlxsw_env_get_module_power_mode(struct mlxsw_core *mlxsw_core, u8 slot_index, 42 mlxsw_env_set_module_power_mode(struct mlxsw_core *mlxsw_core, u8 slot_index, 48 mlxsw_env_module_overheat_counter_get(struct mlxsw_core *mlxsw_core, u8 slot_index, 51 void mlxsw_env_module_port_map(struct mlxsw_core *mlxsw_core, u8 slot_index, 54 void mlxsw_env_module_port_unmap(struct mlxsw_core *mlxsw_core, u8 slot_index, [all …]
|
D | minimal.c | 49 u8 slot_index; member 124 mlxsw_m_port->slot_index, in mlxsw_m_get_module_info() 136 mlxsw_m_port->slot_index, in mlxsw_m_get_module_eeprom() 149 mlxsw_m_port->slot_index, in mlxsw_m_get_module_eeprom_by_page() 159 return mlxsw_env_reset_module(netdev, core, mlxsw_m_port->slot_index, in mlxsw_m_reset() 172 return mlxsw_env_get_module_power_mode(core, mlxsw_m_port->slot_index, in mlxsw_m_get_module_power_mode() 185 return mlxsw_env_set_module_power_mode(core, mlxsw_m_port->slot_index, in mlxsw_m_set_module_power_mode() 242 mlxsw_m_port_create(struct mlxsw_m *mlxsw_m, u16 local_port, u8 slot_index, in mlxsw_m_port_create() argument 249 err = mlxsw_core_port_init(mlxsw_m->core, local_port, slot_index, in mlxsw_m_port_create() 272 mlxsw_m_port->slot_index = slot_index; in mlxsw_m_port_create() [all …]
|
D | core_linecards.c | 83 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 …]
|
D | core_thermal.c | 83 u8 slot_index; member 91 u8 slot_index; member 155 err = mlxsw_env_module_temp_thresholds_get(core, tz->slot_index, in mlxsw_thermal_module_trips_update() 162 err = mlxsw_env_module_temp_thresholds_get(core, tz->slot_index, in mlxsw_thermal_module_trips_update() 383 u8 slot_index, u16 sensor_index, in mlxsw_thermal_module_temp_and_thresholds_get() argument 391 mlxsw_reg_mtmp_pack(mtmp_pl, slot_index, sensor_index, in mlxsw_thermal_module_temp_and_thresholds_get() 422 tz->slot_index, in mlxsw_thermal_module_temp_get() 518 mlxsw_reg_mtmp_pack(mtmp_pl, tz->slot_index, index, false, false); in mlxsw_thermal_gearbox_temp_get() 614 if (module_tz->slot_index) in mlxsw_thermal_module_tz_init() 616 module_tz->slot_index, module_tz->module + 1); in mlxsw_thermal_module_tz_init() [all …]
|
D | core_hwmon.c | 55 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() 622 mlxsw_hwmon_dev->slot_index); in mlxsw_hwmon_temp_init() 692 mlxsw_reg_mgpir_pack(mgpir_pl, mlxsw_hwmon_dev->slot_index); in mlxsw_hwmon_module_init() [all …]
|
D | spectrum_ethtool.c | 572 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() 1039 mlxsw_sp_port->mapping.slot_index, in mlxsw_sp_get_module_info() 1049 u8 slot_index = mlxsw_sp_port->mapping.slot_index; in mlxsw_sp_get_module_eeprom() local 1052 return mlxsw_env_get_module_eeprom(netdev, mlxsw_sp->core, slot_index, in mlxsw_sp_get_module_eeprom() 1063 u8 slot_index = mlxsw_sp_port->mapping.slot_index; in mlxsw_sp_get_module_eeprom_by_page() local 1066 return mlxsw_env_get_module_eeprom_by_page(mlxsw_sp->core, slot_index, in mlxsw_sp_get_module_eeprom_by_page() 1208 u8 slot_index = mlxsw_sp_port->mapping.slot_index; in mlxsw_sp_reset() local 1211 return mlxsw_env_reset_module(dev, mlxsw_sp->core, slot_index, in mlxsw_sp_reset() 1222 u8 slot_index = mlxsw_sp_port->mapping.slot_index; in mlxsw_sp_get_module_power_mode() local [all …]
|
D | reg.h | 4489 MLXSW_ITEM32_INDEXED(reg, pmlp, slot_index, 0x04, 8, 4, 0x04, 0x00, false); 5790 MLXSW_ITEM32(reg, pmaos, slot_index, 0x00, 24, 4); 5844 static inline void mlxsw_reg_pmaos_pack(char *payload, u8 slot_index, u8 module) in mlxsw_reg_pmaos_pack() argument 5847 mlxsw_reg_pmaos_slot_index_set(payload, slot_index); in mlxsw_reg_pmaos_pack() 5902 MLXSW_ITEM32(reg, pmtdb, slot_index, 0x00, 24, 4); 5940 static inline void mlxsw_reg_pmtdb_pack(char *payload, u8 slot_index, u8 module, in mlxsw_reg_pmtdb_pack() argument 5944 mlxsw_reg_pmtdb_slot_index_set(payload, slot_index); in mlxsw_reg_pmtdb_pack() 6030 MLXSW_ITEM32(reg, pmpe, slot_index, 0x00, 24, 4); 6127 MLXSW_ITEM32(reg, pmmp, slot_index, 0x00, 24, 4); 6156 static inline void mlxsw_reg_pmmp_pack(char *payload, u8 slot_index, u8 module) in mlxsw_reg_pmmp_pack() argument [all …]
|
D | core.h | 256 u8 slot_index, u32 port_number, bool split, 603 u8 slot_index; member 636 mlxsw_linecard_get(struct mlxsw_linecards *linecards, u8 slot_index) in mlxsw_linecard_get() argument 638 return &linecards->linecards[slot_index - 1]; in mlxsw_linecard_get() 654 u8 slot_index, void *priv);
|
D | spectrum.c | 572 u8 slot_index; in mlxsw_sp_port_module_info_parse() local 578 slot_index = mlxsw_reg_pmlp_slot_index_get(pmlp_pl, 0); in mlxsw_sp_port_module_info_parse() 595 if (mlxsw_reg_pmlp_slot_index_get(pmlp_pl, i) != slot_index) { in mlxsw_sp_port_module_info_parse() 615 port_mapping->slot_index = slot_index; in mlxsw_sp_port_module_info_parse() 644 mlxsw_env_module_port_map(mlxsw_sp->core, port_mapping->slot_index, in mlxsw_sp_port_module_map() 651 port_mapping->slot_index); in mlxsw_sp_port_module_map() 662 mlxsw_env_module_port_unmap(mlxsw_sp->core, port_mapping->slot_index, in mlxsw_sp_port_module_map() 668 u8 slot_index, u8 module) in mlxsw_sp_port_module_unmap() argument 675 mlxsw_env_module_port_unmap(mlxsw_sp->core, slot_index, module); in mlxsw_sp_port_module_unmap() 685 mlxsw_sp_port->mapping.slot_index, in mlxsw_sp_port_open() [all …]
|
D | core.c | 3070 u8 slot_index, u32 port_number, bool split, in __mlxsw_core_port_init() argument 3093 if (slot_index) { in __mlxsw_core_port_init() 3097 slot_index); in __mlxsw_core_port_init() 3119 u8 slot_index, u32 port_number, bool split, in mlxsw_core_port_init() argument 3128 DEVLINK_PORT_FLAVOUR_PHYSICAL, slot_index, in mlxsw_core_port_init()
|
D | spectrum.h | 141 u8 slot_index; member
|
/Linux-v6.1/io_uring/ |
D | filetable.c | 61 u32 slot_index) in io_install_fixed_file() argument 72 if (slot_index >= ctx->nr_user_files) in io_install_fixed_file() 75 slot_index = array_index_nospec(slot_index, ctx->nr_user_files); in io_install_fixed_file() 76 file_slot = io_fixed_file_slot(&ctx->file_table, slot_index); in io_install_fixed_file() 86 ret = io_queue_rsrc_removal(ctx->file_data, slot_index, in io_install_fixed_file() 91 io_file_bitmap_clear(&ctx->file_table, slot_index); in io_install_fixed_file() 97 *io_get_tag_slot(ctx->file_data, slot_index) = 0; in io_install_fixed_file() 99 io_file_bitmap_set(&ctx->file_table, slot_index); in io_install_fixed_file()
|
/Linux-v6.1/kernel/dma/ |
D | swiotlb.c | 624 unsigned int slot_index; in swiotlb_do_find_slots() local 647 slot_index = slot_base + index; in swiotlb_do_find_slots() 650 (slot_addr(tbl_dma_addr, slot_index) & in swiotlb_do_find_slots() 661 if (!iommu_is_span_boundary(slot_index, nslots, in swiotlb_do_find_slots() 664 if (mem->slots[slot_index].list >= nslots) in swiotlb_do_find_slots() 675 for (i = slot_index; i < slot_index + nslots; i++) { in swiotlb_do_find_slots() 678 ((i - slot_index) << IO_TLB_SHIFT)); in swiotlb_do_find_slots() 680 for (i = slot_index - 1; in swiotlb_do_find_slots() 694 return slot_index; in swiotlb_do_find_slots()
|
/Linux-v6.1/fs/orangefs/ |
D | orangefs-bufmap.h | 37 void orangefs_bufmap_page_fill(void *kaddr, int buffer_index, int slot_index);
|
D | orangefs-bufmap.c | 540 int slot_index) in orangefs_bufmap_page_fill() argument 546 page_from = kmap_atomic(from->page_array[slot_index]); in orangefs_bufmap_page_fill()
|
/Linux-v6.1/drivers/gpu/drm/qxl/ |
D | qxl_kms.c | 67 unsigned int slot_index, in setup_slot() argument 74 slot->index = slot_index; in setup_slot()
|
/Linux-v6.1/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_core.c | 686 int slot_index; in reserve_space() local 711 slot_index = local->slot_queue[SLOT_QUEUE_INDEX_FROM_POS_MASKED(tx_pos)]; in reserve_space() 713 (char *)SLOT_DATA_FROM_INDEX(state, slot_index); in reserve_space() 800 int slot_index = local->slot_queue[slot_queue_available & in process_free_queue() local 802 char *data = (char *)SLOT_DATA_FROM_INDEX(state, slot_index); in process_free_queue() 813 state->id, slot_index, data, local->slot_queue_recycle, in process_free_queue() 3245 int slot_index; in vchiq_release_message() local 3253 slot_index = SLOT_INDEX_FROM_DATA(state, (void *)header); in vchiq_release_message() 3255 if ((slot_index >= remote->slot_first) && in vchiq_release_message() 3256 (slot_index <= remote->slot_last)) { in vchiq_release_message() [all …]
|
/Linux-v6.1/sound/soc/fsl/ |
D | fsl_easrc.c | 756 if (slot->slot_index == 0) { in fsl_easrc_config_one_slot() 811 if (slot->slot_index == 1) in fsl_easrc_config_one_slot() 834 if (slot->slot_index == 1) in fsl_easrc_config_one_slot() 886 slota->slot_index = 0; in fsl_easrc_config_slot() 890 slota->slot_index = 1; in fsl_easrc_config_slot()
|
D | fsl_easrc.h | 579 int slot_index; member
|
/Linux-v6.1/drivers/scsi/mpi3mr/mpi/ |
D | mpi30_cnfg.h | 1703 __le16 slot_index; member 1761 __le16 slot_index; member 2092 __le16 slot_index; member 2289 __le16 slot_index; member
|
/Linux-v6.1/drivers/scsi/hisi_sas/ |
D | hisi_sas_main.c | 2169 int slot_index = i * slots_per_blk; in hisi_sas_alloc() local 2178 for (j = 0; j < slots_per_blk; j++, slot_index++) { in hisi_sas_alloc() 2181 slot = &hisi_hba->slot_info[slot_index]; in hisi_sas_alloc() 2184 slot->idx = slot_index; in hisi_sas_alloc()
|
/Linux-v6.1/drivers/net/wireless/ath/wcn36xx/ |
D | hal.h | 3546 u32 slot_index; member
|