Home
last modified time | relevance | path

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

12

/drivers/platform/chrome/
A Dcros_ec_i2c.c59 u8 *out_buf = NULL; in cros_ec_pkt_xfer_i2c() local
88 out_buf = ec_dev->dout; in cros_ec_pkt_xfer_i2c()
90 i2c_msg[0].buf = (char *) out_buf; in cros_ec_pkt_xfer_i2c()
196 u8 *out_buf = NULL; in cros_ec_cmd_xfer_i2c() local
223 if (!out_buf) in cros_ec_cmd_xfer_i2c()
229 out_buf[1] = msg->command; in cros_ec_cmd_xfer_i2c()
230 out_buf[2] = msg->outsize; in cros_ec_cmd_xfer_i2c()
233 sum = out_buf[0] + out_buf[1] + out_buf[2]; in cros_ec_cmd_xfer_i2c()
235 out_buf[3 + i] = msg->data[i]; in cros_ec_cmd_xfer_i2c()
236 sum += out_buf[3 + i]; in cros_ec_cmd_xfer_i2c()
[all …]
/drivers/w1/slaves/
A Dw1_ds2423.c31 struct device_attribute *attr, char *out_buf) in w1_slave_show() argument
65 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
74 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
97 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
100 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
106 c -= snprintf(out_buf + PAGE_SIZE - c, c, "Connection error"); in w1_slave_show()
/drivers/gpu/drm/i915/display/
A Ddvo_sil164.c79 u8 out_buf[2]; in sil164_readb() local
87 .buf = out_buf, in sil164_readb()
97 out_buf[0] = addr; in sil164_readb()
98 out_buf[1] = 0; in sil164_readb()
116 u8 out_buf[2]; in sil164_writeb() local
121 .buf = out_buf, in sil164_writeb()
124 out_buf[0] = addr; in sil164_writeb()
125 out_buf[1] = ch; in sil164_writeb()
A Ddvo_tfp410.c100 u8 out_buf[2]; in tfp410_readb() local
108 .buf = out_buf, in tfp410_readb()
118 out_buf[0] = addr; in tfp410_readb()
119 out_buf[1] = 0; in tfp410_readb()
137 u8 out_buf[2]; in tfp410_writeb() local
142 .buf = out_buf, in tfp410_writeb()
145 out_buf[0] = addr; in tfp410_writeb()
146 out_buf[1] = ch; in tfp410_writeb()
A Ddvo_ch7xxx.c153 u8 out_buf[2]; in ch7xxx_readb() local
161 .buf = out_buf, in ch7xxx_readb()
171 out_buf[0] = addr; in ch7xxx_readb()
172 out_buf[1] = 0; in ch7xxx_readb()
191 u8 out_buf[2]; in ch7xxx_writeb() local
196 .buf = out_buf, in ch7xxx_writeb()
199 out_buf[0] = addr; in ch7xxx_writeb()
200 out_buf[1] = ch; in ch7xxx_writeb()
A Ddvo_ivch.c198 u8 out_buf[1]; in ivch_read() local
211 .buf = out_buf, in ivch_read()
221 out_buf[0] = addr; in ivch_read()
241 u8 out_buf[3]; in ivch_write() local
246 .buf = out_buf, in ivch_write()
249 out_buf[0] = addr; in ivch_write()
250 out_buf[1] = data & 0xff; in ivch_write()
251 out_buf[2] = data >> 8; in ivch_write()
A Ddvo_ns2501.c397 u8 out_buf[2]; in ns2501_readb() local
405 .buf = out_buf, in ns2501_readb()
415 out_buf[0] = addr; in ns2501_readb()
416 out_buf[1] = 0; in ns2501_readb()
442 u8 out_buf[2]; in ns2501_writeb() local
448 .buf = out_buf, in ns2501_writeb()
451 out_buf[0] = addr; in ns2501_writeb()
452 out_buf[1] = ch; in ns2501_writeb()
/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_i2c.c280 u8 out_buf[2]; in amdgpu_i2c_get_byte() local
287 .buf = out_buf, in amdgpu_i2c_get_byte()
297 out_buf[0] = addr; in amdgpu_i2c_get_byte()
298 out_buf[1] = 0; in amdgpu_i2c_get_byte()
316 uint8_t out_buf[2]; in amdgpu_i2c_put_byte() local
321 .buf = out_buf, in amdgpu_i2c_put_byte()
324 out_buf[0] = addr; in amdgpu_i2c_put_byte()
325 out_buf[1] = val; in amdgpu_i2c_put_byte()
/drivers/net/ethernet/netronome/nfp/nfpcore/
A Dnfp_nsp.c174 void *out_buf; member
483 if (arg->out_buf && arg->out_size) { in nfp_nsp_command_buf_def()
485 arg->out_buf, arg->out_size); in nfp_nsp_command_buf_def()
596 memcpy(arg->out_buf + off, chunks[i].chunk, len); in nfp_nsp_command_buf_dma_sg()
834 .out_buf = buf, in nfp_nsp_read_eth_table()
863 .out_buf = buf, in nfp_nsp_read_identify()
878 .out_buf = buf, in nfp_nsp_read_sensors()
913 .out_buf = buf, in __nfp_nsp_hwinfo_lookup()
1005 .out_buf = buf, in nfp_nsp_versions()
1057 .out_buf = buf, in __nfp_nsp_module_eeprom()
[all …]
/drivers/ras/amd/atl/
A Dprm.c29 void *out_buf; member
45 p_buf.out_buf = &ret_addr; in prm_umc_norm_to_sys_addr()
/drivers/gpu/drm/radeon/
A Dradeon_i2c.c1045 u8 out_buf[2]; in radeon_i2c_get_byte() local
1052 .buf = out_buf, in radeon_i2c_get_byte()
1062 out_buf[0] = addr; in radeon_i2c_get_byte()
1063 out_buf[1] = 0; in radeon_i2c_get_byte()
1079 uint8_t out_buf[2]; in radeon_i2c_put_byte() local
1084 .buf = out_buf, in radeon_i2c_put_byte()
1087 out_buf[0] = addr; in radeon_i2c_put_byte()
1088 out_buf[1] = val; in radeon_i2c_put_byte()
/drivers/hid/
A Dhid-logitech-dj.c1353 u8 *out_buf; in logi_dj_ll_raw_request() local
1386 out_buf = kzalloc(DJREPORT_SHORT_LENGTH, GFP_ATOMIC); in logi_dj_ll_raw_request()
1387 if (!out_buf) in logi_dj_ll_raw_request()
1393 out_buf[0] = REPORT_ID_DJ_SHORT; in logi_dj_ll_raw_request()
1394 out_buf[1] = djdev->device_index; in logi_dj_ll_raw_request()
1395 memcpy(out_buf + 2, buf, count); in logi_dj_ll_raw_request()
1397 ret = hid_hw_raw_request(djrcv_dev->hidpp, out_buf[0], out_buf, in logi_dj_ll_raw_request()
1400 kfree(out_buf); in logi_dj_ll_raw_request()
/drivers/base/firmware_loader/
A Dmain.c315 void *workspace, *out_buf; in fw_decompress_zstd() local
321 out_buf = fw_priv->data; in fw_decompress_zstd()
331 out_buf = vzalloc(out_size); in fw_decompress_zstd()
332 if (!out_buf) in fw_decompress_zstd()
350 len = zstd_decompress_dctx(ctx, out_buf, out_size, in_buffer, in_size); in fw_decompress_zstd()
359 fw_priv->data = out_buf; in fw_decompress_zstd()
366 vfree(out_buf); in fw_decompress_zstd()
/drivers/usb/early/
A Dxhci-dbc.c242 memset(xdbc.out_buf, 0, PAGE_SIZE); in xdbc_mem_init()
344 xdbc.in_buf = xdbc.out_buf + XDBC_MAX_PACKET; in xdbc_mem_init()
502 memcpy_and_pad(xdbc.out_buf, XDBC_MAX_PACKET, data, size, 0); in xdbc_bulk_transfer()
568 xdbc.out_buf = xdbc_get_page(&xdbc.out_dma); in xdbc_early_setup()
569 if (!xdbc.out_buf) in xdbc_early_setup()
683 xdbc.out_buf = NULL; in early_xdbc_setup_hardware()
A Dxhci-dbc.h180 void *out_buf; member
/drivers/gpu/drm/gma500/
A Dpsb_intel_lvds.c95 u8 out_buf[2]; in psb_lvds_i2c_set_brightness() local
103 .buf = out_buf, in psb_lvds_i2c_set_brightness()
114 out_buf[0] = dev_priv->lvds_bl->brightnesscmd; in psb_lvds_i2c_set_brightness()
115 out_buf[1] = (u8)blc_i2c_brightness; in psb_lvds_i2c_set_brightness()
/drivers/target/iscsi/
A Discsi_target_nego.c59 char *out_buf, in extract_param() argument
65 if (!in_buf || !pattern || !out_buf || !type) in extract_param()
95 memcpy(out_buf, ptr, len); in extract_param()
96 out_buf[len] = '\0'; in extract_param()
129 char *out_buf, in iscsi_handle_authentication() argument
148 return chap_main_loop(conn, auth, in_buf, out_buf, in iscsi_handle_authentication()
/drivers/cxl/
A Dacpi.c204 union acpi_object *out_obj, *out_buf, *obj; in cxl_acpi_evaluate_qtg_dsm() local
262 out_buf = &obj->package.elements[i]; in cxl_acpi_evaluate_qtg_dsm()
263 if (out_buf->type != ACPI_TYPE_INTEGER) { in cxl_acpi_evaluate_qtg_dsm()
268 qtg_id = out_buf->integer.value; in cxl_acpi_evaluate_qtg_dsm()
A Dpmem.c199 if (struct_size(cmd, out_buf, cmd->in_length) > buf_len) in cxl_pmem_get_config_data()
211 .payload_out = cmd->out_buf, in cxl_pmem_get_config_data()
/drivers/crypto/
A Dmxs-dcp.c327 uint8_t *out_buf = sdcp->coh->aes_out_buf; in mxs_dcp_aes_block_crypt() local
385 sg_pcopy_from_buffer(dst, dst_nents, out_buf, in mxs_dcp_aes_block_crypt()
400 memcpy(req->iv, out_buf+(last_out_len-AES_BLOCK_SIZE), in mxs_dcp_aes_block_crypt()
680 uint8_t *out_buf = sdcp->coh->sha_out_buf; in dcp_sha_req_to_buf() local
735 req->result[i] = out_buf[halg->digestsize - i - 1]; in dcp_sha_req_to_buf()
/drivers/soc/qcom/
A Dqmi_encdec.c60 static int qmi_encode(const struct qmi_elem_info *ei_array, void *out_buf,
292 static int qmi_encode(const struct qmi_elem_info *ei_array, void *out_buf, in qmi_encode() argument
299 u8 *buf_dst = (u8 *)out_buf; in qmi_encode()
/drivers/s390/block/
A Ddcssblk.c775 goto out_buf; in dcssblk_remove_store()
785 goto out_buf; in dcssblk_remove_store()
792 goto out_buf; in dcssblk_remove_store()
811 out_buf: in dcssblk_remove_store()
/drivers/char/tpm/
A Dtpm-sysfs.c54 goto out_buf; in pubek_show()
74 out_buf: in pubek_show()
/drivers/acpi/
A Dacpi_dbg.c53 char out_buf[ACPI_AML_BUF_SIZE] __aligned(ACPI_AML_BUF_ALIGN);
751 acpi_aml_io.out_crc.buf = acpi_aml_io.out_buf; in acpi_aml_init()
/drivers/net/wireless/realtek/rtlwifi/btcoexist/
A Dhalbtcoutsrc.c503 static bool halbtc_get(void *void_btcoexist, u8 get_type, void *out_buf) in halbtc_get() argument
510 bool *bool_tmp = (bool *)out_buf; in halbtc_get()
511 int *s32_tmp = (int *)out_buf; in halbtc_get()
512 u32 *u32_tmp = (u32 *)out_buf; in halbtc_get()
513 u8 *u8_tmp = (u8 *)out_buf; in halbtc_get()

Completed in 74 milliseconds

12