/openbmc/linux/drivers/crypto/ccree/ |
H A D | cc_hash.c | 111 set_bytes_swap(desc, 1); in cc_set_endianity() 350 hw_desc_init(&desc[idx]); in cc_fin_result() 373 hw_desc_init(&desc[idx]); in cc_fin_hmac() 383 hw_desc_init(&desc[idx]); in cc_fin_hmac() 392 hw_desc_init(&desc[idx]); in cc_fin_hmac() 394 set_din_sram(&desc[idx], in cc_fin_hmac() 403 hw_desc_init(&desc[idx]); in cc_fin_hmac() 409 hw_desc_init(&desc[idx]); in cc_fin_hmac() 467 hw_desc_init(&desc[idx]); in cc_hash_digest() 483 hw_desc_init(&desc[idx]); in cc_hash_digest() [all …]
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | ccp-dev-v5.c | 233 CCP5_CMD_IOC(desc) = 1; in ccp5_do_cmd() 234 CCP5_CMD_SOC(desc) = 0; in ccp5_do_cmd() 239 dP = (u32 *)desc; in ccp5_do_cmd() 279 struct ccp5_desc desc; in ccp5_perform_aes() local 291 CCP5_CMD_IOC(&desc) = 1; in ccp5_perform_aes() 324 struct ccp5_desc desc; in ccp5_perform_xts_aes() local 367 struct ccp5_desc desc; in ccp5_perform_sha() local 408 struct ccp5_desc desc; in ccp5_perform_des3() local 451 struct ccp5_desc desc; in ccp5_perform_rsa() local 493 struct ccp5_desc desc; in ccp5_perform_passthru() local [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | hal_rx.c | 81 desc->info0 |= in ath12k_hal_reo_cmd_flush_cache() 111 desc->info0 = in ath12k_hal_reo_cmd_update_rx_queue() 159 desc->info1 = in ath12k_hal_reo_cmd_update_rx_queue() 204 desc->info2 = in ath12k_hal_reo_cmd_update_rx_queue() 485 desc->pn[0], desc->pn[1], desc->pn[2], desc->pn[3]); in ath12k_hal_reo_status_queue_stats() 490 desc->rx_bitmap[0], desc->rx_bitmap[1], desc->rx_bitmap[2], in ath12k_hal_reo_status_queue_stats() 491 desc->rx_bitmap[3], desc->rx_bitmap[4], desc->rx_bitmap[5], in ath12k_hal_reo_status_queue_stats() 492 desc->rx_bitmap[6], desc->rx_bitmap[7]); in ath12k_hal_reo_status_queue_stats() 511 desc->num_mpdu_frames, desc->num_msdu_frames, in ath12k_hal_reo_status_queue_stats() 512 desc->total_bytes); in ath12k_hal_reo_status_queue_stats() [all …]
|
/openbmc/linux/kernel/irq/ |
H A D | handle.c | 37 print_irq_desc(irq, desc); in handle_bad_irq() 38 kstat_incr_irqs_this_cpu(desc); in handle_bad_irq() 134 atomic_inc(&desc->threads_active); in __irq_wake_thread() 145 record_irq_time(desc); in __handle_irq_event_percpu() 176 __irq_wake_thread(desc, action); in __handle_irq_event_percpu() 197 if (!irq_settings_no_debug(desc)) in handle_irq_event_percpu() 198 note_interrupt(desc, retval); in handle_irq_event_percpu() 206 desc->istate &= ~IRQS_PENDING; in handle_irq_event() 208 raw_spin_unlock(&desc->lock); in handle_irq_event() 210 ret = handle_irq_event_percpu(desc); in handle_irq_event() [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | desc.h | 26 desc->type |= 1; in fill_ldt() 28 desc->s = 1; in fill_ldt() 29 desc->dpl = 0x3; in fill_ldt() 41 desc->l = 0; in fill_ldt() 102 const u32 *desc = ptr; in desc_empty() local 104 return !(desc[0] | desc[1]); in desc_empty() 166 memset(desc, 0, sizeof(*desc)); in set_tssldt_descriptor() 171 desc->type = type; in set_tssldt_descriptor() 172 desc->p = 1; in set_tssldt_descriptor() 384 return (unsigned)(desc->base0 | ((desc->base1) << 16) | ((desc->base2) << 24)); in get_desc_base() [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | sh_intc.c | 137 if (desc->mask_regs) { in sh_intc_locate() 153 if (desc->prio_regs) { in sh_intc_locate() 267 if (desc->mask_regs) { in sh_intc_register_source() 280 if (desc->prio_regs) { in sh_intc_register_source() 366 iomem = &desc->iomem; in sh_intc_register() 392 desc->pending = 0; in sh_intc_init() 403 desc->sources[i].parent = desc; in sh_intc_init() 405 desc->irqs = qemu_allocate_irqs(sh_intc_set_irq, desc, nr_sources); in sh_intc_init() 406 memory_region_init_io(&desc->iomem, NULL, &sh_intc_ops, desc, "intc", in sh_intc_init() 409 if (desc->mask_regs) { in sh_intc_init() [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpiolib.c | 184 return desc->gdev->base + (desc - &desc->gdev->descs[0]); in desc_to_gpio() 195 if (!desc || !desc->gdev) in gpiod_to_chip() 335 if (desc->name && !strcmp(desc->name, name)) { in gpio_name_to_desc() 2151 if (!desc) in validate_desc() 2252 if (!desc) in gpiod_free() 2348 if (desc) in gpiochip_free_own_desc() 3415 if (!desc || IS_ERR(desc) || !desc->gdev || !desc->gdev->chip) in gpiod_to_irq() 4395 descs->desc[descs->ndescs] = desc; in gpiod_get_array() 4424 array_info->desc = descs->desc; in gpiod_get_array() 4515 if (desc) in gpiod_put() [all …]
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinmux.c | 94 if (!desc || !ops) in pinmux_can_be_used_for_gpio() 122 if (desc == NULL) { in pin_request() 134 desc->mux_usecount && strcmp(desc->mux_owner, owner)) { in pin_request() 137 desc->name, desc->mux_owner, owner); in pin_request() 144 desc->name, desc->gpio_owner, owner); in pin_request() 453 pname = desc ? desc->name : "non-existing"; in pinmux_enable_setting() 489 if (desc) { in pinmux_enable_setting() 640 pin, desc->name, desc->mux_owner, in pinmux_pins_show() 644 pin, desc->name, desc->gpio_owner); in pinmux_pins_show() 651 desc->mux_owner ? desc->mux_owner in pinmux_pins_show() [all …]
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | caamhash_desc.c | 33 init_sh_desc(desc, HDR_SHARE_SERIAL); in cnstr_shdsc_ahash() 44 append_key_as_imm(desc, adata->key_virt, in cnstr_shdsc_ahash() 49 append_proto_dkp(desc, adata); in cnstr_shdsc_ahash() 51 set_jump_tgt_here(desc, skip_key_load); in cnstr_shdsc_ahash() 58 append_seq_load(desc, ctx_len, LDST_CLASS_2_CCB | in cnstr_shdsc_ahash() 62 append_operation(desc, op | state | OP_ALG_ENCRYPT); in cnstr_shdsc_ahash() 73 append_seq_store(desc, digestsize, LDST_CLASS_2_CCB | in cnstr_shdsc_ahash() 92 init_sh_desc(desc, HDR_SHARE_SERIAL | HDR_SAVECTX); in cnstr_shdsc_sk_hash() 103 append_key(desc, adata->key_dma, adata->keylen, in cnstr_shdsc_sk_hash() 110 append_seq_load(desc, ctx_len, LDST_CLASS_1_CCB | in cnstr_shdsc_sk_hash() [all …]
|
/openbmc/linux/drivers/dma/sh/ |
H A D | rcar-dmac.c | 183 } desc; member 394 chan->index, desc, desc->nchunks, &desc->hwdescs.dma); in rcar_dmac_chan_start_xfer() 512 list_add_tail(&desc->node, &chan->desc.pending); in rcar_dmac_tx_submit() 513 desc->running = list_first_entry(&desc->chunks, in rcar_dmac_tx_submit() 578 list_add(&desc->node, &chan->desc.free); in rcar_dmac_desc_put() 743 desc->hwdescs.mem, desc->hwdescs.dma); in rcar_dmac_realloc_hwdesc() 914 desc->chcr = chcr | chcr_ts[desc->xfer_shift]; in rcar_dmac_chan_configure_desc() 1470 desc = list_first_entry(&rchan->desc.active, in rcar_dmac_issue_pending() 1472 rchan->desc.running = desc; in rcar_dmac_issue_pending() 1497 if (WARN_ON(!desc || !desc->cyclic)) { in rcar_dmac_isr_desc_stage_end() [all …]
|
/openbmc/qemu/hw/net/ |
H A D | mv88w8618_eth.c | 119 cpu_to_le32s(&desc->next); in eth_rx_desc_put() 120 dma_memory_write(dma_as, addr, desc, sizeof(*desc), MEMTXATTRS_UNSPECIFIED); in eth_rx_desc_put() 126 dma_memory_read(dma_as, addr, desc, sizeof(*desc), MEMTXATTRS_UNSPECIFIED); in eth_rx_desc_get() 138 mv88w8618_rx_desc desc; in eth_receive() local 148 if ((desc.cmdstat & MP_ETH_RX_OWN) && desc.buffer_size >= size) { in eth_receive() 172 cpu_to_le16s(&desc->res); in eth_tx_desc_put() 176 dma_memory_write(dma_as, addr, desc, sizeof(*desc), MEMTXATTRS_UNSPECIFIED); in eth_tx_desc_put() 182 dma_memory_read(dma_as, addr, desc, sizeof(*desc), MEMTXATTRS_UNSPECIFIED); in eth_tx_desc_get() 184 le16_to_cpus(&desc->res); in eth_tx_desc_get() 193 mv88w8618_tx_desc desc; in eth_send() local [all …]
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_err.c | 2062 if (!desc) in hclge_handle_all_ras_errors() 2068 kfree(desc); in hclge_handle_all_ras_errors() 2075 kfree(desc); in hclge_handle_all_ras_errors() 2102 le32_to_cpu(desc[0].data[0]), le32_to_cpu(desc[0].data[1]), in hclge_log_rocee_axi_error() 2103 le32_to_cpu(desc[0].data[2]), le32_to_cpu(desc[0].data[3]), in hclge_log_rocee_axi_error() 2619 if (!desc) in hclge_handle_all_hw_msix_error() 2635 kfree(desc); in hclge_handle_all_hw_msix_error() 2708 if (!desc) in hclge_handle_all_hns_hw_errors() 2737 kfree(desc); in hclge_handle_all_hns_hw_errors() 2905 if (!desc) { in hclge_handle_error_info_log() [all …]
|
/openbmc/u-boot/drivers/fpga/ |
H A D | lattice.c | 262 if (desc) { in lattice_validate() 267 if (desc->size) { in lattice_validate() 274 fn, desc->iface); in lattice_validate() 278 fn, desc->family); in lattice_validate() 294 pfns = desc->iface_fns; in lattice_load() 344 switch (desc->iface) { in lattice_info() 354 desc->size); in lattice_info() 356 if (desc->iface_fns) { in lattice_info() 358 desc->iface_fns); in lattice_info() 370 if (desc->desc) in lattice_info() [all …]
|
/openbmc/linux/drivers/pinctrl/aspeed/ |
H A D | pinmux-aspeed.c | 15 const struct aspeed_sig_desc *desc, bool enable, u32 rv) in aspeed_sig_desc_print_val() argument 18 aspeed_pinmux_ips[desc->ip], desc->reg, in aspeed_sig_desc_print_val() 19 desc->mask, enable ? desc->enable : desc->disable, in aspeed_sig_desc_print_val() 20 (rv & desc->mask) >> __ffs(desc->mask), rv); in aspeed_sig_desc_print_val() 41 int aspeed_sig_desc_eval(const struct aspeed_sig_desc *desc, in aspeed_sig_desc_eval() argument 51 ret = regmap_read(map, desc->reg, &raw); in aspeed_sig_desc_eval() 55 aspeed_sig_desc_print_val(desc, enabled, raw); in aspeed_sig_desc_eval() 56 want = enabled ? desc->enable : desc->disable; in aspeed_sig_desc_eval() 58 return ((raw & desc->mask) >> __ffs(desc->mask)) == want; in aspeed_sig_desc_eval() 93 const struct aspeed_sig_desc *desc = &expr->descs[i]; in aspeed_sig_expr_eval() local [all …]
|
/openbmc/linux/net/sunrpc/ |
H A D | socklib.c | 50 len = desc->count; in xdr_skb_read_bits() 51 if (unlikely(skb_copy_bits(desc->skb, desc->offset, to, len))) in xdr_skb_read_bits() 53 desc->count -= len; in xdr_skb_read_bits() 75 desc->csum = csum_block_add(desc->csum, csum2, pos); in xdr_skb_read_and_csum_bits() 174 desc.skb = skb; in csum_partial_copy_to_xdr() 175 desc.offset = 0; in csum_partial_copy_to_xdr() 176 desc.count = skb->len - desc.offset; in csum_partial_copy_to_xdr() 181 desc.csum = csum_partial(skb->data, desc.offset, skb->csum); in csum_partial_copy_to_xdr() 187 desc.csum = csum_block_add(desc.csum, csum2, desc.offset); in csum_partial_copy_to_xdr() 189 if (desc.count) in csum_partial_copy_to_xdr() [all …]
|
/openbmc/linux/drivers/dma/hsu/ |
H A D | hsu.c | 65 struct hsu_dma_desc *desc = hsuc->desc; in hsu_dma_chan_start() local 85 count = desc->nents - desc->active; in hsu_dma_chan_start() 225 desc = hsuc->desc; in hsu_dma_do_irq() 226 if (desc) { in hsu_dma_do_irq() 229 } else if (desc->active < desc->nents) { in hsu_dma_do_irq() 248 desc = kzalloc(sizeof(*desc), GFP_NOWAIT); in hsu_dma_alloc_desc() 249 if (!desc) in hsu_dma_alloc_desc() 280 if (!desc) in hsu_dma_prep_slave_sg() 311 struct hsu_dma_desc *desc = hsuc->desc; in hsu_dma_active_desc_size() local 315 for (i = desc->active; i < desc->nents; i++) in hsu_dma_active_desc_size() [all …]
|
/openbmc/phosphor-debug-collector/tools/dreport.d/openpower.d/plugins.d/ |
H A D | guardlist | 10 desc="GUARD Records" 17 add_copy_file "$guard_part_file" "$desc" 23 desc="Guard list" 24 add_cmd_output "echo $'[$desc]'" "$guard_log_file" "$desc" 25 add_cmd_output "/usr/bin/guard -l" "$guard_log_file" "$desc" 27 desc="Guard resolved records" 28 add_cmd_output "echo $'\n[$desc]'" "$guard_log_file" "$desc" 29 add_cmd_output "/usr/bin/guard -a" "$guard_log_file" "$desc" 31 desc="Guard ephemeral records" 32 add_cmd_output "echo $'\n[$desc]'" "$guard_log_file" "$desc" [all …]
|
/openbmc/openpower-debug-collector/dump/tools/bmcdump/plugins/ |
H A D | guardlist | 10 desc="GUARD Records" 17 add_copy_file "$guard_part_file" "$desc" 23 desc="Guard list" 24 add_cmd_output "echo $'[$desc]'" "$guard_log_file" "$desc" 25 add_cmd_output "/usr/bin/guard -l" "$guard_log_file" "$desc" 27 desc="Guard resolved records" 28 add_cmd_output "echo $'\n[$desc]'" "$guard_log_file" "$desc" 29 add_cmd_output "/usr/bin/guard -a" "$guard_log_file" "$desc" 31 desc="Guard ephemeral records" 32 add_cmd_output "echo $'\n[$desc]'" "$guard_log_file" "$desc" [all …]
|
/openbmc/linux/scripts/gdb/linux/ |
H A D | interrupts.py | 14 def irq_settings_is_hidden(desc): argument 17 def irq_desc_is_chained(desc): argument 18 return desc['action'] and desc['action'] == gdb.parse_and_eval("&chained_action") 20 def irqd_is_level(desc): argument 27 if desc is None: 30 desc = desc.cast(irq_desc_type.get_type()) 31 if desc is None: 38 if desc['kstat_irqs']: 42 if (desc['action'] == 0 or irq_desc_is_chained(desc)) and any_count == 0: 71 if desc['name']: [all …]
|
/openbmc/u-boot/drivers/crypto/fsl/ |
H A D | jobdesc.c | 155 init_job_desc(desc, 0); in inline_cnstr_jobdesc_blob_dek() 160 append_u32(desc, aad_w1); in inline_cnstr_jobdesc_blob_dek() 162 append_u32(desc, aad_w2); in inline_cnstr_jobdesc_blob_dek() 187 init_job_desc(desc, 0); in inline_cnstr_jobdesc_hash() 198 append_cmd(desc, msgsz); in inline_cnstr_jobdesc_hash() 221 init_job_desc(desc, 0); in inline_cnstr_jobdesc_blob_encap() 244 init_job_desc(desc, 0); in inline_cnstr_jobdesc_blob_decap() 263 init_job_desc(desc, 0); in inline_cnstr_jobdesc_rng_instantiation() 299 init_job_desc(desc, 0); in inline_cnstr_jobdesc_pkha_rsaexp() 302 append_fifo_load(desc, dma_addr_a, in inline_cnstr_jobdesc_pkha_rsaexp() [all …]
|
/openbmc/linux/include/linux/ |
H A D | irqdesc.h | 122 return desc->kstat_irqs ? *per_cpu_ptr(desc->kstat_irqs, cpu) : 0; in irq_desc_kstat_cpu() 132 return desc->irq_data.irq; in irq_desc_get_irq() 137 return &desc->irq_data; in irq_desc_get_irq_data() 142 return desc->irq_data.chip; in irq_desc_get_chip() 147 return desc->irq_data.chip_data; in irq_desc_get_chip_data() 152 return desc->irq_common_data.handler_data; in irq_desc_get_handler_data() 161 desc->handle_irq(desc); in generic_handle_irq_desc() 182 return desc && desc->action != NULL; in irq_desc_has_action() 200 desc->handle_irq = handler; in irq_set_handler_locked() 222 desc->handle_irq = handler; in irq_set_chip_handler_name_locked() [all …]
|
/openbmc/linux/arch/s390/kernel/ |
H A D | irq.c | 40 char *desc; member 204 struct irq_desc *desc; in show_msi_interrupt() local 209 desc = irq_to_desc(irq); in show_msi_interrupt() 210 if (!desc) in show_msi_interrupt() 213 raw_spin_lock_irqsave(&desc->lock, flags); in show_msi_interrupt() 218 if (desc->irq_data.chip) in show_msi_interrupt() 219 seq_printf(p, " %8s", desc->irq_data.chip->name); in show_msi_interrupt() 221 if (desc->action) in show_msi_interrupt() 222 seq_printf(p, " %s", desc->action->name); in show_msi_interrupt() 225 raw_spin_unlock_irqrestore(&desc->lock, flags); in show_msi_interrupt() [all …]
|
/openbmc/linux/drivers/dma/ |
H A D | dma-jz4780.c | 240 desc = kzalloc(sizeof(*desc), GFP_NOWAIT); in jz4780_dma_desc_alloc() 246 if (!desc->desc) { in jz4780_dma_desc_alloc() 267 dma_pool_free(jzchan->desc_pool, desc->desc, desc->desc_phys); in jz4780_dma_desc_free() 386 desc->desc[i].dcm |= JZ_DMA_DCM_TIE; in jz4780_dma_prep_slave_sg() 391 desc->desc[i].dcm |= JZ_DMA_DCM_LINK; in jz4780_dma_prep_slave_sg() 398 desc->desc[i].dtc |= in jz4780_dma_prep_slave_sg() 450 desc->desc[i].dtc |= in jz4780_dma_prep_dma_cyclic() 475 desc->desc[0].dsa = src; in jz4780_dma_prep_dma_memcpy() 476 desc->desc[0].dta = dest; in jz4780_dma_prep_dma_memcpy() 632 count += desc->desc[i].dtc & GENMASK(23, 0); in jz4780_dma_desc_residue() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/base/circbuf/src/ |
H A D | circbuf.c | 78 OP___assert(desc); in ia_css_circbuf_create() 80 cb->desc = desc; in ia_css_circbuf_create() 82 cb->desc->start = 0; in ia_css_circbuf_create() 83 cb->desc->end = 0; in ia_css_circbuf_create() 84 cb->desc->step = 0; in ia_css_circbuf_create() 98 cb->desc = NULL; in ia_css_circbuf_destroy() 133 max_offset = ia_css_circbuf_get_offset(cb, cb->desc->start, cb->desc->end); in ia_css_circbuf_extract() 216 curr_end = cb->desc->end; in ia_css_circbuf_increase_size() 220 if (((uint8_t)(cb->desc->size + (uint8_t)sz_delta) > cb->desc->size) && in ia_css_circbuf_increase_size() 283 cb->desc->start = ia_css_circbuf_get_pos_at_offset(cb, cb->desc->start, 1); in ia_css_circbuf_read() [all …]
|
/openbmc/linux/fs/verity/ |
H A D | open.c | 168 desc->sig_size = 0; in compute_file_digest() 169 err = fsverity_hash_buffer(hash_alg, desc, sizeof(*desc), file_digest); in compute_file_digest() 194 desc->salt, desc->salt_size); in fsverity_create_info() 296 if (memchr_inv(desc->__reserved, 0, sizeof(desc->__reserved))) { in validate_fsverity_descriptor() 301 if (desc->salt_size > sizeof(desc->salt)) { in validate_fsverity_descriptor() 313 if (le32_to_cpu(desc->sig_size) > desc_size - sizeof(*desc)) { in validate_fsverity_descriptor() 343 if (!desc) in fsverity_get_descriptor() 348 kfree(desc); in fsverity_get_descriptor() 353 kfree(desc); in fsverity_get_descriptor() 357 *desc_ret = desc; in fsverity_get_descriptor() [all …]
|