Home
last modified time | relevance | path

Searched full:raw (Results 1 – 25 of 1974) sorted by relevance

12345678910>>...79

/linux/drivers/video/fbdev/via/
H A Dvia_modesetting.c20 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/drivers/firmware/arm_scmi/
H A Draw_mode.c3 * System Control and Management Interface (SCMI) Raw mode support
10 * When enabled the SCMI Raw mode support exposes a userspace API which allows
26 * In order to avoid possible interferences between the SCMI Raw transactions
28 * when Raw mode is enabled, by default, all the regular SCMI drivers are
36 * All SCMI Raw entries are rooted under a common top /raw debugfs top directory
43 * |-- raw
133 * struct scmi_raw_queue - Generic Raw queue descriptor
135 * @free_bufs: A freelists listhead used to keep unused raw buffers
152 * struct scmi_raw_mode_info - Structure holding SCMI Raw instanc
240 struct scmi_raw_mode_info *raw; global() member
249 scmi_raw_queue_select(struct scmi_raw_mode_info * raw,unsigned int idx,unsigned int chan_id) scmi_raw_queue_select() argument
336 scmi_xfer_raw_waiter_get(struct scmi_raw_mode_info * raw,struct scmi_xfer * xfer,struct scmi_chan_info * cinfo,bool async) scmi_xfer_raw_waiter_get() argument
360 scmi_xfer_raw_waiter_put(struct scmi_raw_mode_info * raw,struct scmi_xfer_raw_waiter * rw) scmi_xfer_raw_waiter_put() argument
373 scmi_xfer_raw_waiter_enqueue(struct scmi_raw_mode_info * raw,struct scmi_xfer_raw_waiter * rw) scmi_xfer_raw_waiter_enqueue() argument
394 scmi_xfer_raw_waiter_dequeue(struct scmi_raw_mode_info * raw) scmi_xfer_raw_waiter_dequeue() argument
434 struct scmi_raw_mode_info *raw; scmi_xfer_raw_worker() local
496 scmi_xfer_raw_reset(struct scmi_raw_mode_info * raw) scmi_xfer_raw_reset() argument
527 scmi_xfer_raw_get_init(struct scmi_raw_mode_info * raw,void * buf,size_t len,struct scmi_xfer ** p) scmi_xfer_raw_get_init() argument
611 scmi_do_xfer_raw_start(struct scmi_raw_mode_info * raw,struct scmi_xfer * xfer,u8 chan_id,bool async) scmi_do_xfer_raw_start() argument
677 scmi_raw_message_send(struct scmi_raw_mode_info * raw,void * buf,size_t len,u8 chan_id,bool async) scmi_raw_message_send() argument
735 scmi_raw_message_receive(struct scmi_raw_mode_info * raw,void * buf,size_t len,size_t * size,unsigned int idx,unsigned int chan_id,bool o_nonblock) scmi_raw_message_receive() argument
890 struct scmi_raw_mode_info *raw; scmi_dbg_raw_mode_open() local
1028 scmi_raw_queue_init(struct scmi_raw_mode_info * raw) scmi_raw_queue_init() argument
1060 scmi_xfer_raw_worker_init(struct scmi_raw_mode_info * raw) scmi_xfer_raw_worker_init() argument
1090 scmi_raw_mode_setup(struct scmi_raw_mode_info * raw,u8 * channels,int num_chans) scmi_raw_mode_setup() argument
1171 struct scmi_raw_mode_info *raw; scmi_raw_mode_init() local
1248 struct scmi_raw_mode_info *raw = r; scmi_raw_mode_cleanup() local
1315 struct scmi_raw_mode_info *raw = r; scmi_raw_message_report() local
1392 scmi_xfer_raw_fill(struct scmi_raw_mode_info * raw,struct scmi_chan_info * cinfo,struct scmi_xfer * xfer,u32 msg_hdr) scmi_xfer_raw_fill() argument
1427 struct scmi_raw_mode_info *raw = r; scmi_raw_error_report() local
[all...]
/linux/drivers/staging/greybus/
H A Draw.c3 * Greybus driver for the Raw protocol
56 * Add the raw data message to the list of received messages.
58 static int receive_data(struct gb_raw *raw, u32 len, u8 *data) in receive_data() argument
61 struct device *dev = &raw->connection->bundle->dev; in receive_data()
69 mutex_lock(&raw->list_lock); in receive_data()
70 if ((raw->list_data + len) > MAX_DATA_SIZE) { in receive_data()
82 raw->list_data += len; in receive_data()
86 list_add_tail(&raw_data->entry, &raw->list); in receive_data()
88 mutex_unlock(&raw->list_lock); in receive_data()
96 struct gb_raw *raw = greybus_get_drvdata(connection->bundle); in gb_raw_request_handler() local
[all …]
/linux/drivers/media/rc/
H A Drc-ir-raw.c2 // rc-ir-raw.c - handle IR pulse/space events
13 /* Used to keep track of IR raw clients, protected by ir_raw_handler_lock */
16 /* Used to handle IR raw handler extensions */
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()
[all …]
H A Dbpf-lirc.c15 * BPF interface for raw IR
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()
[all …]
/linux/drivers/media/rc/img-ir/
H A Dimg-ir-raw.c3 * ImgTec IR Raw Decoder found in PowerDown Controller.
7 * This ties into the input subsystem using the RC-core in raw mode. Raw IR
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()
37 /* report the edge to the IR raw decoders */ 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()
[all …]
H A Dimg-ir-sony.c11 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 …]
/linux/Documentation/usb/
H A Draw-gadget.rst2 USB Raw Gadget
5 USB Raw Gadget is a gadget driver that gives userspace low-level control over
8 Like any other gadget driver, Raw Gadget implements USB devices via the
9 USB gadget API. Unlike most gadget drivers, Raw Gadget does not implement
12 Raw Gadget is currently a strictly debugging feature and should not be used
20 Raw Gadget is similar to GadgetFS but provides more direct access to the
23 1. Raw Gadget passes every USB request to userspace to get a response, while
28 2. Raw Gadget allows providing arbitrary data as responses to USB requests,
30 This makes Raw Gadget suitable for fuzzing by providing malformed data as
33 3. Raw Gadget provides a way to select a UDC device/driver to bind to,
[all …]
/linux/drivers/acpi/
H A Dacpi_lpat.c13 * acpi_lpat_raw_to_temp(): Return temperature from raw value through
17 * @raw: the raw value, used as a key to get the temperature from the
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()
47 * acpi_lpat_temp_to_raw(): Return raw value from temperature through
51 * @temp: the temperature, used as a key to get the raw value from the
54 * The raw value will be returned on success,
[all …]
/linux/tools/testing/selftests/net/
H A Dpsock_snd.sh30 echo "raw"
33 echo "raw bind"
36 echo "raw qdisc bypass"
39 echo "raw vlan"
42 echo "raw vnet hdr"
45 echo "raw csum_off"
48 echo "raw csum_off with bad offset (expected to fail)"
54 echo "raw min size"
57 echo "raw mtu size"
60 echo "raw mtu size + 1 (expected to fail)"
[all …]
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_dp_types.h170 uint8_t raw; member
203 uint8_t raw; member
211 uint8_t raw; member
221 uint8_t raw; member
231 uint8_t raw; member
239 uint8_t raw; member
249 uint8_t raw; member
263 uint8_t raw; member
277 uint8_t raw; member
286 uint8_t raw; member
[all …]
/linux/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_api.h48 /*! Read the raw table data from the specified row of the Egress CTL
50 * rec - [OUT] The raw table row data will be unpacked into the fields of rec.
66 /*! Read the raw table data from the specified row of the Egress
68 * rec - [OUT] The raw table row data will be unpacked into the fields of rec.
84 /*! Read the raw table data from the specified row of the Egress SC
86 * rec - [OUT] The raw table row data will be unpacked into the fields of rec.
102 /*! Read the raw table data from the specified row of the Egress SA
104 * rec - [OUT] The raw table row data will be unpacked into the fields of rec.
120 /*! Read the raw table data from the specified row of the Egress SA
122 * rec - [OUT] The raw table row data will be unpacked into the fields of rec.
[all …]
/linux/arch/mips/vdso/
H A DMakefile76 # Strip rule for the raw .so files
77 $(obj)/%.so.raw: OBJCOPYFLAGS := -S
78 $(obj)/%.so.raw: $(obj)/%.so.dbg.raw FORCE
85 $(foreach file,$(filter %.raw,$^),cp $(file) $(file:%.raw=%) &&) \
86 $(obj)/genvdso $(<:%.raw=%) $(<:%.dbg.raw=%) $@ $(VDSO_NAME)
97 targets += vdso.so.dbg.raw vdso.so.raw
108 $(obj)/vdso.so.dbg.raw: $(obj)/vdso.lds $(obj-vdso) FORCE
111 $(obj)/vdso-image.c: $(obj)/vdso.so.dbg.raw $(obj)/vdso.so.raw \
124 targets += vdso-o32.so.dbg.raw vdso-o32.so.raw
146 $(obj)/vdso-o32.so.dbg.raw: $(obj)/vdso-o32.lds $(obj-vdso-o32) FORCE
[all …]
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_irq_handler.c69 lane_status.raw = dp_get_nibble_at_index( in dp_parse_link_loss_status()
70 &hpd_irq_dpcd_data->bytes.lane01_status.raw, in dp_parse_link_loss_status()
132 &psr_configuration.raw, in handle_hpd_irq_psr_sink()
133 sizeof(psr_configuration.raw)); in handle_hpd_irq_psr_sink()
148 psr_error_status.raw = dpcdbuf[0]; in handle_hpd_irq_psr_sink()
150 psr_sink_psr_status.raw = dpcdbuf[2]; in handle_hpd_irq_psr_sink()
162 &psr_error_status.raw, in handle_hpd_irq_psr_sink()
163 sizeof(psr_error_status.raw)); in handle_hpd_irq_psr_sink()
203 &replay_configuration.raw, in handle_hpd_irq_replay_sink()
204 sizeof(replay_configuration.raw)); in handle_hpd_irq_replay_sink()
[all …]
/linux/drivers/video/
H A Dsticore.c163 .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/fs/jffs2/
H A Dgc.c27 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()
298 pr_warn("eep. End of raw list while still supposedly nodes to GC\n"); in jffs2_garbage_collect_pass()
302 jeb->gc_node = raw; in jffs2_garbage_collect_pass()
[all …]
H A Dwbuf.c184 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()
199 dbg_noderef("Will replace ->raw in f->metadata at %p\n", f->metadata); 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()
209 dbg_noderef("Will replace ->raw in full_dnode at %p\n", frag->node); 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()
215 dbg_noderef("Will replace ->raw in full_dirent at %p\n", fd); in jffs2_incore_replace_raw()
216 return &fd->raw; in jffs2_incore_replace_raw()
[all …]
/linux/drivers/power/supply/
H A Drx51_battery.c38 * Read ADCIN channel 12 (voltage) and convert RAW value to micro voltage
62 * Table1 (temperature for first 25 RAW values)
63 * Usage: TEMP = rx51_temp_table1[RAW]
64 * RAW is between 1 and 24
73 * Table2 (lowest RAW value for temperature)
74 * Usage: RAW = rx51_temp_table2[TEMP-rx51_temp_table2_first]
76 * RAW is between 25 and 993
97 int raw = rx51_battery_read_adc(di->channel_temp); in rx51_battery_read_temperature() local
99 if (raw < 0) in rx51_battery_read_temperature()
100 dev_err(di->dev, "Could not read ADC: %d\n", raw); in rx51_battery_read_temperature()
[all …]
H A Dds2782_battery.c99 s16 raw; in ds278x_get_temp()
108 err = ds278x_read_reg16(info, DS278x_REG_TEMP_MSB, &raw); in ds278x_get_temp()
111 *temp = ((raw / 32) * 125) / 100; in ds278x_get_temp()
120 s16 raw; in ds2782_get_current()
137 err = ds278x_read_reg16(info, DS278x_REG_CURRENT_MSB, &raw); in ds2782_get_current()
140 *current_uA = raw * (DS2782_CURRENT_UNITS / sense_res); in ds2782_get_current()
146 s16 raw; in ds2782_get_voltage()
153 err = ds278x_read_reg16(info, DS278x_REG_VOLT_MSB, &raw); in ds2782_get_voltage()
156 *voltage_uV = (raw / 32) * 4800; in ds2782_get_voltage()
163 u8 raw; in ds2782_get_capacity()
100 s16 raw; ds278x_get_temp() local
121 s16 raw; ds2782_get_current() local
147 s16 raw; ds2782_get_voltage() local
164 u8 raw; ds2782_get_capacity() local
176 s16 raw; ds2786_get_current() local
187 s16 raw; ds2786_get_voltage() local
204 u8 raw; ds2786_get_capacity() local
[all...]
/linux/Documentation/ABI/testing/
H A Ddebugfs-scmi-raw1 What: /sys/kernel/debug/scmi/<n>/raw/message
5 Description: SCMI Raw synchronous message injection/snooping facility; write
16 What: /sys/kernel/debug/scmi/<n>/raw/message_async
20 Description: SCMI Raw asynchronous message injection/snooping facility; write
34 What: /sys/kernel/debug/scmi/<n>/raw/errors
38 Description: SCMI Raw message errors facility; any kind of timed-out or
45 What: /sys/kernel/debug/scmi/<n>/raw/notification
49 Description: SCMI Raw notification snooping facility; any notification
56 What: /sys/kernel/debug/scmi/<n>/raw/reset
60 Description: SCMI Raw stack reset facility; writing a value to this entry
[all …]
/linux/kernel/bpf/
H A Dinode.c33 static void *bpf_any_get(void *raw, enum bpf_type type) in bpf_any_get() argument
37 bpf_prog_inc(raw); in bpf_any_get()
40 bpf_map_inc_with_uref(raw); in bpf_any_get()
43 bpf_link_inc(raw); in bpf_any_get()
50 return raw; in bpf_any_get()
53 static void bpf_any_put(void *raw, enum bpf_type type) in bpf_any_put() argument
57 bpf_prog_put(raw); in bpf_any_put()
60 bpf_map_put_with_uref(raw); in bpf_any_put()
63 bpf_link_put(raw); in bpf_any_put()
73 void *raw; in bpf_fd_probe_obj() local
[all …]
/linux/drivers/input/misc/
H A Dhp_sdc_rtc.c184 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/net/ipv6/netfilter/
H A Dip6table_raw.c3 * IPv6 raw table, a port of the IPv4 raw table to IPv6
15 MODULE_PARM_DESC(raw_before_defrag, "Enable raw table before defrag");
19 .name = "raw",
27 .name = "raw",
55 ip6t_unregister_table_pre_exit(net, "raw"); in ip6table_raw_net_pre_exit()
60 ip6t_unregister_table_exit(net, "raw"); in ip6table_raw_net_exit()
75 pr_info("Enabling raw table before defrag\n"); in ip6table_raw_init()
109 MODULE_DESCRIPTION("Ip6tables legacy raw table");
/linux/include/trace/events/
H A Derofs.h85 TP_PROTO(struct folio *folio, bool raw),
87 TP_ARGS(folio, raw),
95 __field(bool, raw )
104 __entry->raw = raw;
108 "raw = %d",
113 __entry->raw)
119 bool raw),
121 TP_ARGS(inode, start, nrpage, raw),
128 __field(bool, raw )
136 __entry->raw = raw;
[all …]
/linux/drivers/staging/media/atomisp/pci/
H A Dia_css_stream_public.h77 enum ia_css_bayer_order bayer_order; /** Bayer order for RAW streams */
108 bool online; /** offline will activate RAW copy on SP, use this for
111 unsigned int init_num_cont_raw_buf; /** initial number of raw buffers to
113 unsigned int target_num_cont_raw_buf; /** total number of raw buffers to
115 bool pack_raw_pixels; /** Pack pixels in the raw buffers */
125 bool ia_css_enable_raw_buffer_locking; /** Enable Raw Buffer Locking for HALv3 Support */
127 /** Lock all RAW buffers (true) or lock only buffers processed by
129 This setting needs to be enabled to allow raw buffer locking
267 /* @brief Return max number of continuous RAW frames.
269 * @param[out] buffer_depth The maximum number of continuous RAW frames.
[all …]

12345678910>>...79