/linux/drivers/crypto/ux500/hash/ |
A D | hash_core.c | 296 &device_data->state); in hash_disable_power() 348 hash_resume_state(device_data, &device_data->state); in hash_enable_power() 873 ret = hash_resume_state(device_data, &device_data->state); in hash_dma_final() 979 ret = hash_resume_state(device_data, &device_data->state); in hash_hw_final() 1661 device_data = devm_kzalloc(dev, sizeof(*device_data), GFP_ATOMIC); in ux500_hash_probe() 1662 if (!device_data) { in ux500_hash_probe() 1667 device_data->dev = dev; in ux500_hash_probe() 1765 if (!device_data) { in ux500_hash_remove() 1814 if (!device_data) { in ux500_hash_shutdown() 1861 if (!device_data) { in ux500_hash_suspend() [all …]
|
A D | hash_alg.h | 108 #define HASH_SET_DIN(val, len) writesl(&device_data->base->din, (val), (len)) 112 &device_data->base->cr, \ 118 &device_data->base->cr, \ 123 &device_data->base->str, \ 128 &device_data->base->str, \ 380 int hash_check_hw(struct hash_device_data *device_data); 382 int hash_setconfiguration(struct hash_device_data *device_data, 385 void hash_begin(struct hash_device_data *device_data, struct hash_ctx *ctx); 387 void hash_get_digest(struct hash_device_data *device_data, 392 int hash_save_state(struct hash_device_data *device_data, [all …]
|
/linux/drivers/crypto/ux500/cryp/ |
A D | cryp.c | 23 while (cryp_is_logic_busy(device_data)) in cryp_wait_until_done() 35 if (NULL == device_data) in cryp_check() 91 cryp_wait_until_done(device_data); in cryp_flush_inoutfifo() 219 &device_data->base->key_1_l); in cryp_configure_key_values() 221 &device_data->base->key_1_r); in cryp_configure_key_values() 225 &device_data->base->key_2_l); in cryp_configure_key_values() 227 &device_data->base->key_2_r); in cryp_configure_key_values() 231 &device_data->base->key_3_l); in cryp_configure_key_values() 233 &device_data->base->key_3_r); in cryp_configure_key_values() 237 &device_data->base->key_4_l); in cryp_configure_key_values() [all …]
|
A D | cryp_core.c | 197 ctx = device_data->current_ctx; in cryp_interrupt_handler() 1268 device_data = devm_kzalloc(dev, sizeof(*device_data), GFP_ATOMIC); in ux500_cryp_probe() 1269 if (!device_data) { in ux500_cryp_probe() 1274 device_data->dev = dev; in ux500_cryp_probe() 1325 ret = cryp_enable_power(device_data->dev, device_data, false); in ux500_cryp_probe() 1384 cryp_disable_power(device_data->dev, device_data, false); in ux500_cryp_probe() 1402 if (!device_data) { in ux500_cryp_remove() 1450 if (!device_data) { in ux500_cryp_shutdown() 1468 device_data->current_ctx++; in ux500_cryp_shutdown() 1499 if (!device_data) { in ux500_cryp_suspend() [all …]
|
A D | cryp_irq.c | 20 void cryp_enable_irq_src(struct cryp_device_data *device_data, u32 irq_src) in cryp_enable_irq_src() argument 24 dev_dbg(device_data->dev, "[%s]", __func__); in cryp_enable_irq_src() 26 i = readl_relaxed(&device_data->base->imsc); in cryp_enable_irq_src() 28 writel_relaxed(i, &device_data->base->imsc); in cryp_enable_irq_src() 31 void cryp_disable_irq_src(struct cryp_device_data *device_data, u32 irq_src) in cryp_disable_irq_src() argument 35 dev_dbg(device_data->dev, "[%s]", __func__); in cryp_disable_irq_src() 37 i = readl_relaxed(&device_data->base->imsc); in cryp_disable_irq_src() 39 writel_relaxed(i, &device_data->base->imsc); in cryp_disable_irq_src() 42 bool cryp_pending_irq_src(struct cryp_device_data *device_data, u32 irq_src) in cryp_pending_irq_src() argument 44 return (readl_relaxed(&device_data->base->mis) & irq_src) > 0; in cryp_pending_irq_src()
|
A D | cryp.h | 253 void cryp_wait_until_done(struct cryp_device_data *device_data); 257 int cryp_check(struct cryp_device_data *device_data); 259 void cryp_activity(struct cryp_device_data *device_data, 262 void cryp_flush_inoutfifo(struct cryp_device_data *device_data); 264 int cryp_set_configuration(struct cryp_device_data *device_data, 268 void cryp_configure_for_dma(struct cryp_device_data *device_data, 271 int cryp_configure_key_values(struct cryp_device_data *device_data, 281 int cryp_configure_protection(struct cryp_device_data *device_data, 285 void cryp_save_device_context(struct cryp_device_data *device_data, 293 int cryp_is_logic_busy(struct cryp_device_data *device_data); [all …]
|
A D | cryp_irq.h | 25 void cryp_enable_irq_src(struct cryp_device_data *device_data, u32 irq_src); 27 void cryp_disable_irq_src(struct cryp_device_data *device_data, u32 irq_src); 29 bool cryp_pending_irq_src(struct cryp_device_data *device_data, u32 irq_src);
|
/linux/sound/core/ |
A D | device.c | 35 if (snd_BUG_ON(!card || !device_data || !ops)) in snd_device_new() 44 dev->device_data = device_data; in snd_device_new() 87 if (dev->device_data == device_data) in look_for_dev() 110 if (snd_BUG_ON(!card || !device_data)) in snd_device_disconnect() 112 dev = look_for_dev(card, device_data); in snd_device_disconnect() 117 device_data, __builtin_return_address(0)); in snd_device_disconnect() 134 if (snd_BUG_ON(!card || !device_data)) in snd_device_free() 136 dev = look_for_dev(card, device_data); in snd_device_free() 175 if (snd_BUG_ON(!card || !device_data)) in snd_device_register() 177 dev = look_for_dev(card, device_data); in snd_device_register() [all …]
|
A D | seq_device.c | 156 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_free() 167 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_register() 180 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_disconnect()
|
A D | hwdep.c | 406 struct snd_hwdep *hwdep = device->device_data; in snd_hwdep_dev_free() 417 struct snd_hwdep *hwdep = device->device_data; in snd_hwdep_dev_register() 459 struct snd_hwdep *hwdep = device->device_data; in snd_hwdep_dev_disconnect()
|
A D | jack.c | 43 struct snd_jack *jack = device->device_data; in snd_jack_dev_disconnect() 61 struct snd_jack *jack = device->device_data; in snd_jack_dev_free() 83 struct snd_jack *jack = device->device_data; in snd_jack_dev_register()
|
A D | compress_offload.c | 1059 if (snd_BUG_ON(!device || !device->device_data)) in snd_compress_dev_register() 1061 compr = device->device_data; in snd_compress_dev_register() 1081 compr = device->device_data; in snd_compress_dev_disconnect() 1154 compr = device->device_data; in snd_compress_dev_free()
|
A D | pcm.c | 875 struct snd_pcm *pcm = device->device_data; in snd_pcm_dev_free() 1048 if (snd_BUG_ON(!device || !device->device_data)) in snd_pcm_dev_register() 1050 pcm = device->device_data; in snd_pcm_dev_register() 1090 struct snd_pcm *pcm = device->device_data; in snd_pcm_dev_disconnect()
|
/linux/drivers/input/misc/ |
A D | soc_button_array.c | 388 const struct soc_device_data *device_data; in soc_button_probe() local 395 device_data = acpi_device_get_match_data(dev); in soc_button_probe() 396 if (device_data && device_data->check) { in soc_button_probe() 397 error = device_data->check(dev); in soc_button_probe() 402 if (device_data && device_data->button_info) { in soc_button_probe() 403 button_info = device_data->button_info; in soc_button_probe() 439 if (!device_data || !device_data->button_info) in soc_button_probe()
|
/linux/sound/aoa/core/ |
A D | alsa.c | 62 void *device_data, const struct snd_device_ops *ops) in aoa_snd_device_new() argument 69 err = snd_device_new(card, type, device_data, ops); in aoa_snd_device_new() 74 err = snd_device_register(card, device_data); in aoa_snd_device_new() 80 snd_device_free(card, device_data); in aoa_snd_device_new()
|
/linux/include/sound/ |
A D | core.h | 71 void *device_data; /* device structure */ member 315 void *device_data, const struct snd_device_ops *ops); 316 int snd_device_register(struct snd_card *card, void *device_data); 318 void snd_device_disconnect(struct snd_card *card, void *device_data); 320 void snd_device_free(struct snd_card *card, void *device_data); 322 int snd_device_get_state(struct snd_card *card, void *device_data);
|
/linux/sound/pci/hda/ |
A D | hda_beep.c | 153 struct hda_beep *beep = device->device_data; in beep_dev_register() 164 struct hda_beep *beep = device->device_data; in beep_dev_disconnect() 176 struct hda_beep *beep = device->device_data; in beep_dev_free()
|
A D | hda_tegra.c | 207 struct azx *chip = device->device_data; in hda_tegra_dev_disconnect() 218 struct azx *chip = device->device_data; in hda_tegra_dev_free()
|
/linux/drivers/scsi/lpfc/ |
A D | lpfc_mem.c | 219 struct lpfc_device_data *device_data; in lpfc_mem_free() local 263 device_data = list_first_entry(&phba->luns, in lpfc_mem_free() 266 list_del(&device_data->listentry); in lpfc_mem_free() 267 mempool_free(device_data, phba->device_data_mem_pool); in lpfc_mem_free()
|
/linux/sound/aoa/ |
A D | aoa.h | 119 void *device_data, const struct snd_device_ops *ops);
|
/linux/drivers/md/ |
A D | dm-ima.c | 103 static int dm_ima_alloc_and_copy_device_data(struct mapped_device *md, char **device_data, in dm_ima_alloc_and_copy_device_data() argument 113 *device_data = dm_ima_alloc(DM_IMA_DEVICE_BUF_LEN, GFP_KERNEL, noio); in dm_ima_alloc_and_copy_device_data() 114 if (!(*device_data)) { in dm_ima_alloc_and_copy_device_data() 119 scnprintf(*device_data, DM_IMA_DEVICE_BUF_LEN, in dm_ima_alloc_and_copy_device_data()
|
/linux/drivers/firmware/ |
A D | dmi_scan.c | 289 dev->device_data = NULL; in dmi_save_one_device() 329 dev->device_data = NULL; in dmi_save_oem_strings_devices() 352 dev->device_data = data; in dmi_save_ipmi_device() 379 dev->dev.device_data = dev; in dmi_save_dev_pciaddr()
|
/linux/include/linux/ |
A D | dmi.h | 86 void *device_data; /* Type specific data */ member
|
/linux/drivers/char/ipmi/ |
A D | ipmi_dmi.c | 219 dmi_decode_ipmi((const struct dmi_header *) dev->device_data); in scan_for_dmi_ipmi()
|
/linux/drivers/input/touchscreen/ |
A D | bu21013_ts.c | 236 static irqreturn_t bu21013_gpio_irq(int irq, void *device_data) in bu21013_gpio_irq() argument 238 struct bu21013_ts *ts = device_data; in bu21013_gpio_irq()
|