Home
last modified time | relevance | path

Searched refs:control_data (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.4/sound/soc/codecs/
Dsigmadsp-regmap.c14 static int sigmadsp_write_regmap(void *control_data, in sigmadsp_write_regmap() argument
17 return regmap_raw_write(control_data, addr, in sigmadsp_write_regmap()
21 static int sigmadsp_read_regmap(void *control_data, in sigmadsp_read_regmap() argument
24 return regmap_raw_read(control_data, addr, in sigmadsp_read_regmap()
49 sigmadsp->control_data = regmap; in devm_sigmadsp_init_regmap()
Dsigmadsp-i2c.c16 static int sigmadsp_write_i2c(void *control_data, in sigmadsp_write_i2c() argument
29 ret = i2c_master_send(control_data, buf, len + 2); in sigmadsp_write_i2c()
39 static int sigmadsp_read_i2c(void *control_data, in sigmadsp_read_i2c() argument
42 struct i2c_client *client = control_data; in sigmadsp_read_i2c()
86 sigmadsp->control_data = client; in devm_sigmadsp_init_i2c()
Dsigmadsp.h40 void *control_data; member
Dadau17x1.c992 ret = regmap_raw_write(sigmadsp->control_data, in adau17x1_safeload()
998 ret = regmap_raw_write(sigmadsp->control_data, in adau17x1_safeload()
1009 ret = regmap_raw_write(sigmadsp->control_data, in adau17x1_safeload()
1016 ret = regmap_raw_write(sigmadsp->control_data, in adau17x1_safeload()
Dsigmadsp.c95 return sigmadsp->write(sigmadsp->control_data, addr, data, len); in sigmadsp_write()
101 return sigmadsp->read(sigmadsp->control_data, addr, data, len); in sigmadsp_read()
/Linux-v5.4/drivers/crypto/inside-secure/
Dsafexcel_ring.c138 (struct safexcel_token *)cdesc->control_data.token; in safexcel_add_cdesc()
146 cdesc->control_data.packet_length = full_data_len ?: 1; in safexcel_add_cdesc()
147 cdesc->control_data.options = EIP197_OPTION_MAGIC_VALUE | in safexcel_add_cdesc()
150 cdesc->control_data.context_lo = in safexcel_add_cdesc()
152 cdesc->control_data.context_hi = upper_32_bits(context); in safexcel_add_cdesc()
156 cdesc->control_data.options |= EIP197_OPTION_RC_AUTO; in safexcel_add_cdesc()
159 cdesc->control_data.refresh = 2; in safexcel_add_cdesc()
Dsafexcel_cipher.c74 cdesc->control_data.options |= EIP197_OPTION_4_TOKEN_IV_CMD; in safexcel_cipher_token()
77 cdesc->control_data.token[0] = ctx->nonce; in safexcel_cipher_token()
79 memcpy(&cdesc->control_data.token[1], iv, 8); in safexcel_cipher_token()
81 cdesc->control_data.token[3] = cpu_to_be32(1); in safexcel_cipher_token()
85 cdesc->control_data.options |= EIP197_OPTION_4_TOKEN_IV_CMD; in safexcel_cipher_token()
88 memcpy(&cdesc->control_data.token[0], iv, 12); in safexcel_cipher_token()
90 cdesc->control_data.token[3] = cpu_to_be32(1); in safexcel_cipher_token()
94 cdesc->control_data.options |= EIP197_OPTION_4_TOKEN_IV_CMD; in safexcel_cipher_token()
97 memcpy(&cdesc->control_data.token[0], iv, 15 - iv[0]); in safexcel_cipher_token()
99 memset((u8 *)&cdesc->control_data.token[0] + 15 - iv[0], in safexcel_cipher_token()
[all …]
Dsafexcel_hash.c63 (struct safexcel_token *)cdesc->control_data.token; in safexcel_hash_token()
85 cdesc->control_data.control0 |= ctx->alg; in safexcel_context_control()
95 cdesc->control_data.control0 |= in safexcel_context_control()
101 cdesc->control_data.control0 |= in safexcel_context_control()
138 cdesc->control_data.control0 |= in safexcel_context_control()
144 cdesc->control_data.control0 |= in safexcel_context_control()
146 cdesc->control_data.control1 |= in safexcel_context_control()
160 cdesc->control_data.control0 |= in safexcel_context_control()
166 cdesc->control_data.control0 |= in safexcel_context_control()
Dsafexcel.c941 cdesc->control_data.type = EIP197_TYPE_EXTENDED; in safexcel_invalidate_cache()
942 cdesc->control_data.options = 0; in safexcel_invalidate_cache()
943 cdesc->control_data.refresh = 0; in safexcel_invalidate_cache()
944 cdesc->control_data.control0 = CONTEXT_CONTROL_INV_TR; in safexcel_invalidate_cache()
Dsafexcel.h561 struct safexcel_control_data_desc control_data; member
/Linux-v5.4/sound/soc/sof/
Dcontrol.c42 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_volume_get()
61 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_volume_put()
91 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_switch_get()
108 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_switch_put()
138 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_enum_get()
155 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_enum_put()
186 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_bytes_get()
221 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_bytes_put()
261 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_bytes_ext_put()
329 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_bytes_ext_get()
Dtopology.c457 scontrol->size = struct_size(scontrol->control_data, chanv, in sof_control_load_volume()
459 scontrol->control_data = kzalloc(scontrol->size, GFP_KERNEL); in sof_control_load_volume()
460 if (!scontrol->control_data) in sof_control_load_volume()
490 cdata = scontrol->control_data; in sof_control_load_volume()
517 scontrol->size = struct_size(scontrol->control_data, chanv, in sof_control_load_enum()
519 scontrol->control_data = kzalloc(scontrol->size, GFP_KERNEL); in sof_control_load_enum()
520 if (!scontrol->control_data) in sof_control_load_enum()
556 scontrol->control_data = kzalloc(max_size, GFP_KERNEL); in sof_control_load_bytes()
557 cdata = scontrol->control_data; in sof_control_load_bytes()
558 if (!scontrol->control_data) in sof_control_load_bytes()
[all …]
Dsof-priv.h316 struct sof_ipc_ctrl_data *control_data; member
Dipc.c632 struct sof_ipc_ctrl_data *cdata = scontrol->control_data; in snd_sof_ipc_set_get_comp_data()
/Linux-v5.4/drivers/pinctrl/mvebu/
Dpinctrl-mvebu.c649 struct mvebu_mpp_ctrl_data *data = soc->control_data ? in mvebu_pinctrl_probe()
650 &soc->control_data[n] : NULL; in mvebu_pinctrl_probe()
779 soc->control_data = mpp_data; in mvebu_pinctrl_simple_mmio_probe()
833 soc->control_data = mpp_data; in mvebu_pinctrl_simple_regmap_probe()
Dpinctrl-mvebu.h125 struct mvebu_mpp_ctrl_data *control_data; member
Dpinctrl-armada-xp.c549 mpp_saved_regs[i] = readl(soc->control_data[0].base + i * 4); in armada_xp_pinctrl_suspend()
563 writel(mpp_saved_regs[i], soc->control_data[0].base + i * 4); in armada_xp_pinctrl_resume()
Dpinctrl-dove.c797 dove_pinctrl_info.control_data = mpp_data; in dove_pinctrl_probe()
/Linux-v5.4/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_fwif.h399 u32 control_data; member
/Linux-v5.4/include/acpi/
Dactbl1.h1128 u64 control_data; member