Home
last modified time | relevance | path

Searched refs:in_buf (Results 1 – 24 of 24) sorted by relevance

/drivers/mfd/
Dcros_ec_i2c.c67 u8 *in_buf = NULL; in cros_ec_pkt_xfer_i2c() local
83 in_buf = ec_dev->din; in cros_ec_pkt_xfer_i2c()
85 i2c_msg[1].buf = (char *) in_buf; in cros_ec_pkt_xfer_i2c()
112 ec_response_i2c = (struct ec_host_response_i2c *) in_buf; in cros_ec_pkt_xfer_i2c()
166 in_buf + response_header_size, in cros_ec_pkt_xfer_i2c()
196 u8 *in_buf = NULL; in cros_ec_cmd_xfer_i2c() local
210 in_buf = kzalloc(packet_len, GFP_KERNEL); in cros_ec_cmd_xfer_i2c()
211 if (!in_buf) in cros_ec_cmd_xfer_i2c()
214 i2c_msg[1].buf = (char *)in_buf; in cros_ec_cmd_xfer_i2c()
256 len = in_buf[1]; in cros_ec_cmd_xfer_i2c()
[all …]
/drivers/net/irda/
Dkingsun-sir.c109 __u8 *in_buf; /* receive buffer */ member
297 kingsun->in_buf, kingsun->max_rx, in kingsun_net_open()
496 kingsun->in_buf = NULL; in kingsun_probe()
509 kingsun->in_buf = kmalloc(kingsun->max_rx, GFP_KERNEL); in kingsun_probe()
510 if (!kingsun->in_buf) in kingsun_probe()
554 kfree(kingsun->in_buf); in kingsun_probe()
585 kfree(kingsun->in_buf); in kingsun_disconnect()
Dmcs7780.h114 char in_buf[4096]; /* transmit/receive buffer */ member
Dmcs7780.c534 mcs->in_buf, 4096, mcs_receive_irq, mcs); in mcs_receive_start()
/drivers/gpu/drm/i915/
Ddvo_sil164.c73 u8 in_buf[2]; in sil164_readb() local
86 .buf = in_buf, in sil164_readb()
94 *ch = in_buf[0]; in sil164_readb()
Ddvo_ivch.c196 u8 in_buf[2]; in ivch_read() local
214 .buf = in_buf, in ivch_read()
221 *data = (in_buf[1] << 8) | in_buf[0]; in ivch_read()
Ddvo_tfp410.c98 u8 in_buf[2]; in tfp410_readb() local
111 .buf = in_buf, in tfp410_readb()
119 *ch = in_buf[0]; in tfp410_readb()
Ddvo_ch7xxx.c140 u8 in_buf[2]; in ch7xxx_readb() local
153 .buf = in_buf, in ch7xxx_readb()
161 *ch = in_buf[0]; in ch7xxx_readb()
Ddvo_ns2501.c397 u8 in_buf[2]; in ns2501_readb() local
410 .buf = in_buf, in ns2501_readb()
418 *ch = in_buf[0]; in ns2501_readb()
/drivers/nfc/pn533/
Dusb.c457 unsigned char *in_buf; in pn533_usb_probe() local
466 in_buf = kzalloc(in_buf_len, GFP_KERNEL); in pn533_usb_probe()
467 if (!in_buf) in pn533_usb_probe()
499 in_buf, in_buf_len, NULL, phy); in pn533_usb_probe()
554 kfree(in_buf); in pn533_usb_probe()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_i2c.c289 u8 in_buf[2]; in amdgpu_i2c_get_byte() local
301 .buf = in_buf, in amdgpu_i2c_get_byte()
309 *val = in_buf[0]; in amdgpu_i2c_get_byte()
/drivers/target/iscsi/
Discsi_target_nego.c61 const char *in_buf, in extract_param() argument
70 if (!in_buf || !pattern || !out_buf || !type) in extract_param()
73 ptr = strstr(in_buf, pattern); in extract_param()
105 char *in_buf, in iscsi_handle_authentication() argument
162 return srp_main_loop(conn, auth, in_buf, out_buf, in iscsi_handle_authentication()
166 return chap_main_loop(conn, auth, in_buf, out_buf, in iscsi_handle_authentication()
/drivers/acpi/nfit/
Dcore.c192 union acpi_object in_obj, in_buf, *out_obj; in acpi_nfit_ctl() local
246 in_obj.package.elements = &in_buf; in acpi_nfit_ctl()
247 in_buf.type = ACPI_TYPE_BUFFER; in acpi_nfit_ctl()
248 in_buf.buffer.pointer = buf; in acpi_nfit_ctl()
249 in_buf.buffer.length = 0; in acpi_nfit_ctl()
253 in_buf.buffer.length += nd_cmd_in_size(nvdimm, cmd, desc, in acpi_nfit_ctl()
258 in_buf.buffer.pointer = (void *) &call_pkg->nd_payload; in acpi_nfit_ctl()
259 in_buf.buffer.length = call_pkg->nd_size_in; in acpi_nfit_ctl()
265 in_buf.buffer.length); in acpi_nfit_ctl()
267 in_buf.buffer.pointer, in acpi_nfit_ctl()
[all …]
/drivers/staging/comedi/drivers/
Dusbduxsigma.c157 __be32 *in_buf; member
231 val = be32_to_cpu(devpriv->in_buf[i + 1]); in usbduxsigma_ai_handle_urb()
273 memcpy(devpriv->in_buf, urb->transfer_buffer, SIZEINBUF); in usbduxsigma_ai_urb_complete()
1347 devpriv->in_buf = kzalloc(SIZEINBUF, GFP_KERNEL); in usbduxsigma_alloc_usb_buffers()
1351 if (!devpriv->dux_commands || !devpriv->in_buf || !devpriv->insn_buf || in usbduxsigma_alloc_usb_buffers()
1447 kfree(devpriv->in_buf); in usbduxsigma_free_usb_buffers()
Dusbdux.c194 __le16 *in_buf; member
265 u16 val = le16_to_cpu(devpriv->in_buf[i]); in usbduxsub_ai_handle_urb()
311 memcpy(devpriv->in_buf, urb->transfer_buffer, SIZEINBUF); in usbduxsub_ai_isoc_irq()
1455 devpriv->in_buf = kzalloc(SIZEINBUF, GFP_KERNEL); in usbdux_alloc_usb_buffers()
1461 if (!devpriv->dux_commands || !devpriv->in_buf || !devpriv->insn_buf || in usbdux_alloc_usb_buffers()
1562 kfree(devpriv->in_buf); in usbdux_free_usb_buffers()
/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtcoutsrc.c363 static bool halbtc_set(void *void_btcoexist, u8 set_type, void *in_buf) in halbtc_set() argument
366 bool *bool_tmp = (bool *)in_buf; in halbtc_set()
367 u8 *u8_tmp = (u8 *)in_buf; in halbtc_set()
368 u32 *u32_tmp = (u32 *)in_buf; in halbtc_set()
Dhalbtcoutsrc.h393 typedef bool (*bfp_btc_set)(void *btcoexist, u8 set_type, void *in_buf);
/drivers/crypto/
Dmxs-dcp.c262 uint8_t *in_buf = sdcp->coh->aes_in_buf; in mxs_dcp_aes_block_crypt() local
299 memcpy(in_buf + actx->fill, src_buf, clen); in mxs_dcp_aes_block_crypt()
565 uint8_t *in_buf = sdcp->coh->sha_in_buf; in dcp_sha_req_to_buf() local
588 memcpy(in_buf + actx->fill, src_buf, clen); in dcp_sha_req_to_buf()
/drivers/acpi/
Dacpi_dbg.c58 char in_buf[ACPI_AML_BUF_SIZE] __aligned(ACPI_AML_BUF_ALIGN);
764 acpi_aml_io.in_crc.buf = acpi_aml_io.in_buf; in acpi_aml_init()
/drivers/gpu/drm/radeon/
Dradeon_i2c.c1052 u8 in_buf[2]; in radeon_i2c_get_byte() local
1064 .buf = in_buf, in radeon_i2c_get_byte()
1072 *val = in_buf[0]; in radeon_i2c_get_byte()
/drivers/staging/speakup/
Dmain.c115 static void spkup_write(const char *in_buf, int count);
1073 static void spkup_write(const char *in_buf, int count) in spkup_write() argument
1084 if ((in_buf == sentmarks[bn][currsentence]) && in spkup_write()
1088 ch = (u_char) *in_buf++; in spkup_write()
/drivers/nvdimm/
Ddimm_devs.c169 memcpy(cmd->in_buf, buf + buf_offset, cmd->in_length); in nvdimm_set_config_data()
/drivers/tty/
Dn_gsm.c2694 unsigned char *in_buf, int size) in gsm_mux_rx_netchar() argument
2710 memcpy(skb_put(skb, size), in_buf, size); in gsm_mux_rx_netchar()
/drivers/net/wireless/intel/ipw2x00/
Dipw2100.c2360 static u32 ipw2100_match_buf(struct ipw2100_priv *priv, u8 * in_buf, in ipw2100_match_buf() argument
2368 s = in_buf; in ipw2100_match_buf()
2382 s = in_buf; in ipw2100_match_buf()
2389 if ((s - in_buf) == len) in ipw2100_match_buf()