Home
last modified time | relevance | path

Searched refs:base_id (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.15/arch/mips/kernel/
H A Dperf_event_mipsxx.c1766 base_id = raw_id & 0xff; in mipsxx_pmu_map_raw_event()
1779 base_id = config & 0xff; in mipsxx_pmu_map_raw_event()
1831 if ((base_id >= 1 && base_id < 28) || in mipsxx_pmu_map_raw_event()
1832 (base_id >= 64 && base_id < 90) || in mipsxx_pmu_map_raw_event()
1833 (base_id >= 128 && base_id < 164) || in mipsxx_pmu_map_raw_event()
1834 (base_id >= 192 && base_id < 200) || in mipsxx_pmu_map_raw_event()
1835 (base_id >= 256 && base_id < 275) || in mipsxx_pmu_map_raw_event()
1836 (base_id >= 320 && base_id < 361) || in mipsxx_pmu_map_raw_event()
1837 (base_id >= 384 && base_id < 574)) in mipsxx_pmu_map_raw_event()
1842 base_id = raw_id; in mipsxx_pmu_map_raw_event()
[all …]
/linux-6.15/drivers/hwspinlock/
H A Dhwspinlock_core.c415 id += hwlock->bank->base_id; in of_hwspin_lock_get_id()
519 const struct hwspinlock_ops *ops, int base_id, int num_locks) in hwspin_lock_register() argument
532 bank->base_id = base_id; in hwspin_lock_register()
541 ret = hwspin_lock_register_single(hwlock, base_id + i); in hwspin_lock_register()
550 hwspin_lock_unregister_single(base_id + i); in hwspin_lock_register()
574 tmp = hwspin_lock_unregister_single(bank->base_id + i); in hwspin_lock_unregister()
647 int base_id, int num_locks) in devm_hwspin_lock_register() argument
656 ret = hwspin_lock_register(bank, dev, ops, base_id, num_locks); in devm_hwspin_lock_register()
H A Dhwspinlock_internal.h60 int base_id; member
69 return hwlock->bank->base_id + local_id; in hwlock_to_id()
H A Domap_hwspinlock.c81 int base_id = 0; in omap_hwspinlock_probe() local
123 base_id, num_locks); in omap_hwspinlock_probe()
H A Du8500_hsem.c120 pdata->base_id, num_locks); in u8500_hsem_probe()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_counters.c426 return counter->bulk->base_id; in mlx5_fc_get_base_id()
435 u32 base_id; in mlx5_fc_bulk_create() local
448 if (mlx5_cmd_fc_bulk_alloc(dev, alloc_bitmask, &base_id)) in mlx5_fc_bulk_create()
450 fc_bulk->base_id = base_id; in mlx5_fc_bulk_create()
452 mlx5_fc_init(&fc_bulk->fcs[i], fc_bulk, base_id + i); in mlx5_fc_bulk_create()
477 mlx5_cmd_fc_free(dev, fc_bulk->base_id); in mlx5_fc_bulk_destroy()
531 pool_index.index = fc->id - fc->bulk->base_id; in mlx5_fc_pool_release_counter()
563 fc_bulk->base_id = counter_id - offset; in mlx5_fc_local_create()
H A Dfs_cmd.h119 int mlx5_cmd_fc_bulk_query(struct mlx5_core_dev *dev, u32 base_id, int bulk_len,
H A Dfs_core.h352 u32 base_id; member
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dpool.h25 u32 base_id; member
142 return pool->resource[chunk->resource_idx]->base_id; in mlx5hws_pool_chunk_get_base_id()
149 return pool->mirror_resource[chunk->resource_idx]->base_id; in mlx5hws_pool_chunk_get_base_mirror_id()
H A Dpool.c11 mlx5hws_cmd_ste_destroy(resource->pool->ctx->mdev, resource->base_id); in hws_pool_free_one_resource()
14 mlx5hws_cmd_stc_destroy(resource->pool->ctx->mdev, resource->base_id); in hws_pool_free_one_resource()
71 resource->base_id = obj_id; in hws_pool_create_one_resource()
/linux-6.15/include/linux/
H A Dhwspinlock.h53 int base_id; member
59 const struct hwspinlock_ops *ops, int base_id, int num_locks);
78 int base_id, int num_locks);
H A Dtimekeeping.h317 enum clocksource_ids base_id, u64 *cycles);
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
H A Ddev.c164 u16 base_id; in mlx5_sf_dev_state_change_handler() local
170 base_id = mlx5_sf_start_function_id(table->dev); in mlx5_sf_dev_state_change_handler()
171 if (event->function_id < base_id || event->function_id >= (base_id + max_functions)) in mlx5_sf_dev_state_change_handler()
174 sf_index = event->function_id - base_id; in mlx5_sf_dev_state_change_handler()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Dhw_table.c225 static int mlx5_sf_hw_table_hwc_init(struct mlx5_sf_hwc_table *hwc, u16 max_fn, u16 base_id) in mlx5_sf_hw_table_hwc_init() argument
238 hwc->start_fn_id = base_id; in mlx5_sf_hw_table_hwc_init()
278 u16 base_id; in mlx5_sf_hw_table_init() local
307 base_id = mlx5_sf_start_function_id(dev); in mlx5_sf_hw_table_init()
308 err = mlx5_sf_hw_table_hwc_init(&table->hwc[MLX5_SF_HWC_LOCAL], max_fn, base_id); in mlx5_sf_hw_table_init()
/linux-6.15/drivers/platform/surface/
H A Dsurface_dtx.c67 u8 base_id; member
295 info.base_id = SDTX_BASE_TYPE_SSH(raw.base_id); in sdtx_ioctl_get_base_info()
664 ddev->state.base.base_id == in->data[1]) in sdtx_notifier()
668 ddev->state.base.base_id = in->data[1]; in sdtx_notifier()
673 event.base.v.base_id = SDTX_BASE_TYPE_SSH(in->data[1]); in sdtx_notifier()
802 ddev->state.base.base_id == info.base_id) in __sdtx_device_state_update_base()
810 event.v.base_id = SDTX_BASE_TYPE_SSH(info.base_id); in __sdtx_device_state_update_base()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dmeter.c28 int base_id; member
294 meters_obj->base_id = id; in __mlx5e_flow_meter_alloc()
308 meter->obj_id = meters_obj->base_id + pos / 2; in __mlx5e_flow_meter_alloc()
344 pos = (meter->obj_id - meters_obj->base_id) * 2 + meter->idx; in __mlx5e_flow_meter_free()
349 mlx5e_flow_meter_destroy_aso_obj(mdev, meters_obj->base_id); in __mlx5e_flow_meter_free()
599 return meter->meters_obj->base_id; in mlx5e_flow_meter_get_base_id()
/linux-6.15/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Dvpstate.h14 u8 base_id; member
/linux-6.15/drivers/irqchip/
H A Dirq-riscv-imsic-state.h66 void __imsic_eix_update(unsigned long base_id, unsigned long num_id, bool pend, bool val);
H A Dirq-riscv-imsic-state.c89 void __imsic_eix_update(unsigned long base_id, unsigned long num_id, bool pend, bool val) in __imsic_eix_update() argument
91 unsigned long id = base_id, last_id = base_id + num_id; in __imsic_eix_update()
/linux-6.15/include/uapi/linux/surface_aggregator/
H A Ddtx.h127 __u16 base_id; member
/linux-6.15/drivers/soc/ti/
H A Dknav_qmss_queue.c208 if (kdev->base_id <= id && in knav_queue_find_by_id()
209 kdev->base_id + kdev->num_queues > id) { in knav_queue_find_by_id()
210 id -= kdev->base_id; in knav_queue_find_by_id()
445 kdev->base_id + inst->id, inst->name); in knav_queue_debug_show_instance()
473 dev_name(kdev->dev), kdev->base_id, in knav_queue_debug_show()
474 kdev->base_id + kdev->num_queues - 1); in knav_queue_debug_show()
591 ret = qh->inst->kdev->base_id + qh->inst->id; in knav_queue_device_control()
1228 range->queue_base = temp[0] - kdev->base_id; in knav_setup_queue_range()
1826 kdev->base_id = temp[0]; in knav_queue_probe()
H A Dknav_qmss.h296 unsigned base_id; member
H A Dknav_qmss_acc.c30 range_base = kdev->base_id + range->queue_base; in __knav_acc_notify()
96 range_base = kdev->base_id + range->queue_base; in knav_acc_int_handler()
/linux-6.15/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dvpstate.c60 h->base_id = nvbios_rd08(b, h->offset + 0x0f); in nvbios_vpstate_parse()
/linux-6.15/include/linux/mlx5/
H A Dfs.h247 int base_id; member

12