/kernel/linux/linux-5.10/sound/drivers/pcsp/ |
H A D | pcsp_input.c | 44 unsigned int code, int value) in pcspkr_input_event() 55 if (value) in pcspkr_input_event() 56 value = 1000; in pcspkr_input_event() 68 if (value > 20 && value < 32767) in pcspkr_input_event() 69 count = PIT_TICK_RATE / value; in pcspkr_input_event() 43 pcspkr_input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) pcspkr_input_event() argument
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | rl6347a.c | 16 int rl6347a_hw_write(void *context, unsigned int reg, unsigned int value) in rl6347a_hw_write() argument 28 rl6347a->index_cache[i].def = value; in rl6347a_hw_write() 40 * 12 bit VID: value should be 0 in rl6347a_hw_write() 43 data[2] = ((reg >> 8) & 0xff) | ((value >> 8) & 0xff); in rl6347a_hw_write() 44 data[3] = value & 0xff; in rl6347a_hw_write() 59 int rl6347a_hw_read(void *context, unsigned int reg, unsigned int *value) in rl6347a_hw_read() argument 100 *value = be32_to_cpu(buf); in rl6347a_hw_read()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | bpf_map.c | 31 void *prev_key = NULL, *key, *value; in bpf_map__fprintf() local 46 value = bpf_map_def__alloc_value(def); in bpf_map__fprintf() 47 if (value == NULL) in bpf_map__fprintf() 53 if (!bpf_map_lookup_elem(fd, key, value)) { in bpf_map__fprintf() 54 bool boolval = *(bool *)value; in bpf_map__fprintf() 67 free(value); in bpf_map__fprintf()
|
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_scdc_helper.h | 100 * @value: return location for the register value 109 u8 *value) in drm_scdc_readb() 111 return drm_scdc_read(adapter, offset, value, sizeof(*value)); in drm_scdc_readb() 118 * @value: return location for the register value 127 u8 value) in drm_scdc_writeb() 129 return drm_scdc_write(adapter, offset, &value, sizeof(value)); in drm_scdc_writeb() 108 drm_scdc_readb(struct i2c_adapter *adapter, u8 offset, u8 *value) drm_scdc_readb() argument 126 drm_scdc_writeb(struct i2c_adapter *adapter, u8 offset, u8 value) drm_scdc_writeb() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_vic.c | 36 const void *value) in vic_provinfo_add_tlv() 40 if (!vp || !value) in vic_provinfo_add_tlv() 43 if (ntohl(vp->length) + offsetof(struct vic_provinfo_tlv, value) + in vic_provinfo_add_tlv() 52 memcpy(tlv->value, value, length); in vic_provinfo_add_tlv() 56 offsetof(struct vic_provinfo_tlv, value) + length); in vic_provinfo_add_tlv() 35 vic_provinfo_add_tlv(struct vic_provinfo *vp, u16 type, u16 length, const void *value) vic_provinfo_add_tlv() argument
|
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | log.h | 48 unsigned int value) in gfs2_log_pointers_init() 50 if (++value == sdp->sd_jdesc->jd_blocks) { in gfs2_log_pointers_init() 51 value = 0; in gfs2_log_pointers_init() 53 sdp->sd_log_tail = value; in gfs2_log_pointers_init() 54 sdp->sd_log_flush_tail = value; in gfs2_log_pointers_init() 55 sdp->sd_log_head = value; in gfs2_log_pointers_init() 47 gfs2_log_pointers_init(struct gfs2_sbd *sdp, unsigned int value) gfs2_log_pointers_init() argument
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | pci_hotplug.h | 22 * the specified value 41 int (*set_attention_status) (struct hotplug_slot *slot, u8 value); 42 int (*hardware_test) (struct hotplug_slot *slot, u32 value); 43 int (*get_power_status) (struct hotplug_slot *slot, u8 *value); 44 int (*get_attention_status) (struct hotplug_slot *slot, u8 *value); 45 int (*get_latch_status) (struct hotplug_slot *slot, u8 *value); 46 int (*get_adapter_status) (struct hotplug_slot *slot, u8 *value);
|
/kernel/linux/linux-6.6/drivers/leds/ |
H A D | leds-wrap.c | 27 enum led_brightness value) in wrap_power_led_set() 29 if (value) in wrap_power_led_set() 36 enum led_brightness value) in wrap_error_led_set() 38 if (value) in wrap_error_led_set() 45 enum led_brightness value) in wrap_extra_led_set() 47 if (value) in wrap_extra_led_set() 26 wrap_power_led_set(struct led_classdev *led_cdev, enum led_brightness value) wrap_power_led_set() argument 35 wrap_error_led_set(struct led_classdev *led_cdev, enum led_brightness value) wrap_error_led_set() argument 44 wrap_extra_led_set(struct led_classdev *led_cdev, enum led_brightness value) wrap_extra_led_set() argument
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | bpf_map.c | 31 void *prev_key = NULL, *key, *value; in bpf_map__fprintf() local 46 value = bpf_map__alloc_value(map); in bpf_map__fprintf() 47 if (value == NULL) in bpf_map__fprintf() 53 if (!bpf_map_lookup_elem(fd, key, value)) { in bpf_map__fprintf() 54 bool boolval = *(bool *)value; in bpf_map__fprintf() 67 free(value); in bpf_map__fprintf()
|
/kernel/linux/linux-6.6/sound/drivers/pcsp/ |
H A D | pcsp_input.c | 44 unsigned int code, int value) in pcspkr_input_event() 55 if (value) in pcspkr_input_event() 56 value = 1000; in pcspkr_input_event() 69 if (value > 20 && value < 32767) in pcspkr_input_event() 70 count = PIT_TICK_RATE / value; in pcspkr_input_event() 43 pcspkr_input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) pcspkr_input_event() argument
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_kfunc_dynptr_param.c | 30 __type(value, __u32); 62 __u32 *value; in BPF_PROG() local 68 value = bpf_map_lookup_elem(&array_map, &zero); in BPF_PROG() 69 if (!value) in BPF_PROG() 73 ret = bpf_dynptr_from_mem(value, sizeof(*value), ((__u64)~0ULL), &ptr); in BPF_PROG()
|
H A D | test_map_in_map.c | 13 __type(value, __u32); 21 __type(value, __u32); 31 __type(value, __u32); 53 int value = 123; in xdp_mimtest0() local 62 bpf_map_update_elem(map, &key, &value, 0); in xdp_mimtest0() 71 bpf_map_update_elem(map, &key, &value, 0); in xdp_mimtest0()
|
H A D | test_verify_pkcs7_sig.c | 39 __type(value, struct data); 51 __u64 value; in BPF_PROG() local 62 ret = bpf_probe_read_kernel(&value, sizeof(value), &attr->value); in BPF_PROG() 67 (void *)(unsigned long)value); in BPF_PROG()
|
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/full/ |
H A D | It_los_task_063.c | 43 int value; in TaskF02() local 47 HAL_READ_UINT32(&g_testCount, value); in TaskF02() 49 while (value != 4) { // 4, assert value . in TaskF02() 50 HAL_READ_UINT32(&g_testCount, value); in TaskF02() 53 HAL_READ_UINT32(&g_testCount, value); in TaskF02() 54 g_testCount = value; in TaskF02()
|
H A D | It_los_task_075.c | 42 int value; in TaskF02() local 47 HAL_READ_UINT32(&g_testCount, value); in TaskF02() 49 while (value <= 2) { // 2, Waiting for the change of value. in TaskF02() 50 HAL_READ_UINT32(&g_testCount, value); in TaskF02() 53 HAL_READ_UINT32(&g_testCount, value); in TaskF02() 54 g_testCount = value; in TaskF02()
|
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | rl6347a.c | 16 int rl6347a_hw_write(void *context, unsigned int reg, unsigned int value) in rl6347a_hw_write() argument 28 rl6347a->index_cache[i].def = value; in rl6347a_hw_write() 40 * 12 bit VID: value should be 0 in rl6347a_hw_write() 43 data[2] = ((reg >> 8) & 0xff) | ((value >> 8) & 0xff); in rl6347a_hw_write() 44 data[3] = value & 0xff; in rl6347a_hw_write() 59 int rl6347a_hw_read(void *context, unsigned int reg, unsigned int *value) in rl6347a_hw_read() argument 100 *value = be32_to_cpu(buf); in rl6347a_hw_read()
|
/kernel/linux/linux-6.6/scripts/ |
H A D | check-sysctl-docs | 36 # Remove punctuation from the given value 37 function trimpunct(value) { 38 while (value ~ /^["&]/) { 39 value = substr(value, 2) 41 while (value ~ /[]["&,}]$/) { 42 value = substr(value, 1, length(value) - 1) 44 return value [all...] |
/base/global/i18n/interfaces/js/kits/src/ |
H A D | i18n_timezone_addon.cpp | 170 napi_value value = nullptr; in GetAvailableTimezoneIDs() local 171 status = napi_create_string_utf8(env, (*it).c_str(), NAPI_AUTO_LENGTH, &value); in GetAvailableTimezoneIDs() 176 status = napi_set_element(env, result, index, value); in GetAvailableTimezoneIDs() 197 napi_value value = nullptr; in GetAvailableZoneCityIDs() local 198 status = napi_create_string_utf8(env, (*it).c_str(), NAPI_AUTO_LENGTH, &value); in GetAvailableZoneCityIDs() 203 status = napi_set_element(env, result, index, value); in GetAvailableZoneCityIDs() 281 ErrorUtil::NapiThrow(env, I18N_NOT_VALID, "longitude or latitude", "a valid value", true); in GetTimezonesByLocation() 348 napi_value value = nullptr; in GetID() local 349 status = napi_create_string_utf8(env, result.c_str(), NAPI_AUTO_LENGTH, &value); in GetID() 354 return value; in GetID() 393 napi_value value = nullptr; GetTimeZoneDisplayName() local 416 napi_value value = nullptr; GetRawOffset() local 463 napi_value value = nullptr; GetOffset() local 539 GetFirstParameter(napi_env env, napi_value value, std::string &localeStr, bool &isDST) GetFirstParameter() argument [all...] |
/kernel/linux/linux-5.10/drivers/base/power/ |
H A D | sysfs.c | 78 * that cases it should be safe to leave the default value. 80 * autosuspend_delay_ms - Report/change a device's autosuspend_delay value 85 * value (expressed in milliseconds) and it can be controlled by the user. 86 * If the value is negative then the device will never be runtime 90 * value are used only if the driver calls pm_runtime_use_autosuspend(). 215 s32 value = dev_pm_qos_requested_resume_latency(dev); in pm_qos_resume_latency_us_show() local 217 if (value == 0) in pm_qos_resume_latency_us_show() 219 if (value == PM_QOS_RESUME_LATENCY_NO_CONSTRAINT) in pm_qos_resume_latency_us_show() 220 value = 0; in pm_qos_resume_latency_us_show() 222 return sysfs_emit(buf, "%d\n", value); in pm_qos_resume_latency_us_show() 229 s32 value; pm_qos_resume_latency_us_store() local 259 s32 value = dev_pm_qos_get_user_latency_tolerance(dev); pm_qos_latency_tolerance_us_show() local 273 s32 value; pm_qos_latency_tolerance_us_store() local [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
H A D | sram242x.S | 38 mov r3, #0x1 @ value for 1x operation 57 /* get dll value */ 59 ldr r10, [r11] @ get locked value 66 mov r3, #0x2 @ value for 2x operation 74 orreq r1, r1, #0x4 @ make sure exit with unlocked value 75 str r1, [r11] @ restore DLLA_CTRL high value 77 str r1, [r11] @ set value DLLB_CTRL 98 ldr r5, [r4] @ get value. 99 ldr r6, prcm_mask_val @ get value of mask 101 orr r5, r5, r9 @ bulld value fo [all...] |
H A D | sram243x.S | 38 mov r3, #0x1 @ value for 1x operation 57 /* get dll value */ 59 ldr r10, [r11] @ get locked value 66 mov r3, #0x2 @ value for 2x operation 74 orreq r1, r1, #0x4 @ make sure exit with unlocked value 75 str r1, [r11] @ restore DLLA_CTRL high value 77 str r1, [r11] @ set value DLLB_CTRL 98 ldr r5, [r4] @ get value. 99 ldr r6, prcm_mask_val @ get value of mask 101 orr r5, r5, r9 @ bulld value fo [all...] |
/kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
H A D | sram242x.S | 38 mov r3, #0x1 @ value for 1x operation 57 /* get dll value */ 59 ldr r10, [r11] @ get locked value 66 mov r3, #0x2 @ value for 2x operation 74 orreq r1, r1, #0x4 @ make sure exit with unlocked value 75 str r1, [r11] @ restore DLLA_CTRL high value 77 str r1, [r11] @ set value DLLB_CTRL 98 ldr r5, [r4] @ get value. 99 ldr r6, prcm_mask_val @ get value of mask 101 orr r5, r5, r9 @ bulld value fo [all...] |
H A D | sram243x.S | 38 mov r3, #0x1 @ value for 1x operation 57 /* get dll value */ 59 ldr r10, [r11] @ get locked value 66 mov r3, #0x2 @ value for 2x operation 74 orreq r1, r1, #0x4 @ make sure exit with unlocked value 75 str r1, [r11] @ restore DLLA_CTRL high value 77 str r1, [r11] @ set value DLLB_CTRL 98 ldr r5, [r4] @ get value. 99 ldr r6, prcm_mask_val @ get value of mask 101 orr r5, r5, r9 @ bulld value fo [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
H A D | w996Xcf.c | 50 static void reg_w(struct sd *sd, u16 index, u16 value); 59 u16 value; in w9968cf_write_fsb() local 65 value = *data++; in w9968cf_write_fsb() 72 value, 0x06, sd->gspca_dev.usb_buf, 6, 500); in w9968cf_write_fsb() 83 static void w9968cf_write_sb(struct sd *sd, u16 value) in w9968cf_write_sb() argument 99 value, 0x01, NULL, 0, 500); in w9968cf_write_sb() 104 pr_err("Write SB reg [01] %04x failed\n", value); in w9968cf_write_sb() 249 static void w9968cf_i2c_w(struct sd *sd, u8 reg, u8 value) in w9968cf_i2c_w() argument 281 data[0] = 0x8208 | ((value & 0x80) ? 0x0015 : 0x0); in w9968cf_i2c_w() 282 data[0] |= (value in w9968cf_i2c_w() 303 u8 value; w9968cf_i2c_r() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
H A D | comedi_test.c | 108 u64 value; in fake_sawtooth() local 117 value = current_time; in fake_sawtooth() 118 value *= binary_amplitude * 2; in fake_sawtooth() 119 do_div(value, devpriv->wf_period); in fake_sawtooth() 120 value += offset; in fake_sawtooth() 121 /* get rid of sawtooth's dc offset and clamp value */ in fake_sawtooth() 122 if (value < binary_amplitude) { in fake_sawtooth() 123 value = 0; /* negative saturation */ in fake_sawtooth() 125 value -= binary_amplitude; in fake_sawtooth() 126 if (value > in fake_sawtooth() 140 u64 value; fake_squarewave() local [all...] |