| /linux/arch/mips/kernel/ |
| H A D | perf_event_mipsxx.c | 1708 unsigned int base_id = raw_id & 0x7f; in mipsxx_pmu_map_raw_event() local 1712 if (IS_BOTH_COUNTERS_24K_EVENT(base_id)) in mipsxx_pmu_map_raw_event() 1726 if (IS_BOTH_COUNTERS_34K_EVENT(base_id)) in mipsxx_pmu_map_raw_event() 1732 if (IS_RANGE_P_34K_EVENT(raw_id, base_id)) in mipsxx_pmu_map_raw_event() 1742 if (IS_BOTH_COUNTERS_74K_EVENT(base_id)) in mipsxx_pmu_map_raw_event() 1752 if (IS_BOTH_COUNTERS_PROAPTIV_EVENT(base_id)) in mipsxx_pmu_map_raw_event() 1765 base_id = raw_id & 0xff; in mipsxx_pmu_map_raw_event() 1766 if (IS_BOTH_COUNTERS_P5600_EVENT(base_id)) in mipsxx_pmu_map_raw_event() 1778 base_id = config & 0xff; in mipsxx_pmu_map_raw_event() 1782 if (IS_BOTH_COUNTERS_1004K_EVENT(base_id)) in mipsxx_pmu_map_raw_event() [all …]
|
| /linux/drivers/hwspinlock/ |
| H A D | hwspinlock_core.c | 415 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 D | hwspinlock_internal.h | 60 int base_id; member 69 return hwlock->bank->base_id + local_id; in hwlock_to_id()
|
| H A D | omap_hwspinlock.c | 81 int base_id = 0; in omap_hwspinlock_probe() local 123 base_id, num_locks); in omap_hwspinlock_probe()
|
| H A D | u8500_hsem.c | 120 pdata->base_id, num_locks); in u8500_hsem_probe()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fs_counters.c | 224 static void mlx5_fc_bulk_init(struct mlx5_fc_bulk *fc_bulk, u32 base_id) in mlx5_fc_bulk_init() argument 226 fc_bulk->base_id = base_id; in mlx5_fc_bulk_init() 448 return counter->bulk->base_id; in mlx5_fc_get_base_id() 457 u32 base_id; in mlx5_fc_bulk_create() local 472 if (mlx5_cmd_fc_bulk_alloc(dev, alloc_bitmask, &base_id)) in mlx5_fc_bulk_create() 475 mlx5_fc_bulk_init(fc_bulk, base_id); in mlx5_fc_bulk_create() 477 mlx5_fc_init(&fc_bulk->fcs[i], fc_bulk, base_id + i); in mlx5_fc_bulk_create() 500 mlx5_cmd_fc_free(dev, fc_bulk->base_id); in mlx5_fc_bulk_destroy() 554 pool_index.index = fc->id - fc->bulk->base_id; in mlx5_fc_pool_release_counter()
|
| H A D | fs_cmd.h | 119 int mlx5_cmd_fc_bulk_query(struct mlx5_core_dev *dev, u32 base_id, int bulk_len,
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | pool.h | 21 u32 base_id; member 101 return pool->resource->base_id; in mlx5hws_pool_get_base_id() 106 return pool->mirror_resource->base_id; in mlx5hws_pool_get_base_mirror_id()
|
| H A D | pool.c | 11 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() 68 resource->base_id = obj_id; in hws_pool_create_one_resource()
|
| /linux/include/linux/ |
| H A D | hwspinlock.h | 53 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 D | timekeeping.h | 329 enum clocksource_ids base_id, u64 *cycles);
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ |
| H A D | dev.c | 165 u16 base_id; in mlx5_sf_dev_state_change_handler() local 174 base_id = mlx5_sf_start_function_id(dev); in mlx5_sf_dev_state_change_handler() 175 if (event->function_id < base_id || event->function_id >= (base_id + max_functions)) in mlx5_sf_dev_state_change_handler() 178 sf_index = event->function_id - base_id; in mlx5_sf_dev_state_change_handler()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
| H A D | hw_table.c | 229 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 242 hwc->start_fn_id = base_id; in mlx5_sf_hw_table_hwc_init() 282 u16 base_id; in mlx5_sf_hw_table_init() local 310 base_id = mlx5_sf_start_function_id(dev); in mlx5_sf_hw_table_init() 311 err = mlx5_sf_hw_table_hwc_init(&table->hwc[MLX5_SF_HWC_LOCAL], max_fn, base_id); in mlx5_sf_hw_table_init()
|
| /linux/drivers/platform/surface/ |
| H A D | surface_dtx.c | 67 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/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| H A D | meter.c | 29 int base_id; member 290 meters_obj->base_id = id; in __mlx5e_flow_meter_alloc() 304 meter->obj_id = meters_obj->base_id + pos / 2; in __mlx5e_flow_meter_alloc() 340 pos = (meter->obj_id - meters_obj->base_id) * 2 + meter->idx; in __mlx5e_flow_meter_free() 345 mlx5e_flow_meter_destroy_aso_obj(mdev, meters_obj->base_id); in __mlx5e_flow_meter_free() 595 return meter->meters_obj->base_id; in mlx5e_flow_meter_get_base_id()
|
| /linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
| H A D | vpstate.h | 14 u8 base_id; member
|
| /linux/drivers/soc/ti/ |
| H A D | knav_qmss_queue.c | 208 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() 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() 1223 range->queue_base = temp[0] - kdev->base_id; in knav_setup_queue_range() 1814 kdev->base_id = temp[0]; in knav_queue_probe()
|
| H A D | knav_qmss_acc.c | 30 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()
|
| H A D | knav_qmss.h | 296 unsigned base_id; member
|
| /linux/drivers/irqchip/ |
| H A D | irq-riscv-imsic-state.h | 67 void __imsic_eix_update(unsigned long base_id, unsigned long num_id, bool pend, bool val);
|
| H A D | irq-riscv-imsic-state.c | 89 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/include/uapi/linux/surface_aggregator/ |
| H A D | dtx.h | 127 __u16 base_id; member
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
| H A D | vpstate.c | 60 h->base_id = nvbios_rd08(b, h->offset + 0x0f); in nvbios_vpstate_parse()
|
| /linux/include/linux/mlx5/ |
| H A D | fs.h | 268 int base_id; member
|
| /linux/Documentation/locking/ |
| H A D | hwspinlock.rst | 354 const struct hwspinlock_ops *ops, int base_id, int num_locks); 389 * @base_id: id index of the first lock in this device 396 int base_id;
|