Home
last modified time | relevance | path

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

12345

/linux-6.6.21/drivers/cdx/controller/
Dmcdi_functions.c13 MCDI_DECLARE_BUF(outbuf, MC_CMD_CDX_BUS_ENUM_BUSES_OUT_LEN); in cdx_mcdi_get_num_buses()
18 outbuf, sizeof(outbuf), &outlen); in cdx_mcdi_get_num_buses()
25 return MCDI_DWORD(outbuf, CDX_BUS_ENUM_BUSES_OUT_BUS_COUNT); in cdx_mcdi_get_num_buses()
30 MCDI_DECLARE_BUF(outbuf, MC_CMD_CDX_BUS_ENUM_DEVICES_OUT_LEN); in cdx_mcdi_get_num_devs()
38 outbuf, sizeof(outbuf), &outlen); in cdx_mcdi_get_num_devs()
45 return MCDI_DWORD(outbuf, CDX_BUS_ENUM_DEVICES_OUT_DEVICE_COUNT); in cdx_mcdi_get_num_devs()
52 MCDI_DECLARE_BUF(outbuf, MC_CMD_CDX_BUS_GET_DEVICE_CONFIG_OUT_LEN); in cdx_mcdi_get_dev_config()
63 outbuf, sizeof(outbuf), &outlen); in cdx_mcdi_get_dev_config()
73 req_id = MCDI_DWORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_REQUESTER_ID); in cdx_mcdi_get_dev_config()
77 if (MCDI_QWORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION0_SIZE) != 0) { in cdx_mcdi_get_dev_config()
[all …]
Dmcdi.c45 struct cdx_dword *outbuf,
333 cmd->outbuf, cmd->outlen); in cdx_mcdi_process_cleanup_list()
398 struct cdx_dword *outbuf; member
409 int rc, struct cdx_dword *outbuf, in cdx_mcdi_rpc_completer() argument
416 memcpy(wait_data->outbuf, outbuf, in cdx_mcdi_rpc_completer()
428 struct cdx_dword *outbuf, size_t outlen, in cdx_mcdi_rpc_sync() argument
452 wait_data->outbuf = outbuf; in cdx_mcdi_rpc_sync()
524 cmd->outbuf = NULL; in cdx_mcdi_rpc_async_internal()
560 void cdx_mcdi_process_cmd(struct cdx_mcdi *cdx, struct cdx_dword *outbuf, int len) in cdx_mcdi_process_cmd() argument
567 if (!len || !outbuf) { in cdx_mcdi_process_cmd()
[all …]
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
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()
Dmcdi_port_common.c18 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_PHY_CFG_OUT_LEN); in efx_mcdi_get_phy_cfg()
26 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_get_phy_cfg()
35 cfg->flags = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_FLAGS); in efx_mcdi_get_phy_cfg()
36 cfg->type = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_TYPE); in efx_mcdi_get_phy_cfg()
38 MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_SUPPORTED_CAP); in efx_mcdi_get_phy_cfg()
39 cfg->channel = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_CHANNEL); in efx_mcdi_get_phy_cfg()
40 cfg->port = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_PRT); in efx_mcdi_get_phy_cfg()
41 cfg->stats_mask = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_STATS_MASK); in efx_mcdi_get_phy_cfg()
42 memcpy(cfg->name, MCDI_PTR(outbuf, GET_PHY_CFG_OUT_NAME), in efx_mcdi_get_phy_cfg()
44 cfg->media = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_MEDIA_TYPE); in efx_mcdi_get_phy_cfg()
[all …]
Dmcdi.c506 efx_dword_t *outbuf; in efx_mcdi_complete_async() local
545 outbuf = (efx_dword_t *)(async + 1); in efx_mcdi_complete_async()
546 efx->type->mcdi_read_response(efx, outbuf, hdr_len, in efx_mcdi_complete_async()
557 async->complete(efx, async->cookie, rc, outbuf, in efx_mcdi_complete_async()
654 efx_dword_t *outbuf, size_t outlen, in _efx_mcdi_rpc_finish() argument
714 efx->type->mcdi_read_response(efx, outbuf, hdr_len, in _efx_mcdi_rpc_finish()
805 efx_dword_t *outbuf, size_t outlen, in _efx_mcdi_rpc() argument
811 if (inbuf && inlen && (inbuf == outbuf)) { in _efx_mcdi_rpc()
821 rc = _efx_mcdi_rpc_finish(efx, cmd, inlen, outbuf, outlen, in _efx_mcdi_rpc()
845 outbuf, outlen, outlen_actual, in _efx_mcdi_rpc()
[all …]
Dptp.c408 MCDI_DECLARE_BUF(outbuf, MC_CMD_PTP_OUT_STATUS_LEN); in efx_siena_ptp_update_stats()
430 outbuf, sizeof(outbuf), NULL); in efx_siena_ptp_update_stats()
432 memset(outbuf, 0, sizeof(outbuf)); in efx_siena_ptp_update_stats()
435 stats, _MCDI_PTR(outbuf, 0), false); in efx_siena_ptp_update_stats()
632 MCDI_DECLARE_BUF(outbuf, MC_CMD_PTP_OUT_GET_ATTRIBUTES_LEN); in efx_ptp_get_attributes()
645 outbuf, sizeof(outbuf), &out_len); in efx_ptp_get_attributes()
647 fmt = MCDI_DWORD(outbuf, PTP_OUT_GET_ATTRIBUTES_TIME_FORMAT); in efx_ptp_get_attributes()
655 outbuf, sizeof(outbuf), rc); in efx_ptp_get_attributes()
703 MCDI_DWORD(outbuf, in efx_ptp_get_attributes()
710 ptp->capabilities = MCDI_DWORD(outbuf, in efx_ptp_get_attributes()
[all …]
/linux-6.6.21/drivers/net/ethernet/sfc/
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()
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()
Dmae.c23 MCDI_DECLARE_BUF(outbuf, MC_CMD_MAE_MPORT_ALLOC_ALIAS_OUT_LEN); in efx_mae_allocate_mport()
38 outbuf, sizeof(outbuf), &outlen); in efx_mae_allocate_mport()
41 if (outlen < sizeof(outbuf)) in efx_mae_allocate_mport()
43 *id = MCDI_DWORD(outbuf, MAE_MPORT_ALLOC_ALIAS_OUT_MPORT_ID); in efx_mae_allocate_mport()
44 *label = MCDI_DWORD(outbuf, MAE_MPORT_ALLOC_ALIAS_OUT_LABEL); in efx_mae_allocate_mport()
104 MCDI_DECLARE_BUF(outbuf, MC_CMD_MAE_MPORT_LOOKUP_OUT_LEN); in efx_mae_fw_lookup_mport()
111 outbuf, sizeof(outbuf), &outlen); in efx_mae_fw_lookup_mport()
114 if (outlen < sizeof(outbuf)) in efx_mae_fw_lookup_mport()
116 *id = MCDI_DWORD(outbuf, MAE_MPORT_LOOKUP_OUT_MPORT_ID); in efx_mae_fw_lookup_mport()
123 MCDI_DECLARE_BUF(outbuf, MC_CMD_MAE_COUNTERS_STREAM_START_OUT_LEN); in efx_mae_start_counters()
[all …]
Dmcdi_functions.c20 MCDI_DECLARE_BUF_ERR(outbuf); in efx_mcdi_free_vis()
23 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_free_vis()
29 efx_mcdi_display_error(efx, MC_CMD_FREE_VIS, 0, outbuf, outlen, in efx_mcdi_free_vis()
38 MCDI_DECLARE_BUF(outbuf, MC_CMD_ALLOC_VIS_OUT_LEN); in efx_mcdi_alloc_vis()
46 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_alloc_vis()
54 MCDI_DWORD(outbuf, ALLOC_VIS_OUT_VI_BASE)); in efx_mcdi_alloc_vis()
57 *vi_base = MCDI_DWORD(outbuf, ALLOC_VIS_OUT_VI_BASE); in efx_mcdi_alloc_vis()
59 *allocated_vis = MCDI_DWORD(outbuf, ALLOC_VIS_OUT_VI_COUNT); in efx_mcdi_alloc_vis()
76 MCDI_DECLARE_BUF(outbuf, MC_CMD_INIT_EVQ_V2_OUT_LEN); in efx_mcdi_ev_init()
124 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_ev_init()
[all …]
Dmcdi.c502 efx_dword_t *outbuf; in efx_mcdi_complete_async() local
541 outbuf = (efx_dword_t *)(async + 1); in efx_mcdi_complete_async()
542 efx->type->mcdi_read_response(efx, outbuf, hdr_len, in efx_mcdi_complete_async()
553 async->complete(efx, async->cookie, rc, outbuf, in efx_mcdi_complete_async()
650 efx_dword_t *outbuf, size_t outlen, in _efx_mcdi_rpc_finish() argument
710 efx->type->mcdi_read_response(efx, outbuf, hdr_len, in _efx_mcdi_rpc_finish()
801 efx_dword_t *outbuf, size_t outlen, in _efx_mcdi_rpc() argument
807 if (inbuf && inlen && (inbuf == outbuf)) { in _efx_mcdi_rpc()
817 rc = _efx_mcdi_rpc_finish(efx, cmd, inlen, outbuf, outlen, in _efx_mcdi_rpc()
841 outbuf, outlen, outlen_actual, in _efx_mcdi_rpc()
[all …]
Defx_devlink.c237 unsigned int flags, efx_dword_t *outbuf) in efx_devlink_info_running_v2() argument
252 MCDI_PTR(outbuf, GET_VERSION_V2_OUT_BOARD_NAME)); in efx_devlink_info_running_v2()
260 MCDI_DWORD(outbuf, in efx_devlink_info_running_v2()
267 ver.str = MCDI_PTR(outbuf, GET_VERSION_V2_OUT_BOARD_SERIAL); in efx_devlink_info_running_v2()
273 ver.dwords = (__le32 *)MCDI_PTR(outbuf, in efx_devlink_info_running_v2()
280 ver.str = MCDI_PTR(outbuf, GET_VERSION_V2_OUT_FPGA_EXTRA); in efx_devlink_info_running_v2()
291 ver.dwords = (__le32 *)MCDI_PTR(outbuf, in efx_devlink_info_running_v2()
300 tstamp = MCDI_QWORD(outbuf, in efx_devlink_info_running_v2()
314 ver.words = (__le16 *)MCDI_PTR(outbuf, GET_VERSION_V2_OUT_VERSION); in efx_devlink_info_running_v2()
319 build_id = MCDI_DWORD(outbuf, GET_VERSION_V2_OUT_MCFW_BUILD_ID); in efx_devlink_info_running_v2()
[all …]
Dmcdi_port_common.c17 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_PHY_CFG_OUT_LEN); in efx_mcdi_get_phy_cfg()
25 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_get_phy_cfg()
34 cfg->flags = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_FLAGS); in efx_mcdi_get_phy_cfg()
35 cfg->type = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_TYPE); in efx_mcdi_get_phy_cfg()
37 MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_SUPPORTED_CAP); in efx_mcdi_get_phy_cfg()
38 cfg->channel = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_CHANNEL); in efx_mcdi_get_phy_cfg()
39 cfg->port = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_PRT); in efx_mcdi_get_phy_cfg()
40 cfg->stats_mask = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_STATS_MASK); in efx_mcdi_get_phy_cfg()
41 memcpy(cfg->name, MCDI_PTR(outbuf, GET_PHY_CFG_OUT_NAME), in efx_mcdi_get_phy_cfg()
43 cfg->media = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_MEDIA_TYPE); in efx_mcdi_get_phy_cfg()
[all …]
Dptp.c408 MCDI_DECLARE_BUF(outbuf, MC_CMD_PTP_OUT_STATUS_LEN); in efx_ptp_update_stats()
430 outbuf, sizeof(outbuf), NULL); in efx_ptp_update_stats()
432 memset(outbuf, 0, sizeof(outbuf)); in efx_ptp_update_stats()
435 stats, _MCDI_PTR(outbuf, 0), false); in efx_ptp_update_stats()
619 MCDI_DECLARE_BUF(outbuf, MC_CMD_PTP_OUT_GET_ATTRIBUTES_LEN); in efx_ptp_get_attributes()
632 outbuf, sizeof(outbuf), &out_len); in efx_ptp_get_attributes()
634 fmt = MCDI_DWORD(outbuf, PTP_OUT_GET_ATTRIBUTES_TIME_FORMAT); in efx_ptp_get_attributes()
642 outbuf, sizeof(outbuf), rc); in efx_ptp_get_attributes()
684 MCDI_DWORD(outbuf, in efx_ptp_get_attributes()
691 ptp->capabilities = MCDI_DWORD(outbuf, in efx_ptp_get_attributes()
[all …]
Def10.c90 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_FUNCTION_INFO_OUT_LEN); in efx_ef10_get_vf_index()
95 rc = efx_mcdi_rpc(efx, MC_CMD_GET_FUNCTION_INFO, NULL, 0, outbuf, in efx_ef10_get_vf_index()
96 sizeof(outbuf), &outlen); in efx_ef10_get_vf_index()
99 if (outlen < sizeof(outbuf)) in efx_ef10_get_vf_index()
102 nic_data->vf_index = MCDI_DWORD(outbuf, GET_FUNCTION_INFO_OUT_VF); in efx_ef10_get_vf_index()
109 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_CAPABILITIES_V4_OUT_LEN); in efx_ef10_init_datapath_caps()
117 outbuf, sizeof(outbuf), &outlen); in efx_ef10_init_datapath_caps()
127 MCDI_DWORD(outbuf, GET_CAPABILITIES_OUT_FLAGS1); in efx_ef10_init_datapath_caps()
130 nic_data->datapath_caps2 = MCDI_DWORD(outbuf, in efx_ef10_init_datapath_caps()
132 nic_data->piobuf_size = MCDI_WORD(outbuf, in efx_ef10_init_datapath_caps()
[all …]
/linux-6.6.21/drivers/input/touchscreen/
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
237 error = ilitek_i2c_write_and_read(ts, buf, 1, 5, outbuf, 3); in api_protocol_get_ptl_ver()
241 ts->ptl.ver = get_unaligned_be16(outbuf); in api_protocol_get_ptl_ver()
242 ts->ptl.ver_major = outbuf[0]; in api_protocol_get_ptl_ver()
248 u16 cmd, u8 *inbuf, u8 *outbuf) in api_protocol_get_mcu_ver() argument
254 error = ilitek_i2c_write_and_read(ts, buf, 1, 5, outbuf, 32); in api_protocol_get_mcu_ver()
258 ts->mcu_ver = get_unaligned_le16(outbuf); in api_protocol_get_mcu_ver()
[all …]
/linux-6.6.21/drivers/iio/dac/
Dmax5821.c93 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()
103 outbuf[1] |= data->powerdown_mode[chan->channel] + 1; in max5821_sync_powerdown_mode()
105 outbuf[1] |= MAX5821_EXTENDED_POWER_UP; in max5821_sync_powerdown_mode()
107 return i2c_master_send(data->client, outbuf, 2); in max5821_sync_powerdown_mode()
174 u8 outbuf[1]; in max5821_get_value() local
181 outbuf[0] = max5821_read_dac_command[channel]; in max5821_get_value()
185 ret = i2c_master_send(client, outbuf, 1); in max5821_get_value()
[all …]
Dmcp4725.c49 u8 outbuf[2]; in mcp4725_suspend() local
52 outbuf[0] = (data->powerdown_mode + 1) << 4; in mcp4725_suspend()
53 outbuf[1] = 0; in mcp4725_suspend()
56 ret = i2c_master_send(data->client, outbuf, 2); in mcp4725_suspend()
68 u8 outbuf[2]; in mcp4725_resume() local
72 outbuf[0] = (data->dac_value >> 8) & 0xf; in mcp4725_resume()
73 outbuf[1] = data->dac_value & 0xff; in mcp4725_resume()
76 ret = i2c_master_send(data->client, outbuf, 2); in mcp4725_resume()
280 u8 outbuf[2]; in mcp4725_set_value() local
286 outbuf[0] = (val >> 8) & 0xf; in mcp4725_set_value()
[all …]
Dmax517.c48 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()
Dmcp4728.c113 u8 outbuf[MCP4728_WRITE_EEPROM_LEN]; in mcp4728_store_eeprom() local
127 outbuf[0] = FIELD_PREP(MCP4728_CMD_MASK, MCP4728_SW_CMD); in mcp4728_store_eeprom()
133 outbuf[offset] = FIELD_PREP(MCP4728_VREF_MASK, ch->ref_mode); in mcp4728_store_eeprom()
138 outbuf[offset] |= FIELD_PREP(MCP4728_PDMODE_MASK, in mcp4728_store_eeprom()
142 outbuf[offset] |= FIELD_PREP(MCP4728_GAIN_MASK, ch->g_mode); in mcp4728_store_eeprom()
143 outbuf[offset] |= in mcp4728_store_eeprom()
145 outbuf[offset + 1] = in mcp4728_store_eeprom()
149 ret = i2c_master_send(data->client, outbuf, MCP4728_WRITE_EEPROM_LEN); in mcp4728_store_eeprom()
191 u8 outbuf[3]; in mcp4728_program_channel_cfg() local
194 outbuf[0] = FIELD_PREP(MCP4728_CMD_MASK, MCP4728_MW_CMD); in mcp4728_program_channel_cfg()
[all …]
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()
/linux-6.6.21/security/keys/
Ddh.c99 uint8_t *outbuf = NULL; in keyctl_dh_compute_kdf() local
103 outbuf = kmalloc(outbuf_len, GFP_KERNEL); in keyctl_dh_compute_kdf()
104 if (!outbuf) { in keyctl_dh_compute_kdf()
109 ret = crypto_kdf108_ctr_generate(hash, &kbuf_iov, 1, outbuf, outbuf_len); in keyctl_dh_compute_kdf()
114 if (copy_to_user(buffer, outbuf, buflen) != 0) in keyctl_dh_compute_kdf()
118 kfree_sensitive(outbuf); in keyctl_dh_compute_kdf()
137 uint8_t *outbuf; in __keyctl_dh_compute() local
236 outbuf = kzalloc(kdfcopy ? (outlen + kdfcopy->otherinfolen) : outlen, in __keyctl_dh_compute()
238 if (!outbuf) { in __keyctl_dh_compute()
243 sg_init_one(&outsg, outbuf, outlen); in __keyctl_dh_compute()
[all …]
/linux-6.6.21/drivers/usb/gadget/function/
Drndis.c174 __le32 *outbuf; in gen_ndis_query_resp() local
198 outbuf = (__le32 *)&resp[1]; in gen_ndis_query_resp()
214 outbuf[i] = cpu_to_le32(oid_supported_list[i]); in gen_ndis_query_resp()
227 *outbuf = cpu_to_le32(0); in gen_ndis_query_resp()
234 *outbuf = cpu_to_le32(params->medium); in gen_ndis_query_resp()
242 *outbuf = cpu_to_le32(params->medium); in gen_ndis_query_resp()
250 *outbuf = cpu_to_le32(params->dev->mtu); in gen_ndis_query_resp()
260 *outbuf = cpu_to_le32(0); in gen_ndis_query_resp()
262 *outbuf = cpu_to_le32(params->speed); in gen_ndis_query_resp()
270 *outbuf = cpu_to_le32(params->dev->mtu); in gen_ndis_query_resp()
[all …]
/linux-6.6.21/crypto/
Dcast6_generic.c172 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()
204 static void cast6_encrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast6_encrypt() argument
206 __cast6_encrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); in cast6_encrypt()
209 void __cast6_decrypt(const void *ctx, u8 *outbuf, const u8 *inbuf) in __cast6_decrypt() argument
234 put_unaligned_be32(block[0], outbuf); in __cast6_decrypt()
235 put_unaligned_be32(block[1], outbuf + 4); in __cast6_decrypt()
[all …]
/linux-6.6.21/arch/arm/vdso/
Dvdsomunge.c124 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-6.6.21/drivers/staging/wlan-ng/
Dhfa384x_usb.c1134 le16_to_cpu(ctlx->outbuf.type), in hfa384x_usbctlx_complete_sync()
1189 ctlx->outbuf.cmdreq.type = cpu_to_le16(HFA384x_USB_CMDREQ); in hfa384x_docmd()
1190 ctlx->outbuf.cmdreq.cmd = cpu_to_le16(cmd->cmd); in hfa384x_docmd()
1191 ctlx->outbuf.cmdreq.parm0 = cpu_to_le16(cmd->parm0); in hfa384x_docmd()
1192 ctlx->outbuf.cmdreq.parm1 = cpu_to_le16(cmd->parm1); in hfa384x_docmd()
1193 ctlx->outbuf.cmdreq.parm2 = cpu_to_le16(cmd->parm2); in hfa384x_docmd()
1195 ctlx->outbufsize = sizeof(ctlx->outbuf.cmdreq); in hfa384x_docmd()
1278 ctlx->outbuf.rridreq.type = cpu_to_le16(HFA384x_USB_RRIDREQ); in hfa384x_dorrid()
1279 ctlx->outbuf.rridreq.frmlen = in hfa384x_dorrid()
1280 cpu_to_le16(sizeof(ctlx->outbuf.rridreq.rid)); in hfa384x_dorrid()
[all …]

12345