Home
last modified time | relevance | path

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

12345678910>>...75

/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
497 scmi_xfer_raw_reset(struct scmi_raw_mode_info * raw) scmi_xfer_raw_reset() argument
528 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
612 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
680 scmi_raw_message_send(struct scmi_raw_mode_info * raw,void * buf,size_t len,u8 chan_id,bool async,bool poll) scmi_raw_message_send() argument
749 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
904 struct scmi_raw_mode_info *raw; scmi_dbg_raw_mode_open() local
1076 scmi_raw_queue_init(struct scmi_raw_mode_info * raw) scmi_raw_queue_init() argument
1108 scmi_xfer_raw_worker_init(struct scmi_raw_mode_info * raw) scmi_xfer_raw_worker_init() argument
1138 scmi_raw_mode_setup(struct scmi_raw_mode_info * raw,u8 * channels,int num_chans) scmi_raw_mode_setup() argument
1219 struct scmi_raw_mode_info *raw; scmi_raw_mode_init() local
1312 struct scmi_raw_mode_info *raw = r; scmi_raw_mode_cleanup() local
1379 struct scmi_raw_mode_info *raw = r; scmi_raw_message_report() local
1456 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
1491 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
57 * Add the raw data message to the list of received messages.
59 static int receive_data(struct gb_raw *raw, u32 len, u8 *data) in receive_data() argument
62 struct device *dev = &raw->connection->bundle->dev; in receive_data()
70 mutex_lock(&raw->list_lock); in receive_data()
71 if ((raw->list_data + len) > MAX_DATA_SIZE) { in receive_data()
83 raw->list_data += len; in receive_data()
87 list_add_tail(&raw_data->entry, &raw->list); in receive_data()
89 mutex_unlock(&raw->list_lock); in receive_data()
97 struct gb_raw *raw = greybus_get_drvdata(connection->bundle); in gb_raw_request_handler() local
[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/drivers/iommu/amd/
H A Dppr.c83 static bool ppr_is_valid(struct amd_iommu *iommu, u64 *raw) in ppr_is_valid() argument
86 u16 devid = PPR_DEVID(raw[0]); in ppr_is_valid()
88 if (!(PPR_FLAGS(raw[0]) & PPR_FLAG_GN)) { in ppr_is_valid()
92 PPR_PASID(raw[0]), raw[1], PPR_FLAGS(raw[0]), PPR_TAG(raw[0])); in ppr_is_valid()
96 if (PPR_FLAGS(raw[0]) & PPR_FLAG_RVSD) { in ppr_is_valid()
100 PPR_PASID(raw[0]), raw[1], PPR_FLAGS(raw[0]), PPR_TAG(raw[0])); in ppr_is_valid()
107 static void iommu_call_iopf_notifier(struct amd_iommu *iommu, u64 *raw) in iommu_call_iopf_notifier() argument
112 u16 devid = PPR_DEVID(raw[0]); in iommu_call_iopf_notifier()
114 if (PPR_REQ_TYPE(raw[0]) != PPR_REQ_FAULT) { in iommu_call_iopf_notifier()
124 if (!ppr_is_valid(iommu, raw)) in iommu_call_iopf_notifier()
[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/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/drivers/media/rc/
H A Dbpf-lirc.c15 * BPF interface for raw IR
141 struct ir_raw_event_ctrl *raw; in lirc_bpf_attach() local
156 raw = rcdev->raw; in lirc_bpf_attach()
158 old_array = lirc_rcu_dereference(raw->progs); in lirc_bpf_attach()
168 rcu_assign_pointer(raw->progs, new_array); in lirc_bpf_attach()
180 struct ir_raw_event_ctrl *raw; in lirc_bpf_detach()
195 raw = rcdev->raw; in lirc_bpf_detach()
197 old_array = lirc_rcu_dereference(raw in lirc_bpf_detach()
179 struct ir_raw_event_ctrl *raw; lirc_bpf_detach() local
215 struct ir_raw_event_ctrl *raw = rcdev->raw; lirc_bpf_run() local
[all...]
H A Dir-mce_kbd-decoder.c112 struct ir_raw_event_ctrl *raw = timer_container_of(raw, t, in mce_kbd_rx_timeout() local
118 dev_dbg(&raw->dev->dev, "timer callback clearing all keys\n"); in mce_kbd_rx_timeout()
120 spin_lock_irqsave(&raw->mce_kbd.keylock, flags); in mce_kbd_rx_timeout()
122 if (time_is_before_eq_jiffies(raw->mce_kbd.rx_timeout.expires)) { in mce_kbd_rx_timeout()
125 input_report_key(raw->dev->input_dev, maskcode, 0); in mce_kbd_rx_timeout()
129 input_report_key(raw->dev->input_dev, kbd_keycodes[i], in mce_kbd_rx_timeout()
132 input_sync(raw->dev->input_dev); in mce_kbd_rx_timeout()
134 spin_unlock_irqrestore(&raw->mce_kbd.keylock, flags); in mce_kbd_rx_timeout()
182 /* raw mous in ir_mce_kbd_process_mouse_data()
405 u64 raw; ir_mce_kbd_encode() 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/message_poll
38 Description: SCMI Raw message injection/snooping facility using polling mode;
50 What: /sys/kernel/debug/scmi/<n>/raw/message_poll_async
54 Description: SCMI Raw asynchronous message injection/snooping facility using
70 What: /sys/kernel/debug/scmi/<n>/raw/errors
74 Description: SCMI Raw message errors facility; any kind of timed-out or
[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 Dxattr.c33 * returns 1, if xdatum contains any unchecked raw nodes. if all raw nodes are not
73 struct jffs2_raw_node_ref *raw; in is_xattr_datum_unchecked() local
77 for (raw=xd->node; raw != (void *)xd; raw=raw->next_in_ino) { in is_xattr_datum_unchecked()
78 if (ref_flags(raw) == REF_UNCHECKED) { in is_xattr_datum_unchecked()
136 struct jffs2_raw_node_ref *raw; in do_verify_xattr_datum() local
184 for (raw=xd->node; raw != (void *)xd; raw=raw->next_in_ino) { in do_verify_xattr_datum()
185 jeb = &c->blocks[ref_offset(raw) / c->sector_size]; in do_verify_xattr_datum()
186 totlen = PAD(ref_totlen(c, jeb, raw)); in do_verify_xattr_datum()
187 if (ref_flags(raw) == REF_UNCHECKED) { in do_verify_xattr_datum()
191 raw->flash_offset = ref_offset(raw) | ((xd->node==raw) ? REF_PRISTINE : REF_NORMAL); in do_verify_xattr_datum()
[all …]
/linux/tools/net/ynl/pyynl/lib/
H A Dynl.py10 An implementation of the genetlink and raw netlink protocols.
276 def __init__(self, raw, offset):
277 self._len, self._type = struct.unpack("HH", raw[offset : offset + 4])
282 self.raw = raw[offset + 4 : offset + self.payload_len]
294 return format_.unpack(self.raw)[0]
297 if len(self.raw) != 4 and len(self.raw) != 8:
298 raise YnlException(f"Auto-scalar len payload be 4 or 8 bytes, got {len(self.raw)}")
299 real_type = attr_type[0] + str(len(self.raw) *
273 __init__(self, raw, offset) global() argument
433 _genl_decode_policy(raw) global() argument
918 _get_enum_or_unknown(self, enum, raw) global() argument
928 _decode_enum(self, raw, attr_spec) global() argument
1233 _formatted_string(self, raw, display_hint) global() argument
[all...]
/linux/drivers/net/phy/realtek/
H A Drealtek_hwmon.c17 static int rtl822x_hwmon_get_temp(int raw) in rtl822x_hwmon_get_temp() argument
19 if (raw >= 512) in rtl822x_hwmon_get_temp()
20 raw -= 1024; in rtl822x_hwmon_get_temp()
22 return 1000 * raw / 2; in rtl822x_hwmon_get_temp()
29 int raw; in rtl822x_hwmon_read() local
33 raw = phy_read_mmd(phydev, MDIO_MMD_VEND2, RTL822X_VND2_TSRR) & 0x3ff; in rtl822x_hwmon_read()
34 *val = rtl822x_hwmon_get_temp(raw); in rtl822x_hwmon_read()
38 raw = phy_read_mmd(phydev, MDIO_MMD_VEND2, RTL822X_VND2_TSSR) >> 6; in rtl822x_hwmon_read()
39 *val = rtl822x_hwmon_get_temp(raw); in rtl822x_hwmon_read()
/linux/drivers/media/rc/img-ir/
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 …]
H A Dimg-ir-raw.h3 * ImgTec IR Raw Decoder found in PowerDown Controller.
16 * struct img_ir_priv_raw - Private driver data for raw decoder.
17 * @rdev: Raw remote control device
19 * @last_status: Last raw status bits.
27 static inline bool img_ir_raw_enabled(struct img_ir_priv_raw *raw) in img_ir_raw_enabled() argument
29 return raw->rdev; in img_ir_raw_enabled()
41 static inline bool img_ir_raw_enabled(struct img_ir_priv_raw *raw) in img_ir_raw_enabled() argument
H A Dimg-ir-rc6.c11 static int img_ir_rc6_scancode(int len, u64 raw, u64 enabled_protocols, in img_ir_rc6_scancode() argument
19 * raw data is shifted incorrectly. in img_ir_rc6_scancode()
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/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 xt_unregister_table_pre_exit(net, NFPROTO_IPV6, "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/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/kernel/bpf/
H A Dinode.c53 static void *bpf_any_get(void *raw, enum bpf_type type) in bpf_any_get() argument
57 bpf_prog_inc(raw); in bpf_any_get()
60 bpf_map_inc_with_uref(raw); in bpf_any_get()
63 bpf_link_inc(raw); in bpf_any_get()
70 return raw; in bpf_any_get()
73 static void bpf_any_put(void *raw, enum bpf_type type) in bpf_any_put() argument
77 bpf_prog_put(raw); in bpf_any_put()
80 bpf_map_put_with_uref(raw); in bpf_any_put()
83 bpf_link_put(raw); in bpf_any_put()
93 void *raw; in bpf_fd_probe_obj() local
363 bpf_mkobj_ops(struct dentry * dentry,umode_t mode,void * raw,const struct inode_operations * iops,const struct file_operations * fops) bpf_mkobj_ops() argument
491 bpf_obj_do_pin(int path_fd,const char __user * pathname,void * raw,enum bpf_type type) bpf_obj_do_pin() argument
536 void *raw; bpf_obj_pin_user() local
555 void *raw; bpf_obj_do_get() local
586 void *raw; bpf_obj_get_user() local
[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 …]
/linux/drivers/power/supply/
H A Dds2760_battery.c94 char raw[DS2760_DATA_SIZE]; /* raw DS2760 data */ member
272 ret = w1_ds2760_read(di->dev, di->raw + start, start, count); in ds2760_battery_read_status()
283 di->voltage_raw = (di->raw[DS2760_VOLTAGE_MSB] << 3) | in ds2760_battery_read_status()
284 (di->raw[DS2760_VOLTAGE_LSB] >> 5); in ds2760_battery_read_status()
290 (((signed char)di->raw[DS2760_CURRENT_MSB]) << 5) | in ds2760_battery_read_status()
291 (di->raw[DS2760_CURRENT_LSB] >> 3); in ds2760_battery_read_status()
296 (((signed char)di->raw[DS2760_CURRENT_ACCUM_MSB]) << 8) | in ds2760_battery_read_status()
297 di->raw[DS2760_CURRENT_ACCUM_LSB]; in ds2760_battery_read_status()
303 di->temp_raw = (((signed char)di->raw[DS2760_TEMP_MS in ds2760_battery_read_status()
[all...]
/linux/drivers/net/dsa/qca/
H A Dar9331.c613 struct ar9331_sw_stats_raw raw; in ar9331_read_stats() local
618 &raw, sizeof(raw) / sizeof(u32)); in ar9331_read_stats()
627 stats->rx_bytes += raw.rxgoodbyte; in ar9331_read_stats()
628 stats->tx_bytes += raw.txbyte; in ar9331_read_stats()
630 stats->rx_packets += raw.rx64byte + raw.rx128byte + raw.rx256byte + in ar9331_read_stats()
631 raw.rx512byte + raw in ar9331_read_stats()
[all...]
/linux/net/ipv4/netfilter/
H A Diptable_raw.c3 * 'raw' table, which is the very first hooked in at PRE_ROUTING and LOCAL_OUT .
16 MODULE_PARM_DESC(raw_before_defrag, "Enable raw table before defrag");
20 .name = "raw",
28 .name = "raw",
56 xt_unregister_table_pre_exit(net, NFPROTO_IPV4, "raw"); in iptable_raw_net_pre_exit()
61 ipt_unregister_table_exit(net, "raw"); in iptable_raw_net_exit()
77 pr_info("Enabling raw table before defrag\n"); in iptable_raw_init()
111 MODULE_DESCRIPTION("iptables legacy raw table");

12345678910>>...75