| /linux/drivers/net/ethernet/sfc/ |
| A D | mcdi_functions.c | 20 MCDI_DECLARE_BUF_ERR(outbuf); in efx_mcdi_free_vis() 23 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_free_vis() 46 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_alloc_vis() 124 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_ev_init() 143 MCDI_DECLARE_BUF_ERR(outbuf); in efx_mcdi_ev_fini() 151 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_ev_fini() 160 outbuf, outlen, rc); in efx_mcdi_ev_fini() 249 MCDI_DECLARE_BUF_ERR(outbuf); in efx_mcdi_tx_fini() 258 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_tx_fini() 343 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_rx_fini() [all …]
|
| A D | mcdi_port.c | 25 MCDI_DECLARE_BUF(outbuf, MC_CMD_MDIO_READ_OUT_LEN); in efx_mcdi_mdio_read() 35 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_mdio_read() 39 if (MCDI_DWORD(outbuf, MDIO_READ_OUT_STATUS) != in efx_mcdi_mdio_read() 43 return (u16)MCDI_DWORD(outbuf, MDIO_READ_OUT_VALUE); in efx_mcdi_mdio_read() 51 MCDI_DECLARE_BUF(outbuf, MC_CMD_MDIO_WRITE_OUT_LEN); in efx_mcdi_mdio_write() 62 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_mdio_write() 66 if (MCDI_DWORD(outbuf, MDIO_WRITE_OUT_STATUS) != in efx_mcdi_mdio_write() 82 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LINK_OUT_LEN); in efx_mcdi_mac_check_fault() 89 outbuf, sizeof(outbuf), &outlength); in efx_mcdi_mac_check_fault() 93 return MCDI_DWORD(outbuf, GET_LINK_OUT_MAC_FAULT) != 0; in efx_mcdi_mac_check_fault()
|
| A D | mcdi_port_common.c | 25 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_get_phy_cfg() 95 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_loopback_modes() 413 outbuf, sizeof(outbuf), NULL); in efx_mcdi_phy_poll() 420 MCDI_DWORD(outbuf, GET_LINK_OUT_FLAGS), in efx_mcdi_phy_poll() 445 outbuf, sizeof(outbuf), NULL); in efx_mcdi_phy_probe() 561 outbuf, sizeof(outbuf), NULL); in efx_mcdi_phy_get_link_ksettings() 626 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_phy_get_fecparam() 720 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_phy_test_alive() 778 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_bist() 920 outbuf, sizeof(outbuf), in efx_mcdi_phy_get_module_eeprom_page() [all …]
|
| A D | mcdi.c | 1468 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_drv_attach() 1535 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_get_board_cfg() 1607 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_nvram_types() 1665 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_nvram_info() 1693 outbuf, sizeof(outbuf), NULL); in efx_mcdi_nvram_test() 1793 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_read_assertion() 1965 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_wol_filter_set() 2000 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_wol_filter_get_magic() 2084 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_set_workaround() 2107 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_get_workarounds() [all …]
|
| A D | ptp.c | 430 outbuf, sizeof(outbuf), NULL); in efx_ptp_update_stats() 432 memset(outbuf, 0, sizeof(outbuf)); in efx_ptp_update_stats() 645 outbuf, sizeof(outbuf), &out_len); in efx_ptp_get_attributes() 655 outbuf, sizeof(outbuf), rc); in efx_ptp_get_attributes() 743 outbuf, sizeof(outbuf), &out_len); in efx_ptp_get_timestamp_corrections() 756 outbuf, in efx_ptp_get_timestamp_corrections() 798 outbuf, sizeof(outbuf), NULL); in efx_ptp_enable() 803 outbuf, sizeof(outbuf), rc); in efx_ptp_enable() 821 outbuf, sizeof(outbuf), NULL); in efx_ptp_disable() 831 outbuf, sizeof(outbuf), rc); in efx_ptp_disable() [all …]
|
| A D | ef10.c | 117 outbuf, sizeof(outbuf), &outlen); in efx_ef10_init_datapath_caps() 194 outbuf, sizeof(outbuf), &outlen); in efx_ef10_read_licensed_features() 208 outbuf, sizeof(outbuf), NULL); in efx_ef10_get_sysclk_freq() 300 outbuf, sizeof(outbuf), NULL); in efx_ef10_get_timer_config() 334 outbuf, sizeof(outbuf), &outlen); in efx_ef10_get_mac_address_pf() 355 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_ef10_get_mac_address_vf() 747 outbuf, sizeof(outbuf), &outlen); in efx_ef10_alloc_piobufs() 999 outbuf, sizeof(outbuf), &outlen); in efx_ef10_vadaptor_query() 3378 outbuf, sizeof(outbuf), &outlen); in efx_ef10_poll_bist() 3517 outbuf, sizeof(outbuf), &outlen); in efx_ef10_mtd_probe_partition() [all …]
|
| A D | mcdi_mon.c | 308 MCDI_DECLARE_BUF(outbuf, MC_CMD_SENSOR_INFO_OUT_LENMAX); in efx_mcdi_mon_probe() 322 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_mon_probe() 328 mask = MCDI_DWORD(outbuf, SENSOR_INFO_OUT_MASK); in efx_mcdi_mon_probe() 385 outbuf, sizeof(outbuf), in efx_mcdi_mon_probe() 394 mask = (MCDI_DWORD(outbuf, in efx_mcdi_mon_probe() 448 min1 = MCDI_ARRAY_FIELD(outbuf, SENSOR_ENTRY, in efx_mcdi_mon_probe() 450 max1 = MCDI_ARRAY_FIELD(outbuf, SENSOR_ENTRY, in efx_mcdi_mon_probe() 452 min2 = MCDI_ARRAY_FIELD(outbuf, SENSOR_ENTRY, in efx_mcdi_mon_probe() 454 max2 = MCDI_ARRAY_FIELD(outbuf, SENSOR_ENTRY, in efx_mcdi_mon_probe()
|
| /linux/drivers/input/touchscreen/ |
| A D | ilitek_ts_i2c.c | 214 u16 idx, u8 *inbuf, u8 *outbuf) in api_protocol_set_cmd() argument 231 u16 cmd, u8 *inbuf, u8 *outbuf) in api_protocol_get_ptl_ver() argument 242 ts->ptl.ver_major = outbuf[0]; in api_protocol_get_ptl_ver() 266 u16 cmd, u8 *inbuf, u8 *outbuf) in api_protocol_get_fw_ver() argument 276 memcpy(ts->firmware_ver, outbuf, 8); in api_protocol_get_fw_ver() 301 u16 cmd, u8 *inbuf, u8 *outbuf) in api_protocol_get_tp_res() argument 311 ts->max_tp = outbuf[8]; in api_protocol_get_tp_res() 332 ts->ic_mode = outbuf[0]; in api_protocol_get_ic_mode() 404 u8 outbuf[64]; in ilitek_protocol_init() local 424 u8 outbuf[256]; in ilitek_read_tp_info() local [all …]
|
| /linux/drivers/iio/dac/ |
| A D | max5821.c | 93 u8 outbuf[2]; in max5821_sync_powerdown_mode() local 95 outbuf[0] = MAX5821_EXTENDED_COMMAND_MODE; in max5821_sync_powerdown_mode() 98 outbuf[1] = MAX5821_EXTENDED_DAC_A; in max5821_sync_powerdown_mode() 100 outbuf[1] = MAX5821_EXTENDED_DAC_B; in max5821_sync_powerdown_mode() 105 outbuf[1] |= MAX5821_EXTENDED_POWER_UP; in max5821_sync_powerdown_mode() 174 u8 outbuf[1]; in max5821_get_value() local 185 ret = i2c_master_send(client, outbuf, 1); in max5821_get_value() 215 u8 outbuf[2]; in max5821_set_value() local 225 outbuf[0] |= val >> 6; in max5821_set_value() 226 outbuf[1] = (val & 0x3f) << 2; in max5821_set_value() [all …]
|
| A D | mcp4725.c | 49 u8 outbuf[2]; in mcp4725_suspend() local 52 outbuf[1] = 0; in mcp4725_suspend() 62 u8 outbuf[2]; in mcp4725_resume() local 66 outbuf[1] = data->dac_value & 0xff; in mcp4725_resume() 267 u8 outbuf[2]; in mcp4725_set_value() local 273 outbuf[0] = (val >> 8) & 0xf; in mcp4725_set_value() 274 outbuf[1] = val & 0xff; in mcp4725_set_value() 288 u8 outbuf[3]; in mcp4726_set_cfg() local 291 outbuf[0] = 0x40; in mcp4726_set_cfg() 292 outbuf[0] |= data->ref_mode << 3; in mcp4726_set_cfg() [all …]
|
| A D | max517.c | 48 u8 outbuf[2]; in max517_set_value() local 54 outbuf[0] = channel; in max517_set_value() 55 outbuf[1] = val; in max517_set_value() 57 res = i2c_master_send(client, outbuf, 2); in max517_set_value() 105 u8 outbuf = COMMAND_PD; in max517_suspend() local 107 return i2c_master_send(to_i2c_client(dev), &outbuf, 1); in max517_suspend() 112 u8 outbuf = 0; in max517_resume() local 114 return i2c_master_send(to_i2c_client(dev), &outbuf, 1); in max517_resume()
|
| A D | m62332.c | 37 u8 outbuf[2]; in m62332_set_value() local 43 outbuf[0] = channel; in m62332_set_value() 44 outbuf[1] = val; in m62332_set_value() 54 res = i2c_master_send(client, outbuf, ARRAY_SIZE(outbuf)); in m62332_set_value() 55 if (res >= 0 && res != ARRAY_SIZE(outbuf)) in m62332_set_value()
|
| /linux/drivers/usb/gadget/function/ |
| A D | rndis.c | 174 __le32 *outbuf; in gen_ndis_query_resp() local 198 outbuf = (__le32 *)&resp[1]; in gen_ndis_query_resp() 227 *outbuf = cpu_to_le32(0); in gen_ndis_query_resp() 260 *outbuf = cpu_to_le32(0); in gen_ndis_query_resp() 298 outbuf[0] = 0; in gen_ndis_query_resp() 334 *outbuf = cpu_to_le32(0); in gen_ndis_query_resp() 344 *outbuf = cpu_to_le32( in gen_ndis_query_resp() 437 *outbuf = cpu_to_le32(1); in gen_ndis_query_resp() 443 *outbuf = cpu_to_le32(0); in gen_ndis_query_resp() 461 *outbuf = cpu_to_le32(0); in gen_ndis_query_resp() [all …]
|
| /linux/security/keys/ |
| A D | dh.c | 203 uint8_t *outbuf = NULL; in keyctl_dh_compute_kdf() local 208 outbuf = kmalloc(outbuf_len, GFP_KERNEL); in keyctl_dh_compute_kdf() 209 if (!outbuf) { in keyctl_dh_compute_kdf() 219 if (copy_to_user(buffer, outbuf, buflen) != 0) in keyctl_dh_compute_kdf() 223 kfree_sensitive(outbuf); in keyctl_dh_compute_kdf() 242 uint8_t *outbuf; in __keyctl_dh_compute() local 343 if (!outbuf) { in __keyctl_dh_compute() 348 sg_init_one(&outsg, outbuf, outlen); in __keyctl_dh_compute() 386 ret = keyctl_dh_compute_kdf(sdesc, buffer, buflen, outbuf, in __keyctl_dh_compute() 389 } else if (copy_to_user(buffer, outbuf, req->dst_len) == 0) { in __keyctl_dh_compute() [all …]
|
| /linux/crypto/ |
| A D | cast6_generic.c | 172 void __cast6_encrypt(const void *ctx, u8 *outbuf, const u8 *inbuf) in __cast6_encrypt() argument 197 put_unaligned_be32(block[0], outbuf); in __cast6_encrypt() 198 put_unaligned_be32(block[1], outbuf + 4); in __cast6_encrypt() 199 put_unaligned_be32(block[2], outbuf + 8); in __cast6_encrypt() 200 put_unaligned_be32(block[3], outbuf + 12); in __cast6_encrypt() 206 __cast6_encrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); in cast6_encrypt() 234 put_unaligned_be32(block[0], outbuf); in __cast6_decrypt() 235 put_unaligned_be32(block[1], outbuf + 4); in __cast6_decrypt() 236 put_unaligned_be32(block[2], outbuf + 8); in __cast6_decrypt() 237 put_unaligned_be32(block[3], outbuf + 12); in __cast6_decrypt() [all …]
|
| A D | cast5_generic.c | 303 void __cast5_encrypt(struct cast5_ctx *c, u8 *outbuf, const u8 *inbuf) in __cast5_encrypt() argument 348 put_unaligned_be32(r, outbuf); in __cast5_encrypt() 349 put_unaligned_be32(l, outbuf + 4); in __cast5_encrypt() 353 static void cast5_encrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast5_encrypt() argument 355 __cast5_encrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); in cast5_encrypt() 358 void __cast5_decrypt(struct cast5_ctx *c, u8 *outbuf, const u8 *inbuf) in __cast5_decrypt() argument 390 put_unaligned_be32(r, outbuf); in __cast5_decrypt() 391 put_unaligned_be32(l, outbuf + 4); in __cast5_decrypt() 395 static void cast5_decrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast5_decrypt() argument 397 __cast5_decrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); in cast5_decrypt()
|
| /linux/drivers/staging/wlan-ng/ |
| A D | hfa384x_usb.c | 1155 le16_to_cpu(ctlx->outbuf.type), in hfa384x_usbctlx_complete_sync() 1300 ctlx->outbuf.rridreq.frmlen = in hfa384x_dorrid() 1383 (ctlx->outbuf.wridreq.rid) + in hfa384x_dowrid() 1464 ctlx->outbuf.rmemreq.frmlen = in hfa384x_dormem() 1473 ctlx->outbuf.rmemreq.type, in hfa384x_dormem() 1474 ctlx->outbuf.rmemreq.frmlen, in hfa384x_dormem() 1475 ctlx->outbuf.rmemreq.offset, ctlx->outbuf.rmemreq.page); in hfa384x_dormem() 1552 ctlx->outbuf.wmemreq.frmlen = in hfa384x_dowmem() 2779 le16_to_cpu(ctlx->outbuf.type), in unlocked_usbctlx_complete() 3137 if (ctlx->outbuf.type != intype) { in hfa384x_usbin_ctlx() [all …]
|
| /linux/arch/arm/vdso/ |
| A D | vdsomunge.c | 124 void *outbuf; in main() local 186 outbuf = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, in main() 188 if (outbuf == MAP_FAILED) in main() 193 memcpy(outbuf, inbuf, stat.st_size); in main() 198 outhdr = outbuf; in main() 203 if (msync(outbuf, stat.st_size, MS_SYNC) != 0) in main()
|
| /linux/lib/ |
| A D | decompress_bunzip2.c | 523 static int INIT read_bunzip(struct bunzip_data *bd, char *outbuf, int len) in read_bunzip() argument 555 outbuf[gotcount++] = xcurrent; in read_bunzip() 682 unsigned char *outbuf, in bunzip2() argument 691 outbuf = malloc(BZIP2_IOBUF_SIZE); in bunzip2() 693 if (!outbuf) { in bunzip2() 709 i = read_bunzip(bd, outbuf, BZIP2_IOBUF_SIZE); in bunzip2() 713 outbuf += i; in bunzip2() 715 if (i != flush(outbuf, i)) { in bunzip2() 742 free(outbuf); in bunzip2() 750 unsigned char *outbuf, long olen, in __decompress() argument [all …]
|
| /linux/tools/testing/selftests/powerpc/nx-gzip/ |
| A D | gzfht_test.c | 238 char *inbuf, *outbuf, *srcbuf, *dstbuf; in compress_file() local 267 assert(NULL != (outbuf = (char *)malloc(outlen))); in compress_file() 268 nxu_touch_pages(outbuf, outlen, pagelen, 1); in compress_file() 283 num_hdr_bytes = gzip_header_blank(outbuf); in compress_file() 284 dstbuf = outbuf + num_hdr_bytes; in compress_file() 402 if (write_output_file(outname, outbuf, dsttotlen)) { in compress_file() 414 if (outbuf != NULL) in compress_file() 415 free(outbuf); in compress_file()
|
| /linux/drivers/infiniband/sw/rxe/ |
| A D | rxe_queue.c | 12 int do_mmap_info(struct rxe_dev *rxe, struct mminfo __user *outbuf, in do_mmap_info() argument 19 if (outbuf) { in do_mmap_info() 26 if (copy_to_user(outbuf, &ip->info, sizeof(ip->info))) { in do_mmap_info() 148 struct mminfo __user *outbuf, spinlock_t *producer_lock, in rxe_queue_resize() argument 160 err = do_mmap_info(new_q->rxe, outbuf, udata, new_q->buf, in rxe_queue_resize()
|
| /linux/arch/powerpc/boot/ |
| A D | decompress.c | 117 void *outbuf, unsigned long output_size, unsigned long _skip) in partial_decompress() argument 128 output_buffer = outbuf; in partial_decompress() 132 ret = __decompress(inbuf, input_size, NULL, flush, outbuf, in partial_decompress()
|
| /linux/include/crypto/ |
| A D | drbg.h | 204 unsigned char *outbuf, unsigned int outlen, in crypto_drbg_get_bytes_addtl() argument 208 outbuf, outlen); in crypto_drbg_get_bytes_addtl() 229 unsigned char *outbuf, unsigned int outlen, in crypto_drbg_get_bytes_addtl_test() argument 236 outbuf, outlen); in crypto_drbg_get_bytes_addtl_test()
|
| /linux/drivers/crypto/nx/ |
| A D | nx-common-pseries.c | 312 unsigned long inbuf, outbuf; in nx842_pseries_compress() local 324 outbuf = (unsigned long)out; in nx842_pseries_compress() 325 if (check_constraints(outbuf, outlen, false)) in nx842_pseries_compress() 359 if ((outbuf & NX842_HW_PAGE_MASK) == in nx842_pseries_compress() 362 op.out = nx842_get_pa((void *)outbuf); in nx842_pseries_compress() 366 nx842_build_scatterlist(outbuf, *outlen, &slout); in nx842_pseries_compress() 442 unsigned long inbuf, outbuf; in nx842_pseries_decompress() local 455 outbuf = (unsigned long)out; in nx842_pseries_decompress() 456 if (check_constraints(outbuf, outlen, false)) in nx842_pseries_decompress() 491 if ((outbuf & NX842_HW_PAGE_MASK) == in nx842_pseries_decompress() [all …]
|
| /linux/drivers/tty/vt/ |
| A D | consolemap.c | 345 unsigned char outbuf[E_TABSZ]; in con_get_trans_old() local 351 outbuf[i] = (ch & ~0xff) ? 0 : ch; in con_get_trans_old() 355 return copy_to_user(arg, outbuf, sizeof(outbuf)) ? -EFAULT : 0; in con_get_trans_old() 374 unsigned short outbuf[E_TABSZ]; in con_get_trans_new() local 377 memcpy(outbuf, translations[USER_MAP], sizeof(outbuf)); in con_get_trans_new() 380 return copy_to_user(arg, outbuf, sizeof(outbuf)) ? -EFAULT : 0; in con_get_trans_new()
|