Home
last modified time | relevance | path

Searched refs:base_id (Results 1 - 25 of 39) sorted by relevance

12

/kernel/linux/linux-5.10/arch/mips/kernel/
H A 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()
1923 unsigned int base_id = raw_id & 0x7f; octeon_pmu_map_raw_event() local
[all...]
/kernel/linux/linux-6.6/arch/mips/kernel/
H A 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()
1856 unsigned int base_id = config & 0x7f; octeon_pmu_map_raw_event() local
[all...]
/kernel/linux/linux-5.10/drivers/hwspinlock/
H A Dhwspinlock_core.c358 /* Find the hwspinlock device: we need its base_id */ in of_hwspin_lock_get_id()
384 id += hwlock->bank->base_id; in of_hwspin_lock_get_id()
476 * @base_id: id of the first hardware spinlock in this bank
487 const struct hwspinlock_ops *ops, int base_id, int num_locks) in hwspin_lock_register()
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()
602 * @base_id
486 hwspin_lock_register(struct hwspinlock_device *bank, struct device *dev, const struct hwspinlock_ops *ops, int base_id, int num_locks) hwspin_lock_register() argument
612 devm_hwspin_lock_register(struct device *dev, struct hwspinlock_device *bank, const struct hwspinlock_ops *ops, int base_id, int num_locks) devm_hwspin_lock_register() argument
[all...]
H A Dhwspinlock_internal.h50 * @base_id: id index of the first lock in this device
57 int base_id; member
66 return hwlock->bank->base_id + local_id; in hwlock_to_id()
H A Domap_hwspinlock.c82 int base_id = 0; in omap_hwspinlock_probe() local
135 base_id, num_locks); in omap_hwspinlock_probe()
H A Du8500_hsem.c120 pdata->base_id, num_locks); in u8500_hsem_probe()
/kernel/linux/linux-6.6/drivers/hwspinlock/
H A Dhwspinlock_core.c358 /* Find the hwspinlock device: we need its base_id */ in of_hwspin_lock_get_id()
384 id += hwlock->bank->base_id; in of_hwspin_lock_get_id()
476 * @base_id: id of the first hardware spinlock in this bank
487 const struct hwspinlock_ops *ops, int base_id, int num_locks) in hwspin_lock_register()
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()
602 * @base_id
486 hwspin_lock_register(struct hwspinlock_device *bank, struct device *dev, const struct hwspinlock_ops *ops, int base_id, int num_locks) hwspin_lock_register() argument
612 devm_hwspin_lock_register(struct device *dev, struct hwspinlock_device *bank, const struct hwspinlock_ops *ops, int base_id, int num_locks) devm_hwspin_lock_register() argument
[all...]
H A Dhwspinlock_internal.h50 * @base_id: id index of the first lock in this device
57 int base_id; member
66 return hwlock->bank->base_id + local_id; in hwlock_to_id()
H A Domap_hwspinlock.c83 int base_id = 0; in omap_hwspinlock_probe() local
134 base_id, num_locks); in omap_hwspinlock_probe()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/include/linux/
H A Dhwspinlock.h30 * @base_id: base id for this hwspinlock device
53 int base_id; member
59 const struct hwspinlock_ops *ops, int base_id, int num_locks);
80 int base_id, int num_locks);
/kernel/linux/linux-6.6/include/linux/
H A Dhwspinlock.h30 * @base_id: base id for this hwspinlock device
53 int base_id; member
59 const struct hwspinlock_ops *ops, int base_id, int num_locks);
80 int base_id, int num_locks);
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A 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()
H A Dfs_cmd.h113 int mlx5_cmd_fc_bulk_query(struct mlx5_core_dev *dev, u32 base_id, int bulk_len,
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A 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()
H A Dfs_cmd.h119 int mlx5_cmd_fc_bulk_query(struct mlx5_core_dev *dev, u32 base_id, int bulk_len,
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
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()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Dvpstate.h14 u8 base_id; member
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Dvpstate.h14 u8 base_id; member
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dvpstate.c60 h->base_id = nvbios_rd08(b, h->offset + 0x0f); in nvbios_vpstate_parse()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dvpstate.c60 h->base_id = nvbios_rd08(b, h->offset + 0x0f); in nvbios_vpstate_parse()
/kernel/linux/linux-5.10/drivers/soc/ti/
H A 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()
1797 kdev->base_id = temp[0]; in knav_queue_probe()
/kernel/linux/linux-6.6/drivers/soc/ti/
H A 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()

Completed in 22 milliseconds

12