/linux-6.1.9/drivers/net/ethernet/sfc/ |
D | mae.c | 18 MCDI_DECLARE_BUF(outbuf, MC_CMD_MAE_MPORT_ALLOC_ALIAS_OUT_LEN); in efx_mae_allocate_mport() 33 outbuf, sizeof(outbuf), &outlen); in efx_mae_allocate_mport() 36 if (outlen < sizeof(outbuf)) in efx_mae_allocate_mport() 38 *id = MCDI_DWORD(outbuf, MAE_MPORT_ALLOC_ALIAS_OUT_MPORT_ID); in efx_mae_allocate_mport() 39 *label = MCDI_DWORD(outbuf, MAE_MPORT_ALLOC_ALIAS_OUT_LABEL); in efx_mae_allocate_mport() 99 MCDI_DECLARE_BUF(outbuf, MC_CMD_MAE_MPORT_LOOKUP_OUT_LEN); in efx_mae_lookup_mport() 106 outbuf, sizeof(outbuf), &outlen); in efx_mae_lookup_mport() 109 if (outlen < sizeof(outbuf)) in efx_mae_lookup_mport() 111 *id = MCDI_DWORD(outbuf, MAE_MPORT_LOOKUP_OUT_MPORT_ID); in efx_mae_lookup_mport() 117 MCDI_DECLARE_BUF(outbuf, MC_CMD_MAE_GET_CAPS_OUT_LEN); in efx_mae_get_basic_caps() [all …]
|
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()
|
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() 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 …]
|
D | mcdi_port_common.c | 17 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 …]
|
D | mcdi.c | 503 efx_dword_t *outbuf; in efx_mcdi_complete_async() local 542 outbuf = (efx_dword_t *)(async + 1); in efx_mcdi_complete_async() 543 efx->type->mcdi_read_response(efx, outbuf, hdr_len, in efx_mcdi_complete_async() 554 async->complete(efx, async->cookie, rc, outbuf, in efx_mcdi_complete_async() 651 efx_dword_t *outbuf, size_t outlen, in _efx_mcdi_rpc_finish() argument 711 efx->type->mcdi_read_response(efx, outbuf, hdr_len, in _efx_mcdi_rpc_finish() 802 efx_dword_t *outbuf, size_t outlen, in _efx_mcdi_rpc() argument 808 if (inbuf && inlen && (inbuf == outbuf)) { in _efx_mcdi_rpc() 818 rc = _efx_mcdi_rpc_finish(efx, cmd, inlen, outbuf, outlen, in _efx_mcdi_rpc() 842 outbuf, outlen, outlen_actual, in _efx_mcdi_rpc() [all …]
|
D | ptp.c | 412 MCDI_DECLARE_BUF(outbuf, MC_CMD_PTP_OUT_STATUS_LEN); in efx_ptp_update_stats() 434 outbuf, sizeof(outbuf), NULL); in efx_ptp_update_stats() 436 memset(outbuf, 0, sizeof(outbuf)); in efx_ptp_update_stats() 439 stats, _MCDI_PTR(outbuf, 0), false); in efx_ptp_update_stats() 642 MCDI_DECLARE_BUF(outbuf, MC_CMD_PTP_OUT_GET_ATTRIBUTES_LEN); in efx_ptp_get_attributes() 655 outbuf, sizeof(outbuf), &out_len); in efx_ptp_get_attributes() 657 fmt = MCDI_DWORD(outbuf, PTP_OUT_GET_ATTRIBUTES_TIME_FORMAT); in efx_ptp_get_attributes() 665 outbuf, sizeof(outbuf), rc); in efx_ptp_get_attributes() 713 MCDI_DWORD(outbuf, in efx_ptp_get_attributes() 720 ptp->capabilities = MCDI_DWORD(outbuf, in efx_ptp_get_attributes() [all …]
|
D | ef10.c | 90 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 …]
|
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-6.1.9/drivers/net/ethernet/sfc/siena/ |
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() 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()
|
D | mcdi_port_common.c | 18 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 …]
|
D | mcdi.c | 506 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 …]
|
D | ptp.c | 408 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 …]
|
D | mcdi_mon.c | 308 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()
|
/linux-6.1.9/drivers/input/touchscreen/ |
D | ilitek_ts_i2c.c | 73 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.1.9/drivers/iio/dac/ |
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() 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 …]
|
D | mcp4725.c | 49 u8 outbuf[2]; in mcp4725_suspend() local 51 outbuf[0] = (data->powerdown_mode + 1) << 4; in mcp4725_suspend() 52 outbuf[1] = 0; in mcp4725_suspend() 55 return i2c_master_send(data->client, outbuf, 2); in mcp4725_suspend() 62 u8 outbuf[2]; in mcp4725_resume() local 65 outbuf[0] = (data->dac_value >> 8) & 0xf; in mcp4725_resume() 66 outbuf[1] = data->dac_value & 0xff; in mcp4725_resume() 69 return i2c_master_send(data->client, outbuf, 2); in mcp4725_resume() 268 u8 outbuf[2]; in mcp4725_set_value() local 274 outbuf[0] = (val >> 8) & 0xf; in mcp4725_set_value() [all …]
|
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()
|
D | m62332.c | 35 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.1.9/security/keys/ |
D | dh.c | 115 uint8_t *outbuf = NULL; in keyctl_dh_compute_kdf() local 119 outbuf = kmalloc(outbuf_len, GFP_KERNEL); in keyctl_dh_compute_kdf() 120 if (!outbuf) { in keyctl_dh_compute_kdf() 125 ret = crypto_kdf108_ctr_generate(hash, &kbuf_iov, 1, outbuf, outbuf_len); in keyctl_dh_compute_kdf() 130 if (copy_to_user(buffer, outbuf, buflen) != 0) in keyctl_dh_compute_kdf() 134 kfree_sensitive(outbuf); in keyctl_dh_compute_kdf() 153 uint8_t *outbuf; in __keyctl_dh_compute() local 252 outbuf = kzalloc(kdfcopy ? (outlen + kdfcopy->otherinfolen) : outlen, in __keyctl_dh_compute() 254 if (!outbuf) { in __keyctl_dh_compute() 259 sg_init_one(&outsg, outbuf, outlen); in __keyctl_dh_compute() [all …]
|
/linux-6.1.9/drivers/usb/gadget/function/ |
D | rndis.c | 174 __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.1.9/crypto/ |
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() 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.1.9/arch/arm/vdso/ |
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-6.1.9/drivers/staging/wlan-ng/ |
D | hfa384x_usb.c | 1155 le16_to_cpu(ctlx->outbuf.type), in hfa384x_usbctlx_complete_sync() 1210 ctlx->outbuf.cmdreq.type = cpu_to_le16(HFA384x_USB_CMDREQ); in hfa384x_docmd() 1211 ctlx->outbuf.cmdreq.cmd = cpu_to_le16(cmd->cmd); in hfa384x_docmd() 1212 ctlx->outbuf.cmdreq.parm0 = cpu_to_le16(cmd->parm0); in hfa384x_docmd() 1213 ctlx->outbuf.cmdreq.parm1 = cpu_to_le16(cmd->parm1); in hfa384x_docmd() 1214 ctlx->outbuf.cmdreq.parm2 = cpu_to_le16(cmd->parm2); in hfa384x_docmd() 1216 ctlx->outbufsize = sizeof(ctlx->outbuf.cmdreq); in hfa384x_docmd() 1299 ctlx->outbuf.rridreq.type = cpu_to_le16(HFA384x_USB_RRIDREQ); in hfa384x_dorrid() 1300 ctlx->outbuf.rridreq.frmlen = in hfa384x_dorrid() 1301 cpu_to_le16(sizeof(ctlx->outbuf.rridreq.rid)); in hfa384x_dorrid() [all …]
|
/linux-6.1.9/lib/ |
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-6.1.9/tools/testing/selftests/powerpc/nx-gzip/ |
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()
|