Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 25 of 1978) sorted by relevance

12345678910>>...80

/linux/kernel/irq/
A Dchip.c46 if (!desc) in irq_set_chip()
74 if (!desc) in irq_set_irq_type()
95 if (!desc) in irq_set_handler_data()
117 if (!desc) in irq_set_msi_desc_off()
150 if (!desc) in irq_set_chip_data()
162 return desc ? &desc->irq_data : NULL; in irq_get_irq_data()
405 desc->irq_data.chip->irq_mask(&desc->irq_data); in irq_percpu_disable()
417 desc->irq_data.chip->irq_ack(&desc->irq_data); in mask_ack_irq()
427 desc->irq_data.chip->irq_mask(&desc->irq_data); in mask_irq()
803 desc->irq_data.chip->irq_ack(&desc->irq_data); in handle_edge_irq()
[all …]
A Dmanage.c102 if (desc) { in synchronize_hardirq()
130 if (desc) { in synchronize_irq()
148 if (!desc || !irqd_can_balance(&desc->irq_data) || in __irq_can_set_affinity()
404 if (!desc) in irq_update_affinity_desc()
450 if (!desc) in __irq_set_affinity()
494 if (!desc) in irq_set_affinity_hint()
551 if (!desc || desc->istate & IRQS_NMI) in irq_set_affinity_notifier()
2025 irq_pm_remove_action(desc, desc->action); in __cleanup_nmi()
2480 if (desc && irq_settings_is_per_cpu_devid(desc)) in remove_percpu_irq()
2578 if (!desc || !irq_settings_can_request(desc) || in __request_percpu_irq()
[all …]
A Dpm.c21 desc->depth++; in irq_pm_check_wakeup()
22 irq_disable(desc); in irq_pm_check_wakeup()
35 desc->nr_actions++; in irq_pm_install_action()
41 desc->force_resume_depth != desc->nr_actions); in irq_pm_install_action()
50 desc->cond_suspend_depth) != desc->nr_actions); in irq_pm_install_action()
59 desc->nr_actions--; in irq_pm_remove_action()
75 if (!desc->action || irq_desc_is_chained(desc) || in suspend_device_irq()
111 mask_irq(desc); in suspend_device_irq()
176 desc->depth++; in resume_irq()
200 resume_irq(desc); in resume_irqs()
[all …]
A Dirqdesc.c111 desc->irq_data.common = &desc->irq_common_data; in desc_set_defaults()
173 if (desc->irq_data.chip && desc->irq_data.chip->name) { in chip_name_show()
395 desc = kzalloc_node(sizeof(*desc), GFP_KERNEL, node); in alloc_desc()
396 if (!desc) in alloc_desc()
498 if (!desc) in alloc_descs()
639 if (!desc) in handle_irq_desc()
797 if (desc) { in __irq_get_desc_lock()
828 if (!desc) in irq_set_percpu_devid_partition()
857 if (!desc || !desc->percpu_enabled) in irq_get_percpu_devid_partition()
885 return desc && desc->kstat_irqs ? in kstat_irqs_cpu()
[all …]
A Dsettings.h60 desc->status_use_accessors |= _IRQ_PER_CPU; in irq_settings_set_per_cpu()
87 return desc->status_use_accessors & _IRQ_LEVEL; in irq_settings_is_level()
92 desc->status_use_accessors &= ~_IRQ_LEVEL; in irq_settings_clr_level()
97 desc->status_use_accessors |= _IRQ_LEVEL; in irq_settings_set_level()
107 desc->status_use_accessors &= ~_IRQ_NOREQUEST; in irq_settings_clr_norequest()
112 desc->status_use_accessors |= _IRQ_NOREQUEST; in irq_settings_set_norequest()
122 desc->status_use_accessors &= ~_IRQ_NOTHREAD; in irq_settings_clr_nothread()
127 desc->status_use_accessors |= _IRQ_NOTHREAD; in irq_settings_set_nothread()
137 desc->status_use_accessors &= ~_IRQ_NOPROBE; in irq_settings_clr_noprobe()
142 desc->status_use_accessors |= _IRQ_NOPROBE; in irq_settings_set_noprobe()
[all …]
A Dinternals.h146 desc->irq_data.chip->irq_bus_lock(&desc->irq_data); in chip_bus_lock()
152 desc->irq_data.chip->irq_bus_sync_unlock(&desc->irq_data); in chip_bus_sync_unlock()
258 __kstat_incr_irqs_this_cpu(desc); in kstat_incr_irqs_this_cpu()
259 desc->tot_count++; in kstat_incr_irqs_this_cpu()
269 return (desc->action && desc->action == &chained_action); in irq_desc_is_chained()
307 desc->istate &= ~IRQS_TIMINGS; in irq_remove_timings()
314 int irq = irq_desc_get_irq(desc); in irq_setup_timings()
335 desc->istate |= IRQS_TIMINGS; in irq_setup_timings()
383 if (desc->istate & IRQS_TIMINGS) in record_irq_time()
426 return desc->pending_mask; in irq_desc_get_pending_mask()
[all …]
A Dspurious.c37 __must_hold(&desc->lock) in irq_wait_for_poll()
52 return !irqd_irq_disabled(&desc->irq_data) && desc->action; in irq_wait_for_poll()
89 action = desc->action; in try_one_irq()
110 action = desc->action; in try_one_irq()
120 struct irq_desc *desc; in misrouted_irq() local
146 struct irq_desc *desc; in poll_spurious_irqs() local
160 state = desc->istate; in poll_spurious_irqs()
410 desc->irq_count++; in note_interrupt()
414 desc->irq_count = 0; in note_interrupt()
425 desc->depth++; in note_interrupt()
[all …]
A Dautoprobe.c32 struct irq_desc *desc; in probe_irq_on() local
46 raw_spin_lock_irq(&desc->lock); in probe_irq_on()
47 if (!desc->action && irq_settings_can_probe(desc)) { in probe_irq_on()
53 desc->irq_data.chip->irq_set_type(&desc->irq_data, in probe_irq_on()
69 raw_spin_lock_irq(&desc->lock); in probe_irq_on()
70 if (!desc->action && irq_settings_can_probe(desc)) { in probe_irq_on()
86 for_each_irq_desc(i, desc) { in probe_irq_on()
120 struct irq_desc *desc; in probe_irq_mask() local
123 for_each_irq_desc(i, desc) { in probe_irq_mask()
160 struct irq_desc *desc; in probe_irq_off() local
[all …]
A Dresend.c32 struct irq_desc *desc; in resend_irqs() local
38 desc = irq_to_desc(irq); in resend_irqs()
39 if (!desc) in resend_irqs()
42 desc->handle_irq(desc); in resend_irqs()
71 if (!desc->parent_irq) in irq_sw_resend()
73 irq = desc->parent_irq; in irq_sw_resend()
92 return desc->irq_data.chip->irq_retrigger(&desc->irq_data); in try_retrigger()
128 if (!try_retrigger(desc)) in check_irq_resend()
157 struct irq_desc *desc; in irq_inject_interrupt() local
167 if (!desc) in irq_inject_interrupt()
[all …]
A Dproc.c93 if (desc->affinity_hint) in irq_affinity_hint_proc_show()
293 desc->irq_count, desc->irqs_unhandled, in irq_spurious_proc_show()
354 if (desc->dir) in register_irq_proc()
361 if (!desc->dir) in register_irq_proc()
433 struct irq_desc *desc; in init_irq_proc() local
467 struct irq_desc *desc; in show_interrupts() local
487 desc = irq_to_desc(i); in show_interrupts()
488 if (!desc || irq_settings_is_hidden(desc)) in show_interrupts()
496 if ((!desc->action || irq_desc_is_chained(desc)) && !any_count) in show_interrupts()
507 desc->irq_data.chip->irq_print_chip(&desc->irq_data, p); in show_interrupts()
[all …]
/linux/drivers/usb/class/
A Dcdc-wdm.c217 if (length + desc->length > desc->wMaxCommand) { in wdm_in_callback()
223 memmove(desc->ubuf + desc->length, desc->inbuf, length); in wdm_in_callback()
442 desc in wdm_write()
490 if (!desc->resp_count || !--desc->resp_count) in service_outstanding_interrupt()
612 desc->ubuf[i] = desc->ubuf[i + cntr]; in wdm_read()
696 if (desc->rerr || desc->werr) in wdm_poll()
778 desc->manage_power(desc->intf, 0); in wdm_release()
844 desc->manage_power(desc->intf, 1); in wdm_wwan_port_start()
859 desc->manage_power(desc->intf, 0); in wdm_wwan_port_stop()
1083 desc, in wdm_create()
[all …]
/linux/drivers/crypto/caam/
A Dcaamalg_desc.c118 DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), in cnstr_shdsc_aead_null_encap()
205 DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), in cnstr_shdsc_aead_null_decap()
357 DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), in cnstr_shdsc_aead_encap()
474 DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), in cnstr_shdsc_aead_decap()
620 DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), in cnstr_shdsc_aead_givencap()
747 DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), in cnstr_shdsc_gcm_encap()
842 DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), in cnstr_shdsc_gcm_decap()
953 DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), in cnstr_shdsc_rfc4106_encap()
1048 DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), in cnstr_shdsc_rfc4106_decap()
1131 DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), in cnstr_shdsc_rfc4543_encap()
[all …]
A Ddesc_constr.h96 return desc + desc_len(desc); in desc_end()
101 return desc + 1; in sh_desc_pdb()
149 (*desc) = cpu_to_caam32(caam32_to_cpu(*desc) + in append_ptr()
159 append_ptr(desc, ptr); in init_job_desc_shared()
169 (*desc) = cpu_to_caam32(caam32_to_cpu(*desc) + in append_data()
179 (*desc) = cpu_to_caam32(caam32_to_cpu(*desc) + 1); in append_cmd()
197 (*desc) = cpu_to_caam32(caam32_to_cpu(*desc) + 2); in append_u64()
205 return desc + 1; in write_cmd()
212 append_ptr(desc, ptr); in append_cmd_ptr()
247 (desc_len(desc) - (jump_cmd - desc))); in APPEND_CMD_RET()
[all …]
A Dpkc_desc.c17 append_cmd(desc, pdb->sgf); in init_rsa_pub_desc()
18 append_ptr(desc, pdb->f_dma); in init_rsa_pub_desc()
19 append_ptr(desc, pdb->g_dma); in init_rsa_pub_desc()
20 append_ptr(desc, pdb->n_dma); in init_rsa_pub_desc()
21 append_ptr(desc, pdb->e_dma); in init_rsa_pub_desc()
22 append_cmd(desc, pdb->f_len); in init_rsa_pub_desc()
30 append_cmd(desc, pdb->sgf); in init_rsa_priv_f1_desc()
31 append_ptr(desc, pdb->g_dma); in init_rsa_priv_f1_desc()
32 append_ptr(desc, pdb->f_dma); in init_rsa_priv_f1_desc()
43 append_cmd(desc, pdb->sgf); in init_rsa_priv_f2_desc()
[all …]
/linux/drivers/regulator/
A Dda9062-regulator.c47 struct regulator_desc desc; member
60 struct regulator_desc desc; member
376 .desc.linear_min_sel = 0,
413 .desc.linear_min_sel = 0,
450 .desc.linear_min_sel = 0,
623 .desc.linear_min_sel = 0,
660 .desc.linear_min_sel = 0,
697 .desc.linear_min_sel = 0,
734 .desc.linear_min_sel = 0,
958 regl->desc = regl->info->desc; in da9062_regulator_probe()
[all …]
A Dhelpers.c39 if (rdev->desc->enable_val) in regulator_is_enabled_regmap()
43 if (rdev->desc->enable_val) in regulator_is_enabled_regmap()
199 if (rdev->desc->vsel_reg == rdev->desc->vsel_range_reg) { in regulator_set_voltage_sel_pickable_regmap()
201 rdev->desc->vsel_reg, in regulator_set_voltage_sel_pickable_regmap()
218 if (rdev->desc->apply_bit) in regulator_set_voltage_sel_pickable_regmap()
272 if (rdev->desc->apply_bit) in regulator_set_voltage_sel_regmap()
367 if (rdev->desc->n_voltages == 1 && rdev->desc->uV_step == 0) { in regulator_map_voltage_linear()
368 if (min_uV <= rdev->desc->min_uV && rdev->desc->min_uV <= max_uV) in regulator_map_voltage_linear()
382 ret = DIV_ROUND_UP(min_uV - rdev->desc->min_uV, rdev->desc->uV_step); in regulator_map_voltage_linear()
534 return desc->min_uV + (desc->uV_step * selector); in regulator_desc_list_voltage_linear()
[all …]
/linux/drivers/scsi/fnic/
A Dfnic_res.h39 wq_enet_desc_enc(desc, in fnic_queue_wq_desc()
63 wq_enet_desc_enc(desc, in fnic_queue_wq_eth_desc()
140 desc->u.itmf._resvd = 0; in fnic_queue_wq_copy_desc_itmf()
142 desc->u.itmf._resvd1 = 0; in fnic_queue_wq_copy_desc_itmf()
161 desc->u.flogi_reg.format = format; in fnic_queue_wq_copy_desc_flogi_reg()
162 desc->u.flogi_reg._resvd = 0; in fnic_queue_wq_copy_desc_flogi_reg()
163 hton24(desc->u.flogi_reg.s_id, s_id); in fnic_queue_wq_copy_desc_flogi_reg()
181 desc->u.flogi_fip_reg._resvd0 = 0; in fnic_queue_wq_copy_desc_fip_reg()
184 desc->u.flogi_fip_reg._resvd1 = 0; in fnic_queue_wq_copy_desc_fip_reg()
188 desc->u.flogi_fip_reg._resvd2 = 0; in fnic_queue_wq_copy_desc_fip_reg()
[all …]
/linux/drivers/infiniband/core/
A Dpacker.c70 if (desc[i].size_bits <= 32) { in ib_pack()
76 shift = 32 - desc[i].offset_bits - desc[i].size_bits; in ib_pack()
77 if (desc[i].struct_size_bytes) in ib_pack()
79 desc[i].struct_size_bytes, in ib_pack()
93 shift = 64 - desc[i].offset_bits - desc[i].size_bits; in ib_pack()
94 if (desc[i].struct_size_bytes) in ib_pack()
108 desc[i].field_name, desc[i].size_bits); in ib_pack()
159 if (desc[i].size_bits <= 32) { in ib_unpack()
165 shift = 32 - desc[i].offset_bits - desc[i].size_bits; in ib_unpack()
179 shift = 64 - desc[i].offset_bits - desc[i].size_bits; in ib_unpack()
[all …]
/linux/lib/crypto/
A Dpoly1305.c24 desc->buflen = 0; in poly1305_init_generic()
25 desc->sset = true; in poly1305_init_generic()
26 desc->rset = 2; in poly1305_init_generic()
37 memcpy(desc->buf + desc->buflen, src, bytes); in poly1305_update_generic()
43 poly1305_core_blocks(&desc->h, &desc->core_r, desc->buf, in poly1305_update_generic()
45 desc->buflen = 0; in poly1305_update_generic()
50 poly1305_core_blocks(&desc->h, &desc->core_r, src, in poly1305_update_generic()
66 desc->buf[desc->buflen++] = 1; in poly1305_final_generic()
67 memset(desc->buf + desc->buflen, 0, in poly1305_final_generic()
69 poly1305_core_blocks(&desc->h, &desc->core_r, desc->buf, 1, 0); in poly1305_final_generic()
[all …]
/linux/drivers/crypto/ccree/
A Dcc_aead.c255 hw_desc_init(&desc[0]); in xcbc_setkey()
269 hw_desc_init(&desc[1]); in xcbc_setkey()
275 hw_desc_init(&desc[2]); in xcbc_setkey()
282 hw_desc_init(&desc[3]); in xcbc_setkey()
309 hw_desc_init(&desc[idx]); in hmac_setkey()
311 set_din_sram(&desc[idx], in hmac_setkey()
320 hw_desc_init(&desc[idx]); in hmac_setkey()
328 hw_desc_init(&desc[idx]); in hmac_setkey()
336 hw_desc_init(&desc[idx]); in hmac_setkey()
346 hw_desc_init(&desc[idx]); in hmac_setkey()
[all …]
/linux/include/uapi/linux/usb/
A Daudio.h269 return desc->baSourceID[desc->bNrInPins]; in uac_mixer_unit_bNrChannels()
277 desc->baSourceID[desc->bNrInPins + 1]; in uac_mixer_unit_wChannelConfig()
282 (desc->baSourceID[desc->bNrInPins + 1]); in uac_mixer_unit_wChannelConfig()
289 desc->baSourceID[desc->bNrInPins + 3] : in uac_mixer_unit_iChannelNames()
290 desc->baSourceID[desc->bNrInPins + 5]; in uac_mixer_unit_iChannelNames()
311 desc->baSourceID[desc->bNrInPins]; in uac3_mixer_unit_wClusterDescrID()
366 return desc->baSourceID[desc->bNrInPins]; in uac_processing_unit_bNrChannels()
374 desc->baSourceID[desc->bNrInPins + 1]; in uac_processing_unit_wChannelConfig()
379 (desc->baSourceID[desc->bNrInPins + 1]); in uac_processing_unit_wChannelConfig()
386 desc->baSourceID[desc->bNrInPins + 3] : in uac_processing_unit_iChannelNames()
[all …]
/linux/tools/testing/selftests/x86/
A Dldt_gdt.c157 &desc, sizeof(desc)); in install_valid_mode()
193 if (desc->contents <= 1 && desc->seg_32bit && in install_valid()
205 desc, sizeof(*desc)); in install_invalid()
234 if (safe_modify_ldt(0x11, desc, sizeof(*desc)) == 0) { in fail_install()
321 desc.lm = 1; in do_simple_tests()
324 desc.lm = 0; in do_simple_tests()
360 if (safe_modify_ldt(0x11, &desc, sizeof(desc)) != 0) { in do_simple_tests()
380 memset(&desc, 0, sizeof(desc)); in do_simple_tests()
395 desc.limit = 1; in do_simple_tests()
452 if (syscall(SYS_modify_ldt, 1, &desc, sizeof(desc)) != 0) in threadproc()
[all …]
/linux/drivers/crypto/ccp/
A Dccp-dmaengine.c180 if (desc) in __ccp_next_dma_desc()
187 return desc; in __ccp_next_dma_desc()
225 desc->tx_desc.cookie, desc->status); in ccp_handle_active_desc()
231 desc = __ccp_next_dma_desc(chan, desc); in ccp_handle_active_desc()
281 desc = ccp_handle_active_desc(chan, desc); in ccp_cmd_callback()
337 if (!desc) in ccp_alloc_dma_desc()
379 if (!desc) in ccp_create_desc()
500 if (!desc) in ccp_prep_dma_memcpy()
514 if (!desc) in ccp_prep_dma_interrupt()
536 if (desc) in ccp_issue_pending()
[all …]
/linux/drivers/comedi/drivers/
A Dcomedi_isadma.c27 set_dma_mode(desc->chan, desc->mode); in comedi_isadma_program()
28 set_dma_addr(desc->chan, desc->hw_addr); in comedi_isadma_program()
29 set_dma_count(desc->chan, desc->size); in comedi_isadma_program()
102 struct comedi_isadma_desc *desc = &dma->desc[dma->cur_dma]; in comedi_isadma_poll() local
170 desc = kcalloc(n_desc, sizeof(*desc), GFP_KERNEL); in comedi_isadma_alloc()
171 if (!desc) in comedi_isadma_alloc()
173 dma->desc = desc; in comedi_isadma_alloc()
205 desc = &dma->desc[i]; in comedi_isadma_alloc()
208 desc->virt_addr = dma_alloc_coherent(dma->dev, desc->maxsize, in comedi_isadma_alloc()
236 if (dma->desc) { in comedi_isadma_free()
[all …]
/linux/arch/s390/tools/
A Dgen_opcode_table.c167 desc->nr++; in read_instructions()
168 desc->insn = realloc(desc->insn, desc->nr * sizeof(*desc->insn)); in read_instructions()
169 if (!desc->insn) in read_instructions()
171 desc->insn[desc->nr - 1] = insn; in read_instructions()
185 qsort(desc->insn, desc->nr, sizeof(*desc->insn), cmpformat); in print_formats()
209 qsort(desc->insn, desc->nr, sizeof(*desc->insn), cmp_long_insn); in print_long_insn()
250 group = desc->group ? &desc->group[desc->nr_groups - 1] : NULL; in add_to_group()
256 desc->group = realloc(desc->group, desc->nr_groups * sizeof(*desc->group)); in add_to_group()
257 if (!desc->group) in add_to_group()
259 group = &desc->group[desc->nr_groups - 1]; in add_to_group()
[all …]

Completed in 99 milliseconds

12345678910>>...80