/openbmc/linux/kernel/irq/ |
H 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() 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() 812 desc->irq_data.chip->irq_ack(&desc->irq_data); in handle_edge_irq() [all …]
|
H 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 …]
|
H A D | manage.c | 102 if (desc) { in synchronize_hardirq() 140 if (desc) in synchronize_irq() 150 if (!desc || !irqd_can_balance(&desc->irq_data) || in __irq_can_set_affinity() 416 if (!desc) in irq_update_affinity_desc() 462 if (!desc) in __irq_set_affinity() 507 if (!desc) in __irq_apply_affinity_hint() 563 if (!desc || desc->istate & IRQS_NMI) in irq_set_affinity_notifier() 2058 irq_pm_remove_action(desc, desc->action); in __cleanup_nmi() 2513 if (desc && irq_settings_is_per_cpu_devid(desc)) in remove_percpu_irq() 2611 if (!desc || !irq_settings_can_request(desc) || in __request_percpu_irq() [all …]
|
H 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 …]
|
H A D | irqdesc.c | 110 desc->irq_data.common = &desc->irq_common_data; in desc_set_defaults() 156 return desc ? irq_desc_get_irq(desc) : nr_irqs; in irq_find_at_or_after() 208 if (desc->irq_data.chip && desc->irq_data.chip->name) { in chip_name_show() 421 desc = kzalloc_node(sizeof(*desc), GFP_KERNEL, node); in alloc_desc() 422 if (!desc) in alloc_desc() 527 if (!desc) in alloc_descs() 669 if (!desc) in handle_irq_desc() 902 if (!desc) in irq_set_percpu_devid_partition() 931 if (!desc || !desc->percpu_enabled) in irq_get_percpu_devid_partition() 959 return desc && desc->kstat_irqs ? in kstat_irqs_cpu() [all …]
|
H 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 …]
|
H A D | internals.h | 155 desc->irq_data.chip->irq_bus_lock(&desc->irq_data); in chip_bus_lock() 161 desc->irq_data.chip->irq_bus_sync_unlock(&desc->irq_data); in chip_bus_sync_unlock() 267 __kstat_incr_irqs_this_cpu(desc); in kstat_incr_irqs_this_cpu() 268 desc->tot_count++; in kstat_incr_irqs_this_cpu() 278 return (desc->action && desc->action == &chained_action); in irq_desc_is_chained() 316 desc->istate &= ~IRQS_TIMINGS; in irq_remove_timings() 323 int irq = irq_desc_get_irq(desc); in irq_setup_timings() 344 desc->istate |= IRQS_TIMINGS; in irq_setup_timings() 392 if (desc->istate & IRQS_TIMINGS) in record_irq_time() 435 return desc->pending_mask; in irq_desc_get_pending_mask() [all …]
|
H A D | resend.c | 33 struct irq_desc *desc; in resend_irqs() local 41 desc->handle_irq(desc); in resend_irqs() 69 if (!desc->parent_irq) in irq_sw_resend() 72 desc = irq_to_desc(desc->parent_irq); in irq_sw_resend() 73 if (!desc) in irq_sw_resend() 110 return desc->irq_data.chip->irq_retrigger(&desc->irq_data); in try_retrigger() 146 if (!try_retrigger(desc)) in check_irq_resend() 147 err = irq_sw_resend(desc); in check_irq_resend() 175 struct irq_desc *desc; in irq_inject_interrupt() local 185 if (!desc) in irq_inject_interrupt() [all …]
|
H 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 …]
|
/openbmc/linux/drivers/usb/class/ |
H 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() 1085 desc, in wdm_create() [all …]
|
/openbmc/linux/drivers/crypto/caam/ |
H 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 …]
|
H 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 …]
|
H 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 …]
|
/openbmc/linux/drivers/regulator/ |
H 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 …]
|
H A D | helpers.c | 40 if (rdev->desc->enable_val) in regulator_is_enabled_regmap() 44 if (rdev->desc->enable_val) in regulator_is_enabled_regmap() 183 rdev->desc->vsel_reg, in write_separate_vsel_and_range() 228 if (rdev->desc->vsel_reg == rdev->desc->vsel_range_reg) in regulator_set_voltage_sel_pickable_regmap() 238 if (rdev->desc->apply_bit) in regulator_set_voltage_sel_pickable_regmap() 292 if (rdev->desc->apply_bit) in regulator_set_voltage_sel_regmap() 387 if (rdev->desc->n_voltages == 1 && rdev->desc->uV_step == 0) { in regulator_map_voltage_linear() 388 if (min_uV <= rdev->desc->min_uV && rdev->desc->min_uV <= max_uV) in regulator_map_voltage_linear() 402 ret = DIV_ROUND_UP(min_uV - rdev->desc->min_uV, rdev->desc->uV_step); in regulator_map_voltage_linear() 554 return desc->min_uV + (desc->uV_step * selector); in regulator_desc_list_voltage_linear() [all …]
|
/openbmc/linux/lib/crypto/ |
H 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 …]
|
/openbmc/linux/drivers/scsi/fnic/ |
H 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 …]
|
/openbmc/linux/drivers/infiniband/core/ |
H 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 …]
|
/openbmc/u-boot/drivers/fpga/ |
H A D | xilinx.c | 148 if (!desc->operations || !desc->operations->load) { in xilinx_load() 153 return desc->operations->load(desc, buf, bsize, bstype); in xilinx_load() 165 if (!desc->operations || !desc->operations->loadfs) { in xilinx_loadfs() 170 return desc->operations->loadfs(desc, buf, bsize, fpga_fsinfo); in xilinx_loadfs() 183 if (!desc->operations || !desc->operations->loads) { in xilinx_loads() 199 if (!desc->operations || !desc->operations->dump) { in xilinx_dump() 204 return desc->operations->dump(desc, buf, bsize); in xilinx_dump() 267 desc->size, desc->cookie, desc->cookie); in xilinx_info() 276 if (desc->operations && desc->operations->info) in xilinx_info() 277 desc->operations->info(desc); in xilinx_info() [all …]
|
/openbmc/phosphor-debug-collector/tools/dreport.d/openpower.d/plugins.d/ |
H A D | dumpfilelist | 12 desc="Dumps" 22 desc="BMC dumps" 24 add_cmd_output "echo $'[$desc]'" "$file_name" "$desc" 32 desc="Hardware dumps" 34 add_cmd_output "echo $'\n[$desc]'" "$file_name" "$desc" 43 desc="Hostboot dumps" 45 add_cmd_output "echo $'\n[$desc]'" "$file_name" "$desc" 54 desc="SBE dumps" 56 add_cmd_output "echo $'\n[$desc]'" "$file_name" "$desc" 65 desc="core files" [all …]
|
/openbmc/openpower-debug-collector/dump/tools/bmcdump/plugins/ |
H A D | dumpfilelist | 12 desc="Dumps" 22 desc="BMC dumps" 24 add_cmd_output "echo $'[$desc]'" "$file_name" "$desc" 32 desc="Hardware dumps" 34 add_cmd_output "echo $'\n[$desc]'" "$file_name" "$desc" 43 desc="Hostboot dumps" 45 add_cmd_output "echo $'\n[$desc]'" "$file_name" "$desc" 54 desc="SBE dumps" 56 add_cmd_output "echo $'\n[$desc]'" "$file_name" "$desc" 65 desc="core files" [all …]
|
/openbmc/linux/include/uapi/linux/usb/ |
H 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 …]
|
/openbmc/u-boot/drivers/crypto/fsl/ |
H A D | desc_constr.h | 80 return desc + desc_len(desc); in desc_end() 85 return desc + 1; in desc_pdb() 102 init_job_desc(desc, in init_job_desc_pdb() 140 (*desc)++; in append_cmd() 152 (*desc) += 2; in append_u64() 158 *desc = command; in write_cmd() 160 return desc + 1; in write_cmd() 167 append_ptr(desc, ptr); in append_cmd_ptr() 176 append_ptr(desc, ptr); in append_cmd_ptr_extlen() 177 append_cmd(desc, len); in append_cmd_ptr_extlen() [all …]
|
/openbmc/linux/tools/testing/selftests/x86/ |
H 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 …]
|
/openbmc/linux/drivers/crypto/ccree/ |
H 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 …]
|