/openbmc/linux/security/apparmor/ |
H A D | crypto.c | 30 SHASH_DESC_ON_STACK(desc, apparmor_tfm); in aa_calc_hash() 41 desc->tfm = apparmor_tfm; in aa_calc_hash() 43 error = crypto_shash_init(desc); in aa_calc_hash() 46 error = crypto_shash_update(desc, (u8 *) data, len); in aa_calc_hash() 49 error = crypto_shash_final(desc, hash); in aa_calc_hash() 64 SHASH_DESC_ON_STACK(desc, apparmor_tfm); in aa_calc_profile_hash() 78 desc->tfm = apparmor_tfm; in aa_calc_profile_hash() 80 error = crypto_shash_init(desc); in aa_calc_profile_hash() 83 error = crypto_shash_update(desc, (u8 *) &le32_version, 4); in aa_calc_profile_hash() 86 error = crypto_shash_update(desc, (u8 *) start, len); in aa_calc_profile_hash() [all …]
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_device_path.c | 533 dp->target_id = desc->target; in dp_fill() 624 int ret = blk_find_device(desc->if_type, desc->devnum, &dev); in dp_part_size() 627 dev = desc->bdev->parent; in dp_part_size() 683 switch (desc->sig_type) { in dp_part_node() 695 sizeof(desc->mbr_sig)); in dp_part_node() 722 int ret = blk_find_device(desc->if_type, desc->devnum, &dev); in dp_part_fill() 725 dev = desc->bdev->parent; in dp_part_fill() 790 dp_part_node(buf, desc, part); in efi_dp_part_node() 818 if (desc) in efi_dp_from_file() 828 if (desc) in efi_dp_from_file() [all …]
|
/openbmc/qemu/scripts/ |
H A D | vmstate-static-checker.py | 143 def check_fields(src_fields, dest_fields, desc, sec): argument 273 print("Description \"" + desc + "\":", end=' ') 279 check_version(s_item, d_item, sec, desc) 288 def check_subsections(src_sub, dest_sub, desc, sec): argument 304 def check_description_in_list(s_item, d_item, sec, desc): argument 342 def check_version(s, d, sec, desc=None): argument 345 if desc: 355 if desc: 362 def check_size(s, d, sec, desc=None, field=None): argument 365 if desc: [all …]
|
/openbmc/linux/drivers/pci/msi/ |
H A D | irqdomain.c | 48 if (desc->irq == irq_data->irq) in pci_msi_domain_write_msg() 49 __pci_write_msi_msg(desc, msg); in pci_msi_domain_write_msg() 68 struct msi_desc *desc) in pci_msi_domain_set_desc() argument 70 arg->desc = desc; in pci_msi_domain_set_desc() 147 arg->desc = desc; in pci_device_domain_set_desc() 148 arg->hwirq = desc->msi_index; in pci_device_domain_set_desc() 155 pci_msi_mask(desc, BIT(data->irq - desc->irq)); in pci_irq_mask_msi() 162 pci_msi_unmask(desc, BIT(data->irq - desc->irq)); in pci_irq_unmask_msi() 206 struct msi_desc *desc) in pci_msix_prepare_desc() argument 209 if (!desc->pci.mask_base) in pci_msix_prepare_desc() [all …]
|
/openbmc/linux/include/linux/ |
H A D | irqnr.h | 12 # define for_each_irq_desc(irq, desc) \ argument 13 for (irq = 0, desc = irq_to_desc(irq); irq < nr_irqs; \ 14 irq++, desc = irq_to_desc(irq)) \ 15 if (!desc) \ 20 # define for_each_irq_desc_reverse(irq, desc) \ argument 21 for (irq = nr_irqs - 1, desc = irq_to_desc(irq); irq >= 0; \ 22 irq--, desc = irq_to_desc(irq)) \ 23 if (!desc) \
|
/openbmc/linux/drivers/greybus/ |
H A D | manifest.c | 62 struct manifest_desc *desc, *tmp; in release_cport_descriptors() local 66 desc_cport = desc->data; in release_cport_descriptors() 68 if (desc->type != GREYBUS_TYPE_CPORT) in release_cport_descriptors() 72 release_manifest_descriptor(desc); in release_cport_descriptors() 244 desc_cport = desc->data; in gb_manifest_parse_cports() 287 desc_cport = desc->data; in gb_manifest_parse_cports() 314 struct manifest_desc *desc; in gb_manifest_parse_bundles() local 325 desc_bundle = desc->data; in gb_manifest_parse_bundles() 456 struct greybus_descriptor *desc; in gb_manifest_parse() local 493 desc = manifest->descriptors; in gb_manifest_parse() [all …]
|
/openbmc/u-boot/drivers/virtio/ |
H A D | virtio_ring.c | 19 struct vring_desc *desc; in virtqueue_add() local 28 desc = vq->vring.desc; in virtqueue_add() 53 i = virtio16_to_cpu(vq->vdev, desc[i].next); in virtqueue_add() 60 desc[i].addr = cpu_to_virtio64(vq->vdev, in virtqueue_add() 201 vq->vring.desc[i].addr); in virtqueue_get_buf() 290 free(vq->vring.desc); in vring_del_virtqueue() 302 return (ulong)vq->vring.desc; in virtqueue_get_desc_addr() 307 return (ulong)vq->vring.desc + in virtqueue_get_avail_addr() 313 return (ulong)vq->vring.desc + in virtqueue_get_used_addr() 339 i, vq->vring.desc[i].addr, vq->vring.desc[i].len, in virtqueue_dump() [all …]
|
/openbmc/linux/drivers/dma/ |
H A D | dma-axi-dmac.c | 222 if (!desc) { in axi_dmac_start_transfer() 229 sg = &desc->sg[desc->num_submitted]; in axi_dmac_start_transfer() 238 if (desc->num_submitted == desc->num_sgs || in axi_dmac_start_transfer() 484 desc = kzalloc(struct_size(desc, sg, num_sgs), GFP_NOWAIT); in axi_dmac_alloc_desc() 485 if (!desc) in axi_dmac_alloc_desc() 493 return desc; in axi_dmac_alloc_desc() 559 if (!desc) in axi_dmac_prep_slave_sg() 562 dsg = desc->sg; in axi_dmac_prep_slave_sg() 567 kfree(desc); in axi_dmac_prep_slave_sg() 603 if (!desc) in axi_dmac_prep_dma_cyclic() [all …]
|
/openbmc/linux/drivers/dma/idxd/ |
H A D | irq.c | 24 struct idxd_desc *desc; member 76 struct dsa_hw_desc desc = {}; in idxd_int_handle_revoke_drain() local 81 desc.flags = IDXD_OP_FLAG_RCI; in idxd_int_handle_revoke_drain() 83 desc.priv = 1; in idxd_int_handle_revoke_drain() 86 desc.pasid = ie->pasid; in idxd_int_handle_revoke_drain() 517 struct idxd_desc *desc = irw->desc; in idxd_int_handle_resubmit_work() local 525 desc->id, wq->id); in idxd_int_handle_resubmit_work() 538 idxd_free_desc(wq, desc); in idxd_int_handle_resubmit_work() 553 irw->desc = desc; in idxd_queue_int_handle_resubmit() 561 struct idxd_desc *desc, *t; in irq_process_pending_llist() local [all …]
|
/openbmc/phosphor-debug-collector/tools/dreport.d/openpower.d/plugins.d/ |
H A D | occ | 13 desc="occ control" 20 add_cmd_output "$command" "$file_name" "$desc" 23 desc="occ conrol host" 29 add_cmd_output "$command" "$file_name" "$desc" 32 desc="occ sensor" 38 add_cmd_output "$command" "$file_name" "$desc" 42 add_copy_file "$occ_dir" "$desc"
|
/openbmc/openpower-debug-collector/dump/tools/bmcdump/plugins/ |
H A D | occ | 13 desc="occ control" 20 add_cmd_output "$command" "$file_name" "$desc" 23 desc="occ control host" 29 add_cmd_output "$command" "$file_name" "$desc" 32 desc="occ sensor" 38 add_cmd_output "$command" "$file_name" "$desc" 42 add_copy_file "$occ_dir" "$desc"
|
/openbmc/linux/drivers/regulator/ |
H A D | wm831x-dcdc.c | 49 struct regulator_desc desc; member 421 dcdc->desc.name = dcdc->name; in wm831x_buckv_probe() 427 dcdc->desc.id = id; in wm831x_buckv_probe() 580 dcdc->desc.name = dcdc->name; in wm831x_buckp_probe() 586 dcdc->desc.id = id; in wm831x_buckp_probe() 595 dcdc->desc.min_uV = 850000; in wm831x_buckp_probe() 596 dcdc->desc.uV_step = 25000; in wm831x_buckp_probe() 708 dcdc->desc.name = dcdc->name; in wm831x_boostp_probe() 709 dcdc->desc.id = id; in wm831x_boostp_probe() 793 dcdc->desc.name = dcdc->name; in wm831x_epe_probe() [all …]
|
H A D | fixed.c | 34 struct regulator_desc desc; member 120 const struct regulator_desc *desc) in of_get_fixed_voltage_config() argument 191 &drvdata->desc); in reg_fixed_voltage_probe() 204 if (drvdata->desc.name == NULL) { in reg_fixed_voltage_probe() 208 drvdata->desc.type = REGULATOR_VOLTAGE; in reg_fixed_voltage_probe() 209 drvdata->desc.owner = THIS_MODULE; in reg_fixed_voltage_probe() 228 drvdata->desc.ops = &fixed_voltage_ops; in reg_fixed_voltage_probe() 238 if (!drvdata->desc.supply_name) in reg_fixed_voltage_probe() 243 drvdata->desc.n_voltages = 1; in reg_fixed_voltage_probe() 245 drvdata->desc.fixed_uV = config->microvolts; in reg_fixed_voltage_probe() [all …]
|
/openbmc/linux/drivers/net/ethernet/xscale/ |
H A D | ixp4xx_eth.c | 625 phys, desc->next, desc->buf_len, desc->pkt_len, in debug_desc() 626 desc->data, desc->dest_id, desc->src_id, desc->flags, in debug_desc() 627 desc->qos, desc->padlen, desc->vlan_tci, in debug_desc() 628 desc->dst_mac_0, desc->dst_mac_1, desc->dst_mac_2, in debug_desc() 629 desc->dst_mac_3, desc->dst_mac_4, desc->dst_mac_5, in debug_desc() 630 desc->src_mac_0, desc->src_mac_1, desc->src_mac_2, in debug_desc() 655 struct desc *desc) in queue_put_desc() argument 703 struct desc *desc; in eth_poll() local 806 struct desc *desc; in eth_txdone_irq() local 851 struct desc *desc; in eth_xmit() local [all …]
|
/openbmc/linux/drivers/dma/xilinx/ |
H A D | zynqmp_dma.c | 272 addr = desc->src_p; in zynqmp_dma_update_desc_to_ctrlr() 274 addr = desc->dst_p; in zynqmp_dma_update_desc_to_ctrlr() 284 void *desc) in zynqmp_dma_desc_config_eod() argument 384 desc = list_last_entry(&desc->tx_list, in zynqmp_dma_tx_submit() 413 list_del(&desc->node); in zynqmp_dma_get_descriptor() 421 return desc; in zynqmp_dma_get_descriptor() 500 desc->dst_v = (struct zynqmp_dma_desc_ll *) (desc->src_v + 1); in zynqmp_dma_alloc_chan_resources() 503 desc->dst_p = desc->src_p + ZYNQMP_DMA_DESC_SIZE(chan); in zynqmp_dma_alloc_chan_resources() 589 if (!desc) in zynqmp_dma_start_transfer() 636 if (!desc) in zynqmp_dma_complete_descriptor() [all …]
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_oem.c | 46 .desc = "Supermicro IPMIv1.5 BMC with OEM LAN authentication support", 51 .desc = "Intel SE7501WV2 IPMIv1.5 BMC with extra LAN communication support", 55 .desc = "Intel IPMI 2.0 BMC with RMCP+ communication support", 59 .desc = "IPMI 2.0 ICTS compliance support", 63 .desc = "IBM OEM support", 68 .desc = "Intel 82571 MAC with integrated RMCP+ support in super pass-through mode", 72 .desc = "Kontron OEM big buffer support" 103 for (oem=ipmi_oem_list; oem->name != NULL && oem->desc != NULL; oem++) { in ipmi_oem_print() 104 lprintf(LOG_NOTICE, "\t%-12s %s", oem->name, oem->desc); in ipmi_oem_print() 143 lprintf(LOG_DEBUG, "Running OEM setup for \"%s\"", oem->desc); in ipmi_oem_setup()
|
/openbmc/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-paris.c | 108 const struct mtk_pin_desc *desc; in mtk_pinmux_gpio_request_enable() local 121 const struct mtk_pin_desc *desc; in mtk_pinmux_gpio_set_direction() local 135 const struct mtk_pin_desc *desc; in mtk_pinconf_get() local 262 const struct mtk_pin_desc *desc; in mtk_pinconf_set() local 590 const struct mtk_pin_desc *desc; in mtk_hw_get_value_wrap() local 630 const struct mtk_pin_desc *desc; in mtk_pctrl_show_one_pin() local 753 const struct mtk_pin_desc *desc; in mtk_pmx_set_mux() local 844 const struct mtk_pin_desc *desc; in mtk_gpio_get_direction() local 872 const struct mtk_pin_desc *desc; in mtk_gpio_get() local 890 const struct mtk_pin_desc *desc; in mtk_gpio_set() local [all …]
|
/openbmc/linux/crypto/ |
H A D | crc32_generic.c | 47 static int crc32_init(struct shash_desc *desc) in crc32_init() argument 49 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32_init() 50 u32 *crcp = shash_desc_ctx(desc); in crc32_init() 57 static int crc32_update(struct shash_desc *desc, const u8 *data, in crc32_update() argument 60 u32 *crcp = shash_desc_ctx(desc); in crc32_update() 74 static int crc32_finup(struct shash_desc *desc, const u8 *data, in crc32_finup() argument 77 return __crc32_finup(shash_desc_ctx(desc), data, len, out); in crc32_finup() 80 static int crc32_final(struct shash_desc *desc, u8 *out) in crc32_final() argument 82 u32 *crcp = shash_desc_ctx(desc); in crc32_final() 88 static int crc32_digest(struct shash_desc *desc, const u8 *data, in crc32_digest() argument [all …]
|
/openbmc/linux/drivers/platform/mellanox/ |
H A D | mlxbf-tmfifo.c | 384 desc = &vr->desc[idx]; in mlxbf_tmfifo_get_pkt_len() 432 vring->desc = desc; in mlxbf_tmfifo_get_next_pkt() 434 return desc; in mlxbf_tmfifo_get_next_pkt() 481 desc = &vr->desc[idx]; in mlxbf_tmfifo_console_output_one() 698 vring->desc = *desc; in mlxbf_tmfifo_rxtx_header() 708 vring->desc = *desc; in mlxbf_tmfifo_rxtx_header() 749 if (!desc) { in mlxbf_tmfifo_rxtx_one_desc() 754 vring->desc = desc; in mlxbf_tmfifo_rxtx_one_desc() 760 desc = vring->desc; in mlxbf_tmfifo_rxtx_one_desc() 794 desc = &vr->desc[idx]; in mlxbf_tmfifo_rxtx_one_desc() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/queue/src/ |
H A D | queue_access.c | 37 rdesc->desc.remote.cb_desc_addr in ia_css_queue_load() 53 rdesc->desc.remote.cb_desc_addr in ia_css_queue_load() 58 rdesc->desc.remote.cb_desc_addr in ia_css_queue_load() 63 rdesc->desc.remote.cb_desc_addr in ia_css_queue_load() 68 hmm_load(rdesc->desc.remote.cb_desc_addr, in ia_css_queue_load() 92 rdesc->desc.remote.cb_desc_addr in ia_css_queue_store() 98 rdesc->desc.remote.cb_desc_addr in ia_css_queue_store() 104 rdesc->desc.remote.cb_desc_addr in ia_css_queue_store() 110 rdesc->desc.remote.cb_desc_addr in ia_css_queue_store() 136 rdesc->desc.remote.cb_elems_addr in ia_css_queue_item_load() [all …]
|
/openbmc/linux/drivers/pinctrl/sunxi/ |
H A D | pinctrl-sunxi.h | 165 const struct sunxi_pinctrl_desc *desc; member 228 if (!desc->irq_bank_map) in sunxi_irq_hw_bank_num() 231 return desc->irq_bank_map[bank]; in sunxi_irq_hw_bank_num() 234 static inline u32 sunxi_irq_cfg_reg(const struct sunxi_pinctrl_desc *desc, in sunxi_irq_cfg_reg() argument 241 sunxi_irq_hw_bank_num(desc, bank) * IRQ_MEM_SIZE + reg; in sunxi_irq_cfg_reg() 252 return IRQ_CTRL_REG + sunxi_irq_hw_bank_num(desc, bank) * IRQ_MEM_SIZE; in sunxi_irq_ctrl_reg_from_bank() 260 return sunxi_irq_ctrl_reg_from_bank(desc, bank); in sunxi_irq_ctrl_reg() 272 sunxi_irq_hw_bank_num(desc, bank) * IRQ_MEM_SIZE; in sunxi_irq_debounce_reg_from_bank() 278 sunxi_irq_hw_bank_num(desc, bank) * IRQ_MEM_SIZE; in sunxi_irq_status_reg_from_bank() 286 return sunxi_irq_status_reg_from_bank(desc, bank); in sunxi_irq_status_reg() [all …]
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A D | panel-seiko-43wvf1g.c | 49 const struct seiko_panel_desc *desc; member 66 if (!panel->desc) in seiko_panel_get_fixed_modes() 85 if (panel->desc->num_timings == 1) in seiko_panel_get_fixed_modes() 105 if (panel->desc->num_modes == 1) in seiko_panel_get_fixed_modes() 117 if (panel->desc->bus_format) in seiko_panel_get_fixed_modes() 119 &panel->desc->bus_format, 1); in seiko_panel_get_fixed_modes() 220 if (p->desc->num_timings < num_timings) in seiko_panel_get_timings() 221 num_timings = p->desc->num_timings; in seiko_panel_get_timings() 225 timings[i] = p->desc->timings[i]; in seiko_panel_get_timings() 227 return p->desc->num_timings; in seiko_panel_get_timings() [all …]
|
/openbmc/linux/drivers/clk/mvebu/ |
H A D | clk-corediv.c | 57 const struct clk_corediv_desc *desc; member 83 const struct clk_corediv_desc *desc = corediv->desc; in clk_corediv_is_enabled() local 93 const struct clk_corediv_desc *desc = corediv->desc; in clk_corediv_enable() local 112 const struct clk_corediv_desc *desc = corediv->desc; in clk_corediv_disable() local 130 const struct clk_corediv_desc *desc = corediv->desc; in clk_corediv_recalc_rate() local 134 div = (reg >> desc->offset) & desc->mask; in clk_corediv_recalc_rate() 158 const struct clk_corediv_desc *desc = corediv->desc; in clk_corediv_set_rate() local 168 reg &= ~(desc->mask << desc->offset); in clk_corediv_set_rate() 169 reg |= (div & desc->mask) << desc->offset; in clk_corediv_set_rate() 173 reg = readl(corediv->reg) | BIT(desc->fieldbit); in clk_corediv_set_rate() [all …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk-en7523.c | 163 if (!desc->base_bits) in en7523_get_base_rate() 164 return desc->base_value; in en7523_get_base_rate() 167 val >>= desc->base_shift; in en7523_get_base_rate() 170 if (val >= desc->n_base_values) in en7523_get_base_rate() 173 return desc->base_values[val]; in en7523_get_base_rate() 181 if (!desc->div_bits) in en7523_get_div() 184 reg = desc->div_reg ? desc->div_reg : desc->base_reg; in en7523_get_div() 186 val >>= desc->div_shift; in en7523_get_div() 189 if (!val && desc->div_val0) in en7523_get_div() 190 return desc->div_val0; in en7523_get_div() [all …]
|
/openbmc/linux/drivers/platform/olpc/ |
H A D | olpc-ec.c | 87 list_del(&desc->node); in olpc_ec_worker() 92 if (!desc) in olpc_ec_worker() 97 desc->err = ec_driver->ec_cmd(desc->cmd, desc->inbuf, desc->inlen, in olpc_ec_worker() 98 desc->outbuf, desc->outlen, ec_cb_arg); in olpc_ec_worker() 147 desc.cmd = cmd; in olpc_ec_cmd() 148 desc.inbuf = inbuf; in olpc_ec_cmd() 149 desc.outbuf = outbuf; in olpc_ec_cmd() 150 desc.inlen = inlen; in olpc_ec_cmd() 151 desc.outlen = outlen; in olpc_ec_cmd() 152 desc.err = 0; in olpc_ec_cmd() [all …]
|