/linux-6.6.21/drivers/s390/char/ |
D | con3215.c | 144 static void raw3215_mk_read_req(struct raw3215_info *raw) in raw3215_mk_read_req() argument 150 req = raw->queued_read; in raw3215_mk_read_req() 155 req->info = raw; in raw3215_mk_read_req() 156 raw->queued_read = req; in raw3215_mk_read_req() 163 ccw->cda = (__u32)__pa(raw->inbuf); in raw3215_mk_read_req() 172 static void raw3215_mk_write_req(struct raw3215_info *raw) in raw3215_mk_write_req() argument 178 if (raw->count <= raw->written) in raw3215_mk_write_req() 181 req = raw->queued_write; in raw3215_mk_write_req() 186 req->info = raw; in raw3215_mk_write_req() 187 raw->queued_write = req; in raw3215_mk_write_req() [all …]
|
/linux-6.6.21/drivers/video/fbdev/via/ |
D | via_modesetting.c | 20 struct via_display_timing raw; in via_set_primary_timing() local 22 raw.hor_total = timing->hor_total / 8 - 5; in via_set_primary_timing() 23 raw.hor_addr = timing->hor_addr / 8 - 1; in via_set_primary_timing() 24 raw.hor_blank_start = timing->hor_blank_start / 8 - 1; in via_set_primary_timing() 25 raw.hor_blank_end = timing->hor_blank_end / 8 - 1; in via_set_primary_timing() 26 raw.hor_sync_start = timing->hor_sync_start / 8; in via_set_primary_timing() 27 raw.hor_sync_end = timing->hor_sync_end / 8; in via_set_primary_timing() 28 raw.ver_total = timing->ver_total - 2; in via_set_primary_timing() 29 raw.ver_addr = timing->ver_addr - 1; in via_set_primary_timing() 30 raw.ver_blank_start = timing->ver_blank_start - 1; in via_set_primary_timing() [all …]
|
/linux-6.6.21/drivers/firmware/arm_scmi/ |
D | raw_mode.c | 240 struct scmi_raw_mode_info *raw; member 249 scmi_raw_queue_select(struct scmi_raw_mode_info *raw, unsigned int idx, in scmi_raw_queue_select() argument 253 return raw->q[idx]; in scmi_raw_queue_select() 255 return xa_load(&raw->chans_q, chan_id); in scmi_raw_queue_select() 336 scmi_xfer_raw_waiter_get(struct scmi_raw_mode_info *raw, struct scmi_xfer *xfer, in scmi_xfer_raw_waiter_get() argument 341 mutex_lock(&raw->free_mtx); in scmi_xfer_raw_waiter_get() 342 if (!list_empty(&raw->free_waiters)) { in scmi_xfer_raw_waiter_get() 343 rw = list_first_entry(&raw->free_waiters, in scmi_xfer_raw_waiter_get() 355 mutex_unlock(&raw->free_mtx); in scmi_xfer_raw_waiter_get() 360 static void scmi_xfer_raw_waiter_put(struct scmi_raw_mode_info *raw, in scmi_xfer_raw_waiter_put() argument [all …]
|
/linux-6.6.21/drivers/staging/greybus/ |
D | raw.c | 55 static int receive_data(struct gb_raw *raw, u32 len, u8 *data) in receive_data() argument 58 struct device *dev = &raw->connection->bundle->dev; in receive_data() 66 mutex_lock(&raw->list_lock); in receive_data() 67 if ((raw->list_data + len) > MAX_DATA_SIZE) { in receive_data() 79 raw->list_data += len; in receive_data() 83 list_add_tail(&raw_data->entry, &raw->list); in receive_data() 85 mutex_unlock(&raw->list_lock); in receive_data() 93 struct gb_raw *raw = greybus_get_drvdata(connection->bundle); in gb_raw_request_handler() local 120 return receive_data(raw, len, receive->data); in gb_raw_request_handler() 123 static int gb_raw_send(struct gb_raw *raw, u32 len, const char __user *data) in gb_raw_send() argument [all …]
|
/linux-6.6.21/drivers/media/rc/img-ir/ |
D | img-ir-raw.c | 20 struct img_ir_priv_raw *raw = &priv->raw; in img_ir_refresh_raw() local 21 struct rc_dev *rc_dev = priv->raw.rdev; in img_ir_refresh_raw() 33 if (multiple && ir_status == raw->last_status) in img_ir_refresh_raw() 35 raw->last_status = ir_status; in img_ir_refresh_raw() 48 struct img_ir_priv_raw *raw = &priv->raw; in img_ir_isr_raw() local 51 if (!raw->rdev) in img_ir_isr_raw() 57 mod_timer(&raw->timer, jiffies + msecs_to_jiffies(ECHO_TIMEOUT_MS)); in img_ir_isr_raw() 68 struct img_ir_priv *priv = from_timer(priv, t, raw.timer); in img_ir_echo_timer() 73 if (priv->raw.rdev) in img_ir_echo_timer() 87 if (!priv->raw.rdev) in img_ir_setup_raw() [all …]
|
D | img-ir-sony.c | 11 static int img_ir_sony_scancode(int len, u64 raw, u64 enabled_protocols, in img_ir_sony_scancode() argument 20 func = raw & 0x7f; /* first 7 bits */ in img_ir_sony_scancode() 21 raw >>= 7; in img_ir_sony_scancode() 22 dev = raw & 0x1f; /* next 5 bits */ in img_ir_sony_scancode() 29 func = raw & 0x7f; /* first 7 bits */ in img_ir_sony_scancode() 30 raw >>= 7; in img_ir_sony_scancode() 31 dev = raw & 0xff; /* next 8 bits */ in img_ir_sony_scancode() 38 func = raw & 0x7f; /* first 7 bits */ in img_ir_sony_scancode() 39 raw >>= 7; in img_ir_sony_scancode() 40 dev = raw & 0x1f; /* next 5 bits */ in img_ir_sony_scancode() [all …]
|
D | img-ir-rc5.c | 11 static int img_ir_rc5_scancode(int len, u64 raw, u64 enabled_protocols, in img_ir_rc5_scancode() argument 17 raw >>= 2; in img_ir_rc5_scancode() 19 start = (raw >> 13) & 0x01; in img_ir_rc5_scancode() 20 tgl = (raw >> 11) & 0x01; in img_ir_rc5_scancode() 21 addr = (raw >> 6) & 0x1f; in img_ir_rc5_scancode() 22 cmd = raw & 0x3f; in img_ir_rc5_scancode() 27 cmd += ((raw >> 12) & 0x01) ? 0 : 0x40; in img_ir_rc5_scancode()
|
D | img-ir-rc6.c | 11 static int img_ir_rc6_scancode(int len, u64 raw, u64 enabled_protocols, in img_ir_rc6_scancode() argument 33 raw >>= 27; in img_ir_rc6_scancode() 35 trl1 = (raw >> 17) & 0x01; in img_ir_rc6_scancode() 36 trl2 = (raw >> 16) & 0x01; in img_ir_rc6_scancode() 38 mode = (raw >> 18) & 0x07; in img_ir_rc6_scancode() 39 addr = (raw >> 8) & 0xff; in img_ir_rc6_scancode() 40 cmd = raw & 0xff; in img_ir_rc6_scancode()
|
/linux-6.6.21/drivers/media/rc/ |
D | rc-ir-raw.c | 25 struct ir_raw_event_ctrl *raw = data; in ir_raw_event_thread() local 26 struct rc_dev *dev = raw->dev; in ir_raw_event_thread() 30 while (kfifo_out(&raw->kfifo, &ev, 1)) { in ir_raw_event_thread() 34 if (is_timing_event(raw->prev_ev) && in ir_raw_event_thread() 35 !is_transition(&ev, &raw->prev_ev)) in ir_raw_event_thread() 44 raw->prev_ev = ev; in ir_raw_event_thread() 53 } else if (!kfifo_is_empty(&raw->kfifo)) in ir_raw_event_thread() 74 if (!dev->raw) in ir_raw_event_store() 80 if (!kfifo_put(&dev->raw->kfifo, *ev)) { in ir_raw_event_store() 105 if (!dev->raw) in ir_raw_event_store_edge() [all …]
|
D | bpf-lirc.c | 141 struct ir_raw_event_ctrl *raw; in lirc_bpf_attach() local 151 raw = rcdev->raw; in lirc_bpf_attach() 152 if (!raw) { in lirc_bpf_attach() 157 old_array = lirc_rcu_dereference(raw->progs); in lirc_bpf_attach() 167 rcu_assign_pointer(raw->progs, new_array); in lirc_bpf_attach() 179 struct ir_raw_event_ctrl *raw; in lirc_bpf_detach() local 189 raw = rcdev->raw; in lirc_bpf_detach() 190 if (!raw) { in lirc_bpf_detach() 195 old_array = lirc_rcu_dereference(raw->progs); in lirc_bpf_detach() 205 rcu_assign_pointer(raw->progs, new_array); in lirc_bpf_detach() [all …]
|
/linux-6.6.21/drivers/acpi/ |
D | acpi_lpat.c | 24 int raw) in acpi_lpat_raw_to_temp() argument 30 if ((raw >= lpat[i].raw && raw <= lpat[i+1].raw) || in acpi_lpat_raw_to_temp() 31 (raw <= lpat[i].raw && raw >= lpat[i+1].raw)) in acpi_lpat_raw_to_temp() 39 delta_raw = lpat[i+1].raw - lpat[i].raw; in acpi_lpat_raw_to_temp() 40 temp = lpat[i].temp + (raw - lpat[i].raw) * delta_temp / delta_raw; in acpi_lpat_raw_to_temp() 60 int i, delta_temp, delta_raw, raw; in acpi_lpat_temp_to_raw() local 72 delta_raw = lpat[i+1].raw - lpat[i].raw; in acpi_lpat_temp_to_raw() 73 raw = lpat[i].raw + (temp - lpat[i].temp) * delta_raw / delta_temp; in acpi_lpat_temp_to_raw() 75 return raw; in acpi_lpat_temp_to_raw()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/ |
D | dc_dp_types.h | 164 uint8_t raw; member 197 uint8_t raw; member 205 uint8_t raw; member 215 uint8_t raw; member 225 uint8_t raw; member 233 uint8_t raw; member 243 uint8_t raw; member 257 uint8_t raw; member 271 uint8_t raw; member 280 uint8_t raw; member [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/protocols/ |
D | link_dp_irq_handler.c | 67 lane_status.raw = dp_get_nibble_at_index( in dp_parse_link_loss_status() 68 &hpd_irq_dpcd_data->bytes.lane01_status.raw, in dp_parse_link_loss_status() 130 &psr_configuration.raw, in handle_hpd_irq_psr_sink() 131 sizeof(psr_configuration.raw)); in handle_hpd_irq_psr_sink() 146 psr_error_status.raw = dpcdbuf[0]; in handle_hpd_irq_psr_sink() 148 psr_sink_psr_status.raw = dpcdbuf[2]; in handle_hpd_irq_psr_sink() 160 &psr_error_status.raw, in handle_hpd_irq_psr_sink() 161 sizeof(psr_error_status.raw)); in handle_hpd_irq_psr_sink() 198 &replay_configuration.raw, in handle_hpd_irq_replay_sink() 199 sizeof(replay_configuration.raw)); in handle_hpd_irq_replay_sink() [all …]
|
/linux-6.6.21/fs/jffs2/ |
D | gc.c | 27 struct jffs2_raw_node_ref *raw); 41 struct jffs2_raw_node_ref *raw, struct jffs2_inode_info *f); 129 struct jffs2_raw_node_ref *raw; in jffs2_garbage_collect_pass() local 290 raw = jeb->gc_node; in jffs2_garbage_collect_pass() 293 while(ref_obsolete(raw)) { in jffs2_garbage_collect_pass() 295 ref_offset(raw)); in jffs2_garbage_collect_pass() 296 raw = ref_next(raw); in jffs2_garbage_collect_pass() 297 if (unlikely(!raw)) { in jffs2_garbage_collect_pass() 302 jeb->gc_node = raw; in jffs2_garbage_collect_pass() 308 jeb->gc_node = raw; in jffs2_garbage_collect_pass() [all …]
|
D | wbuf.c | 184 struct jffs2_raw_node_ref *raw, in jffs2_incore_replace_raw() argument 198 if (f->metadata && f->metadata->raw == raw) { in jffs2_incore_replace_raw() 200 return &f->metadata->raw; in jffs2_incore_replace_raw() 205 while (!frag->node || frag->node->raw != raw) { in jffs2_incore_replace_raw() 210 return &frag->node->raw; in jffs2_incore_replace_raw() 214 if (fd->raw == raw) { in jffs2_incore_replace_raw() 216 return &fd->raw; in jffs2_incore_replace_raw() 278 struct jffs2_raw_node_ref *raw, *next, *first_raw = NULL; in jffs2_wbuf_recover() local 298 for (next = raw = jeb->first_node; next; raw = next) { in jffs2_wbuf_recover() 299 next = ref_next(raw); in jffs2_wbuf_recover() [all …]
|
/linux-6.6.21/kernel/bpf/ |
D | inode.c | 32 static void *bpf_any_get(void *raw, enum bpf_type type) in bpf_any_get() argument 36 bpf_prog_inc(raw); in bpf_any_get() 39 bpf_map_inc_with_uref(raw); in bpf_any_get() 42 bpf_link_inc(raw); in bpf_any_get() 49 return raw; in bpf_any_get() 52 static void bpf_any_put(void *raw, enum bpf_type type) in bpf_any_put() argument 56 bpf_prog_put(raw); in bpf_any_put() 59 bpf_map_put_with_uref(raw); in bpf_any_put() 62 bpf_link_put(raw); in bpf_any_put() 72 void *raw; in bpf_fd_probe_obj() local [all …]
|
/linux-6.6.21/drivers/video/ |
D | sticore.c | 163 .font_start_addr = (void *)STI_PTR(font->raw), in sti_putc() 567 cooked_font->raw = nf; in sti_select_fbfont() 586 unsigned char *p = (unsigned char *)font->raw; in sti_dump_font() 591 font->raw->bytes_per_char); in sti_dump_font() 593 for (n = 0; n < 256 * font->raw->bytes_per_char; n += 16, p += 16) { in sti_dump_font() 609 if ((font->raw->width == width) && in sti_search_font() 610 (font->raw->height == height)) in sti_search_font() 645 struct sti_rom *rom = sti->rom->raw; in sti_dump_rom() 665 struct sti_rom_font *f = font_start->raw; in sti_dump_rom() 690 cooked_font->raw = raw_font; in sti_cook_fonts() [all …]
|
/linux-6.6.21/drivers/input/misc/ |
D | hp_sdc_rtc.c | 184 int64_t raw; in hp_sdc_rtc_read_rt() local 188 raw = hp_sdc_rtc_read_i8042timer(HP_SDC_CMD_LOAD_RT, 5); in hp_sdc_rtc_read_rt() 189 if (raw < 0) return -1; in hp_sdc_rtc_read_rt() 191 tenms = (uint32_t)raw & 0xffffff; in hp_sdc_rtc_read_rt() 192 days = (unsigned int)(raw >> 24) & 0xffff; in hp_sdc_rtc_read_rt() 203 int64_t raw; in hp_sdc_rtc_read_fhs() local 206 raw = hp_sdc_rtc_read_i8042timer(HP_SDC_CMD_LOAD_FHS, 2); in hp_sdc_rtc_read_fhs() 207 if (raw < 0) return -1; in hp_sdc_rtc_read_fhs() 209 tenms = (unsigned int)raw & 0xffff; in hp_sdc_rtc_read_fhs() 220 int64_t raw; in hp_sdc_rtc_read_mt() local [all …]
|
/linux-6.6.21/drivers/block/ |
D | amiflop.c | 779 static unsigned long scan_sync(unsigned long raw, unsigned long end) in scan_sync() argument 781 ushort *ptr = (ushort *)raw, *endp = (ushort *)end; in scan_sync() 805 static unsigned long decode (unsigned long *data, unsigned long *raw, in decode() argument 812 odd = raw; in decode() 816 raw += len * 2; in decode() 822 return (ulong)raw; in decode() 837 unsigned long raw; in amiga_read() local 844 raw = (long) raw_buf; in amiga_read() 845 end = raw + unit[drive].type->read_size; in amiga_read() 848 if (!(raw = scan_sync(raw, end))) { in amiga_read() [all …]
|
/linux-6.6.21/arch/mips/vdso/ |
D | Makefile | 84 $(obj)/%.so.raw: OBJCOPYFLAGS := -S 85 $(obj)/%.so.raw: $(obj)/%.so.dbg.raw FORCE 92 $(foreach file,$(filter %.raw,$^),cp $(file) $(file:%.raw=%) &&) \ 93 $(obj)/genvdso $(<:%.raw=%) $(<:%.dbg.raw=%) $@ $(VDSO_NAME) 104 targets += vdso.so.dbg.raw vdso.so.raw 115 $(obj)/vdso.so.dbg.raw: $(obj)/vdso.lds $(obj-vdso) FORCE 118 $(obj)/vdso-image.c: $(obj)/vdso.so.dbg.raw $(obj)/vdso.so.raw \ 131 targets += vdso-o32.so.dbg.raw vdso-o32.so.raw 153 $(obj)/vdso-o32.so.dbg.raw: $(obj)/vdso-o32.lds $(obj-vdso-o32) FORCE 157 $(obj)/vdso-o32-image.c: $(obj)/vdso-o32.so.dbg.raw $(obj)/vdso-o32.so.raw \ [all …]
|
/linux-6.6.21/drivers/power/supply/ |
D | ds2782_battery.c | 100 s16 raw; in ds278x_get_temp() local 109 err = ds278x_read_reg16(info, DS278x_REG_TEMP_MSB, &raw); in ds278x_get_temp() 112 *temp = ((raw / 32) * 125) / 100; in ds278x_get_temp() 121 s16 raw; in ds2782_get_current() local 138 err = ds278x_read_reg16(info, DS278x_REG_CURRENT_MSB, &raw); in ds2782_get_current() 141 *current_uA = raw * (DS2782_CURRENT_UNITS / sense_res); in ds2782_get_current() 147 s16 raw; in ds2782_get_voltage() local 154 err = ds278x_read_reg16(info, DS278x_REG_VOLT_MSB, &raw); in ds2782_get_voltage() 157 *voltage_uV = (raw / 32) * 4800; in ds2782_get_voltage() 164 u8 raw; in ds2782_get_capacity() local [all …]
|
D | ds2760_battery.c | 94 char raw[DS2760_DATA_SIZE]; /* raw DS2760 data */ member 273 ret = w1_ds2760_read(di->dev, di->raw + start, start, count); in ds2760_battery_read_status() 284 di->voltage_raw = (di->raw[DS2760_VOLTAGE_MSB] << 3) | in ds2760_battery_read_status() 285 (di->raw[DS2760_VOLTAGE_LSB] >> 5); in ds2760_battery_read_status() 291 (((signed char)di->raw[DS2760_CURRENT_MSB]) << 5) | in ds2760_battery_read_status() 292 (di->raw[DS2760_CURRENT_LSB] >> 3); in ds2760_battery_read_status() 297 (((signed char)di->raw[DS2760_CURRENT_ACCUM_MSB]) << 8) | in ds2760_battery_read_status() 298 di->raw[DS2760_CURRENT_ACCUM_LSB]; in ds2760_battery_read_status() 304 di->temp_raw = (((signed char)di->raw[DS2760_TEMP_MSB]) << 3) | in ds2760_battery_read_status() 305 (di->raw[DS2760_TEMP_LSB] >> 5); in ds2760_battery_read_status() [all …]
|
/linux-6.6.21/drivers/net/dsa/qca/ |
D | ar9331.c | 610 struct ar9331_sw_stats_raw raw; in ar9331_read_stats() local 615 &raw, sizeof(raw) / sizeof(u32)); in ar9331_read_stats() 624 stats->rx_bytes += raw.rxgoodbyte; in ar9331_read_stats() 625 stats->tx_bytes += raw.txbyte; in ar9331_read_stats() 627 stats->rx_packets += raw.rx64byte + raw.rx128byte + raw.rx256byte + in ar9331_read_stats() 628 raw.rx512byte + raw.rx1024byte + raw.rx1518byte + raw.rxmaxbyte; in ar9331_read_stats() 629 stats->tx_packets += raw.tx64byte + raw.tx128byte + raw.tx256byte + in ar9331_read_stats() 630 raw.tx512byte + raw.tx1024byte + raw.tx1518byte + raw.txmaxbyte; in ar9331_read_stats() 632 stats->rx_length_errors += raw.rxrunt + raw.rxfragment + raw.rxtoolong; in ar9331_read_stats() 633 stats->rx_crc_errors += raw.rxfcserr; in ar9331_read_stats() [all …]
|
/linux-6.6.21/arch/x86/lib/ |
D | kaslr.c | 56 unsigned long raw, random = get_boot_seed(); in kaslr_get_random_long() local 67 if (rdrand_long(&raw)) { in kaslr_get_random_long() 68 random ^= raw; in kaslr_get_random_long() 76 raw = rdtsc(); in kaslr_get_random_long() 78 random ^= raw; in kaslr_get_random_long() 90 : "=a" (random), "=d" (raw) in kaslr_get_random_long() 92 random += raw; in kaslr_get_random_long()
|
/linux-6.6.21/drivers/acpi/pmic/ |
D | intel_pmic_xpower.c | 297 int raw) in intel_xpower_lpat_raw_to_temp() argument 309 if (first.raw < last.raw) in intel_xpower_lpat_raw_to_temp() 310 raw = clamp(raw, first.raw, last.raw); in intel_xpower_lpat_raw_to_temp() 312 raw = clamp(raw, last.raw, first.raw); in intel_xpower_lpat_raw_to_temp() 314 return acpi_lpat_raw_to_temp(lpat_table, raw); in intel_xpower_lpat_raw_to_temp()
|