Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/sfc/
Dmcdi_phy.c39 u8 outbuf[MC_CMD_GET_PHY_CFG_OUT_LEN]; in efx_mcdi_get_phy_cfg() local
47 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_get_phy_cfg()
56 cfg->flags = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_FLAGS); in efx_mcdi_get_phy_cfg()
57 cfg->type = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_TYPE); in efx_mcdi_get_phy_cfg()
59 MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_SUPPORTED_CAP); in efx_mcdi_get_phy_cfg()
60 cfg->channel = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_CHANNEL); in efx_mcdi_get_phy_cfg()
61 cfg->port = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_PRT); in efx_mcdi_get_phy_cfg()
62 cfg->stats_mask = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_STATS_MASK); in efx_mcdi_get_phy_cfg()
63 memcpy(cfg->name, MCDI_PTR(outbuf, GET_PHY_CFG_OUT_NAME), in efx_mcdi_get_phy_cfg()
65 cfg->media = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_MEDIA_TYPE); in efx_mcdi_get_phy_cfg()
[all …]
Dmcdi.c107 static void efx_mcdi_copyout(struct efx_nic *efx, u8 *outbuf, size_t outlen) in efx_mcdi_copyout() argument
117 *((__le32 *)(outbuf + i)) = _efx_readd(efx, pdu + 4 + i); in efx_mcdi_copyout()
331 const u8 *inbuf, size_t inlen, u8 *outbuf, size_t outlen, in efx_mcdi_rpc() argument
336 outbuf, outlen, outlen_actual); in efx_mcdi_rpc()
357 u8 *outbuf, size_t outlen, size_t *outlen_actual) in efx_mcdi_rpc_finish() argument
395 efx_mcdi_copyout(efx, outbuf, in efx_mcdi_rpc_finish()
609 u8 outbuf[ALIGN(MC_CMD_GET_VERSION_OUT_LEN, 4)]; in efx_mcdi_print_fwver() local
617 outbuf, sizeof(outbuf), &outlength); in efx_mcdi_print_fwver()
626 ver_words = (__le16 *)MCDI_PTR(outbuf, GET_VERSION_OUT_VERSION); in efx_mcdi_print_fwver()
641 u8 outbuf[MC_CMD_DRV_ATTACH_OUT_LEN]; in efx_mcdi_drv_attach() local
[all …]
Dmcdi_mac.c58 u8 outbuf[MC_CMD_GET_LINK_OUT_LEN]; in efx_mcdi_mac_check_fault() local
65 outbuf, sizeof(outbuf), &outlength); in efx_mcdi_mac_check_fault()
72 return MCDI_DWORD(outbuf, GET_LINK_OUT_MAC_FAULT) != 0; in efx_mcdi_mac_check_fault()
Dmcdi_mon.c239 u8 outbuf[MC_CMD_SENSOR_INFO_OUT_LENMAX]; in efx_mcdi_mon_probe() local
248 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_mon_probe()
257 mask = MCDI_DWORD(outbuf, SENSOR_INFO_OUT_MASK); in efx_mcdi_mon_probe()
332 min1 = MCDI_ARRAY_FIELD(outbuf, SENSOR_ENTRY, in efx_mcdi_mon_probe()
334 max1 = MCDI_ARRAY_FIELD(outbuf, SENSOR_ENTRY, in efx_mcdi_mon_probe()
336 min2 = MCDI_ARRAY_FIELD(outbuf, SENSOR_ENTRY, in efx_mcdi_mon_probe()
338 max2 = MCDI_ARRAY_FIELD(outbuf, SENSOR_ENTRY, in efx_mcdi_mon_probe()
Dmcdi.h71 size_t inlen, u8 *outbuf, size_t outlen,
77 u8 *outbuf, size_t outlen,
Dptp.c1418 u8 outbuf[MC_CMD_PTP_OUT_READ_NIC_TIME_LEN]; in efx_phc_gettime() local
1424 outbuf, sizeof(outbuf), NULL); in efx_phc_gettime()
1428 ts->tv_sec = MCDI_DWORD(outbuf, PTP_OUT_READ_NIC_TIME_SECONDS); in efx_phc_gettime()
1429 ts->tv_nsec = MCDI_DWORD(outbuf, PTP_OUT_READ_NIC_TIME_NANOSECONDS); in efx_phc_gettime()
/drivers/crypto/nx/
Dnx-842.c329 unsigned long inbuf, outbuf, padding; in nx842_compress() local
360 outbuf = (unsigned long)out + hdrsize; in nx842_compress()
385 padding = ALIGN(outbuf, IO_BUFFER_ALIGN) - outbuf; in nx842_compress()
386 outbuf += padding; in nx842_compress()
422 nx842_build_scatterlist(outbuf, in nx842_compress()
453 memcpy((void *)outbuf, (void *)inbuf, in nx842_compress()
456 outbuf += max_sync_size; in nx842_compress()
467 outbuf += size; in nx842_compress()
474 *outlen = (unsigned int)(outbuf - (unsigned long)out); in nx842_compress()
529 unsigned long inbuf, outbuf; in nx842_decompress() local
[all …]
/drivers/iio/dac/
Dmcp4725.c40 u8 outbuf[2]; in mcp4725_suspend() local
42 outbuf[0] = 0x3 << 4; /* power-down bits, 500 kOhm resistor */ in mcp4725_suspend()
43 outbuf[1] = 0; in mcp4725_suspend()
45 return i2c_master_send(to_i2c_client(dev), outbuf, 2); in mcp4725_suspend()
52 u8 outbuf[2]; in mcp4725_resume() local
55 outbuf[0] = (data->dac_value >> 8) & 0xf; in mcp4725_resume()
56 outbuf[1] = data->dac_value & 0xff; in mcp4725_resume()
58 return i2c_master_send(to_i2c_client(dev), outbuf, 2); in mcp4725_resume()
80 u8 outbuf[2]; in mcp4725_set_value() local
86 outbuf[0] = (val >> 8) & 0xf; in mcp4725_set_value()
[all …]
Dmax517.c60 u8 outbuf[2]; in max517_set_value() local
66 outbuf[0] = channel; in max517_set_value()
67 outbuf[1] = val; in max517_set_value()
69 res = i2c_master_send(client, outbuf, 2); in max517_set_value()
120 u8 outbuf = COMMAND_PD; in max517_suspend() local
122 return i2c_master_send(to_i2c_client(dev), &outbuf, 1); in max517_suspend()
127 u8 outbuf = 0; in max517_resume() local
129 return i2c_master_send(to_i2c_client(dev), &outbuf, 1); in max517_resume()
/drivers/usb/gadget/
Drndis.c178 __le32 *outbuf; in gen_ndis_query_resp() local
202 outbuf = (__le32 *)&resp[1]; in gen_ndis_query_resp()
218 outbuf[i] = cpu_to_le32(oid_supported_list[i]); in gen_ndis_query_resp()
231 *outbuf = cpu_to_le32(0); in gen_ndis_query_resp()
238 *outbuf = cpu_to_le32(rndis_per_dev_params[configNr].medium); in gen_ndis_query_resp()
246 *outbuf = cpu_to_le32(rndis_per_dev_params[configNr].medium); in gen_ndis_query_resp()
254 *outbuf = cpu_to_le32( in gen_ndis_query_resp()
266 *outbuf = cpu_to_le32(0); in gen_ndis_query_resp()
268 *outbuf = cpu_to_le32( in gen_ndis_query_resp()
277 *outbuf = cpu_to_le32( in gen_ndis_query_resp()
[all …]
/drivers/staging/wlan-ng/
Dhfa384x_usb.c860 rridresult.rid = le16_to_cpu(ctlx->outbuf.rridreq.rid); in hfa384x_cb_rrid()
1315 le16_to_cpu(ctlx->outbuf.type), in hfa384x_usbctlx_complete_sync()
1376 ctlx->outbuf.cmdreq.type = cpu_to_le16(HFA384x_USB_CMDREQ); in hfa384x_docmd()
1377 ctlx->outbuf.cmdreq.cmd = cpu_to_le16(cmd->cmd); in hfa384x_docmd()
1378 ctlx->outbuf.cmdreq.parm0 = cpu_to_le16(cmd->parm0); in hfa384x_docmd()
1379 ctlx->outbuf.cmdreq.parm1 = cpu_to_le16(cmd->parm1); in hfa384x_docmd()
1380 ctlx->outbuf.cmdreq.parm2 = cpu_to_le16(cmd->parm2); in hfa384x_docmd()
1382 ctlx->outbufsize = sizeof(ctlx->outbuf.cmdreq); in hfa384x_docmd()
1467 ctlx->outbuf.rridreq.type = cpu_to_le16(HFA384x_USB_RRIDREQ); in hfa384x_dorrid()
1468 ctlx->outbuf.rridreq.frmlen = in hfa384x_dorrid()
[all …]
/drivers/platform/olpc/
Dolpc-ec.c22 u8 *inbuf, *outbuf; member
87 desc->outbuf, desc->outlen, ec_cb_arg); in olpc_ec_worker()
115 int olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, size_t outlen) in olpc_ec_cmd() argument
135 desc.outbuf = outbuf; in olpc_ec_cmd()
/drivers/sbus/char/
Ductrl.c95 u8 *outbuf; member
296 txn->outbuf[bytecnt] = (byte >> 8); in uctrl_do_txn()
312 txn.outbuf = outbits; in uctrl_get_event_status()
332 txn.outbuf = outbits; in uctrl_get_external_status()
/drivers/ide/
Dide-taskfile.c474 u8 *outbuf = NULL; in ide_taskfile_ioctl() local
498 outbuf = kzalloc(taskout, GFP_KERNEL); in ide_taskfile_ioctl()
499 if (outbuf == NULL) { in ide_taskfile_ioctl()
503 if (copy_from_user(outbuf, buf + outtotal, taskout)) { in ide_taskfile_ioctl()
597 data_buf = outbuf; in ide_taskfile_ioctl()
656 if (copy_to_user(buf + outtotal, outbuf, taskout)) { in ide_taskfile_ioctl()
670 kfree(outbuf); in ide_taskfile_ioctl()
/drivers/tty/hvc/
Dhvc_console.c464 n = hp->ops->put_chars(hp->vtermno, hp->outbuf, hp->n_outbuf); in hvc_push()
476 memmove(hp->outbuf, hp->outbuf + n, hp->n_outbuf); in hvc_push()
506 memcpy(hp->outbuf + hp->n_outbuf, buf, rsize); in hvc_write()
860 hp->outbuf = &((char *)hp)[ALIGN(sizeof(*hp), sizeof(long))]; in hvc_alloc()
Dhvc_console.h53 char *outbuf; member
Dhvsi.c80 uint8_t outbuf[N_OUTBUF]; /* to implement write_room and chars_in_buffer */ member
848 n = hvsi_put_chars(hp, hp->outbuf, hp->n_outbuf); in hvsi_push()
946 memcpy(hp->outbuf + hp->n_outbuf, source, chunksize); in hvsi_write()
/drivers/media/rc/
Dati_remote.c257 unsigned char *outbuf; member
725 ati_remote->outbuf = usb_alloc_coherent(udev, DATA_BUFSIZE, GFP_ATOMIC, in ati_remote_alloc_buffers()
727 if (!ati_remote->outbuf) in ati_remote_alloc_buffers()
753 ati_remote->outbuf, ati_remote->outbuf_dma); in ati_remote_free_buffers()
823 usb_fill_int_urb(ati_remote->out_urb, udev, pipe, ati_remote->outbuf, in ati_remote_initialize()
/drivers/hid/usbhid/
Dusbhid.h84 char *outbuf; /* Output buffer */ member
Dhid-core.c359 memcpy(usbhid->outbuf, raw_report, in hid_submit_out()
894 usbhid->outbuf = usb_alloc_coherent(dev, usbhid->bufsize, GFP_KERNEL, in hid_alloc_buffers()
899 if (!usbhid->inbuf || !usbhid->outbuf || !usbhid->cr || in hid_alloc_buffers()
1005 usb_free_coherent(dev, usbhid->bufsize, usbhid->outbuf, usbhid->outbuf_dma); in hid_free_buffers()
1152 usb_fill_int_urb(usbhid->urbout, dev, pipe, usbhid->outbuf, 0, in usbhid_start()
/drivers/usb/class/
Dcdc-wdm.c75 u8 *outbuf; /* buffer for command */ member
150 kfree(desc->outbuf); in wdm_out_callback()
151 desc->outbuf = NULL; in wdm_out_callback()
408 desc->outbuf = buf; in wdm_write()
413 desc->outbuf = NULL; in wdm_write()
/drivers/net/ethernet/mellanox/mlx4/
Dport.c436 u8 *inbuf, *outbuf; in mlx4_get_port_ib_caps() local
450 outbuf = outmailbox->buf; in mlx4_get_port_ib_caps()
452 memset(outbuf, 0, 256); in mlx4_get_port_ib_caps()
464 *caps = *(__be32 *) (outbuf + 84); in mlx4_get_port_ib_caps()
Dfw.c1143 u8 *outbuf; in mlx4_QUERY_FW_wrapper() local
1146 outbuf = outbox->buf; in mlx4_QUERY_FW_wrapper()
1154 outbuf[0] = outbuf[1] = 0; in mlx4_QUERY_FW_wrapper()
1155 memset(&outbuf[8], 0, QUERY_FW_OUT_SIZE - 8); in mlx4_QUERY_FW_wrapper()
1156 outbuf[QUERY_FW_PPF_ID] = MLX4_INVALID_SLAVE_ID; in mlx4_QUERY_FW_wrapper()
/drivers/md/
Ddm-ioctl.c1054 char *outbuf, *outptr; in retrieve_status() local
1059 outptr = outbuf = get_result_buffer(param, param_size, &len); in retrieve_status()
1072 remaining = len - (outptr - outbuf); in retrieve_status()
1087 remaining = len - (outptr - outbuf); in retrieve_status()
1108 used = param->data_start + (outptr - outbuf); in retrieve_status()
1111 spec->next = outptr - outbuf; in retrieve_status()
/drivers/isdn/gigaset/
Dcommon.c54 unsigned char outbuf[80]; in gigaset_dbg_buffer() local
56 size_t space = sizeof outbuf - 1; in gigaset_dbg_buffer()
57 unsigned char *out = outbuf; in gigaset_dbg_buffer()
85 gig_dbg(level, "%s (%u bytes): %s", msg, (unsigned) len, outbuf); in gigaset_dbg_buffer()

12