Home
last modified time | relevance | path

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

1234

/drivers/cdx/controller/
A Dmcdi_functions.c18 outbuf, sizeof(outbuf), &outlen); in cdx_mcdi_get_num_buses()
38 outbuf, sizeof(outbuf), &outlen); in cdx_mcdi_get_num_devs()
63 outbuf, sizeof(outbuf), &outlen); in cdx_mcdi_get_dev_config()
76 dev_params->msi_dev_id = MCDI_DWORD(outbuf, in cdx_mcdi_get_dev_config()
85 MCDI_QWORD(outbuf, in cdx_mcdi_get_dev_config()
96 MCDI_QWORD(outbuf, in cdx_mcdi_get_dev_config()
107 MCDI_QWORD(outbuf, in cdx_mcdi_get_dev_config()
118 MCDI_QWORD(outbuf, in cdx_mcdi_get_dev_config()
126 dev_params->subsys_vendor = MCDI_WORD(outbuf, in cdx_mcdi_get_dev_config()
130 dev_params->class = MCDI_DWORD(outbuf, in cdx_mcdi_get_dev_config()
[all …]
A Dmcdi.c41 struct cdx_dword *outbuf,
329 cmd->outbuf, cmd->outlen); in cdx_mcdi_process_cleanup_list()
394 struct cdx_dword *outbuf; member
405 int rc, struct cdx_dword *outbuf, in cdx_mcdi_rpc_completer() argument
412 memcpy(wait_data->outbuf, outbuf, in cdx_mcdi_rpc_completer()
448 wait_data->outbuf = outbuf; in cdx_mcdi_rpc_sync()
520 cmd->outbuf = NULL; in cdx_mcdi_rpc_async_internal()
563 if (!len || !outbuf) { in cdx_mcdi_process_cmd()
616 struct cdx_dword *outbuf, in cdx_mcdi_complete_cmd() argument
650 outbuf, resp_hdr_len, false); in cdx_mcdi_complete_cmd()
[all …]
/drivers/net/ethernet/sfc/
A Dmae.c38 outbuf, sizeof(outbuf), &outlen); in efx_mae_allocate_mport()
100 outbuf, sizeof(outbuf), &outlen); in efx_mae_fw_lookup_mport()
236 outbuf, sizeof(outbuf), &outlen); in efx_mae_table_get_desc()
407 memset(outbuf, 0, sizeof(*outbuf)); in efx_mae_check_table_exists()
891 outbuf, sizeof(outbuf), &outlen); in efx_mae_allocate_counter()
913 outbuf, sizeof(outbuf), &outlen); in efx_mae_free_counter()
1234 outbuf, sizeof(outbuf), &outlen); in efx_mae_allocate_pedit_mac()
1336 outbuf, sizeof(outbuf), &outlen); in efx_mae_alloc_action_set()
1361 outbuf, sizeof(outbuf), &outlen); in efx_mae_free_action_set()
1410 outbuf, sizeof(outbuf), &outlen); in efx_mae_alloc_action_set_list()
[all …]
A Dmcdi_functions.c20 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 Dmcdi.c1442 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_drv_attach()
1510 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_get_board_cfg()
1582 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_nvram_types()
1643 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_nvram_info()
1677 outbuf, sizeof(outbuf), NULL); in efx_mcdi_nvram_test()
1777 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_read_assertion()
1949 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_wol_filter_set()
2009 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_set_workaround()
2032 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_get_workarounds()
2213 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_nvram_read()
[all …]
A Dmcdi_port_common.c25 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_get_phy_cfg()
93 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_loopback_modes()
411 outbuf, sizeof(outbuf), NULL); in efx_mcdi_phy_poll()
418 MCDI_DWORD(outbuf, GET_LINK_OUT_FLAGS), in efx_mcdi_phy_poll()
443 outbuf, sizeof(outbuf), NULL); in efx_mcdi_phy_probe()
548 outbuf, sizeof(outbuf), NULL); in efx_mcdi_phy_get_link_ksettings()
613 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_phy_get_fecparam()
707 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_phy_test_alive()
765 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_bist()
907 outbuf, sizeof(outbuf), in efx_mcdi_phy_get_module_eeprom_page()
[all …]
A Defx_devlink.c261 MCDI_DWORD(outbuf, in efx_devlink_info_running_v2()
274 ver.dwords = (__le32 *)MCDI_PTR(outbuf, in efx_devlink_info_running_v2()
292 ver.dwords = (__le32 *)MCDI_PTR(outbuf, in efx_devlink_info_running_v2()
301 tstamp = MCDI_QWORD(outbuf, in efx_devlink_info_running_v2()
330 ver.dwords = (__le32 *)MCDI_PTR(outbuf, in efx_devlink_info_running_v2()
333 tstamp = MCDI_QWORD(outbuf, in efx_devlink_info_running_v2()
365 ver.dwords = (__le32 *)MCDI_PTR(outbuf, in efx_devlink_info_running_v3()
378 ver.dwords = (__le32 *)MCDI_PTR(outbuf, in efx_devlink_info_running_v3()
403 ver.dwords = (__le32 *)MCDI_PTR(outbuf, in efx_devlink_info_running_v4()
530 outbuf, sizeof(outbuf), &outlength); in efx_devlink_info_running_versions()
[all …]
A Dptp.c436 outbuf, sizeof(outbuf), NULL); in efx_ptp_update_stats()
438 memset(outbuf, 0, sizeof(outbuf)); in efx_ptp_update_stats()
638 outbuf, sizeof(outbuf), &out_len); in efx_ptp_get_attributes()
648 outbuf, sizeof(outbuf), rc); in efx_ptp_get_attributes()
730 outbuf, sizeof(outbuf), &out_len); in efx_ptp_get_timestamp_corrections()
743 outbuf, in efx_ptp_get_timestamp_corrections()
785 outbuf, sizeof(outbuf), NULL); in efx_ptp_enable()
790 outbuf, sizeof(outbuf), rc); in efx_ptp_enable()
808 outbuf, sizeof(outbuf), NULL); in efx_ptp_disable()
818 outbuf, sizeof(outbuf), rc); in efx_ptp_disable()
[all …]
A Dmcdi_port.c30 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LINK_OUT_LEN); in efx_mcdi_mac_check_fault()
37 outbuf, sizeof(outbuf), &outlength); in efx_mcdi_mac_check_fault()
41 return MCDI_DWORD(outbuf, GET_LINK_OUT_MAC_FAULT) != 0; in efx_mcdi_mac_check_fault()
A Def10.c117 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()
3404 outbuf, sizeof(outbuf), &outlen); in efx_ef10_poll_bist()
3544 outbuf, sizeof(outbuf), &outlen); in efx_ef10_mtd_probe_partition()
[all …]
A Dmcdi_mon.c308 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()
A Def100_nic.c96 efx_dword_t *outbuf, size_t offset, in ef100_mcdi_read_response() argument
101 memcpy(outbuf, pdu + offset, outlen); in ef100_mcdi_read_response()
146 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in ef100_get_mac_address()
175 outbuf, sizeof(outbuf), &outlen); in efx_ef100_init_datapath_caps()
184 nic_data->datapath_caps = MCDI_DWORD(outbuf, in efx_ef100_init_datapath_caps()
186 nic_data->datapath_caps2 = MCDI_DWORD(outbuf, in efx_ef100_init_datapath_caps()
191 nic_data->datapath_caps3 = MCDI_DWORD(outbuf, in efx_ef100_init_datapath_caps()
194 vi_window_mode = MCDI_BYTE(outbuf, in efx_ef100_init_datapath_caps()
214 efx->num_mac_stats = MCDI_WORD(outbuf, in efx_ef100_init_datapath_caps()
1140 outbuf, sizeof(outbuf), &outlen); in efx_ef100_lookup_client_id()
[all …]
/drivers/input/touchscreen/
A Dilitek_ts_i2c.c219 u16 idx, u8 *inbuf, u8 *outbuf) in api_protocol_set_cmd() argument
236 u16 cmd, u8 *inbuf, u8 *outbuf) in api_protocol_get_ptl_ver() argument
247 ts->ptl.ver_major = outbuf[0]; in api_protocol_get_ptl_ver()
271 u16 cmd, u8 *inbuf, u8 *outbuf) in api_protocol_get_fw_ver() argument
281 memcpy(ts->firmware_ver, outbuf, 8); in api_protocol_get_fw_ver()
306 u16 cmd, u8 *inbuf, u8 *outbuf) in api_protocol_get_tp_res() argument
316 ts->max_tp = outbuf[8]; in api_protocol_get_tp_res()
337 ts->ic_mode = outbuf[0]; in api_protocol_get_ic_mode()
409 u8 outbuf[64]; in ilitek_protocol_init() local
429 u8 outbuf[256]; in ilitek_read_tp_info() local
[all …]
/drivers/net/ethernet/sfc/siena/
A Dmcdi_port.c25 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()
75 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LINK_OUT_LEN); in efx_siena_mcdi_mac_check_fault()
82 outbuf, sizeof(outbuf), &outlength); in efx_siena_mcdi_mac_check_fault()
86 return MCDI_DWORD(outbuf, GET_LINK_OUT_MAC_FAULT) != 0; in efx_siena_mcdi_mac_check_fault()
A Dmcdi_port_common.c26 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_get_phy_cfg()
94 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_loopback_modes()
412 outbuf, sizeof(outbuf), NULL); in efx_siena_mcdi_phy_poll()
419 MCDI_DWORD(outbuf, GET_LINK_OUT_FLAGS), in efx_siena_mcdi_phy_poll()
420 MCDI_DWORD(outbuf, GET_LINK_OUT_FCNTL)); in efx_siena_mcdi_phy_poll()
444 outbuf, sizeof(outbuf), NULL); in efx_siena_mcdi_phy_probe()
561 outbuf, sizeof(outbuf), NULL); in efx_siena_mcdi_phy_get_link_ksettings()
629 outbuf, sizeof(outbuf), &outlen); in efx_siena_mcdi_phy_get_fecparam()
724 outbuf, sizeof(outbuf), &outlen); in efx_siena_mcdi_phy_test_alive()
782 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_bist()
[all …]
A Dmcdi.c1424 outbuf, sizeof(outbuf), &outlength); in efx_siena_mcdi_print_fwver()
1471 sizeof(inbuf), outbuf, sizeof(outbuf), in efx_mcdi_drv_attach()
1539 outbuf, sizeof(outbuf), &outlen); in efx_siena_mcdi_get_board_cfg()
1612 outbuf, sizeof(outbuf), &outlen); in efx_siena_mcdi_nvram_types()
1641 outbuf, sizeof(outbuf), &outlen); in efx_siena_mcdi_nvram_info()
1669 outbuf, sizeof(outbuf), NULL); in efx_mcdi_nvram_test()
1736 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_read_assertion()
1909 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_mcdi_wol_filter_set()
1944 outbuf, sizeof(outbuf), &outlen); in efx_siena_mcdi_wol_filter_get_magic()
2056 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_nvram_read()
[all …]
A Dptp.c430 outbuf, sizeof(outbuf), NULL); in efx_siena_ptp_update_stats()
432 memset(outbuf, 0, sizeof(outbuf)); in efx_siena_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()
776 outbuf, sizeof(outbuf), rc); 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 Dmcdi_mon.c308 MCDI_DECLARE_BUF(outbuf, MC_CMD_SENSOR_INFO_OUT_LENMAX); in efx_siena_mcdi_mon_probe()
322 sizeof(inbuf), outbuf, sizeof(outbuf), in efx_siena_mcdi_mon_probe()
329 mask = MCDI_DWORD(outbuf, SENSOR_INFO_OUT_MASK); in efx_siena_mcdi_mon_probe()
385 outbuf, sizeof(outbuf), in efx_siena_mcdi_mon_probe()
394 mask = (MCDI_DWORD(outbuf, in efx_siena_mcdi_mon_probe()
448 min1 = MCDI_ARRAY_FIELD(outbuf, SENSOR_ENTRY, in efx_siena_mcdi_mon_probe()
450 max1 = MCDI_ARRAY_FIELD(outbuf, SENSOR_ENTRY, in efx_siena_mcdi_mon_probe()
452 min2 = MCDI_ARRAY_FIELD(outbuf, SENSOR_ENTRY, in efx_siena_mcdi_mon_probe()
454 max2 = MCDI_ARRAY_FIELD(outbuf, SENSOR_ENTRY, in efx_siena_mcdi_mon_probe()
/drivers/iio/dac/
A Dmax5821.c92 u8 outbuf[2]; in max5821_sync_powerdown_mode() local
94 outbuf[0] = MAX5821_EXTENDED_COMMAND_MODE; in max5821_sync_powerdown_mode()
97 outbuf[1] = MAX5821_EXTENDED_DAC_A; in max5821_sync_powerdown_mode()
99 outbuf[1] = MAX5821_EXTENDED_DAC_B; in max5821_sync_powerdown_mode()
104 outbuf[1] |= MAX5821_EXTENDED_POWER_UP; in max5821_sync_powerdown_mode()
173 u8 outbuf[1]; in max5821_get_value() local
184 ret = i2c_master_send(client, outbuf, 1); in max5821_get_value()
214 u8 outbuf[2]; in max5821_set_value() local
224 outbuf[0] |= val >> 6; in max5821_set_value()
225 outbuf[1] = (val & 0x3f) << 2; in max5821_set_value()
[all …]
A Dmcp4725.c52 u8 outbuf[2]; in mcp4725_suspend() local
56 outbuf[1] = 0; in mcp4725_suspend()
71 u8 outbuf[2]; in mcp4725_resume() local
76 outbuf[1] = data->dac_value & 0xff; in mcp4725_resume()
283 u8 outbuf[2]; in mcp4725_set_value() local
289 outbuf[0] = (val >> 8) & 0xf; in mcp4725_set_value()
290 outbuf[1] = val & 0xff; in mcp4725_set_value()
304 u8 outbuf[3]; in mcp4726_set_cfg() local
307 outbuf[0] = 0x40; in mcp4726_set_cfg()
308 outbuf[0] |= data->ref_mode << 3; in mcp4726_set_cfg()
[all …]
A Dmcp4728.c112 u8 outbuf[MCP4728_WRITE_EEPROM_LEN]; in mcp4728_store_eeprom() local
126 outbuf[0] = FIELD_PREP(MCP4728_CMD_MASK, MCP4728_SW_CMD); in mcp4728_store_eeprom()
137 outbuf[offset] |= FIELD_PREP(MCP4728_PDMODE_MASK, in mcp4728_store_eeprom()
142 outbuf[offset] |= in mcp4728_store_eeprom()
144 outbuf[offset + 1] = in mcp4728_store_eeprom()
190 u8 outbuf[3]; in mcp4728_program_channel_cfg() local
194 outbuf[0] |= FIELD_PREP(MCP4728_CHSEL_MASK, channel); in mcp4728_program_channel_cfg()
195 outbuf[0] |= FIELD_PREP(MCP4728_UDAC_MASK, 0); in mcp4728_program_channel_cfg()
197 outbuf[1] = FIELD_PREP(MCP4728_VREF_MASK, ch->ref_mode); in mcp4728_program_channel_cfg()
202 outbuf[1] |= FIELD_PREP(MCP4728_GAIN_MASK, ch->g_mode); in mcp4728_program_channel_cfg()
[all …]
A Dmax517.c46 u8 outbuf[2]; in max517_set_value() local
52 outbuf[0] = channel; in max517_set_value()
53 outbuf[1] = val; in max517_set_value()
55 res = i2c_master_send(client, outbuf, 2); in max517_set_value()
103 u8 outbuf = COMMAND_PD; in max517_suspend() local
105 return i2c_master_send(to_i2c_client(dev), &outbuf, 1); in max517_suspend()
110 u8 outbuf = 0; in max517_resume() local
112 return i2c_master_send(to_i2c_client(dev), &outbuf, 1); in max517_resume()
A Dm62332.c35 u8 outbuf[2]; in m62332_set_value() local
41 outbuf[0] = channel; in m62332_set_value()
42 outbuf[1] = val; in m62332_set_value()
52 res = i2c_master_send(client, outbuf, ARRAY_SIZE(outbuf)); in m62332_set_value()
53 if (res >= 0 && res != ARRAY_SIZE(outbuf)) in m62332_set_value()
/drivers/usb/gadget/function/
A Drndis.c174 __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 …]
/drivers/infiniband/sw/rxe/
A Drxe_queue.c12 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()
149 struct mminfo __user *outbuf, spinlock_t *producer_lock, in rxe_queue_resize() argument
162 err = do_mmap_info(new_q->rxe, outbuf, udata, new_q->buf, in rxe_queue_resize()

Completed in 84 milliseconds

1234