/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | alternative.h | 50 #define b_altinstr(num) "664"#num argument 51 #define e_altinstr(num) "665"#num argument 56 #define altinstr_len(num) e_altinstr(num)"b-"b_altinstr(num)"b" argument 57 #define oldinstr_pad_len(num) \ argument 58 "-(((" altinstr_len(num) ")-(" oldinstr_len ")) > 0) * " \ 59 "((" altinstr_len(num) ")-(" oldinstr_len "))" 70 #define OLDINSTR_PADDING(oldinstr, num) \ argument 71 ".if " oldinstr_pad_len(num) " > 6\n" \ 74 "\t.fill (" oldinstr_pad_len(num) " - (6620b-662b)) / 2, 2, 0x0700\n" \ 76 "\t.fill " oldinstr_pad_len(num) " / 6, 6, 0xc0040000\n" \ [all …]
|
/kernel/liteos_a/lib/libc/musl/src/ |
D | memset.c | 41 size_t num = n; in memset() local 43 if (num == 0) { in memset() 58 if (num >= unalignedCnt) { in memset() 59 num = num - unalignedCnt; in memset() 61 unalignedCnt = num; in memset() 62 num = 0; in memset() 71 while (num >= 32) { /* 32, byte aligned */ in memset() 76 num -= 32; /* 32, size of four uint64_t data */ in memset() 79 if (num == 0) { in memset() 84 if (num >= 16) { /* 16, byte aligned */ in memset() [all …]
|
D | memcmp.c | 42 size_t num = n; in memcmp() local 44 while (num >= SIZE_U64) { in memcmp() 50 num -= SIZE_U64; in memcmp() 52 if (num == 0) { in memcmp() 57 if (num >= SIZE_U32) { in memcmp() 63 num -= SIZE_U32; in memcmp() 65 if (num == 0) { in memcmp() 69 for (; num && (*s1 == *s2); num--, s1++, s2++) { in memcmp() 71 return num ? *s1 - *s2 : 0; in memcmp()
|
/kernel/uniproton/src/utility/lib/include/ |
D | prt_lib_external.h | 27 #define OS_32BIT_MOD(num) ((num) % 32) argument 29 #define OS_GET_64BIT_HIGH_32BIT(num) ((U32)((num) >> 32)) argument 30 #define OS_GET_64BIT_LOW_32BIT(num) ((U32)((num) & 0xFFFFFFFFU)) argument 32 #define OS_GET_32BIT_HIGH_8BIT(num) (((num) >> 24) & 0xffU) argument 33 #define OS_GET_32BIT_LOW_8BIT(num) ((num) & 0xffU) argument 35 #define OS_GET_32BIT_HIGH_16BIT(num) ((num) >> 16) argument 36 #define OS_GET_32BIT_LOW_16BIT(num) ((num) & 0xFFFFU) argument 38 #define OS_GET_16BIT_HIGH_8BIT(num) ((num) >> 8) argument 40 #define OS_GET_8BIT_HIGH_4BIT(num) ((num) >> 4) argument 41 #define OS_GET_8BIT_LOW_4BIT(num) ((num) & 0xFU) argument [all …]
|
/kernel/linux/linux-5.10/tools/power/cpupower/utils/idle_monitor/ |
D | cpuidle_sysfs.c | 79 void fix_up_intel_idle_driver_name(char *tmp, int num) in fix_up_intel_idle_driver_name() argument 83 switch (num) { in fix_up_intel_idle_driver_name() 95 switch (num) { in fix_up_intel_idle_driver_name() 110 switch (num) { in fix_up_intel_idle_driver_name() 143 int num; in cpuidle_register() local 155 for (num = 0; num < cpuidle_sysfs_monitor.hw_states_num; num++) { in cpuidle_register() 156 tmp = cpuidle_state_name(this_cpu, num); in cpuidle_register() 161 fix_up_intel_idle_driver_name(tmp, num); in cpuidle_register() 162 strncpy(cpuidle_cstates[num].name, tmp, CSTATE_NAME_LEN - 1); in cpuidle_register() 165 tmp = cpuidle_state_desc(this_cpu, num); in cpuidle_register() [all …]
|
D | snb_idle.c | 113 int num, cpu; in snb_start() local 116 for (num = 0; num < SNB_CSTATE_COUNT; num++) { in snb_start() 118 snb_get_count(num, &val, cpu); in snb_start() 119 previous_count[num][cpu] = val; in snb_start() 129 int num, cpu; in snb_stop() local 133 for (num = 0; num < SNB_CSTATE_COUNT; num++) { in snb_stop() 135 is_valid[cpu] = !snb_get_count(num, &val, cpu); in snb_stop() 136 current_count[num][cpu] = val; in snb_stop() 146 int num; in snb_register() local 167 for (num = 0; num < SNB_CSTATE_COUNT; num++) { in snb_register() [all …]
|
D | hsw_ext_idle.c | 115 int num, cpu; in hsw_ext_start() local 118 for (num = 0; num < HSW_EXT_CSTATE_COUNT; num++) { in hsw_ext_start() 120 hsw_ext_get_count(num, &val, cpu); in hsw_ext_start() 121 previous_count[num][cpu] = val; in hsw_ext_start() 131 int num, cpu; in hsw_ext_stop() local 135 for (num = 0; num < HSW_EXT_CSTATE_COUNT; num++) { in hsw_ext_stop() 137 is_valid[cpu] = !hsw_ext_get_count(num, &val, cpu); in hsw_ext_stop() 138 current_count[num][cpu] = val; in hsw_ext_stop() 148 int num; in hsw_ext_register() local 162 for (num = 0; num < HSW_EXT_CSTATE_COUNT; num++) { in hsw_ext_register() [all …]
|
D | nhm_idle.c | 128 int num, cpu; in nhm_start() local 133 for (num = 0; num < NHM_CSTATE_COUNT; num++) { in nhm_start() 135 is_valid[cpu] = !nhm_get_count(num, &val, cpu); in nhm_start() 136 previous_count[num][cpu] = val; in nhm_start() 148 int num, cpu; in nhm_stop() local 152 for (num = 0; num < NHM_CSTATE_COUNT; num++) { in nhm_stop() 154 is_valid[cpu] = !nhm_get_count(num, &val, cpu); in nhm_stop() 155 current_count[num][cpu] = val; in nhm_stop() 168 int num; in intel_nhm_register() local 181 for (num = 0; num < NHM_CSTATE_COUNT; num++) { in intel_nhm_register() [all …]
|
D | cpupower-monitor.c | 222 unsigned int num; in parse_monitor_param() local 238 for (num = 0; num < avail_monitors; num++) { in parse_monitor_param() 239 if (!strcmp(monitors[num]->name, token)) { in parse_monitor_param() 241 tmp_mons[hits] = monitors[num]; in parse_monitor_param() 284 unsigned int num; in fork_it() local 292 for (num = 0; num < avail_monitors; num++) in fork_it() 293 monitors[num]->start(); in fork_it() 313 for (num = 0; num < avail_monitors; num++) in fork_it() 314 monitors[num]->stop(); in fork_it() 326 unsigned int num; in do_interval_measure() local [all …]
|
D | amd_fam14h_idle.c | 230 int num, cpu; in amd_fam14h_start() local 232 for (num = 0; num < AMD_FAM14H_STATE_NUM; num++) { in amd_fam14h_start() 234 amd_fam14h_init(&amd_fam14h_cstates[num], cpu); in amd_fam14h_start() 247 int num, cpu; in amd_fam14h_stop() local 252 for (num = 0; num < AMD_FAM14H_STATE_NUM; num++) { in amd_fam14h_stop() 254 amd_fam14h_disable(&amd_fam14h_cstates[num], cpu); in amd_fam14h_stop() 278 int num; in amd_fam14h_register() local 293 for (num = 0; num < AMD_FAM14H_STATE_NUM - 1; num++) { in amd_fam14h_register() 294 previous_count[num] = calloc(cpu_count, in amd_fam14h_register() 296 current_count[num] = calloc(cpu_count, in amd_fam14h_register() [all …]
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | early-quirks.c | 31 static void __init fix_hypertransport_config(int num, int slot, int func) in fix_hypertransport_config() argument 40 htcfg = read_pci_config(num, slot, func, 0x68); in fix_hypertransport_config() 50 write_pci_config(num, slot, func, 0x68, htcfg); in fix_hypertransport_config() 57 static void __init via_bugs(int num, int slot, int func) in via_bugs() argument 80 static void __init nvidia_bugs(int num, int slot, int func) in nvidia_bugs() argument 88 if (num) in nvidia_bugs() 116 static u32 __init ati_ixp4x0_rev(int num, int slot, int func) in ati_ixp4x0_rev() argument 121 b = read_pci_config_byte(num, slot, func, 0xac); in ati_ixp4x0_rev() 123 write_pci_config_byte(num, slot, func, 0xac, b); in ati_ixp4x0_rev() 125 d = read_pci_config(num, slot, func, 0x70); in ati_ixp4x0_rev() [all …]
|
D | topology.c | 98 int arch_register_cpu(int num) in arch_register_cpu() argument 100 struct cpuinfo_x86 *c = &cpu_data(num); in arch_register_cpu() 119 if (num == 0 && cpu0_hotpluggable) { in arch_register_cpu() 132 if (num || cpu0_hotpluggable) in arch_register_cpu() 133 per_cpu(cpu_devices, num).cpu.hotpluggable = 1; in arch_register_cpu() 135 return register_cpu(&per_cpu(cpu_devices, num).cpu, num); in arch_register_cpu() 139 void arch_unregister_cpu(int num) in arch_unregister_cpu() argument 141 unregister_cpu(&per_cpu(cpu_devices, num).cpu); in arch_unregister_cpu() 146 static int __init arch_register_cpu(int num) in arch_register_cpu() argument 148 return register_cpu(&per_cpu(cpu_devices, num).cpu, num); in arch_register_cpu()
|
/kernel/uniproton/src/core/kernel/timer/swtmr/ |
D | prt_swtmr_internal.h | 57 #define UWROLLNUM(num) ((num) & 0x03ffffffU) argument 72 #define UWSORTINDEX(num) ((num) >> 26) argument 88 #define EVALUATE_H(num, value) ((num) = (((num) & 0x03ffffffU) | ((value) << 26))) argument 105 #define EVALUATE_L(num, value) ((num) = (((num) & 0xfc000000U) | (value))) argument 158 #define UWROLLNUMDEC(num) ((num) = ((num) - 1)) argument
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
D | audio_manager_sysfs.c | 20 int num = sscanf(buf, in manager_sysfs_add_store() local 26 if (num != 7) in manager_sysfs_add_store() 29 num = gb_audio_manager_add(&desc); in manager_sysfs_add_store() 30 if (num < 0) in manager_sysfs_add_store() 45 int num = kstrtoint(buf, 10, &id); in manager_sysfs_remove_store() local 47 if (num != 1) in manager_sysfs_remove_store() 50 num = gb_audio_manager_remove(id); in manager_sysfs_remove_store() 51 if (num) in manager_sysfs_remove_store() 52 return num; in manager_sysfs_remove_store() 66 int num = kstrtoint(buf, 10, &id); in manager_sysfs_dump_store() local [all …]
|
/kernel/linux/linux-5.10/drivers/regulator/ |
D | max77686-regulator.c | 337 #define regulator_desc_ldo(num) { \ argument 338 .name = "LDO"#num, \ 339 .of_match = of_match_ptr("LDO"#num), \ 342 .id = MAX77686_LDO##num, \ 350 .vsel_reg = MAX77686_REG_LDO1CTRL1 + num - 1, \ 352 .enable_reg = MAX77686_REG_LDO1CTRL1 + num - 1, \ 356 #define regulator_desc_lpm_ldo(num) { \ argument 357 .name = "LDO"#num, \ 358 .of_match = of_match_ptr("LDO"#num), \ 360 .id = MAX77686_LDO##num, \ [all …]
|
D | s2mps11.c | 357 #define regulator_desc_s2mps11_ldo(num, step) { \ argument 358 .name = "LDO"#num, \ 359 .id = S2MPS11_LDO##num, \ 367 .vsel_reg = S2MPS11_REG_L1CTRL + num - 1, \ 369 .enable_reg = S2MPS11_REG_L1CTRL + num - 1, \ 373 #define regulator_desc_s2mps11_buck1_4(num) { \ argument 374 .name = "BUCK"#num, \ 375 .id = S2MPS11_BUCK##num, \ 384 .vsel_reg = S2MPS11_REG_B1CTRL2 + (num - 1) * 2, \ 386 .enable_reg = S2MPS11_REG_B1CTRL1 + (num - 1) * 2, \ [all …]
|
D | max77802-regulator.c | 353 #define regulator_77802_desc_p_ldo(num, supply, log) { \ argument 354 .name = "LDO"#num, \ 355 .of_match = of_match_ptr("LDO"#num), \ 357 .id = MAX77802_LDO##num, \ 366 .vsel_reg = MAX77802_REG_LDO1CTRL1 + num - 1, \ 368 .enable_reg = MAX77802_REG_LDO1CTRL1 + num - 1, \ 374 #define regulator_77802_desc_n_ldo(num, supply, log) { \ argument 375 .name = "LDO"#num, \ 376 .of_match = of_match_ptr("LDO"#num), \ 378 .id = MAX77802_LDO##num, \ [all …]
|
/kernel/linux/linux-5.10/arch/alpha/boot/ |
D | stdio.c | 43 static char * number(char * str, unsigned long long num, int base, int size, int precision, int typ… in number() argument 58 if ((signed long long)num < 0) { in number() 60 num = - (signed long long)num; in number() 77 if (num == 0) in number() 79 else while (num != 0) { in number() 80 tmp[i++] = digits[do_div(num, base)]; in number() 113 unsigned long long num; in vsprintf() local 269 num = va_arg(args, unsigned long); in vsprintf() 271 num = (signed long) num; in vsprintf() 273 num = va_arg(args, unsigned long long); in vsprintf() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
D | mpic_timer.c | 44 #define TIMER_OFFSET(num) (1 << (TIMERS_PER_GROUP - 1 - num)) argument 114 unsigned int num; in detect_idle_cascade_timer() local 123 num = casc_priv->timer_num; in detect_idle_cascade_timer() 124 priv->timer[num].cascade_handle = casc_priv; in detect_idle_cascade_timer() 129 return &priv->timer[num]; in detect_idle_cascade_timer() 139 unsigned int num) in set_cascade_timer() argument 147 casc_priv = priv->timer[num].cascade_handle; in set_cascade_timer() 157 out_be32(&priv->regs[num].gtccr, 0); in set_cascade_timer() 158 out_be32(&priv->regs[num].gtbcr, tmp_ticks | TIMER_STOP); in set_cascade_timer() 160 out_be32(&priv->regs[num - 1].gtccr, 0); in set_cascade_timer() [all …]
|
/kernel/linux/linux-5.10/drivers/clk/ |
D | clk-si5351.c | 46 unsigned char num; member 122 static inline u8 si5351_msynth_params_address(int num) in si5351_msynth_params_address() argument 124 if (num > 5) in si5351_msynth_params_address() 125 return SI5351_CLK6_PARAMETERS + (num - 6); in si5351_msynth_params_address() 126 return SI5351_CLK0_PARAMETERS + (SI5351_PARAMETERS_LENGTH * num); in si5351_msynth_params_address() 366 int num, enum si5351_pll_src parent) in _si5351_pll_reparent() argument 368 u8 mask = (num == 0) ? SI5351_PLLA_SOURCE : SI5351_PLLB_SOURCE; in _si5351_pll_reparent() 373 if (num > 2) in _si5351_pll_reparent() 389 u8 mask = (hwdata->num == 0) ? SI5351_PLLA_SOURCE : SI5351_PLLB_SOURCE; in si5351_pll_get_parent() 409 return _si5351_pll_reparent(hwdata->drvdata, hwdata->num, in si5351_pll_set_parent() [all …]
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | virtio_ring.h | 47 unsigned int num; member 55 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) 56 #define vring_avail_event(vr) (*(__virtio16 *)&(vr)->used->ring[(vr)->num]) 57 static inline void vring_init(struct vring *vr, unsigned int num, void *p, in vring_init() argument 60 vr->num = num; in vring_init() 62 vr->avail = p + num*sizeof(struct vring_desc); in vring_init() 63 vr->used = (void *)(((uintptr_t)&vr->avail->ring[num] + sizeof(__virtio16) in vring_init() 66 static inline unsigned vring_size(unsigned int num, unsigned long align) in vring_size() argument 68 return ((sizeof(struct vring_desc) * num + sizeof(__virtio16) * (3 + num) in vring_size() 70 + sizeof(__virtio16) * 3 + sizeof(struct vring_used_elem) * num; in vring_size()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
D | mthca_profile.c | 73 int num; in mthca_make_profile() member 101 profile[MTHCA_RES_QP].num = request->num_qp; in mthca_make_profile() 102 profile[MTHCA_RES_SRQ].num = request->num_srq; in mthca_make_profile() 103 profile[MTHCA_RES_EQP].num = request->num_qp; in mthca_make_profile() 104 profile[MTHCA_RES_RDB].num = request->num_qp * request->rdb_per_qp; in mthca_make_profile() 105 profile[MTHCA_RES_CQ].num = request->num_cq; in mthca_make_profile() 106 profile[MTHCA_RES_EQ].num = MTHCA_NUM_EQS; in mthca_make_profile() 107 profile[MTHCA_RES_MCG].num = request->num_mcg; in mthca_make_profile() 108 profile[MTHCA_RES_MPT].num = request->num_mpt; in mthca_make_profile() 109 profile[MTHCA_RES_MTT].num = request->num_mtt; in mthca_make_profile() [all …]
|
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
D | timer.c | 64 unsigned long long num, den; in realtime_counter_init() local 102 num = 75; in realtime_counter_init() 111 num = 64; in realtime_counter_init() 115 num = 768; in realtime_counter_init() 119 num = 8; in realtime_counter_init() 123 num = 192; in realtime_counter_init() 127 num = 384; in realtime_counter_init() 131 num = 256; in realtime_counter_init() 137 num = 4; in realtime_counter_init() 146 reg |= num; in realtime_counter_init() [all …]
|
/kernel/linux/linux-5.10/Documentation/ABI/obsolete/ |
D | sysfs-driver-hid-roccat-ryos | 1 …sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-… 9 …sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-… 21 …sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-… 31 …sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-… 41 …sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-… 51 …sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-… 61 …sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-… 71 …sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-… 81 …sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-… 92 …sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-… [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/boot/ |
D | stdio.c | 79 static char * number(char * str, unsigned long long num, int base, int size, int precision, int typ… in number() argument 94 if ((signed long long)num < 0) { in number() 96 num = - (signed long long)num; in number() 113 if (num == 0) in number() 115 else while (num != 0) { in number() 116 tmp[i++] = digits[do_div(num, base)]; in number() 149 unsigned long long num; in vsprintf() local 305 num = va_arg(args, unsigned long); in vsprintf() 307 num = (signed long) num; in vsprintf() 309 num = va_arg(args, unsigned long long); in vsprintf() [all …]
|