Home
last modified time | relevance | path

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

/linux-6.6.21/arch/mips/kernel/
Dperf_event_mipsxx.c1709 unsigned int base_id = raw_id & 0x7f; in mipsxx_pmu_map_raw_event() local
1713 if (IS_BOTH_COUNTERS_24K_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
1727 if (IS_BOTH_COUNTERS_34K_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
1733 if (IS_RANGE_P_34K_EVENT(raw_id, base_id)) in mipsxx_pmu_map_raw_event()
1743 if (IS_BOTH_COUNTERS_74K_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
1753 if (IS_BOTH_COUNTERS_PROAPTIV_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
1766 base_id = raw_id & 0xff; in mipsxx_pmu_map_raw_event()
1767 if (IS_BOTH_COUNTERS_P5600_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
1779 base_id = config & 0xff; in mipsxx_pmu_map_raw_event()
1783 if (IS_BOTH_COUNTERS_1004K_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
[all …]
/linux-6.6.21/drivers/hwspinlock/
Dhwspinlock_core.c384 id += hwlock->bank->base_id; in of_hwspin_lock_get_id()
487 const struct hwspinlock_ops *ops, int base_id, int num_locks) in hwspin_lock_register() argument
500 bank->base_id = base_id; in hwspin_lock_register()
509 ret = hwspin_lock_register_single(hwlock, base_id + i); in hwspin_lock_register()
518 hwspin_lock_unregister_single(base_id + i); in hwspin_lock_register()
542 tmp = hwspin_lock_unregister_single(bank->base_id + i); in hwspin_lock_unregister()
615 int base_id, int num_locks) in devm_hwspin_lock_register() argument
624 ret = hwspin_lock_register(bank, dev, ops, base_id, num_locks); in devm_hwspin_lock_register()
Dhwspinlock_internal.h57 int base_id; member
66 return hwlock->bank->base_id + local_id; in hwlock_to_id()
Domap_hwspinlock.c83 int base_id = 0; in omap_hwspinlock_probe() local
134 base_id, num_locks); in omap_hwspinlock_probe()
Du8500_hsem.c120 pdata->base_id, num_locks); in u8500_hsem_probe()
/linux-6.6.21/include/linux/
Dhwspinlock.h53 int base_id; member
59 const struct hwspinlock_ops *ops, int base_id, int num_locks);
80 int base_id, int num_locks);
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
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.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_counters.c539 u32 base_id; member
563 u32 base_id; in mlx5_fc_bulk_create() local
578 err = mlx5_cmd_fc_bulk_alloc(dev, alloc_bitmask, &base_id); in mlx5_fc_bulk_create()
582 bulk->base_id = base_id; in mlx5_fc_bulk_create()
585 mlx5_fc_init(&bulk->fcs[i], bulk, base_id + i); in mlx5_fc_bulk_create()
607 mlx5_cmd_fc_free(dev, bulk->base_id); in mlx5_fc_bulk_destroy()
627 int fc_index = fc->id - bulk->base_id; in mlx5_fc_bulk_release_fc()
Dfs_cmd.h119 int mlx5_cmd_fc_bulk_query(struct mlx5_core_dev *dev, u32 base_id, int bulk_len,
Dfs_cmd.c858 int mlx5_cmd_fc_bulk_query(struct mlx5_core_dev *dev, u32 base_id, int bulk_len, in mlx5_cmd_fc_bulk_query() argument
866 MLX5_SET(query_flow_counter_in, in, flow_counter_id, base_id); in mlx5_cmd_fc_bulk_query()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/sf/
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.6.21/drivers/platform/surface/
Dsurface_dtx.c67 u8 base_id; member
295 info.base_id = SDTX_BASE_TYPE_SSH(raw.base_id); in sdtx_ioctl_get_base_info()
665 ddev->state.base.base_id == in->data[1]) in sdtx_notifier()
669 ddev->state.base.base_id = in->data[1]; in sdtx_notifier()
674 event.base.v.base_id = SDTX_BASE_TYPE_SSH(in->data[1]); in sdtx_notifier()
803 ddev->state.base.base_id == info.base_id) in __sdtx_device_state_update_base()
811 event.v.base_id = SDTX_BASE_TYPE_SSH(info.base_id); in __sdtx_device_state_update_base()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
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()
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dvpstate.h14 u8 base_id; member
/linux-6.6.21/include/uapi/linux/surface_aggregator/
Ddtx.h127 __u16 base_id; member
/linux-6.6.21/drivers/soc/ti/
Dknav_qmss_queue.c207 if (kdev->base_id <= id && in knav_queue_find_by_id()
208 kdev->base_id + kdev->num_queues > id) { in knav_queue_find_by_id()
209 id -= kdev->base_id; in knav_queue_find_by_id()
444 kdev->base_id + inst->id, inst->name); in knav_queue_debug_show_instance()
472 dev_name(kdev->dev), kdev->base_id, in knav_queue_debug_show()
473 kdev->base_id + kdev->num_queues - 1); in knav_queue_debug_show()
590 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()
1798 kdev->base_id = temp[0]; in knav_queue_probe()
Dknav_qmss.h296 unsigned base_id; member
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.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dvpstate.c60 h->base_id = nvbios_rd08(b, h->offset + 0x0f); in nvbios_vpstate_parse()
/linux-6.6.21/Documentation/locking/
Dhwspinlock.rst398 const struct hwspinlock_ops *ops, int base_id, int num_locks);
433 * @base_id: id index of the first lock in this device
440 int base_id;
/linux-6.6.21/drivers/irqchip/
Dirq-gic-v3-its.c2044 u32 base_id; member
2054 range->base_id = base; in mk_lpi_range()
2070 *base = range->base_id; in alloc_lpi_range()
2071 range->base_id += nr_lpis; in alloc_lpi_range()
2094 if (a->base_id + a->span != b->base_id) in merge_lpi_ranges()
2096 b->base_id = a->base_id; in merge_lpi_ranges()
2113 if (old->base_id < base) in free_lpi_range()
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dbase.c663 if (!nvbios_vpstate_entry(bios, &h, h.base_id, &base)) in nvkm_clk_ctor()
/linux-6.6.21/Documentation/driver-api/surface_aggregator/clients/
Ddtx.rst396 * - ``base_id``