Home
last modified time | relevance | path

Searched refs:new_value (Results 1 – 25 of 75) sorted by relevance

123

/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/dp/
H A Ddp_audio.c128 u32 value, new_value; in dp_audio_stream_sdp() local
135 new_value = 0x02; in dp_audio_stream_sdp()
136 parity_byte = dp_audio_calculate_parity(new_value); in dp_audio_stream_sdp()
137 value |= ((new_value << HEADER_BYTE_1_BIT) in dp_audio_stream_sdp()
147 new_value = value; in dp_audio_stream_sdp()
148 parity_byte = dp_audio_calculate_parity(new_value); in dp_audio_stream_sdp()
149 value |= ((new_value << HEADER_BYTE_2_BIT) in dp_audio_stream_sdp()
161 new_value = audio->channels - 1; in dp_audio_stream_sdp()
162 parity_byte = dp_audio_calculate_parity(new_value); in dp_audio_stream_sdp()
163 value |= ((new_value << HEADER_BYTE_3_BIT) in dp_audio_stream_sdp()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/timens/
H A Dtimer.c20 struct itimerspec new_value; in run_test() local
32 new_value.it_value.tv_sec = 3600; in run_test()
33 new_value.it_value.tv_nsec = 0; in run_test()
34 new_value.it_interval.tv_sec = 1; in run_test()
35 new_value.it_interval.tv_nsec = 0; in run_test()
38 new_value.it_value.tv_sec += now.tv_sec; in run_test()
39 new_value.it_value.tv_nsec += now.tv_nsec; in run_test()
52 if (timer_settime(fd, flags, &new_value, NULL) == -1) in run_test()
55 if (timer_gettime(fd, &new_value) == -1) in run_test()
58 elapsed = new_value.it_value.tv_sec; in run_test()
H A Dtimerfd.c27 struct itimerspec new_value; in run_test() local
40 new_value.it_value.tv_sec = 3600; in run_test()
41 new_value.it_value.tv_nsec = 0; in run_test()
42 new_value.it_interval.tv_sec = 1; in run_test()
43 new_value.it_interval.tv_nsec = 0; in run_test()
46 new_value.it_value.tv_sec += now.tv_sec; in run_test()
47 new_value.it_value.tv_nsec += now.tv_nsec; in run_test()
57 if (timerfd_settime(fd, flags, &new_value, NULL)) in run_test()
60 if (timerfd_gettime(fd, &new_value)) in run_test()
63 elapsed = new_value.it_value.tv_sec; in run_test()
/OK3568_Linux_fs/kernel/drivers/xen/xen-pciback/
H A Dconf_space_capability.c114 static int pm_ctrl_write(struct pci_dev *dev, int offset, u16 new_value, in pm_ctrl_write() argument
125 new_state = (pci_power_t)(new_value & PCI_PM_CTRL_STATE_MASK); in pm_ctrl_write()
127 new_value &= PM_OK_BITS; in pm_ctrl_write()
128 if ((old_value & PM_OK_BITS) != new_value) { in pm_ctrl_write()
129 new_value = (old_value & ~PM_OK_BITS) | new_value; in pm_ctrl_write()
130 err = pci_write_config_word(dev, offset, new_value); in pm_ctrl_write()
216 static int msi_msix_flags_write(struct pci_dev *dev, int offset, u16 new_value, in msi_msix_flags_write() argument
231 if (new_value == old_value) in msi_msix_flags_write()
235 (new_value ^ old_value) & ~field_config->allowed_bits) in msi_msix_flags_write()
238 if (new_value & field_config->enable_bit) { in msi_msix_flags_write()
[all …]
/OK3568_Linux_fs/kernel/net/sctp/
H A Dsysctl.c392 int ret, new_value; in proc_sctp_do_rto_min() local
398 tbl.data = &new_value; in proc_sctp_do_rto_min()
404 if (new_value > max || new_value < min) in proc_sctp_do_rto_min()
407 net->sctp.rto_min = new_value; in proc_sctp_do_rto_min()
420 int ret, new_value; in proc_sctp_do_rto_max() local
426 tbl.data = &new_value; in proc_sctp_do_rto_max()
432 if (new_value > max || new_value < min) in proc_sctp_do_rto_max()
435 net->sctp.rto_max = new_value; in proc_sctp_do_rto_max()
456 int new_value, ret; in proc_sctp_do_auth() local
462 tbl.data = &new_value; in proc_sctp_do_auth()
[all …]
/OK3568_Linux_fs/u-boot/scripts/
H A Ddiffconfig51 def print_config(op, config, value, new_value): argument
55 if new_value:
56 if new_value=="n":
59 print("CONFIG_%s=%s" % (config, new_value))
64 print("+%s %s" % (config, new_value))
66 print(" %s %s -> %s" % (config, value, new_value))
/OK3568_Linux_fs/buildroot/utils/
H A Ddiffconfig57 def print_config(op, config, value, new_value): argument
61 if new_value:
62 if new_value=="n":
65 print("%s=%s" % (config, new_value))
70 print("+%s %s" % (config, new_value))
72 print(" %s %s -> %s" % (config, value, new_value))
/OK3568_Linux_fs/kernel/scripts/
H A Ddiffconfig51 def print_config(op, config, value, new_value): argument
55 if new_value:
56 if new_value=="n":
59 print("CONFIG_%s=%s" % (config, new_value))
64 print("+%s %s" % (config, new_value))
66 print(" %s %s -> %s" % (config, value, new_value))
/OK3568_Linux_fs/kernel/kernel/irq/
H A Dproc.c141 cpumask_var_t new_value; in write_irq_affinity() local
147 if (!alloc_cpumask_var(&new_value, GFP_KERNEL)) in write_irq_affinity()
151 err = cpumask_parselist_user(buffer, count, new_value); in write_irq_affinity()
153 err = cpumask_parse_user(buffer, count, new_value); in write_irq_affinity()
162 if (!cpumask_intersects(new_value, cpu_active_mask)) { in write_irq_affinity()
169 err = irq_set_affinity(irq, new_value); in write_irq_affinity()
175 free_cpumask_var(new_value); in write_irq_affinity()
238 cpumask_var_t new_value; in default_affinity_write() local
241 if (!alloc_cpumask_var(&new_value, GFP_KERNEL)) in default_affinity_write()
244 err = cpumask_parse_user(buffer, count, new_value); in default_affinity_write()
[all …]
/OK3568_Linux_fs/kernel/kernel/power/
H A Dqos.c104 int prev_value, curr_value, new_value; in pm_qos_update_target() local
111 new_value = c->default_value; in pm_qos_update_target()
113 new_value = value; in pm_qos_update_target()
127 plist_node_init(node, new_value); in pm_qos_update_target()
293 void cpu_latency_qos_update_request(struct pm_qos_request *req, s32 new_value) in cpu_latency_qos_update_request() argument
303 trace_pm_qos_update_request(new_value); in cpu_latency_qos_update_request()
305 if (new_value == req->node.prio) in cpu_latency_qos_update_request()
308 cpu_latency_qos_apply(req, PM_QOS_UPDATE_REQ, new_value); in cpu_latency_qos_update_request()
568 int freq_qos_update_request(struct freq_qos_request *req, s32 new_value) in freq_qos_update_request() argument
577 trace_android_vh_freq_qos_update_request(req, new_value); in freq_qos_update_request()
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/lib/recipetool/
H A Dcreate_buildsys_python.py453 new_value = re.sub(search, replace, value)
454 if value != new_value:
455 return new_value
460 new_value = replace_value(search, replace, value)
461 if new_value is None:
463 elif new_value != value:
464 info[variable] = new_value
469 new_value = replace_value(search, replace, a_value)
470 if new_value is not None and new_value != value:
471 new_list.append(new_value)
[all …]
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dpower.h456 s32 new_value),
458 TP_ARGS(name, type, new_value),
463 __field( s32, new_value )
469 __entry->new_value = new_value;
477 __entry->new_value)
483 s32 new_value),
485 TP_ARGS(name, type, new_value)
491 s32 new_value),
493 TP_ARGS(name, type, new_value)
499 s32 new_value),
[all …]
/OK3568_Linux_fs/external/xserver/randr/
H A Drrproviderproperty.c146 RRPropertyValueRec new_value; in RRChangeProviderProperty() local
174 new_value = *prop_value; in RRChangeProviderProperty()
184 new_value.data = (void *) malloc(total_size); in RRChangeProviderProperty()
185 if (!new_value.data && total_size) { in RRChangeProviderProperty()
190 new_value.size = len; in RRChangeProviderProperty()
191 new_value.type = type; in RRChangeProviderProperty()
192 new_value.format = format; in RRChangeProviderProperty()
196 new_data = new_value.data; in RRChangeProviderProperty()
200 new_data = (void *) (((char *) new_value.data) + in RRChangeProviderProperty()
202 old_data = new_value.data; in RRChangeProviderProperty()
[all …]
H A Drrproperty.c169 RRPropertyValueRec new_value; in RRChangeOutputProperty() local
197 new_value = *prop_value; in RRChangeOutputProperty()
206 new_value.data = xallocarray(total_len, size_in_bytes); in RRChangeOutputProperty()
207 if (!new_value.data && total_len && size_in_bytes) { in RRChangeOutputProperty()
212 new_value.size = len; in RRChangeOutputProperty()
213 new_value.type = type; in RRChangeOutputProperty()
214 new_value.format = format; in RRChangeOutputProperty()
218 new_data = new_value.data; in RRChangeOutputProperty()
222 new_data = (void *) (((char *) new_value.data) + in RRChangeOutputProperty()
224 old_data = new_value.data; in RRChangeOutputProperty()
[all …]
/OK3568_Linux_fs/kernel/drivers/watchdog/
H A Dat91rm9200_wdt.c164 int new_value; in at91_wdt_ioctl() local
174 if (get_user(new_value, p)) in at91_wdt_ioctl()
176 if (new_value & WDIOS_DISABLECARD) in at91_wdt_ioctl()
178 if (new_value & WDIOS_ENABLECARD) in at91_wdt_ioctl()
185 if (get_user(new_value, p)) in at91_wdt_ioctl()
187 if (at91_wdt_settimeout(new_value)) in at91_wdt_ioctl()
H A Dbcm63xx_wdt.c171 int new_value, retval = -EINVAL; in bcm63xx_wdt_ioctl() local
183 if (get_user(new_value, p)) in bcm63xx_wdt_ioctl()
186 if (new_value & WDIOS_DISABLECARD) { in bcm63xx_wdt_ioctl()
190 if (new_value & WDIOS_ENABLECARD) { in bcm63xx_wdt_ioctl()
202 if (get_user(new_value, p)) in bcm63xx_wdt_ioctl()
205 if (bcm63xx_wdt_settimeout(new_value)) in bcm63xx_wdt_ioctl()
H A Dpika_wdt.c178 int new_value; in pikawdt_ioctl() local
195 if (get_user(new_value, p)) in pikawdt_ioctl()
198 heartbeat = new_value; in pikawdt_ioctl()
201 return put_user(new_value, p); /* return current value */ in pikawdt_ioctl()
/OK3568_Linux_fs/kernel/scripts/kconfig/
H A Dpreprocess.c283 char *new_value; in variable_add() local
309 new_value = expand_string(value); in variable_add()
311 new_value = xstrdup(value); in variable_add()
315 strlen(v->value) + strlen(new_value) + 2); in variable_add()
317 strcat(v->value, new_value); in variable_add()
318 free(new_value); in variable_add()
320 v->value = new_value; in variable_add()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/
H A D0013-adb-Support-riscv64.patch115 +int android_atomic_cas(int32_t old_value, int32_t new_value,
118 + return __sync_val_compare_and_swap(ptr, old_value, new_value) != old_value;
122 +int android_atomic_acquire_cas(int32_t old_value, int32_t new_value,
125 + int status = android_atomic_cas(old_value, new_value, ptr);
131 +int android_atomic_release_cas(int32_t old_value, int32_t new_value,
135 + return android_atomic_cas(old_value, new_value, ptr);
/OK3568_Linux_fs/kernel/security/selinux/
H A Dselinuxfs.c145 int old_value, new_value; in sel_write_enforce() local
159 if (sscanf(page, "%d", &new_value) != 1) in sel_write_enforce()
162 new_value = !!new_value; in sel_write_enforce()
165 if (new_value != old_value) { in sel_write_enforce()
175 new_value, old_value, in sel_write_enforce()
178 enforcing_set(state, new_value); in sel_write_enforce()
179 if (new_value) in sel_write_enforce()
181 selnl_notify_setenforce(new_value); in sel_write_enforce()
182 selinux_status_update_setenforce(state, new_value); in sel_write_enforce()
183 if (!new_value) in sel_write_enforce()
[all …]
/OK3568_Linux_fs/external/xserver/Xi/
H A Dxiproperty.c692 XIPropertyValueRec new_value; in XIChangeDeviceProperty() local
718 new_value = *prop_value; in XIChangeDeviceProperty()
727 new_value.data = xallocarray(total_len, size_in_bytes); in XIChangeDeviceProperty()
728 if (!new_value.data && total_len && size_in_bytes) { in XIChangeDeviceProperty()
733 new_value.size = len; in XIChangeDeviceProperty()
734 new_value.type = type; in XIChangeDeviceProperty()
735 new_value.format = format; in XIChangeDeviceProperty()
739 new_data = new_value.data; in XIChangeDeviceProperty()
743 new_data = (void *) (((char *) new_value.data) + in XIChangeDeviceProperty()
745 old_data = new_value.data; in XIChangeDeviceProperty()
[all …]
/OK3568_Linux_fs/kernel/tools/build/feature/
H A Dtest-timerfd.c9 struct itimerspec new_value; in main() local
15 if (timerfd_settime(fd, 0, &new_value, NULL) != 0) in main()
/OK3568_Linux_fs/kernel/include/linux/
H A Dpm_qos.h151 void cpu_latency_qos_update_request(struct pm_qos_request *req, s32 new_value);
162 s32 new_value) {} in cpu_latency_qos_update_request() argument
173 int dev_pm_qos_update_request(struct dev_pm_qos_request *req, s32 new_value);
243 s32 new_value) in dev_pm_qos_update_request() argument
308 int freq_qos_update_request(struct freq_qos_request *req, s32 new_value);
/OK3568_Linux_fs/kernel/tools/usb/usbip/libsrc/
H A Dsysfs_utils.c10 int write_sysfs_attribute(const char *attr_path, const char *new_value, in write_sysfs_attribute() argument
22 length = write(fd, new_value, len); in write_sysfs_attribute()
/OK3568_Linux_fs/kernel/kernel/events/
H A Dcallchain.c240 int new_value = *value, ret; in perf_event_max_stack_handler() local
243 new_table.data = &new_value; in perf_event_max_stack_handler()
252 *value = new_value; in perf_event_max_stack_handler()

123