/linux-4.4.14/drivers/hwspinlock/ |
H A D | hwspinlock_internal.h | 58 * @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 D | hwspinlock_core.c | 309 /* 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 D | omap_hwspinlock.c | 91 int base_id = 0; omap_hwspinlock_probe() local 147 base_id, num_locks); omap_hwspinlock_probe()
|
H A D | u8500_hsem.c | 137 pdata->base_id, num_locks); u8500_hsem_probe()
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | perf_event_mipsxx.c | 1505 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 D | knav_qmss_queue.c | 207 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 D | knav_qmss_acc.c | 47 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 D | knav_qmss.h | 297 unsigned base_id; member in struct:knav_device
|
/linux-4.4.14/include/linux/ |
H A D | hwspinlock.h | 36 * @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 D | dprc.h | 429 * @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 D | pti.c | 228 * @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 D | dprc.c | 1277 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()
|