Home
last modified time | relevance | path

Searched refs:out_buf (Results 1 – 25 of 28) sorted by relevance

12

/drivers/mfd/
Dcros_ec_i2c.c40 u8 *out_buf = NULL; in cros_ec_cmd_xfer_i2c() local
66 out_buf = kzalloc(packet_len, GFP_KERNEL); in cros_ec_cmd_xfer_i2c()
67 if (!out_buf) in cros_ec_cmd_xfer_i2c()
70 i2c_msg[0].buf = (char *)out_buf; in cros_ec_cmd_xfer_i2c()
72 out_buf[0] = EC_CMD_VERSION0 + msg->version; in cros_ec_cmd_xfer_i2c()
73 out_buf[1] = msg->command; in cros_ec_cmd_xfer_i2c()
74 out_buf[2] = msg->outsize; in cros_ec_cmd_xfer_i2c()
77 sum = out_buf[0] + out_buf[1] + out_buf[2]; in cros_ec_cmd_xfer_i2c()
79 out_buf[3 + i] = msg->outdata[i]; in cros_ec_cmd_xfer_i2c()
80 sum += out_buf[3 + i]; in cros_ec_cmd_xfer_i2c()
[all …]
/drivers/gpu/drm/i915/
Ddvo_sil164.c72 u8 out_buf[2]; in sil164_readb() local
80 .buf = out_buf, in sil164_readb()
90 out_buf[0] = addr; in sil164_readb()
91 out_buf[1] = 0; in sil164_readb()
109 uint8_t out_buf[2]; in sil164_writeb() local
114 .buf = out_buf, in sil164_writeb()
117 out_buf[0] = addr; in sil164_writeb()
118 out_buf[1] = ch; in sil164_writeb()
Ddvo_tfp410.c97 u8 out_buf[2]; in tfp410_readb() local
105 .buf = out_buf, in tfp410_readb()
115 out_buf[0] = addr; in tfp410_readb()
116 out_buf[1] = 0; in tfp410_readb()
134 uint8_t out_buf[2]; in tfp410_writeb() local
139 .buf = out_buf, in tfp410_writeb()
142 out_buf[0] = addr; in tfp410_writeb()
143 out_buf[1] = ch; in tfp410_writeb()
Ddvo_ch7xxx.c139 u8 out_buf[2]; in ch7xxx_readb() local
147 .buf = out_buf, in ch7xxx_readb()
157 out_buf[0] = addr; in ch7xxx_readb()
158 out_buf[1] = 0; in ch7xxx_readb()
177 uint8_t out_buf[2]; in ch7xxx_writeb() local
182 .buf = out_buf, in ch7xxx_writeb()
185 out_buf[0] = addr; in ch7xxx_writeb()
186 out_buf[1] = ch; in ch7xxx_writeb()
Ddvo_ivch.c170 u8 out_buf[1]; in ivch_read() local
183 .buf = out_buf, in ivch_read()
193 out_buf[0] = addr; in ivch_read()
213 u8 out_buf[3]; in ivch_write() local
218 .buf = out_buf, in ivch_write()
221 out_buf[0] = addr; in ivch_write()
222 out_buf[1] = data & 0xff; in ivch_write()
223 out_buf[2] = data >> 8; in ivch_write()
Ddvo_ns2501.c381 u8 out_buf[2]; in ns2501_readb() local
389 .buf = out_buf, in ns2501_readb()
399 out_buf[0] = addr; in ns2501_readb()
400 out_buf[1] = 0; in ns2501_readb()
426 uint8_t out_buf[2]; in ns2501_writeb() local
432 .buf = out_buf, in ns2501_writeb()
435 out_buf[0] = addr; in ns2501_writeb()
436 out_buf[1] = ch; in ns2501_writeb()
/drivers/w1/slaves/
Dw1_ds2423.c44 struct device_attribute *attr, char *out_buf) in w1_slave_show() argument
78 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
87 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
110 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
113 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
119 c -= snprintf(out_buf + PAGE_SIZE - c, c, "Connection error"); in w1_slave_show()
/drivers/net/irda/
Dkingsun-sir.c110 __u8 *out_buf; /* transmit buffer */ member
171 kingsun->out_buf, in kingsun_hard_xmit()
177 kingsun->out_buf, wraplen, kingsun_send_irq, in kingsun_hard_xmit()
500 kingsun->out_buf = NULL; in kingsun_probe()
517 kingsun->out_buf = kmalloc(KINGSUN_FIFO_SIZE, GFP_KERNEL); in kingsun_probe()
518 if (!kingsun->out_buf) in kingsun_probe()
556 kfree(kingsun->out_buf); in kingsun_probe()
587 kfree(kingsun->out_buf); in kingsun_disconnect()
Dmcs7780.c849 wraplen = mcs_wrap_sir_skb(skb, mcs->out_buf); in mcs_hard_xmit()
853 wraplen = mcs_wrap_mir_skb(skb, mcs->out_buf); in mcs_hard_xmit()
857 wraplen = mcs_wrap_fir_skb(skb, mcs->out_buf); in mcs_hard_xmit()
861 mcs->out_buf, wraplen, mcs_send_irq, mcs); in mcs_hard_xmit()
Dmcs7780.h115 char out_buf[4096]; /* transmit/receive buffer */ member
/drivers/hid/
Dhid-logitech-dj.c519 u8 *out_buf; in logi_dj_ll_raw_request() local
525 out_buf = kzalloc(DJREPORT_SHORT_LENGTH, GFP_ATOMIC); in logi_dj_ll_raw_request()
526 if (!out_buf) in logi_dj_ll_raw_request()
532 out_buf[0] = REPORT_ID_DJ_SHORT; in logi_dj_ll_raw_request()
533 out_buf[1] = djdev->device_index; in logi_dj_ll_raw_request()
534 memcpy(out_buf + 2, buf, count); in logi_dj_ll_raw_request()
536 ret = hid_hw_raw_request(djrcv_dev->hdev, out_buf[0], out_buf, in logi_dj_ll_raw_request()
539 kfree(out_buf); in logi_dj_ll_raw_request()
/drivers/gpu/drm/gma500/
Dpsb_intel_modes.c31 u8 out_buf[] = { 0x0, 0x0 }; in psb_intel_ddc_probe() local
39 .buf = out_buf, in psb_intel_ddc_probe()
Dcdv_intel_lvds.c97 u8 out_buf[2];
105 .buf = out_buf,
116 out_buf[0] = dev_priv->lvds_bl->brightnesscmd;
117 out_buf[1] = (u8)blc_i2c_brightness;
Dpsb_intel_lvds.c106 u8 out_buf[2]; in psb_lvds_i2c_set_brightness() local
114 .buf = out_buf, in psb_lvds_i2c_set_brightness()
125 out_buf[0] = dev_priv->lvds_bl->brightnesscmd; in psb_lvds_i2c_set_brightness()
126 out_buf[1] = (u8)blc_i2c_brightness; in psb_lvds_i2c_set_brightness()
/drivers/staging/bcm/
DPHSModule.c47 unsigned char *out_buf,
60 unsigned char *out_buf,
1478 unsigned char *out_buf, in phs_decompress() argument
1520 *out_buf = *phsf; in phs_decompress()
1524 phss, *phsf, *out_buf); in phs_decompress()
1526 *out_buf = *in_buf; in phs_decompress()
1530 phss, *in_buf, *out_buf); in phs_decompress()
1534 out_buf++; in phs_decompress()
1574 unsigned char *out_buf, in phs_compress() argument
1578 unsigned char *old_addr = out_buf; in phs_compress()
[all …]
/drivers/gpu/drm/radeon/
Dradeon_i2c.c1061 u8 out_buf[2]; in radeon_i2c_get_byte() local
1068 .buf = out_buf, in radeon_i2c_get_byte()
1078 out_buf[0] = addr; in radeon_i2c_get_byte()
1079 out_buf[1] = 0; in radeon_i2c_get_byte()
1095 uint8_t out_buf[2]; in radeon_i2c_put_byte() local
1100 .buf = out_buf, in radeon_i2c_put_byte()
1103 out_buf[0] = addr; in radeon_i2c_put_byte()
1104 out_buf[1] = val; in radeon_i2c_put_byte()
/drivers/target/iscsi/
Discsi_target_nego.c64 char *out_buf, in extract_param() argument
70 if (!in_buf || !pattern || !out_buf || !type) in extract_param()
97 memcpy(out_buf, ptr, len); in extract_param()
98 out_buf[len] = '\0'; in extract_param()
106 char *out_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/net/wireless/rtlwifi/btcoexist/
Dhalbtcoutsrc.c232 static bool halbtc_get(void *void_btcoexist, u8 get_type, void *out_buf) in halbtc_get() argument
239 bool *bool_tmp = (bool *)out_buf; in halbtc_get()
240 int *s32_tmp = (int *)out_buf; in halbtc_get()
241 u32 *u32_tmp = (u32 *)out_buf; in halbtc_get()
242 u8 *u8_tmp = (u8 *)out_buf; in halbtc_get()
Dhalbtcoutsrc.h386 typedef bool (*bfp_btc_get)(void *btcoexist, u8 get_type, void *out_buf);
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c343 struct vmw_dma_buffer **out_buf) in vmw_user_lookup_handle() argument
348 BUG_ON(*out_surf || *out_buf); in vmw_user_lookup_handle()
359 ret = vmw_user_dmabuf_lookup(tfile, handle, out_buf); in vmw_user_lookup_handle()
1034 struct vmw_dma_buffer *out_buf; in vmw_dumb_map_offset() local
1037 ret = vmw_user_dmabuf_lookup(tfile, handle, &out_buf); in vmw_dumb_map_offset()
1041 *offset = drm_vma_node_offset_addr(&out_buf->base.vma_node); in vmw_dumb_map_offset()
1042 vmw_dmabuf_unreference(&out_buf); in vmw_dumb_map_offset()
/drivers/input/touchscreen/
Dusbtouchscreen.c849 goto out_buf; in nexio_alloc()
871 out_buf: in nexio_alloc()
900 goto out_buf; in nexio_init()
908 goto out_buf; in nexio_init()
917 goto out_buf; in nexio_init()
950 out_buf: in nexio_init()
/drivers/s390/block/
Ddcssblk.c726 goto out_buf; in dcssblk_remove_store()
736 goto out_buf; in dcssblk_remove_store()
743 goto out_buf; in dcssblk_remove_store()
761 out_buf: in dcssblk_remove_store()
/drivers/base/regmap/
Dregmap-debugfs.c388 goto out_buf; in regmap_reg_ranges_read_file()
392 out_buf: in regmap_reg_ranges_read_file()
/drivers/mtd/maps/
Dvmu-flash.c331 goto out_buf; in vmu_flash_read_char()
345 out_buf: in vmu_flash_read_char()
/drivers/rapidio/devices/
Dtsi721.c1521 goto out_buf; in tsi721_open_outb_mbox()
1535 goto out_buf; in tsi721_open_outb_mbox()
1650 out_buf: in tsi721_open_outb_mbox()
1830 goto out_buf; in tsi721_open_inb_mbox()
1953 out_buf: in tsi721_open_inb_mbox()

12