/linux-6.12.1/drivers/gpu/drm/msm/dp/ |
D | dp_audio.c | 49 u32 value, new_value; in dp_audio_stream_sdp() local 56 new_value = 0x02; in dp_audio_stream_sdp() 57 parity_byte = dp_utils_calculate_parity(new_value); in dp_audio_stream_sdp() 58 value |= ((new_value << HEADER_BYTE_1_BIT) in dp_audio_stream_sdp() 69 new_value = value; in dp_audio_stream_sdp() 70 parity_byte = dp_utils_calculate_parity(new_value); in dp_audio_stream_sdp() 71 value |= ((new_value << HEADER_BYTE_2_BIT) in dp_audio_stream_sdp() 84 new_value = audio->channels - 1; in dp_audio_stream_sdp() 85 parity_byte = dp_utils_calculate_parity(new_value); in dp_audio_stream_sdp() 86 value |= ((new_value << HEADER_BYTE_3_BIT) in dp_audio_stream_sdp() [all …]
|
/linux-6.12.1/tools/testing/selftests/timens/ |
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()
|
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()
|
/linux-6.12.1/net/sctp/ |
D | sysctl.c | 439 int ret, new_value; in proc_sctp_do_rto_min() local 445 tbl.data = &new_value; in proc_sctp_do_rto_min() 451 if (new_value > max || new_value < min) in proc_sctp_do_rto_min() 454 net->sctp.rto_min = new_value; in proc_sctp_do_rto_min() 467 int ret, new_value; in proc_sctp_do_rto_max() local 473 tbl.data = &new_value; in proc_sctp_do_rto_max() 479 if (new_value > max || new_value < min) in proc_sctp_do_rto_max() 482 net->sctp.rto_max = new_value; in proc_sctp_do_rto_max() 503 int new_value, ret; in proc_sctp_do_auth() local 509 tbl.data = &new_value; in proc_sctp_do_auth() [all …]
|
/linux-6.12.1/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 = (__force 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 …]
|
/linux-6.12.1/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))
|
/linux-6.12.1/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() 295 void cpu_latency_qos_update_request(struct pm_qos_request *req, s32 new_value) in cpu_latency_qos_update_request() argument 297 if (!req || cpu_latency_qos_value_invalid(new_value)) in cpu_latency_qos_update_request() 305 trace_pm_qos_update_request(new_value); in cpu_latency_qos_update_request() 307 if (new_value == req->node.prio) in cpu_latency_qos_update_request() 310 cpu_latency_qos_apply(req, PM_QOS_UPDATE_REQ, new_value); in cpu_latency_qos_update_request() 574 int freq_qos_update_request(struct freq_qos_request *req, s32 new_value) in freq_qos_update_request() argument [all …]
|
/linux-6.12.1/kernel/irq/ |
D | proc.c | 139 cpumask_var_t new_value; in write_irq_affinity() local 145 if (!zalloc_cpumask_var(&new_value, GFP_KERNEL)) in write_irq_affinity() 149 err = cpumask_parselist_user(buffer, count, new_value); in write_irq_affinity() 151 err = cpumask_parse_user(buffer, count, new_value); in write_irq_affinity() 160 if (!cpumask_intersects(new_value, cpu_online_mask)) { in write_irq_affinity() 167 err = irq_set_affinity(irq, new_value); in write_irq_affinity() 173 free_cpumask_var(new_value); in write_irq_affinity() 236 cpumask_var_t new_value; in default_affinity_write() local 239 if (!zalloc_cpumask_var(&new_value, GFP_KERNEL)) in default_affinity_write() 242 err = cpumask_parse_user(buffer, count, new_value); in default_affinity_write() [all …]
|
/linux-6.12.1/include/trace/events/ |
D | power.h | 477 s32 new_value), 479 TP_ARGS(name, type, new_value), 484 __field( s32, new_value ) 490 __entry->new_value = new_value; 498 __entry->new_value) 504 s32 new_value), 506 TP_ARGS(name, type, new_value) 512 s32 new_value), 514 TP_ARGS(name, type, new_value) 520 s32 new_value), [all …]
|
/linux-6.12.1/drivers/watchdog/ |
D | at91rm9200_wdt.c | 163 int new_value; in at91_wdt_ioctl() local 173 if (get_user(new_value, p)) in at91_wdt_ioctl() 175 if (new_value & WDIOS_DISABLECARD) in at91_wdt_ioctl() 177 if (new_value & WDIOS_ENABLECARD) in at91_wdt_ioctl() 184 if (get_user(new_value, p)) in at91_wdt_ioctl() 186 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()
|
/linux-6.12.1/security/ipe/ |
D | fs.c | 84 bool new_value, old_value; in setenforce() local 90 rc = kstrtobool_from_user(data, len, &new_value); in setenforce() 94 if (new_value != old_value) { in setenforce() 95 ipe_audit_enforce(new_value, old_value); in setenforce() 96 WRITE_ONCE(enforce, new_value); in setenforce()
|
/linux-6.12.1/fs/xfs/ |
D | xfs_attr_item.c | 81 const void *new_value, in xfs_attri_log_nameval_alloc() argument 120 nv->new_value.i_addr = nv->name.i_addr + name_len + in xfs_attri_log_nameval_alloc() 122 nv->new_value.i_len = new_value_len; in xfs_attri_log_nameval_alloc() 123 memcpy(nv->new_value.i_addr, new_value, new_value_len); in xfs_attri_log_nameval_alloc() 125 nv->new_value.i_addr = NULL; in xfs_attri_log_nameval_alloc() 126 nv->new_value.i_len = 0; in xfs_attri_log_nameval_alloc() 128 nv->new_value.i_type = XLOG_REG_TYPE_ATTR_NEWVALUE; in xfs_attri_log_nameval_alloc() 185 if (nv->new_value.i_len) { in xfs_attri_item_size() 187 *nbytes += xlog_calc_iovec_len(nv->new_value.i_len); in xfs_attri_item_size() 224 if (nv->new_value.i_len > 0) in xfs_attri_item_format() [all …]
|
/linux-6.12.1/scripts/kconfig/ |
D | preprocess.c | 287 char *new_value; in variable_add() local 313 new_value = expand_string(value); in variable_add() 315 new_value = xstrdup(value); in variable_add() 319 strlen(v->value) + strlen(new_value) + 2); in variable_add() 321 strcat(v->value, new_value); in variable_add() 322 free(new_value); in variable_add() 324 v->value = new_value; in variable_add()
|
/linux-6.12.1/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()
|
/linux-6.12.1/drivers/md/dm-vdo/ |
D | int-map.c | 529 u64 key, void *new_value, bool update, void **old_value_ptr) in update_mapping() argument 545 bucket->value = new_value; in update_mapping() 610 int vdo_int_map_put(struct int_map *map, u64 key, void *new_value, bool update, in vdo_int_map_put() argument 615 if (unlikely(new_value == NULL)) in vdo_int_map_put() 628 if (update_mapping(map, neighborhood, key, new_value, update, old_value_ptr)) in vdo_int_map_put() 658 bucket->value = new_value; in vdo_int_map_put()
|
/linux-6.12.1/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()
|
/linux-6.12.1/security/selinux/ |
D | selinuxfs.c | 142 bool old_value, new_value; in sel_write_enforce() local 159 new_value = !!scan_value; in sel_write_enforce() 162 if (new_value != old_value) { in sel_write_enforce() 171 new_value, old_value, in sel_write_enforce() 174 enforcing_set(new_value); in sel_write_enforce() 175 if (new_value) in sel_write_enforce() 177 selnl_notify_setenforce(new_value); in sel_write_enforce() 178 selinux_status_update_setenforce(new_value); in sel_write_enforce() 179 if (!new_value) in sel_write_enforce() 277 int new_value; in sel_write_disable() local [all …]
|
/linux-6.12.1/Documentation/translations/zh_CN/doc-guide/ |
D | parse-headers.rst | 89 replace \ **type**\ \ **name**\ \ **new_value**\ 92 用,但是它将使用 \ **new_value**\ 来取代默认的替换规则。 134 replace语句中, \ **new_value**\ 会自动使用 \ **typedef**\ , \ **enum**\
|
/linux-6.12.1/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);
|
/linux-6.12.1/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()
|
/linux-6.12.1/kernel/events/ |
D | callchain.c | 277 int new_value = *value, ret; in perf_event_max_stack_handler() local 280 new_table.data = &new_value; in perf_event_max_stack_handler() 289 *value = new_value; in perf_event_max_stack_handler()
|
/linux-6.12.1/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()
|
/linux-6.12.1/drivers/pinctrl/renesas/ |
D | pinctrl-rza2.c | 180 u8 new_value; in rza2_chip_set() local 182 new_value = readb(priv->base + RZA2_PODR(port)); in rza2_chip_set() 185 new_value |= BIT(pin); in rza2_chip_set() 187 new_value &= ~BIT(pin); in rza2_chip_set() 189 writeb(new_value, priv->base + RZA2_PODR(port)); in rza2_chip_set()
|
/linux-6.12.1/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()
|