Home
last modified time | relevance | path

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

/Linux-v5.15/arch/mips/kernel/
Dperf_event_mipsxx.c1775 unsigned int base_id = raw_id & 0x7f; in mipsxx_pmu_map_raw_event() local
1779 if (IS_BOTH_COUNTERS_24K_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
1793 if (IS_BOTH_COUNTERS_34K_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
1799 if (IS_RANGE_P_34K_EVENT(raw_id, base_id)) in mipsxx_pmu_map_raw_event()
1809 if (IS_BOTH_COUNTERS_74K_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
1819 if (IS_BOTH_COUNTERS_PROAPTIV_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
1832 base_id = raw_id & 0xff; in mipsxx_pmu_map_raw_event()
1833 if (IS_BOTH_COUNTERS_P5600_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
1845 base_id = config & 0xff; in mipsxx_pmu_map_raw_event()
1849 if (IS_BOTH_COUNTERS_1004K_EVENT(base_id)) in mipsxx_pmu_map_raw_event()
[all …]
/Linux-v5.15/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
136 base_id, num_locks); in omap_hwspinlock_probe()
Du8500_hsem.c120 pdata->base_id, num_locks); in u8500_hsem_probe()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
Ddev.c153 u16 base_id; in mlx5_sf_dev_state_change_handler() local
159 base_id = MLX5_CAP_GEN(table->dev, sf_base_id); in mlx5_sf_dev_state_change_handler()
160 if (event->function_id < base_id || event->function_id >= (base_id + max_functions)) in mlx5_sf_dev_state_change_handler()
163 sf_index = event->function_id - base_id; in mlx5_sf_dev_state_change_handler()
/Linux-v5.15/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-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_counters.c470 u32 base_id; member
494 u32 base_id; in mlx5_fc_bulk_create() local
510 err = mlx5_cmd_fc_bulk_alloc(dev, alloc_bitmask, &base_id); in mlx5_fc_bulk_create()
514 bulk->base_id = base_id; in mlx5_fc_bulk_create()
517 mlx5_fc_init(&bulk->fcs[i], bulk, base_id + i); in mlx5_fc_bulk_create()
539 mlx5_cmd_fc_free(dev, bulk->base_id); in mlx5_fc_bulk_destroy()
559 int fc_index = fc->id - bulk->base_id; in mlx5_fc_bulk_release_fc()
Dfs_cmd.h111 int mlx5_cmd_fc_bulk_query(struct mlx5_core_dev *dev, u32 base_id, int bulk_len,
Dfs_cmd.c744 int mlx5_cmd_fc_bulk_query(struct mlx5_core_dev *dev, u32 base_id, int bulk_len, in mlx5_cmd_fc_bulk_query() argument
752 MLX5_SET(query_flow_counter_in, in, flow_counter_id, base_id); in mlx5_cmd_fc_bulk_query()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/sf/
Dhw_table.c220 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
233 hwc->start_fn_id = base_id; in mlx5_sf_hw_table_hwc_init()
248 u16 base_id; in mlx5_sf_hw_table_init() local
272 base_id = mlx5_sf_start_function_id(dev); in mlx5_sf_hw_table_init()
273 err = mlx5_sf_hw_table_hwc_init(&table->hwc[MLX5_SF_HWC_LOCAL], max_fn, base_id); in mlx5_sf_hw_table_init()
/Linux-v5.15/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-v5.15/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dvpstate.h14 u8 base_id; member
/Linux-v5.15/include/uapi/linux/surface_aggregator/
Ddtx.h127 __u16 base_id; member
/Linux-v5.15/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()
1230 range->queue_base = temp[0] - kdev->base_id; in knav_setup_queue_range()
1800 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-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dvpstate.c60 h->base_id = nvbios_rd08(b, h->offset + 0x0f); in nvbios_vpstate_parse()
/Linux-v5.15/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-v5.15/drivers/irqchip/
Dirq-gic-v3-its.c2010 u32 base_id; member
2020 range->base_id = base; in mk_lpi_range()
2036 *base = range->base_id; in alloc_lpi_range()
2037 range->base_id += nr_lpis; in alloc_lpi_range()
2060 if (a->base_id + a->span != b->base_id) in merge_lpi_ranges()
2062 b->base_id = a->base_id; in merge_lpi_ranges()
2079 if (old->base_id < base) in free_lpi_range()
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dbase.c666 if (!nvbios_vpstate_entry(bios, &h, h.base_id, &base)) in nvkm_clk_ctor()
/Linux-v5.15/Documentation/driver-api/surface_aggregator/clients/
Ddtx.rst396 * - ``base_id``