Home
last modified time | relevance | path

Searched refs:cdata (Results 1 – 25 of 65) sorted by relevance

123

/linux/sound/soc/sof/
A Dcontrol.c139 cdata->chanv[i].channel = i; in snd_sof_volume_put()
209 cdata->chanv[i].channel = i; in snd_sof_switch_put()
407 cdata->data->magic); in snd_sof_bytes_ext_put()
413 cdata->data->abi); in snd_sof_bytes_ext_put()
474 cdata->data->size, in snd_sof_bytes_ext_volatile_get()
537 cdata->data->size, in snd_sof_bytes_ext_get()
577 memcpy(local_cdata->data, cdata->data, cdata->num_elems); in snd_sof_update_control()
615 switch (cdata->cmd) { in snd_sof_control_notify()
644 switch (cdata->cmd) { in snd_sof_control_notify()
663 switch (cdata->type) { in snd_sof_control_notify()
[all …]
A Dipc.c411 if (!cdata) in ipc_comp_notification()
430 kfree(cdata); in ipc_comp_notification()
688 err = sof_get_ctrl_copy_params(cdata->type, cdata, partdata, in sof_set_get_large_ctrl_data()
691 err = sof_get_ctrl_copy_params(cdata->type, partdata, cdata, in sof_set_get_large_ctrl_data()
784 cdata->num_elems; in snd_sof_ipc_set_get_comp_data()
802 cdata->cmd = ctrl_cmd; in snd_sof_ipc_set_get_comp_data()
805 cdata->msg_index = 0; in snd_sof_ipc_set_get_comp_data()
840 err = sof_ipc_tx_message(sdev->ipc, cdata->rhdr.hdr.cmd, cdata, in snd_sof_ipc_set_get_comp_data()
841 cdata->rhdr.hdr.size, cdata, in snd_sof_ipc_set_get_comp_data()
846 cdata->comp_id); in snd_sof_ipc_set_get_comp_data()
[all …]
/linux/drivers/power/supply/
A Dtps65090-charger.c249 cdata = devm_kzalloc(&pdev->dev, sizeof(*cdata), GFP_KERNEL); in tps65090_charger_probe()
250 if (!cdata) { in tps65090_charger_probe()
257 cdata->dev = &pdev->dev; in tps65090_charger_probe()
258 cdata->pdata = pdata; in tps65090_charger_probe()
263 psy_cfg.drv_data = cdata; in tps65090_charger_probe()
267 if (IS_ERR(cdata->ac)) { in tps65090_charger_probe()
275 cdata->irq = irq; in tps65090_charger_probe()
298 cdata->ac_online = 1; in tps65090_charger_probe()
306 dev_err(cdata->dev, in tps65090_charger_probe()
317 dev_err(cdata->dev, in tps65090_charger_probe()
[all …]
/linux/drivers/crypto/caam/
A Dcaamalg_desc.c647 append_key_as_imm(desc, cdata->key_virt, cdata->keylen, in cnstr_shdsc_gcm_encap()
773 append_key_as_imm(desc, cdata->key_virt, cdata->keylen, in cnstr_shdsc_gcm_decap()
872 append_key_as_imm(desc, cdata->key_virt, cdata->keylen, in cnstr_shdsc_rfc4106_encap()
980 append_key_as_imm(desc, cdata->key_virt, cdata->keylen, in cnstr_shdsc_rfc4106_decap()
1256 append_key_as_imm(desc, cdata->key_virt, cdata->keylen, cdata->keylen, in cnstr_shdsc_chachapoly()
1393 append_key_as_imm(desc, cdata->key_virt, cdata->keylen, in cnstr_shdsc_skcipher_encap()
1398 const u8 *nonce = cdata->key_virt + cdata->keylen; in cnstr_shdsc_skcipher_encap()
1468 append_key_as_imm(desc, cdata->key_virt, cdata->keylen, in cnstr_shdsc_skcipher_decap()
1473 const u8 *nonce = cdata->key_virt + cdata->keylen; in cnstr_shdsc_skcipher_decap()
1543 append_key_as_imm(desc, cdata->key_virt, cdata->keylen, in cnstr_shdsc_xts_skcipher_encap()
[all …]
A Dcaamalg_desc.h57 void cnstr_shdsc_aead_encap(u32 * const desc, struct alginfo *cdata,
63 void cnstr_shdsc_aead_decap(u32 * const desc, struct alginfo *cdata,
69 void cnstr_shdsc_aead_givencap(u32 * const desc, struct alginfo *cdata,
75 void cnstr_shdsc_gcm_encap(u32 * const desc, struct alginfo *cdata,
79 void cnstr_shdsc_gcm_decap(u32 * const desc, struct alginfo *cdata,
83 void cnstr_shdsc_rfc4106_encap(u32 * const desc, struct alginfo *cdata,
87 void cnstr_shdsc_rfc4106_decap(u32 * const desc, struct alginfo *cdata,
91 void cnstr_shdsc_rfc4543_encap(u32 * const desc, struct alginfo *cdata,
95 void cnstr_shdsc_rfc4543_decap(u32 * const desc, struct alginfo *cdata,
99 void cnstr_shdsc_chachapoly(u32 * const desc, struct alginfo *cdata,
[all …]
A Dcaamalg_qi.c67 struct alginfo cdata; member
305 ctx->cdata.keylen; in gcm_set_sh_desc()
315 ctx->cdata.key_inline = true; in gcm_set_sh_desc()
375 ctx->cdata.keylen = keylen; in gcm_setkey()
408 ctx->cdata.keylen; in rfc4106_set_sh_desc()
516 ctx->cdata.keylen; in rfc4543_set_sh_desc()
632 ctx->cdata.keylen = keylen; in skcipher_setkey()
633 ctx->cdata.key_virt = key; in skcipher_setkey()
634 ctx->cdata.key_inline = true; in skcipher_setkey()
755 ctx->cdata.keylen = keylen; in xts_skcipher_setkey()
[all …]
A Dcaamalg.c117 struct alginfo cdata; member
202 if (!ctx->cdata.keylen) in aead_set_sh_desc()
330 ctx->cdata.keylen; in gcm_set_sh_desc()
395 ctx->cdata.keylen; in rfc4106_set_sh_desc()
463 ctx->cdata.keylen; in rfc4543_set_sh_desc()
569 ctx->cdata.key_virt = key; in chachapoly_setkey()
672 ctx->cdata.keylen = keylen; in gcm_setkey()
744 ctx->cdata.keylen = keylen; in skcipher_setkey()
745 ctx->cdata.key_virt = key; in skcipher_setkey()
856 ctx->cdata.keylen = keylen; in xts_skcipher_setkey()
[all …]
A Dcaamalg_qi2.c86 struct alginfo cdata; member
642 ctx->cdata.key_virt = key; in chachapoly_setkey()
656 ctx->cdata.keylen; in gcm_set_sh_desc()
735 ctx->cdata.keylen = keylen; in gcm_setkey()
748 ctx->cdata.keylen; in rfc4106_set_sh_desc()
849 ctx->cdata.keylen; in rfc4543_set_sh_desc()
956 ctx->cdata.keylen = keylen; in skcipher_setkey()
957 ctx->cdata.key_virt = key; in skcipher_setkey()
958 ctx->cdata.key_inline = true; in skcipher_setkey()
1084 ctx->cdata.keylen = keylen; in xts_skcipher_setkey()
[all …]
/linux/drivers/platform/surface/
A Dsurface3_power.c310 ret = mshw0011_adp_psr(cdata); in mshw0011_isr()
315 if (status != cdata->charging) in mshw0011_isr()
316 mshw0011_notify(cdata, cdata->notify_mask, in mshw0011_isr()
319 cdata->charging = status; in mshw0011_isr()
321 ret = mshw0011_bst(cdata, &bst); in mshw0011_isr()
327 mshw0011_notify(cdata, cdata->notify_mask, in mshw0011_isr()
332 ret = mshw0011_bix(cdata, &bix); in mshw0011_isr()
337 mshw0011_notify(cdata, cdata->notify_mask, in mshw0011_isr()
350 cdata->kthread_running = true; in mshw0011_poll_task()
362 cdata->kthread_running = false; in mshw0011_poll_task()
[all …]
/linux/drivers/pwm/
A Dpwm-sti.c125 struct sti_pwm_compat_data *cdata = pc->cdata; in sti_pwm_get_prescale() local
167 struct sti_pwm_compat_data *cdata = pc->cdata; in sti_pwm_config() local
316 struct sti_pwm_compat_data *cdata = pc->cdata; in sti_pwm_capture() local
479 struct sti_pwm_compat_data *cdata = pc->cdata; in sti_pwm_probe_dt() local
491 if (!cdata->pwm_num_devs && !cdata->cpt_num_devs) { in sti_pwm_probe_dt()
549 cdata = devm_kzalloc(dev, sizeof(*cdata), GFP_KERNEL); in sti_pwm_probe()
550 if (!cdata) in sti_pwm_probe()
579 cdata->max_pwm_cnt = 255; in sti_pwm_probe()
580 cdata->pwm_num_devs = 0; in sti_pwm_probe()
581 cdata->cpt_num_devs = 0; in sti_pwm_probe()
[all …]
/linux/drivers/thermal/qcom/
A Dtsens-v0_1.c288 u32 cdata[6]; in calibrate_8939() local
295 cdata[0] = qfprom_cdata[12]; in calibrate_8939()
296 cdata[1] = qfprom_cdata[13]; in calibrate_8939()
297 cdata[2] = qfprom_cdata[0]; in calibrate_8939()
298 cdata[3] = qfprom_cdata[1]; in calibrate_8939()
299 cdata[4] = qfprom_cdata[22]; in calibrate_8939()
300 cdata[5] = qfprom_cdata[21]; in calibrate_8939()
307 base1 = (cdata[3] & MSM8939_BASE1_MASK) >> MSM8939_BASE1_SHIFT; in calibrate_8939()
308 p2[0] = (cdata[0] & MSM8939_S0_P2_MASK) >> MSM8939_S0_P2_SHIFT; in calibrate_8939()
309 p2[1] = (cdata[0] & MSM8939_S1_P2_MASK) >> MSM8939_S1_P2_SHIFT; in calibrate_8939()
[all …]
/linux/sound/soc/codecs/
A Dmax98095.c1169 cdata->fmt = fmt; in max98095_dai1_set_fmt()
1237 cdata->fmt = fmt; in max98095_dai2_set_fmt()
1306 cdata->fmt = fmt; in max98095_dai3_set_fmt()
1515 fs = cdata->rate; in max98095_put_eq_enum()
1666 fs = cdata->rate; in max98095_put_bq_enum()
2010 cdata->eq_sel = 0; in max98095_probe()
2011 cdata->bq_sel = 0; in max98095_probe()
2016 cdata->eq_sel = 0; in max98095_probe()
2017 cdata->bq_sel = 0; in max98095_probe()
2022 cdata->eq_sel = 0; in max98095_probe()
[all …]
A Dmax98088.c997 cdata->rate = rate; in max98088_dai1_hw_params()
1067 cdata->rate = rate; in max98088_dai2_hw_params()
1156 if (fmt != cdata->fmt) { in max98088_dai1_set_fmt()
1227 if (fmt != cdata->fmt) { in max98088_dai2_set_fmt()
1438 fs = cdata->rate; in max98088_setup_eq1()
1439 sel = cdata->eq_sel; in max98088_setup_eq1()
1485 fs = cdata->rate; in max98088_setup_eq2()
1487 sel = cdata->eq_sel; in max98088_setup_eq2()
1537 cdata->eq_sel = sel; in max98088_put_eq_enum()
1675 cdata->eq_sel = 0; in max98088_probe()
[all …]
/linux/arch/m68k/mac/
A Dmisc.c244 __u8 cdata[4]; in via_read_time() member
249 via_rtc_command(RTC_CMD_READ(RTC_REG_SECONDS_0), &last_result.cdata[3]); in via_read_time()
261 &result.cdata[3]); in via_read_time()
263 &result.cdata[2]); in via_read_time()
265 &result.cdata[1]); in via_read_time()
267 &result.cdata[0]); in via_read_time()
294 __u8 cdata[4]; in via_set_rtc_time() member
309 via_rtc_command(RTC_CMD_WRITE(RTC_REG_SECONDS_0), &data.cdata[3]); in via_set_rtc_time()
310 via_rtc_command(RTC_CMD_WRITE(RTC_REG_SECONDS_1), &data.cdata[2]); in via_set_rtc_time()
311 via_rtc_command(RTC_CMD_WRITE(RTC_REG_SECONDS_2), &data.cdata[1]); in via_set_rtc_time()
[all …]
/linux/drivers/i2c/busses/
A Di2c-jz4780.c145 const struct ingenic_i2c_config *cdata; member
352 if (i2c->cdata->version >= ID_X1000) in jz4780_i2c_set_speed()
370 if (i2c->cdata->version < ID_X1000) { in jz4780_i2c_cleanup()
478 if (rd_left <= i2c->cdata->fifosize) in jz4780_i2c_irq()
492 i2c->cdata->fifosize in jz4780_i2c_irq()
493 - i2c->cdata->tx_level - 1); in jz4780_i2c_irq()
584 if (len <= i2c->cdata->fifosize) in jz4780_i2c_xfer_read()
595 if (i2c->cdata->version < ID_X1000) { in jz4780_i2c_xfer_read()
650 if (i2c->cdata->version < ID_X1000) { in jz4780_i2c_xfer_write()
773 if (!i2c->cdata) { in jz4780_i2c_probe()
[all …]
/linux/drivers/dma/
A Dtegra210-adma.c161 const struct tegra_adma_chip_data *cdata; member
232 tdma->cdata->global_reg_offset + in tegra_adma_init()
559 const struct tegra_adma_chip_data *cdata = tdc->tdma->cdata; in tegra_adma_set_xfer_params() local
572 cdata->ch_req_mask, in tegra_adma_set_xfer_params()
573 cdata->ch_req_tx_shift); in tegra_adma_set_xfer_params()
583 cdata->ch_req_mask, in tegra_adma_set_xfer_params()
584 cdata->ch_req_rx_shift); in tegra_adma_set_xfer_params()
598 if (cdata->has_outstanding_reqs) in tegra_adma_set_xfer_params()
844 if (!cdata) { in tegra_adma_probe()
856 tdma->cdata = cdata; in tegra_adma_probe()
[all …]
/linux/net/sunrpc/auth_gss/
A Dgss_krb5_mech.c302 set_cdata(u8 cdata[GSS_KRB5_K5CLENGTH], u32 usage, u8 seed) in set_cdata()
304 cdata[0] = (usage>>24)&0xff; in set_cdata()
305 cdata[1] = (usage>>16)&0xff; in set_cdata()
306 cdata[2] = (usage>>8)&0xff; in set_cdata()
307 cdata[3] = usage&0xff; in set_cdata()
308 cdata[4] = seed; in set_cdata()
315 u8 cdata[GSS_KRB5_K5CLENGTH]; in context_derive_keys_des3() local
319 c.data = cdata; in context_derive_keys_des3()
337 set_cdata(cdata, KG_USAGE_SIGN, KEY_USAGE_SEED_CHECKSUM); in context_derive_keys_des3()
360 u8 cdata[GSS_KRB5_K5CLENGTH]; in context_derive_keys_new() local
[all …]
/linux/drivers/gpu/drm/rockchip/
A Ddw-mipi-dsi-rockchip.c715 if (dsi->cdata->lanecfg1_grf_reg) in dw_mipi_dsi_rockchip_config()
717 dsi->cdata->lanecfg1); in dw_mipi_dsi_rockchip_config()
719 if (dsi->cdata->lanecfg2_grf_reg) in dw_mipi_dsi_rockchip_config()
721 dsi->cdata->lanecfg2); in dw_mipi_dsi_rockchip_config()
723 if (dsi->cdata->enable_grf_reg) in dw_mipi_dsi_rockchip_config()
725 dsi->cdata->enable); in dw_mipi_dsi_rockchip_config()
732 mux ? dsi->cdata->lcdsel_lit : dsi->cdata->lcdsel_big); in dw_mipi_dsi_rockchip_set_lcdsel()
1108 if (dsi->cdata->dphy_rx_init) { in dw_mipi_dsi_dphy_init()
1301 while (cdata[i].reg) { in dw_mipi_dsi_rockchip_probe()
1303 dsi->cdata = &cdata[i]; in dw_mipi_dsi_rockchip_probe()
[all …]
/linux/drivers/thermal/st/
A Dst_thermal.c27 const struct reg_field *reg_fields = sensor->cdata->reg_fields; in st_thermal_alloc_regfields()
100 sensor->cdata->calibration_val); in st_thermal_calibration()
127 temp += sensor->cdata->temp_adjust_val; in st_thermal_get_temp()
163 *temp = mcelsius(sensor->cdata->crit_temp); in st_thermal_get_trip_temp()
205 sensor->cdata = match->data; in st_thermal_register()
206 if (!sensor->cdata->ops) in st_thermal_register()
209 sensor->ops = sensor->cdata->ops; in st_thermal_register()
/linux/drivers/media/usb/cpia2/
A Dcpia2_usb.c198 unsigned char *cdata; in cpia2_usb_complete() local
271 checksum += cdata[j]; in cpia2_usb_complete()
272 iso_checksum = cdata[j] + cdata[j+1]*256; in cpia2_usb_complete()
284 if((0xFF == cdata[0] && 0xD8 == cdata[1]) || in cpia2_usb_complete()
285 (0xD8 == cdata[0] && 0xFF == cdata[1] && in cpia2_usb_complete()
286 0 != cdata[2])) { in cpia2_usb_complete()
308 if ((0xD8 == cdata[0]) && (0xFF == cdata[1])) { in cpia2_usb_complete()
310 } else if((0xFF == cdata[0]) && (0xD8 == cdata[1]) in cpia2_usb_complete()
311 && (0xFF == cdata[2])) { in cpia2_usb_complete()
326 cdata+data_offset, n-data_offset); in cpia2_usb_complete()
[all …]
/linux/drivers/misc/eeprom/
A Dat24.c517 const struct at24_chip_data *cdata; in at24_get_chip_data() local
530 cdata = (void *)id->driver_data; in at24_get_chip_data()
534 if (!cdata) in at24_get_chip_data()
537 return cdata; in at24_get_chip_data()
593 const struct at24_chip_data *cdata; in at24_probe() local
608 cdata = at24_get_chip_data(dev); in at24_probe()
609 if (IS_ERR(cdata)) in at24_probe()
610 return PTR_ERR(cdata); in at24_probe()
621 flags = cdata->flags; in at24_probe()
647 byte_len = cdata->byte_len; in at24_probe()
[all …]
/linux/drivers/spi/
A Dspi-tegra210-quad.c799 if (cdata && cdata->tx_clk_tap_delay) in tegra_qspi_setup_transfer_one()
800 tx_tap = cdata->tx_clk_tap_delay; in tegra_qspi_setup_transfer_one()
802 if (cdata && cdata->rx_clk_tap_delay) in tegra_qspi_setup_transfer_one()
880 cdata = kzalloc(sizeof(*cdata), GFP_KERNEL); in tegra_qspi_parse_cdata_dt()
881 if (!cdata) in tegra_qspi_parse_cdata_dt()
885 &cdata->tx_clk_tap_delay); in tegra_qspi_parse_cdata_dt()
887 &cdata->rx_clk_tap_delay); in tegra_qspi_parse_cdata_dt()
888 return cdata; in tegra_qspi_parse_cdata_dt()
896 kfree(cdata); in tegra_qspi_cleanup()
913 if (!cdata) { in tegra_qspi_setup()
[all …]
A Dspi-tegra114.c850 if (cdata && cdata->tx_clk_tap_delay) in tegra_spi_setup_transfer_one()
852 if (cdata && cdata->rx_clk_tap_delay) in tegra_spi_setup_transfer_one()
928 cdata = kzalloc(sizeof(*cdata), GFP_KERNEL); in tegra_spi_parse_cdata_dt()
929 if (!cdata) in tegra_spi_parse_cdata_dt()
933 &cdata->tx_clk_tap_delay); in tegra_spi_parse_cdata_dt()
935 &cdata->rx_clk_tap_delay); in tegra_spi_parse_cdata_dt()
936 return cdata; in tegra_spi_parse_cdata_dt()
945 kfree(cdata); in tegra_spi_cleanup()
962 if (!cdata) { in tegra_spi_setup()
964 spi->controller_data = cdata; in tegra_spi_setup()
[all …]
/linux/drivers/s390/block/
A Ddasd_ioctl.c235 struct format_check_t *cdata) in dasd_check_format() argument
244 rc = base->discipline->check_device_format(base, cdata, 1); in dasd_check_format()
246 rc = base->discipline->check_device_format(base, cdata, 0); in dasd_check_format()
294 struct format_check_t cdata; in dasd_ioctl_check_format() local
311 if (copy_from_user(&cdata, argp, sizeof(cdata))) { in dasd_ioctl_check_format()
316 rc = dasd_check_format(base->block, &cdata); in dasd_ioctl_check_format()
320 if (copy_to_user(argp, &cdata, sizeof(cdata))) in dasd_ioctl_check_format()
/linux/arch/arm/mm/
A Dpageattr.c18 struct page_change_data *cdata = data; in change_page_range() local
21 pte = clear_pte_bit(pte, cdata->clear_mask); in change_page_range()
22 pte = set_pte_bit(pte, cdata->set_mask); in change_page_range()

Completed in 90 milliseconds

123