/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/ |
D | dp_audio.c | 128 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 …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/timens/ |
D | timerfd.c | 27 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()
|
D | timer.c | 20 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()
|
/kernel/linux/linux-5.10/drivers/xen/xen-pciback/ |
D | conf_space_capability.c | 114 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 …]
|
/kernel/linux/linux-5.10/scripts/ |
D | diffconfig | 51 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))
|
/kernel/linux/linux-5.10/kernel/irq/ |
D | proc.c | 141 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() 158 if (cpumask_subset(new_value, cpu_isolated_mask)) { in write_irq_affinity() 168 if (!cpumask_intersects(new_value, cpu_online_mask)) { in write_irq_affinity() 175 err = irq_set_affinity(irq, new_value); in write_irq_affinity() 181 free_cpumask_var(new_value); in write_irq_affinity() 244 cpumask_var_t new_value; in default_affinity_write() local 247 if (!alloc_cpumask_var(&new_value, GFP_KERNEL)) in default_affinity_write() [all …]
|
/kernel/linux/linux-5.10/net/sctp/ |
D | sysctl.c | 402 int ret, new_value; in proc_sctp_do_rto_min() local 408 tbl.data = &new_value; in proc_sctp_do_rto_min() 414 if (new_value > max || new_value < min) in proc_sctp_do_rto_min() 417 net->sctp.rto_min = new_value; in proc_sctp_do_rto_min() 430 int ret, new_value; in proc_sctp_do_rto_max() local 436 tbl.data = &new_value; in proc_sctp_do_rto_max() 442 if (new_value > max || new_value < min) in proc_sctp_do_rto_max() 445 net->sctp.rto_max = new_value; in proc_sctp_do_rto_max() 466 int new_value, ret; in proc_sctp_do_auth() local 472 tbl.data = &new_value; in proc_sctp_do_auth() [all …]
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | power.h | 456 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 …]
|
/kernel/linux/linux-5.10/kernel/power/ |
D | qos.c | 101 int prev_value, curr_value, new_value; in pm_qos_update_target() local 108 new_value = c->default_value; in pm_qos_update_target() 110 new_value = value; in pm_qos_update_target() 124 plist_node_init(node, new_value); in pm_qos_update_target() 290 void cpu_latency_qos_update_request(struct pm_qos_request *req, s32 new_value) in cpu_latency_qos_update_request() argument 300 trace_pm_qos_update_request(new_value); in cpu_latency_qos_update_request() 302 if (new_value == req->node.prio) in cpu_latency_qos_update_request() 305 cpu_latency_qos_apply(req, PM_QOS_UPDATE_REQ, new_value); in cpu_latency_qos_update_request() 564 int freq_qos_update_request(struct freq_qos_request *req, s32 new_value) in freq_qos_update_request() argument 573 if (req->pnode.prio == new_value) in freq_qos_update_request() [all …]
|
/kernel/linux/linux-5.10/drivers/watchdog/ |
D | bcm63xx_wdt.c | 171 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()
|
D | at91rm9200_wdt.c | 164 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()
|
D | pika_wdt.c | 178 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()
|
/kernel/linux/linux-5.10/tools/build/feature/ |
D | test-timerfd.c | 9 struct itimerspec new_value; in main() local 15 if (timerfd_settime(fd, 0, &new_value, NULL) != 0) in main()
|
/kernel/linux/linux-5.10/tools/usb/usbip/libsrc/ |
D | sysfs_utils.c | 10 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()
|
D | sysfs_utils.h | 6 int write_sysfs_attribute(const char *attr_path, const char *new_value,
|
/kernel/linux/linux-5.10/scripts/kconfig/ |
D | preprocess.c | 283 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()
|
/kernel/linux/linux-5.10/security/selinux/ |
D | selinuxfs.c | 145 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 …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | pm_qos.h | 150 void cpu_latency_qos_update_request(struct pm_qos_request *req, s32 new_value); 161 s32 new_value) {} in cpu_latency_qos_update_request() argument 172 int dev_pm_qos_update_request(struct dev_pm_qos_request *req, s32 new_value); 242 s32 new_value) in dev_pm_qos_update_request() argument 307 int freq_qos_update_request(struct freq_qos_request *req, s32 new_value);
|
/kernel/linux/linux-5.10/kernel/events/ |
D | callchain.c | 240 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()
|
/kernel/linux/linux-5.10/kernel/ |
D | profile.c | 438 cpumask_var_t new_value; in prof_cpu_mask_proc_write() local 441 if (!alloc_cpumask_var(&new_value, GFP_KERNEL)) in prof_cpu_mask_proc_write() 444 err = cpumask_parse_user(buffer, count, new_value); in prof_cpu_mask_proc_write() 446 cpumask_copy(prof_cpu_mask, new_value); in prof_cpu_mask_proc_write() 449 free_cpumask_var(new_value); in prof_cpu_mask_proc_write()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
D | rtl871x_mp.c | 218 u32 org_value, bit_shift, new_value; in set_bb_reg() local 223 new_value = (org_value & (~bitmask)) | (value << bit_shift); in set_bb_reg() 225 new_value = value; in set_bb_reg() 227 return r8712_bb_reg_write(pAdapter, offset, new_value); in set_bb_reg() 243 u32 org_value, bit_shift, new_value; in set_rf_reg() local 248 new_value = (org_value & (~bitmask)) | (value << bit_shift); in set_rf_reg() 250 new_value = value; in set_rf_reg() 252 return r8712_rf_reg_write(pAdapter, path, offset, new_value); in set_rf_reg()
|
/kernel/linux/linux-5.10/tools/testing/selftests/mqueue/ |
D | mq_perf_tests.c | 249 int new_value; in set() local 254 new_value = get(stream); in set() 255 if (new_value != value) in set() 262 int new_value; in try_set() local 266 new_value = get(stream); in try_set() 267 return new_value == value; in try_set()
|
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/ |
D | pinctrl-rza2.c | 177 u8 new_value; in rza2_chip_set() local 179 new_value = readb(priv->base + RZA2_PODR(port)); in rza2_chip_set() 182 new_value |= BIT(pin); in rza2_chip_set() 184 new_value &= ~BIT(pin); in rza2_chip_set() 186 writeb(new_value, priv->base + RZA2_PODR(port)); in rza2_chip_set()
|
/kernel/linux/linux-5.10/drivers/hid/ |
D | hid-roccat.c | 252 uint8_t *new_value; in roccat_report_event() local 256 new_value = kmemdup(data, device->report_size, GFP_ATOMIC); in roccat_report_event() 257 if (!new_value) in roccat_report_event() 267 report->value = new_value; in roccat_report_event()
|
/kernel/linux/linux-5.10/Documentation/trace/ |
D | events-power.rst | 88 dev_pm_qos_add_request "device=%s type=%s new_value=%d" 89 dev_pm_qos_update_request "device=%s type=%s new_value=%d" 90 dev_pm_qos_remove_request "device=%s type=%s new_value=%d"
|