Home
last modified time | relevance | path

Searched refs:inbuf (Results 1 – 25 of 88) sorted by relevance

1234

/linux/drivers/net/ethernet/sfc/
A Dmcdi_functions.c45 rc = efx_mcdi_rpc(efx, MC_CMD_ALLOC_VIS, inbuf, sizeof(inbuf), in efx_mcdi_alloc_vis()
73 MCDI_DECLARE_BUF(inbuf, in efx_mcdi_ev_init()
90 MCDI_SET_DWORD(inbuf, INIT_EVQ_IN_TMR_MODE, in efx_mcdi_ev_init()
94 MCDI_SET_DWORD(inbuf, INIT_EVQ_IN_COUNT_MODE, in efx_mcdi_ev_init()
150 rc = efx_mcdi_rpc_quiet(efx, MC_CMD_FINI_EVQ, inbuf, sizeof(inbuf), in efx_mcdi_ev_fini()
254 MCDI_SET_DWORD(inbuf, FINI_TXQ_IN_INSTANCE, in efx_mcdi_tx_fini()
257 rc = efx_mcdi_rpc_quiet(efx, MC_CMD_FINI_TXQ, inbuf, sizeof(inbuf), in efx_mcdi_tx_fini()
300 MCDI_SET_DWORD(inbuf, INIT_RXQ_IN_INSTANCE, in efx_mcdi_rx_init()
319 rc = efx_mcdi_rpc(efx, MC_CMD_INIT_RXQ, inbuf, sizeof(inbuf), in efx_mcdi_rx_init()
339 MCDI_SET_DWORD(inbuf, FINI_RXQ_IN_INSTANCE, in efx_mcdi_rx_fini()
[all …]
A Dmcdi_port.c24 MCDI_DECLARE_BUF(inbuf, MC_CMD_MDIO_READ_IN_LEN); in efx_mcdi_mdio_read()
30 MCDI_SET_DWORD(inbuf, MDIO_READ_IN_PRTAD, prtad); in efx_mcdi_mdio_read()
31 MCDI_SET_DWORD(inbuf, MDIO_READ_IN_DEVAD, devad); in efx_mcdi_mdio_read()
32 MCDI_SET_DWORD(inbuf, MDIO_READ_IN_ADDR, addr); in efx_mcdi_mdio_read()
34 rc = efx_mcdi_rpc(efx, MC_CMD_MDIO_READ, inbuf, sizeof(inbuf), in efx_mcdi_mdio_read()
50 MCDI_DECLARE_BUF(inbuf, MC_CMD_MDIO_WRITE_IN_LEN); in efx_mcdi_mdio_write()
56 MCDI_SET_DWORD(inbuf, MDIO_WRITE_IN_PRTAD, prtad); in efx_mcdi_mdio_write()
57 MCDI_SET_DWORD(inbuf, MDIO_WRITE_IN_DEVAD, devad); in efx_mcdi_mdio_write()
58 MCDI_SET_DWORD(inbuf, MDIO_WRITE_IN_ADDR, addr); in efx_mcdi_mdio_write()
59 MCDI_SET_DWORD(inbuf, MDIO_WRITE_IN_VALUE, value); in efx_mcdi_mdio_write()
[all …]
A Def10_sriov.c18 MCDI_DECLARE_BUF(inbuf, MC_CMD_EVB_PORT_ASSIGN_IN_LEN); in efx_ef10_evb_port_assign()
26 return efx_mcdi_rpc(efx, MC_CMD_EVB_PORT_ASSIGN, inbuf, sizeof(inbuf), in efx_ef10_evb_port_assign()
39 MCDI_POPULATE_DWORD_1(inbuf, VSWITCH_ALLOC_IN_FLAGS, in efx_ef10_vswitch_alloc()
43 rc = efx_mcdi_rpc_quiet(efx, MC_CMD_VSWITCH_ALLOC, inbuf, sizeof(inbuf), in efx_ef10_vswitch_alloc()
50 sizeof(inbuf), NULL, 0, NULL); in efx_ef10_vswitch_alloc()
65 return efx_mcdi_rpc(efx, MC_CMD_VSWITCH_FREE, inbuf, sizeof(inbuf), in efx_ef10_vswitch_free()
86 MCDI_POPULATE_DWORD_1(inbuf, VPORT_ALLOC_IN_FLAGS, in efx_ef10_vport_alloc()
92 rc = efx_mcdi_rpc(efx, MC_CMD_VPORT_ALLOC, inbuf, sizeof(inbuf), in efx_ef10_vport_alloc()
109 return efx_mcdi_rpc(efx, MC_CMD_VPORT_FREE, inbuf, sizeof(inbuf), in efx_ef10_vport_free()
768 return efx_mcdi_rpc(efx, MC_CMD_LINK_STATE_MODE, inbuf, sizeof(inbuf), in efx_ef10_sriov_set_vf_link_state()
[all …]
A Dmcdi.c810 if (inbuf && inlen && (inbuf == outbuf)) { in _efx_mcdi_rpc()
1467 rc = efx_mcdi_rpc_quiet(efx, MC_CMD_DRV_ATTACH, inbuf, sizeof(inbuf), in efx_mcdi_drv_attach()
1593 rc = efx_mcdi_rpc(efx, MC_CMD_LOG_CTRL, inbuf, sizeof(inbuf), in efx_mcdi_log_ctrl()
1664 rc = efx_mcdi_rpc(efx, MC_CMD_NVRAM_INFO, inbuf, sizeof(inbuf), in efx_mcdi_nvram_info()
1692 rc = efx_mcdi_rpc(efx, MC_CMD_NVRAM_TEST, inbuf, sizeof(inbuf), in efx_mcdi_nvram_test()
1894 rc = efx_mcdi_rpc(efx, MC_CMD_ENTITY_RESET, inbuf, sizeof(inbuf), in efx_mcdi_reset_func()
1906 rc = efx_mcdi_rpc(efx, MC_CMD_REBOOT, inbuf, sizeof(inbuf), in efx_mcdi_reset_mc()
1964 rc = efx_mcdi_rpc(efx, MC_CMD_WOL_FILTER_SET, inbuf, sizeof(inbuf), in efx_mcdi_wol_filter_set()
2083 rc = efx_mcdi_rpc(efx, MC_CMD_WORKAROUND, inbuf, sizeof(inbuf), in efx_mcdi_set_workaround()
2170 rc = efx_mcdi_rpc(efx, MC_CMD_NVRAM_READ, inbuf, sizeof(inbuf), in efx_mcdi_nvram_read()
[all …]
A Dmcdi_filters.c95 efx_dword_t *inbuf) in efx_mcdi_filter_push_prep_set_match_fields() argument
253 rc = efx_mcdi_rpc_quiet(efx, MC_CMD_FILTER_OP, inbuf, sizeof(inbuf), in efx_mcdi_filter_push()
511 memset(inbuf, 0, sizeof(inbuf)); in efx_mcdi_filter_insert_locked()
527 inbuf, sizeof(inbuf), in efx_mcdi_filter_insert_locked()
578 MCDI_DECLARE_BUF(inbuf, in efx_mcdi_filter_remove_internal()
631 inbuf, sizeof(inbuf), NULL, 0, NULL); in efx_mcdi_filter_remove_internal()
1265 inbuf, sizeof(inbuf), outbuf, sizeof(outbuf), in efx_mcdi_filter_table_probe_matches()
1923 if (!efx_mcdi_rpc(efx, MC_CMD_RSS_CONTEXT_SET_FLAGS, inbuf, sizeof(inbuf), in efx_mcdi_set_rss_context_flags()
1960 rc = efx_mcdi_rpc(efx, MC_CMD_RSS_CONTEXT_ALLOC, inbuf, sizeof(inbuf), in efx_mcdi_filter_alloc_rss_context()
1985 return efx_mcdi_rpc(efx, MC_CMD_RSS_CONTEXT_FREE, inbuf, sizeof(inbuf), in efx_mcdi_filter_free_rss_context()
[all …]
A Def10.c193 rc = efx_mcdi_rpc_quiet(efx, MC_CMD_LICENSING_V3, inbuf, sizeof(inbuf), in efx_ef10_read_licensed_features()
727 rc = efx_mcdi_rpc(efx, MC_CMD_FREE_PIOBUF, inbuf, sizeof(inbuf), in efx_ef10_free_piobufs()
998 rc = efx_mcdi_rpc(efx, MC_CMD_VADAPTOR_QUERY, inbuf, sizeof(inbuf), in efx_ef10_vadaptor_query()
1036 return efx_mcdi_rpc(efx, MC_CMD_VADAPTOR_FREE, inbuf, sizeof(inbuf), in efx_ef10_vadaptor_free()
1985 inbuf, sizeof(inbuf), 0, NULL, 0); in efx_ef10_push_irq_moderation()
2183 inbuf, sizeof(inbuf), NULL, 0, NULL); in efx_ef10_irq_test_generate()
2614 inbuf, sizeof(inbuf), 0, in efx_ef10_rx_defer_refill()
3182 rc = efx_mcdi_rpc(efx, MC_CMD_DRIVER_EVENT, inbuf, sizeof(inbuf), in efx_ef10_ev_test_generate()
3362 return efx_mcdi_rpc(efx, MC_CMD_START_BIST, inbuf, sizeof(inbuf), in efx_ef10_start_bist()
3617 inbuf, sizeof(inbuf), NULL, 0, NULL); in efx_ef10_rx_enable_timestamping()
[all …]
A Dptp.c428 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_update_stats()
429 rc = efx_mcdi_rpc(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_update_stats()
643 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_get_attributes()
644 rc = efx_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_get_attributes()
738 MCDI_SET_DWORD(inbuf, PTP_IN_OP, in efx_ptp_get_timestamp_corrections()
742 rc = efx_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_get_timestamp_corrections()
792 MCDI_SET_DWORD(inbuf, PTP_IN_ENABLE_QUEUE, in efx_ptp_enable()
797 rc = efx_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_enable()
820 rc = efx_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_disable()
2109 return efx_mcdi_rpc(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_phc_adjtime()
[all …]
A Dmcdi_port_common.c73 MCDI_DECLARE_BUF(inbuf, MC_CMD_SET_LINK_IN_LEN); in efx_mcdi_set_link()
78 MCDI_SET_DWORD(inbuf, SET_LINK_IN_CAP, capabilities); in efx_mcdi_set_link()
79 MCDI_SET_DWORD(inbuf, SET_LINK_IN_FLAGS, flags); in efx_mcdi_set_link()
83 rc = efx_mcdi_rpc(efx, MC_CMD_SET_LINK, inbuf, sizeof(inbuf), in efx_mcdi_set_link()
762 MCDI_DECLARE_BUF(inbuf, MC_CMD_START_BIST_IN_LEN); in efx_mcdi_bist()
919 inbuf, sizeof(inbuf), in efx_mcdi_phy_get_module_eeprom_page()
1141 MCDI_DECLARE_BUF(inbuf, MC_CMD_SET_MAC_EXT_IN_LEN); in efx_mcdi_set_mtu()
1150 return efx_mcdi_rpc(efx, MC_CMD_SET_MAC, inbuf, sizeof(inbuf), in efx_mcdi_set_mtu()
1163 MCDI_DECLARE_BUF(inbuf, MC_CMD_MAC_STATS_IN_LEN); in efx_mcdi_mac_stats()
1175 MCDI_POPULATE_DWORD_7(inbuf, MAC_STATS_IN_CMD, in efx_mcdi_mac_stats()
[all …]
A Dmcdi_mon.c147 MCDI_DECLARE_BUF(inbuf, MC_CMD_READ_SENSORS_EXT_IN_LEN); in efx_mcdi_mon_update()
150 MCDI_SET_QWORD(inbuf, READ_SENSORS_EXT_IN_DMA_ADDR, in efx_mcdi_mon_update()
152 MCDI_SET_DWORD(inbuf, READ_SENSORS_EXT_IN_LENGTH, hwmon->dma_buf.len); in efx_mcdi_mon_update()
155 inbuf, sizeof(inbuf), NULL, 0, NULL); in efx_mcdi_mon_update()
307 MCDI_DECLARE_BUF(inbuf, MC_CMD_SENSOR_INFO_EXT_IN_LEN); in efx_mcdi_mon_probe()
319 MCDI_SET_DWORD(inbuf, SENSOR_INFO_EXT_IN_PAGE, page); in efx_mcdi_mon_probe()
321 rc = efx_mcdi_rpc(efx, MC_CMD_SENSOR_INFO, inbuf, sizeof(inbuf), in efx_mcdi_mon_probe()
381 MCDI_SET_DWORD(inbuf, SENSOR_INFO_EXT_IN_PAGE, in efx_mcdi_mon_probe()
384 inbuf, sizeof(inbuf), in efx_mcdi_mon_probe()
/linux/crypto/
A Dcast6_generic.c172 void __cast6_encrypt(const void *ctx, u8 *outbuf, const u8 *inbuf) in __cast6_encrypt() argument
179 block[0] = get_unaligned_be32(inbuf); in __cast6_encrypt()
180 block[1] = get_unaligned_be32(inbuf + 4); in __cast6_encrypt()
181 block[2] = get_unaligned_be32(inbuf + 8); in __cast6_encrypt()
182 block[3] = get_unaligned_be32(inbuf + 12); in __cast6_encrypt()
206 __cast6_encrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); in cast6_encrypt()
216 block[0] = get_unaligned_be32(inbuf); in __cast6_decrypt()
217 block[1] = get_unaligned_be32(inbuf + 4); in __cast6_decrypt()
218 block[2] = get_unaligned_be32(inbuf + 8); in __cast6_decrypt()
219 block[3] = get_unaligned_be32(inbuf + 12); in __cast6_decrypt()
[all …]
A Dcast5_generic.c303 void __cast5_encrypt(struct cast5_ctx *c, u8 *outbuf, const u8 *inbuf) in __cast5_encrypt() argument
316 l = get_unaligned_be32(inbuf); in __cast5_encrypt()
317 r = get_unaligned_be32(inbuf + 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
368 l = get_unaligned_be32(inbuf); in __cast5_decrypt()
369 r = get_unaligned_be32(inbuf + 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/tty/hvc/
A Dhvsi_lib.c70 struct hvsi_control *pkt = (struct hvsi_control *)pv->inbuf; in hvsi_got_control()
86 struct hvsi_query *pkt = (struct hvsi_query *)pv->inbuf; in hvsi_got_query()
111 (struct hvsi_query_response *)pv->inbuf; in hvsi_got_response()
128 if (pv->inbuf[0] < 0xfc) { in hvsi_check_packet()
132 type = pv->inbuf[0]; in hvsi_check_packet()
133 len = pv->inbuf[1]; in hvsi_check_packet()
161 memmove(pv->inbuf, &pv->inbuf[len], pv->inbuf_len); in hvsi_check_packet()
170 &pv->inbuf[pv->inbuf_len], in hvsi_get_packet()
203 memcpy(&buf[read], &pv->inbuf[pv->inbuf_cur], l); in hvsilib_get_chars()
215 memmove(pv->inbuf, &pv->inbuf[pv->inbuf_cur], in hvsilib_get_chars()
/linux/drivers/infiniband/core/
A Ducma.c673 const char __user *inbuf, in ucma_resolve_ip() argument
700 const char __user *inbuf, in ucma_resolve_addr() argument
728 const char __user *inbuf, in ucma_resolve_route() argument
814 const char __user *inbuf, in ucma_query_route() argument
994 const char __user *inbuf, in ucma_query() argument
1210 const char __user *inbuf, in ucma_init_qp_attr() argument
1512 const char __user *inbuf, in ucma_join_ip_multicast() argument
1535 const char __user *inbuf, in ucma_join_multicast() argument
1550 const char __user *inbuf, in ucma_leave_multicast() argument
1599 const char __user *inbuf, in ucma_migrate_id() argument
[all …]
/linux/lib/
A Ddecompress_bunzip2.c98 unsigned char *inbuf /*,*outbuf*/; member
129 bd->inbufCount = bd->fill(bd->inbuf, BZIP2_IOBUF_SIZE); in get_bits()
144 bd->inbufBits = (bd->inbufBits << 8)|bd->inbuf[bd->inbufPos++]; in get_bits()
386 (bd->inbufBits << 8)|bd->inbuf[bd->inbufPos++]; in get_next_block()
647 bd->inbuf = inbuf; in start_bunzip()
688 unsigned char *inbuf; in bunzip2() local
698 inbuf = buf; in bunzip2()
700 inbuf = malloc(BZIP2_IOBUF_SIZE); in bunzip2()
701 if (!inbuf) { in bunzip2()
706 i = start_bunzip(&bd, inbuf, len, fill); in bunzip2()
[all …]
A Ddecompress.c63 decompress_fn __init decompress_method(const unsigned char *inbuf, long len, in decompress_method() argument
74 pr_debug("Compressed data magic: %#.2x %#.2x\n", inbuf[0], inbuf[1]); in decompress_method()
77 if (!memcmp(inbuf, cf->magic, 2)) in decompress_method()
/linux/arch/arm/vdso/
A Dvdsomunge.c122 const void *inbuf; in main() local
145 inbuf = mmap(NULL, stat.st_size, PROT_READ, MAP_PRIVATE, infd, 0); in main()
146 if (inbuf == MAP_FAILED) in main()
151 inhdr = inbuf; in main()
193 memcpy(outbuf, inbuf, stat.st_size); in main()
/linux/drivers/input/touchscreen/
A Dilitek_ts_i2c.c73 int (*func)(struct ilitek_ts_data *ts, u16 cmd, u8 *inbuf, u8 *outbuf);
214 u16 idx, u8 *inbuf, u8 *outbuf) in api_protocol_set_cmd() argument
223 error = ts->ptl_cb_func[idx].func(ts, cmd, inbuf, outbuf); in api_protocol_set_cmd()
231 u16 cmd, u8 *inbuf, u8 *outbuf) in api_protocol_get_ptl_ver() argument
248 u16 cmd, u8 *inbuf, u8 *outbuf) in api_protocol_get_mcu_ver() argument
266 u16 cmd, u8 *inbuf, u8 *outbuf) in api_protocol_get_fw_ver() argument
282 u16 cmd, u8 *inbuf, u8 *outbuf) in api_protocol_get_scrn_res() argument
301 u16 cmd, u8 *inbuf, u8 *outbuf) in api_protocol_get_tp_res() argument
322 u16 cmd, u8 *inbuf, u8 *outbuf) in api_protocol_get_ic_mode() argument
337 u16 cmd, u8 *inbuf, u8 *outbuf) in api_protocol_set_ic_sleep() argument
[all …]
/linux/arch/alpha/boot/
A Dmisc.c45 static uch *inbuf; /* input buffer */ variable
61 #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf())
112 inbuf = input_data; in fill_inbuf()
116 return inbuf[0]; in fill_inbuf()
/linux/arch/nios2/boot/compressed/
A Dmisc.c35 static uch *inbuf; /* input buffer */ variable
52 #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf())
123 inbuf = input_data; in fill_inbuf()
126 return inbuf[0]; in fill_inbuf()
/linux/scripts/dtc/
A Dflattree.c566 struct inbuf { struct
587 static uint32_t flat_read_word(struct inbuf *inb) in flat_read_word()
598 static void flat_realign(struct inbuf *inb, int align) in flat_realign()
607 static char *flat_read_string(struct inbuf *inb) in flat_read_string()
628 static struct data flat_read_data(struct inbuf *inb, int len) in flat_read_data()
664 static struct property *flat_read_property(struct inbuf *dtbuf, in flat_read_property()
665 struct inbuf *strbuf, int flags) in flat_read_property()
731 static struct node *unflatten_tree(struct inbuf *dtbuf, in unflatten_tree()
732 struct inbuf *strbuf, in unflatten_tree()
806 struct inbuf dtbuf, strbuf; in dt_from_blob()
[all …]
/linux/drivers/crypto/nx/
A Dnx-common-pseries.c312 unsigned long inbuf, outbuf; in nx842_pseries_compress() local
320 inbuf = (unsigned long)in; in nx842_pseries_compress()
321 if (check_constraints(inbuf, &inlen, true)) in nx842_pseries_compress()
347 if ((inbuf & NX842_HW_PAGE_MASK) == in nx842_pseries_compress()
350 op.in = nx842_get_pa((void *)inbuf); in nx842_pseries_compress()
354 nx842_build_scatterlist(inbuf, inlen, &slin); in nx842_pseries_compress()
442 unsigned long inbuf, outbuf; in nx842_pseries_decompress() local
451 inbuf = (unsigned long)in; in nx842_pseries_decompress()
452 if (check_constraints(inbuf, &inlen, true)) in nx842_pseries_decompress()
479 if ((inbuf & NX842_HW_PAGE_MASK) == in nx842_pseries_decompress()
[all …]
/linux/drivers/tty/vt/
A Dconsolemap.c325 unsigned short inbuf[E_TABSZ]; in con_set_trans_old() local
332 inbuf[i] = UNI_DIRECT_BASE | ubuf[i]; in con_set_trans_old()
335 memcpy(translations[USER_MAP], inbuf, sizeof(inbuf)); in con_set_trans_old()
360 unsigned short inbuf[E_TABSZ]; in con_set_trans_new() local
362 if (copy_from_user(inbuf, arg, sizeof(inbuf))) in con_set_trans_new()
366 memcpy(translations[USER_MAP], inbuf, sizeof(inbuf)); in con_set_trans_new()
/linux/drivers/staging/greybus/
A Dhid.c30 char *inbuf; member
173 kfree(ghid->inbuf); in gb_hid_free_buffers()
174 ghid->inbuf = NULL; in gb_hid_free_buffers()
180 ghid->inbuf = kzalloc(bufsize, GFP_KERNEL); in gb_hid_alloc_buffers()
181 if (!ghid->inbuf) in gb_hid_alloc_buffers()
195 if (gb_hid_get_report(ghid, report->type, report->id, ghid->inbuf, in gb_hid_init_report()
204 hid_report_raw_event(ghid->hid, report->type, ghid->inbuf, size, 1); in gb_hid_init_report()
/linux/arch/x86/platform/olpc/
A Dolpc.c109 static int olpc_xo1_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, in olpc_xo1_ec_cmd() argument
150 if (inbuf && inlen) { in olpc_xo1_ec_cmd()
153 pr_devel("olpc-ec: sending cmd arg 0x%x\n", inbuf[i]); in olpc_xo1_ec_cmd()
154 outb(inbuf[i], 0x68); in olpc_xo1_ec_cmd()
/linux/include/linux/decompress/
A Dgeneric.h5 typedef int (*decompress_fn) (unsigned char *inbuf, long len,
37 decompress_fn decompress_method(const unsigned char *inbuf, long len,

Completed in 87 milliseconds

1234