Home
last modified time | relevance | path

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

12345678910>>...180

/kernel/linux/linux-5.10/drivers/s390/char/
Dcon3215.c143 static void raw3215_mk_read_req(struct raw3215_info *raw) in raw3215_mk_read_req() argument
149 req = raw->queued_read; in raw3215_mk_read_req()
154 req->info = raw; in raw3215_mk_read_req()
155 raw->queued_read = req; in raw3215_mk_read_req()
162 ccw->cda = (__u32) __pa(raw->inbuf); in raw3215_mk_read_req()
171 static void raw3215_mk_write_req(struct raw3215_info *raw) in raw3215_mk_write_req() argument
177 if (raw->count <= raw->written) in raw3215_mk_write_req()
180 req = raw->queued_write; in raw3215_mk_write_req()
185 req->info = raw; in raw3215_mk_write_req()
186 raw->queued_write = req; in raw3215_mk_write_req()
[all …]
/kernel/linux/linux-6.6/drivers/s390/char/
Dcon3215.c144 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 …]
/kernel/linux/linux-6.6/drivers/video/fbdev/via/
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 …]
/kernel/linux/linux-5.10/drivers/video/fbdev/via/
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 …]
/kernel/linux/linux-6.6/drivers/firmware/arm_scmi/
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 instance data
154 * @id: Sequential Raw instance ID.
[all …]
/kernel/linux/linux-5.10/drivers/staging/greybus/
Draw.c3 * Greybus driver for the Raw protocol
53 * Add the raw data message to the list of received messages.
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
[all …]
/kernel/linux/linux-6.6/drivers/staging/greybus/
Draw.c3 * Greybus driver for the Raw protocol
53 * Add the raw data message to the list of received messages.
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
[all …]
/kernel/linux/linux-5.10/drivers/media/rc/img-ir/
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 …]
/kernel/linux/linux-6.6/drivers/media/rc/img-ir/
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 …]
/kernel/linux/linux-6.6/drivers/media/rc/
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 …]
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 …]
/kernel/linux/linux-5.10/drivers/media/rc/
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()
38 if (raw->prev_ev.reset && ev.pulse == 0) in ir_raw_event_thread()
46 raw->prev_ev = ev; in ir_raw_event_thread()
[all …]
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 …]
/kernel/linux/linux-6.6/Documentation/usb/
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 …]
/kernel/linux/linux-6.6/drivers/acpi/
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 …]
/kernel/linux/linux-5.10/drivers/acpi/
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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
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 …]
/kernel/linux/linux-5.10/Documentation/usb/
Draw-gadget.rst2 USB Raw Gadget
5 USB Raw Gadget is a kernel module that provides a userspace interface for
7 from userspace. Enabled with CONFIG_USB_RAW_GADGET. Raw Gadget is
14 Raw Gadget is similar to GadgetFS, but provides a more low-level and
24 while Raw Gadget allows you to provide arbitrary data as responses to
27 3. Raw Gadget provides a way to select a UDC device/driver to bind to,
30 4. Raw Gadget explicitly exposes information about endpoints addresses and
33 5. Raw Gadget has ioctl-based interface instead of a filesystem-based one.
38 To create a Raw Gadget instance open /dev/raw-gadget. Multiple raw-gadget
43 The typical usage of Raw Gadget looks like:
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/
Ddc_dp_types.h164 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddc_dp_types.h141 uint8_t raw; member
151 uint8_t raw; member
161 uint8_t raw; member
169 uint8_t raw; member
179 uint8_t raw; member
193 uint8_t raw; member
207 uint8_t raw; member
216 uint8_t raw; member
227 uint8_t raw; member
236 uint8_t raw; member
[all …]
/kernel/linux/linux-6.6/kernel/bpf/
Dinode.c32 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 …]
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/macsec/
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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/macsec/
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 …]
/kernel/linux/linux-5.10/kernel/bpf/
Dinode.c32 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 …]

12345678910>>...180