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

/linux-4.4.14/drivers/hwspinlock/
H A Dhwspinlock_internal.h58 * @base_id: id index of the first lock in this device
65 int base_id; member in struct:hwspinlock_device
74 return hwlock->bank->base_id + local_id; hwlock_to_id()
H A Dhwspinlock_core.c309 /* Find the hwspinlock device: we need its base_id */ of_hwspin_lock_get_id()
335 id += hwlock->bank->base_id; of_hwspin_lock_get_id()
398 * @base_id: id of the first hardware spinlock in this bank
409 const struct hwspinlock_ops *ops, int base_id, int num_locks) hwspin_lock_register()
422 bank->base_id = base_id; hwspin_lock_register()
431 ret = hwspin_lock_register_single(hwlock, base_id + i); hwspin_lock_register()
440 hwspin_lock_unregister_single(base_id + i); hwspin_lock_register()
464 tmp = hwspin_lock_unregister_single(bank->base_id + i); hwspin_lock_unregister()
408 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
H A Domap_hwspinlock.c91 int base_id = 0; omap_hwspinlock_probe() local
147 base_id, num_locks); omap_hwspinlock_probe()
H A Du8500_hsem.c137 pdata->base_id, num_locks); u8500_hsem_probe()
/linux-4.4.14/arch/mips/kernel/
H A Dperf_event_mipsxx.c1505 unsigned int base_id = raw_id & 0x7f; mipsxx_pmu_map_raw_event() local
1509 if (IS_BOTH_COUNTERS_24K_EVENT(base_id)) mipsxx_pmu_map_raw_event()
1523 if (IS_BOTH_COUNTERS_34K_EVENT(base_id)) mipsxx_pmu_map_raw_event()
1529 if (IS_RANGE_P_34K_EVENT(raw_id, base_id)) mipsxx_pmu_map_raw_event()
1539 if (IS_BOTH_COUNTERS_74K_EVENT(base_id)) mipsxx_pmu_map_raw_event()
1549 if (IS_BOTH_COUNTERS_PROAPTIV_EVENT(base_id)) mipsxx_pmu_map_raw_event()
1562 base_id = raw_id & 0xff; mipsxx_pmu_map_raw_event()
1563 if (IS_BOTH_COUNTERS_P5600_EVENT(base_id)) mipsxx_pmu_map_raw_event()
1573 if (IS_BOTH_COUNTERS_1004K_EVENT(base_id)) mipsxx_pmu_map_raw_event()
1579 if (IS_RANGE_P_1004K_EVENT(raw_id, base_id)) mipsxx_pmu_map_raw_event()
1588 if (IS_BOTH_COUNTERS_INTERAPTIV_EVENT(base_id)) mipsxx_pmu_map_raw_event()
1594 if (IS_RANGE_P_INTERAPTIV_EVENT(raw_id, base_id)) mipsxx_pmu_map_raw_event()
1603 if (IS_BOTH_COUNTERS_BMIPS5000_EVENT(base_id)) mipsxx_pmu_map_raw_event()
1614 raw_event.event_id = base_id; mipsxx_pmu_map_raw_event()
1622 unsigned int base_id = raw_id & 0x7f; octeon_pmu_map_raw_event() local
1626 raw_event.event_id = base_id; octeon_pmu_map_raw_event()
1629 if (base_id > 0x42) octeon_pmu_map_raw_event()
1632 if (base_id > 0x3a) octeon_pmu_map_raw_event()
1636 switch (base_id) { octeon_pmu_map_raw_event()
/linux-4.4.14/drivers/soc/ti/
H A Dknav_qmss_queue.c207 if (kdev->base_id <= id && knav_queue_find_by_id()
208 kdev->base_id + kdev->num_queues > id) { knav_queue_find_by_id()
209 id -= kdev->base_id; knav_queue_find_by_id()
428 kdev->base_id + inst->id, inst->name); for_each_handle_rcu()
453 dev_name(kdev->dev), kdev->base_id, knav_queue_debug_show()
454 kdev->base_id + kdev->num_queues - 1); knav_queue_debug_show()
580 ret = qh->inst->kdev->base_id + qh->inst->id; knav_queue_device_control()
1211 range->queue_base = temp[0] - kdev->base_id; knav_setup_queue_range()
1729 kdev->base_id = temp[0]; knav_queue_probe()
H A Dknav_qmss_acc.c47 range_base = kdev->base_id + range->queue_base; __knav_acc_notify()
113 range_base = kdev->base_id + range->queue_base; knav_acc_int_handler()
H A Dknav_qmss.h297 unsigned base_id; member in struct:knav_device
/linux-4.4.14/include/linux/
H A Dhwspinlock.h36 * @base_id: base id for this hwspinlock device
59 int base_id; member in struct:hwspinlock_pdata
65 const struct hwspinlock_ops *ops, int base_id, int num_locks);
/linux-4.4.14/drivers/staging/fsl-mc/include/
H A Ddprc.h429 * @base_id: Base resource ID of this range
437 int base_id; member in struct:dprc_res_ids_range_desc
/linux-4.4.14/drivers/misc/
H A Dpti.c228 * @base_id: The starting SW channel ID, based on the Intel
243 int base_id, get_id()
271 mc->master = base_id; get_id()
241 get_id(u8 *id_array, int max_ids, int base_id, const char *thread_name) get_id() argument
/linux-4.4.14/drivers/staging/fsl-mc/bus/
H A Ddprc.c1277 cmd.params[1] |= mc_enc(0, 32, range_desc->base_id); dprc_get_res_ids()
1303 range_desc->base_id = mc_dec(cmd.params[1], 0, 32); dprc_get_res_ids()

Completed in 341 milliseconds