Home
last modified time | relevance | path

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

12

/linux/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.h335 u32 base_id; member
H A Dfs_cmd.c888 int mlx5_cmd_fc_bulk_query(struct mlx5_core_dev *dev, u32 base_id, int bulk_len, in mlx5_cmd_fc_bulk_query() argument
896 MLX5_SET(query_flow_counter_in, in, flow_counter_id, base_id); in mlx5_cmd_fc_bulk_query()
/linux/drivers/hwspinlock/
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/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/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/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
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()
68 resource->base_id = obj_id; in hws_pool_create_one_resource()
H A Dfs_hws_pools.c413 create_ctx.id = fc_bulk->base_id; in mlx5_fc_get_hws_action()
H A Ddebug.c357 resource->base_id); in hws_debug_dump_context_stc_resource()
H A Daction.c249 u32 base_id; in hws_action_fixup_stc_attr() local
264 base_id = mlx5hws_pool_get_base_id(pool); in hws_action_fixup_stc_attr()
266 base_id = mlx5hws_pool_get_base_mirror_id(pool); in hws_action_fixup_stc_attr()
269 fixup_stc_attr->ste_table.ste_obj_id = base_id; in hws_action_fixup_stc_attr()
H A Dfs_hws.c507 u32 id = exe_aso->base_id; in mlx5_fs_get_action_aso_meter()
530 meter_hws_data = xa_load(meters_xa, exe_aso->base_id); in mlx5_fs_put_action_aso_meter()
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Dvpstate.h14 u8 base_id; member
/linux/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()
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()
1227 range->queue_base = temp[0] - kdev->base_id; in knav_setup_queue_range()
1825 kdev->base_id = temp[0]; in knav_queue_probe()
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()
H A Dknav_qmss.h296 unsigned base_id; member
/linux/include/uapi/linux/surface_aggregator/
H A Ddtx.h127 __u16 base_id; member
/linux/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/include/linux/
H A Dtimekeeping.h329 enum clocksource_ids base_id, u64 *cycles);
/linux/include/linux/mlx5/
H A Dfs.h268 int base_id; member
/linux/drivers/irqchip/
H A Dirq-gic-v3-its.c2103 u32 base_id; member
2113 range->base_id = base; in mk_lpi_range()
2129 *base = range->base_id; in alloc_lpi_range()
2130 range->base_id += nr_lpis; in alloc_lpi_range()
2153 if (a->base_id + a->span != b->base_id) in merge_lpi_ranges()
2155 b->base_id = a->base_id; in merge_lpi_ranges()
2172 if (old->base_id < base) in free_lpi_range()
/linux/kernel/time/
H A Dtimekeeping.c1231 static bool convert_cs_to_base(u64 *cycles, enum clocksource_ids base_id) in convert_cs_to_base() argument
1241 if (!base || base->id != base_id) in convert_cs_to_base()
1271 bool ktime_real_to_base_clock(ktime_t treal, enum clocksource_ids base_id, u64 *cycles) in ktime_real_to_base_clock() argument
1285 if (!convert_cs_to_base(cycles, base_id)) in ktime_real_to_base_clock()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dbase.c663 if (!nvbios_vpstate_entry(bios, &h, h.base_id, &base)) in nvkm_clk_ctor()

12