/linux-6.3-rc2/kernel/irq/ |
A D | chip.c | 46 if (!desc) in irq_set_chip() 71 if (!desc) in irq_set_irq_type() 92 if (!desc) in irq_set_handler_data() 114 if (!desc) in irq_set_msi_desc_off() 147 if (!desc) in irq_set_chip_data() 159 return desc ? &desc->irq_data : NULL; in irq_get_irq_data() 404 desc->irq_data.chip->irq_mask(&desc->irq_data); in irq_percpu_disable() 416 desc->irq_data.chip->irq_ack(&desc->irq_data); in mask_ack_irq() 426 desc->irq_data.chip->irq_mask(&desc->irq_data); in mask_irq() 800 desc->irq_data.chip->irq_ack(&desc->irq_data); in handle_edge_irq() [all …]
|
A D | pm.c | 21 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() 175 desc->depth++; in resume_irq() 199 resume_irq(desc); in resume_irqs() [all …]
|
A D | manage.c | 102 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() 411 if (!desc) in irq_update_affinity_desc() 457 if (!desc) in __irq_set_affinity() 502 if (!desc) in __irq_apply_affinity_hint() 558 if (!desc || desc->istate & IRQS_NMI) in irq_set_affinity_notifier() 2054 irq_pm_remove_action(desc, desc->action); in __cleanup_nmi() 2509 if (desc && irq_settings_is_per_cpu_devid(desc)) in remove_percpu_irq() 2607 if (!desc || !irq_settings_can_request(desc) || in __request_percpu_irq() [all …]
|
A D | settings.h | 60 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 D | irqdesc.c | 111 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() 398 desc = kzalloc_node(sizeof(*desc), GFP_KERNEL, node); in alloc_desc() 399 if (!desc) in alloc_desc() 502 if (!desc) in alloc_descs() 644 if (!desc) in handle_irq_desc() 848 if (desc) { in __irq_get_desc_lock() 879 if (!desc) in irq_set_percpu_devid_partition() 908 if (!desc || !desc->percpu_enabled) in irq_get_percpu_devid_partition() 936 return desc && desc->kstat_irqs ? in kstat_irqs_cpu() [all …]
|
A D | internals.h | 150 desc->irq_data.chip->irq_bus_lock(&desc->irq_data); in chip_bus_lock() 156 desc->irq_data.chip->irq_bus_sync_unlock(&desc->irq_data); in chip_bus_sync_unlock() 262 __kstat_incr_irqs_this_cpu(desc); in kstat_incr_irqs_this_cpu() 263 desc->tot_count++; in kstat_incr_irqs_this_cpu() 273 return (desc->action && desc->action == &chained_action); in irq_desc_is_chained() 311 desc->istate &= ~IRQS_TIMINGS; in irq_remove_timings() 318 int irq = irq_desc_get_irq(desc); in irq_setup_timings() 339 desc->istate |= IRQS_TIMINGS; in irq_setup_timings() 387 if (desc->istate & IRQS_TIMINGS) in record_irq_time() 430 return desc->pending_mask; in irq_desc_get_pending_mask() [all …]
|
A D | autoprobe.c | 32 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 D | spurious.c | 37 __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 D | resend.c | 32 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 …]
|
/linux-6.3-rc2/drivers/usb/class/ |
A D | cdc-wdm.c | 217 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() 779 desc->manage_power(desc->intf, 0); in wdm_release() 845 desc->manage_power(desc->intf, 1); in wdm_wwan_port_start() 860 desc->manage_power(desc->intf, 0); in wdm_wwan_port_stop() 1084 desc, in wdm_create() [all …]
|
/linux-6.3-rc2/drivers/crypto/caam/ |
A D | caamalg_desc.c | 118 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 D | desc_constr.h | 96 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() 170 (*desc) = cpu_to_caam32(caam32_to_cpu(*desc) + in append_data() 180 (*desc) = cpu_to_caam32(caam32_to_cpu(*desc) + 1); in append_cmd() 198 (*desc) = cpu_to_caam32(caam32_to_cpu(*desc) + 2); in append_u64() 206 return desc + 1; in write_cmd() 213 append_ptr(desc, ptr); in append_cmd_ptr() 248 (desc_len(desc) - (jump_cmd - desc))); in APPEND_CMD_RET() [all …]
|
A D | pkc_desc.c | 17 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-6.3-rc2/drivers/regulator/ |
A D | da9062-regulator.c | 47 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 D | helpers.c | 39 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-6.3-rc2/drivers/scsi/fnic/ |
A D | fnic_res.h | 27 wq_enet_desc_enc(desc, in fnic_queue_wq_desc() 51 wq_enet_desc_enc(desc, in fnic_queue_wq_eth_desc() 128 desc->u.itmf._resvd = 0; in fnic_queue_wq_copy_desc_itmf() 130 desc->u.itmf._resvd1 = 0; in fnic_queue_wq_copy_desc_itmf() 149 desc->u.flogi_reg.format = format; in fnic_queue_wq_copy_desc_flogi_reg() 150 desc->u.flogi_reg._resvd = 0; in fnic_queue_wq_copy_desc_flogi_reg() 151 hton24(desc->u.flogi_reg.s_id, s_id); in fnic_queue_wq_copy_desc_flogi_reg() 169 desc->u.flogi_fip_reg._resvd0 = 0; in fnic_queue_wq_copy_desc_fip_reg() 172 desc->u.flogi_fip_reg._resvd1 = 0; in fnic_queue_wq_copy_desc_fip_reg() 176 desc->u.flogi_fip_reg._resvd2 = 0; in fnic_queue_wq_copy_desc_fip_reg() [all …]
|
/linux-6.3-rc2/lib/crypto/ |
A D | poly1305.c | 24 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-6.3-rc2/drivers/infiniband/core/ |
A D | packer.c | 70 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-6.3-rc2/include/uapi/linux/usb/ |
A D | audio.h | 269 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-6.3-rc2/drivers/crypto/ccree/ |
A D | cc_aead.c | 255 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-6.3-rc2/tools/testing/selftests/x86/ |
A D | ldt_gdt.c | 157 &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-6.3-rc2/include/linux/gpio/ |
A D | consumer.h | 244 WARN_ON(desc); in gpiod_put() 253 WARN_ON(desc); in devm_gpiod_unhinge() 314 WARN_ON(desc); in devm_gpiod_put() 330 WARN_ON(desc); in gpiod_get_direction() 336 WARN_ON(desc); in gpiod_direction_input() 342 WARN_ON(desc); in gpiod_direction_output() 348 WARN_ON(desc); in gpiod_direction_output_raw() 354 WARN_ON(desc); in gpiod_enable_hw_timestamp_ns() 360 WARN_ON(desc); in gpiod_disable_hw_timestamp_ns() 366 WARN_ON(desc); in gpiod_get_value() [all …]
|
/linux-6.3-rc2/drivers/comedi/drivers/ |
A D | comedi_isadma.c | 25 set_dma_mode(desc->chan, desc->mode); in comedi_isadma_program() 26 set_dma_addr(desc->chan, desc->hw_addr); in comedi_isadma_program() 27 set_dma_count(desc->chan, desc->size); in comedi_isadma_program() 100 struct comedi_isadma_desc *desc = &dma->desc[dma->cur_dma]; in comedi_isadma_poll() local 168 desc = kcalloc(n_desc, sizeof(*desc), GFP_KERNEL); in comedi_isadma_alloc() 169 if (!desc) in comedi_isadma_alloc() 171 dma->desc = desc; in comedi_isadma_alloc() 203 desc = &dma->desc[i]; in comedi_isadma_alloc() 206 desc->virt_addr = dma_alloc_coherent(dma->dev, desc->maxsize, in comedi_isadma_alloc() 234 if (dma->desc) { in comedi_isadma_free() [all …]
|
/linux-6.3-rc2/arch/s390/tools/ |
A D | gen_opcode_table.c | 167 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 …]
|
/linux-6.3-rc2/drivers/crypto/ccp/ |
A D | ccp-dmaengine.c | 180 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 …]
|