Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_env.c41 u8 slot_index) in __mlxsw_env_linecard_is_active() argument
47 u8 slot_index) in mlxsw_env_linecard_is_active() argument
814 slot_index, in mlxsw_env_temp_event_set()
962 u8 slot_index; member
982 event->slot_index, in mlxsw_env_pmpe_event_work()
1031 event->slot_index = slot_index; in mlxsw_env_pmpe_listener_func()
1060 u8 slot_index) in mlxsw_env_module_oper_state_event_enable() argument
1271 u8 slot_index) in mlxsw_env_linecard_modules_power_mode_apply() argument
1314 slot_index); in mlxsw_env_got_active()
1320 slot_index); in mlxsw_env_got_active()
[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,
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,
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,
57 int mlxsw_env_module_port_up(struct mlxsw_core *mlxsw_core, u8 slot_index,
[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()
263 mlxsw_m_port->slot_index = slot_index; in mlxsw_m_port_create()
270 (mlxsw_m_port->slot_index - 1) * in mlxsw_m_port_create()
323 u8 module, width, slot_index; in mlxsw_m_port_module_map() local
329 &width, &slot_index); in mlxsw_m_port_module_map()
460 slot_index, i); in mlxsw_m_linecard_ports_create()
491 slot_index, i); in mlxsw_m_linecard_ports_remove()
[all …]
H A Dcore_linecards.c720 u8 slot_index, card_type; in mlxsw_linecard_status_process() local
729 if (WARN_ON(slot_index != linecard->slot_index)) in mlxsw_linecard_status_process()
816 linecard->slot_index, in mlxsw_linecard_status_event_to_work()
825 linecard->slot_index); in __mlxsw_linecard_fix_fsm_state()
953 u8 slot_index; in mlxsw_linecard_bct_process() local
962 linecard->slot_index); in mlxsw_linecard_bct_process()
1252 u8 slot_index) in mlxsw_linecard_init() argument
1258 linecard->slot_index = slot_index; in mlxsw_linecard_init()
1277 u8 slot_index) in mlxsw_linecard_fini() argument
1295 u8 slot_index) in mlxsw_linecard_event_delivery_init() argument
[all …]
H A Dcore_thermal.c105 u8 slot_index; member
113 u8 slot_index; member
413 if (module_tz->slot_index) in mlxsw_thermal_module_tz_init()
457 module_tz->slot_index = area->slot_index; in mlxsw_thermal_module_init()
541 if (gearbox_tz->slot_index) in mlxsw_thermal_gearbox_tz_init()
609 gearbox_tz->slot_index = area->slot_index; in mlxsw_thermal_gearboxes_init()
643 linecard = &thermal->line_cards[slot_index]; in mlxsw_thermal_got_active()
648 linecard->slot_index = slot_index; in mlxsw_thermal_got_active()
653 slot_index); in mlxsw_thermal_got_active()
661 slot_index); in mlxsw_thermal_got_active()
[all …]
H A Dcore_hwmon.c55 u8 slot_index; member
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()
797 linecard = &hwmon->line_cards[slot_index]; in mlxsw_hwmon_got_active()
804 linecard->slot_index = slot_index; in mlxsw_hwmon_got_active()
809 slot_index); in mlxsw_hwmon_got_active()
816 slot_index); in mlxsw_hwmon_got_active()
828 slot_index); in mlxsw_hwmon_got_active()
842 linecard = &hwmon->line_cards[slot_index]; in mlxsw_hwmon_got_inactive()
[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()
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
1063 u8 slot_index = mlxsw_sp_port->mapping.slot_index; in mlxsw_sp_get_module_eeprom_by_page() local
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
1225 return mlxsw_env_get_module_power_mode(mlxsw_sp->core, slot_index, in mlxsw_sp_get_module_power_mode()
1236 u8 slot_index = mlxsw_sp_port->mapping.slot_index; in mlxsw_sp_set_module_power_mode() local
[all …]
H A Dreg.h6127 MLXSW_ITEM32(reg, pmpe, slot_index, 0x00, 24, 4);
6291 MLXSW_ITEM32(reg, pllp, slot_index, 0x08, 0, 4);
6300 u8 *split_num, u8 *slot_index) in mlxsw_reg_pllp_unpack() argument
9753 mlxsw_reg_mcia_slot_set(payload, slot_index); in mlxsw_reg_mcia_pack()
11271 MLXSW_ITEM32(reg, mbct, slot_index, 0x00, 0, 4);
11392 MLXSW_ITEM32(reg, mddt, slot_index, 0x00, 8, 4);
11504 MLXSW_ITEM32(reg, mddq, slot_index, 0x00, 0, 4);
11591 __mlxsw_reg_mddq_pack(payload, slot_index, in mlxsw_reg_mddq_slot_info_pack()
11649 __mlxsw_reg_mddq_pack(payload, slot_index, in mlxsw_reg_mddq_device_info_pack()
11681 __mlxsw_reg_mddq_pack(payload, slot_index, in mlxsw_reg_mddq_slot_name_pack()
[all …]
H A Dcore.h256 u8 slot_index, u32 port_number, bool split,
598 u8 slot_index; member
631 mlxsw_linecard_get(struct mlxsw_linecards *linecards, u8 slot_index) in mlxsw_linecard_get() argument
633 return &linecards->linecards[slot_index - 1]; in mlxsw_linecard_get()
649 u8 slot_index, void *priv);
H A Dspectrum.c590 u8 slot_index; in mlxsw_sp_port_module_info_parse() local
633 port_mapping->slot_index = slot_index; in mlxsw_sp_port_module_info_parse()
669 port_mapping->slot_index); in mlxsw_sp_port_module_map()
686 u8 slot_index, u8 module) in mlxsw_sp_port_module_unmap() argument
715 mlxsw_sp_port->mapping.slot_index, in mlxsw_sp_port_open()
728 mlxsw_sp_port->mapping.slot_index, in mlxsw_sp_port_stop()
1562 u8 slot_index = mlxsw_sp_port->mapping.slot_index; in mlxsw_sp_port_overheat_init_val_set() local
1592 u8 *slot_index) in mlxsw_sp_port_label_info_get() argument
1616 u8 slot_index; in mlxsw_sp_port_create() local
1894 port_mapping->slot_index, in mlxsw_sp_port_create()
[all …]
H A Dcore.c3124 u8 slot_index, u32 port_number, bool split, in __mlxsw_core_port_init() argument
3147 if (slot_index) { in __mlxsw_core_port_init()
3151 slot_index); in __mlxsw_core_port_init()
3174 u8 slot_index, u32 port_number, bool split, in mlxsw_core_port_init() argument
3183 DEVLINK_PORT_FLAVOUR_PHYSICAL, slot_index, in mlxsw_core_port_init()
H A Dspectrum.h142 u8 slot_index; member
/openbmc/linux/io_uring/
H A Dfiletable.c64 u32 slot_index) in io_install_fixed_file() argument
74 if (slot_index >= ctx->nr_user_files) in io_install_fixed_file()
77 slot_index = array_index_nospec(slot_index, ctx->nr_user_files); in io_install_fixed_file()
78 file_slot = io_fixed_file_slot(&ctx->file_table, slot_index); in io_install_fixed_file()
81 ret = io_queue_rsrc_removal(ctx->file_data, slot_index, in io_install_fixed_file()
87 io_file_bitmap_clear(&ctx->file_table, slot_index); in io_install_fixed_file()
90 *io_get_tag_slot(ctx->file_data, slot_index) = 0; in io_install_fixed_file()
92 io_file_bitmap_set(&ctx->file_table, slot_index); in io_install_fixed_file()
/openbmc/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.c540 int slot_index) in orangefs_bufmap_page_fill() argument
546 page_from = kmap_atomic(from->page_array[slot_index]); in orangefs_bufmap_page_fill()
/openbmc/linux/kernel/dma/
H A Dswiotlb.c1012 unsigned int slot_index; in swiotlb_area_find_slots() local
1052 slot_index = slot_base + index; in swiotlb_area_find_slots()
1053 tlb_addr = slot_addr(tbl_dma_addr, slot_index); in swiotlb_area_find_slots()
1063 if (!iommu_is_span_boundary(slot_index, nslots, in swiotlb_area_find_slots()
1066 if (pool->slots[slot_index].list >= nslots) in swiotlb_area_find_slots()
1083 for (i = slot_index; i < slot_index + nslots; i++) { in swiotlb_area_find_slots()
1086 ((i - slot_index) << IO_TLB_SHIFT)); in swiotlb_area_find_slots()
1088 for (i = slot_index - 1; in swiotlb_area_find_slots()
1101 return slot_index; in swiotlb_area_find_slots()
/openbmc/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()
/openbmc/linux/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_core.c696 int slot_index; in reserve_space() local
723 (char *)SLOT_DATA_FROM_INDEX(state, slot_index); in reserve_space()
810 int slot_index = local->slot_queue[slot_queue_available & in process_free_queue() local
812 char *data = (char *)SLOT_DATA_FROM_INDEX(state, slot_index); in process_free_queue()
823 state->id, slot_index, data, local->slot_queue_recycle, in process_free_queue()
3253 int slot_index; in vchiq_release_message() local
3261 slot_index = SLOT_INDEX_FROM_DATA(state, (void *)header); in vchiq_release_message()
3263 if ((slot_index >= remote->slot_first) && in vchiq_release_message()
3264 (slot_index <= remote->slot_last)) { in vchiq_release_message()
3269 SLOT_INFO_FROM_INDEX(state, slot_index); in vchiq_release_message()
[all …]
/openbmc/linux/sound/soc/fsl/
H A Dfsl_easrc.c756 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()
H A Dfsl_easrc.h579 int slot_index; member
/openbmc/linux/drivers/scsi/mpi3mr/mpi/
H A Dmpi30_cnfg.h1785 __le16 slot_index; member
1843 __le16 slot_index; member
2174 __le16 slot_index; member
2371 __le16 slot_index; member
/openbmc/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c2232 int slot_index = i * slots_per_blk; in hisi_sas_alloc() local
2241 for (j = 0; j < slots_per_blk; j++, slot_index++) { in hisi_sas_alloc()
2244 slot = &hisi_hba->slot_info[slot_index]; in hisi_sas_alloc()
2247 slot->idx = slot_index; in hisi_sas_alloc()
/openbmc/linux/drivers/net/wireless/ath/wcn36xx/
H A Dhal.h3546 u32 slot_index; member