Home
last modified time | relevance | path

Searched refs:desc (Results 26 – 50 of 3438) sorted by relevance

12345678910>>...138

/openbmc/qemu/accel/tcg/
H A Dtcg-runtime-gvec.c47 clear_high(d, oprsz, desc); in HELPER()
58 clear_high(d, oprsz, desc); in HELPER()
69 clear_high(d, oprsz, desc); in HELPER()
80 clear_high(d, oprsz, desc); in HELPER()
91 clear_high(d, oprsz, desc); in HELPER()
102 clear_high(d, oprsz, desc); in HELPER()
113 clear_high(d, oprsz, desc); in HELPER()
124 clear_high(d, oprsz, desc); in HELPER()
135 clear_high(d, oprsz, desc); in HELPER()
146 clear_high(d, oprsz, desc); in HELPER()
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Dcomedi_isadma.c25 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 …]
/openbmc/linux/include/linux/gpio/
H A Dconsumer.h245 WARN_ON(desc); in gpiod_put()
254 WARN_ON(desc); in devm_gpiod_unhinge()
315 WARN_ON(desc); in devm_gpiod_put()
331 WARN_ON(desc); in gpiod_get_direction()
337 WARN_ON(desc); in gpiod_direction_input()
343 WARN_ON(desc); in gpiod_direction_output()
349 WARN_ON(desc); in gpiod_direction_output_raw()
355 WARN_ON(desc); in gpiod_enable_hw_timestamp_ns()
361 WARN_ON(desc); in gpiod_disable_hw_timestamp_ns()
367 WARN_ON(desc); in gpiod_get_value()
[all …]
/openbmc/u-boot/drivers/fpga/
H A Dfpga.c45 desc = &desc_table[devnum]; in fpga_get_desc()
50 return desc; in fpga_get_desc()
62 if (!desc) in fpga_validate()
69 return desc; in fpga_validate()
81 if (desc) { in fpga_dev_info()
85 switch (desc->devtype) { in fpga_dev_info()
150 if (!desc) { in fpga_add()
200 if (desc) { in fpga_fsload()
229 if (desc) { in fpga_loads()
258 if (desc) { in fpga_load()
[all …]
H A Daltera.c52 if (!desc) { in altera_validate()
57 if ((desc->family < min_altera_type) || in altera_validate()
69 if (!desc->size) { in altera_validate()
82 if (altera_validate(desc, fn)) { in altera_desc_to_fpga()
110 return fpga->load(desc, buf, bsize); in altera_load()
124 return fpga->dump(desc, buf, bsize); in altera_dump()
128 int altera_info(Altera_desc *desc) in altera_info() argument
138 switch (desc->iface) { in altera_info()
170 desc->size, desc->cookie, desc->cookie); in altera_info()
172 if (desc->iface_fns) { in altera_info()
[all …]
/openbmc/linux/drivers/regulator/
H A Drt5739.c53 const struct regulator_desc *desc = rdev->desc; in rt5739_set_mode() local
78 const struct regulator_desc *desc = rdev->desc; in rt5739_get_mode() local
100 const struct regulator_desc *desc = rdev->desc; in rt5739_set_suspend_voltage() local
105 max_uV = desc->min_uV + desc->uV_step * (desc->n_voltages - 1); in rt5739_set_suspend_voltage()
115 vsel = (uV - desc->min_uV) / desc->uV_step; in rt5739_set_suspend_voltage()
121 const struct regulator_desc *desc = rdev->desc; in rt5739_set_suspend_enable() local
135 const struct regulator_desc *desc = rdev->desc; in rt5739_set_suspend_disable() local
150 const struct regulator_desc *desc = rdev->desc; in rt5739_set_suspend_mode() local
206 desc->owner = THIS_MODULE; in rt5739_init_regulator_desc()
258 desc = devm_kzalloc(dev, sizeof(*desc), GFP_KERNEL); in rt5739_probe()
[all …]
/openbmc/linux/arch/s390/tools/
H 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 …]
/openbmc/linux/drivers/pci/msi/
H A Dmsi.h16 pci_msi_update_mask(desc, 0, mask); in pci_msi_mask()
21 pci_msi_update_mask(desc, mask, 0); in pci_msi_unmask()
26 return desc->pci.mask_base + desc->msi_index * PCI_MSIX_ENTRY_SIZE; in pci_msix_desc_addr()
46 pci_msix_write_vector_ctrl(desc, desc->pci.msix_ctrl); in pci_msix_mask()
48 readl(desc->pci.mask_base); in pci_msix_mask()
54 pci_msix_write_vector_ctrl(desc, desc->pci.msix_ctrl); in pci_msix_unmask()
59 if (desc->pci.msi_attrib.is_msix) in __pci_msi_mask_desc()
60 pci_msix_mask(desc); in __pci_msi_mask_desc()
62 pci_msi_mask(desc, mask); in __pci_msi_mask_desc()
68 pci_msix_unmask(desc); in __pci_msi_unmask_desc()
[all …]
/openbmc/u-boot/drivers/gpio/
H A Dgpio-uclass.c142 return ops->xlate(desc->dev, desc, args); in gpio_find_and_xlate()
144 return gpio_xlate_offs_flags(desc->dev, desc, args); in gpio_find_and_xlate()
243 *desc = NULL; in gpio_hog_lookup_name()
396 return _dm_gpio_free(desc.dev, desc.offset); in gpio_free()
438 return gpio_get_ops(desc.dev)->direction_input(desc.dev, desc.offset); in gpio_direction_input()
475 value = gpio_get_ops(desc->dev)->get_value(desc->dev, desc->offset); in dm_gpio_get_value()
490 gpio_get_ops(desc->dev)->set_value(desc->dev, desc->offset, value); in dm_gpio_set_value()
504 return ops->get_open_drain(desc->dev, desc->offset); in dm_gpio_get_open_drain()
558 return dm_gpio_set_dir_flags(desc, desc->flags); in dm_gpio_set_dir()
833 ret = dm_gpio_set_dir_flags(desc, flags | desc->flags); in gpio_request_tail()
[all …]
/openbmc/qemu/hw/dma/
H A Dxlnx_dpdma.c629 desc->control = le32_to_cpu(desc->control); in xlnx_dpdma_read_descriptor()
630 desc->descriptor_id = le32_to_cpu(desc->descriptor_id); in xlnx_dpdma_read_descriptor()
631 desc->xfer_size = le32_to_cpu(desc->xfer_size); in xlnx_dpdma_read_descriptor()
633 desc->timestamp_lsb = le32_to_cpu(desc->timestamp_lsb); in xlnx_dpdma_read_descriptor()
634 desc->timestamp_msb = le32_to_cpu(desc->timestamp_msb); in xlnx_dpdma_read_descriptor()
636 desc->next_descriptor = le32_to_cpu(desc->next_descriptor); in xlnx_dpdma_read_descriptor()
637 desc->source_address = le32_to_cpu(desc->source_address); in xlnx_dpdma_read_descriptor()
640 desc->source_address2 = le32_to_cpu(desc->source_address2); in xlnx_dpdma_read_descriptor()
641 desc->source_address3 = le32_to_cpu(desc->source_address3); in xlnx_dpdma_read_descriptor()
642 desc->source_address4 = le32_to_cpu(desc->source_address4); in xlnx_dpdma_read_descriptor()
[all …]
/openbmc/linux/drivers/crypto/ccp/
H 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 …]
/openbmc/linux/drivers/dma/ptdma/
H A Dptdma-dmaengine.c87 if (desc) { in pt_handle_active_desc()
102 if (desc) { in pt_handle_active_desc()
148 desc = pt_handle_active_desc(chan, desc); in pt_cmd_callback()
151 if (!desc) in pt_cmd_callback()
168 if (!desc) in pt_alloc_dma_desc()
178 return desc; in pt_alloc_dma_desc()
193 if (!desc) in pt_create_desc()
218 if (!desc) in pt_prep_dma_memcpy()
231 if (!desc) in pt_prep_dma_interrupt()
247 if (desc) in pt_issue_pending()
[all …]
/openbmc/u-boot/arch/x86/cpu/efi/
H A Dpayload.c48 desc = map->desc; in board_get_usable_ram_top()
49 for (; desc < end; desc = efi_get_next_mem_desc(map, desc)) { in board_get_usable_ram_top()
54 largest = desc; in board_get_usable_ram_top()
86 desc = map->desc; in dram_init()
87 for (; desc < end; desc = efi_get_next_mem_desc(map, desc)) { in dram_init()
109 desc = map->desc; in dram_init_banksize()
112 desc = efi_get_next_mem_desc(map, desc)) { in dram_init_banksize()
194 for (desc = map->desc; desc < end; in install_e820_map()
195 desc = efi_get_next_mem_desc(map, desc)) { in install_e820_map()
199 switch (desc->type) { in install_e820_map()
[all …]
/openbmc/linux/kernel/irq/
H 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 …]
/openbmc/linux/drivers/net/phy/
H A Dmii_timestamper.c31 desc = kzalloc(sizeof(*desc), GFP_KERNEL); in register_mii_tstamp_controller()
32 if (!desc) in register_mii_tstamp_controller()
35 INIT_LIST_HEAD(&desc->list); in register_mii_tstamp_controller()
36 desc->ctrl = ctrl; in register_mii_tstamp_controller()
37 desc->device = device; in register_mii_tstamp_controller()
61 list_del_init(&desc->list); in unregister_mii_tstamp_controller()
62 kfree(desc); in unregister_mii_tstamp_controller()
89 mii_ts = desc->ctrl->probe_channel(desc->device, port); in register_mii_timestamper()
92 get_device(desc->device); in register_mii_timestamper()
128 desc->ctrl->release_channel(desc->device, mii_ts); in unregister_mii_timestamper()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpiolib.h107 struct gpio_desc **desc; member
123 for_each_gpio_desc(gc, desc) \
194 #define gpiod_not_found(desc) (IS_ERR(desc) && PTR_ERR(desc) == -ENOENT) argument
203 ret = gpiod_request(desc, label); in gpiod_request_user()
230 return desc - &desc->gdev->descs[0]; in gpio_chip_hwgpio()
236 pr_emerg("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
239 pr_crit("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
242 pr_err("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
245 pr_warn("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
248 pr_info("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
[all …]
H A Dgpiolib-sysfs.c76 struct gpio_desc *desc = data->desc; in direction_show() local
93 struct gpio_desc *desc = data->desc; in direction_store() local
117 struct gpio_desc *desc = data->desc; in value_show() local
136 struct gpio_desc *desc = data->desc; in value_store() local
170 struct gpio_desc *desc = data->desc; in gpio_sysfs_request_irq() local
226 struct gpio_desc *desc = data->desc; in gpio_sysfs_free_irq() local
297 struct gpio_desc *desc = data->desc; in gpio_sysfs_set_active_low() local
320 struct gpio_desc *desc = data->desc; in active_low_show() local
358 struct gpio_desc *desc = data->desc; in gpio_is_visible() local
613 data->desc = desc; in gpiod_export()
[all …]
/openbmc/linux/drivers/power/supply/
H A Dcharger-manager.c282 struct charger_desc *desc = cm->desc; in is_full_charged() local
375 struct charger_desc *desc = cm->desc; in try_charger_enable() local
454 struct charger_desc *desc = cm->desc; in check_charging_duration() local
528 struct charger_desc *desc = cm->desc; in cm_check_thermal_status() local
716 struct charger_desc *desc = cm->desc; in charger_get_property() local
1030 struct charger_desc *desc = cm->desc; in charger_manager_register_extcon() local
1111 struct charger_desc *desc = cm->desc; in charger_externally_control_store() local
1172 struct charger_desc *desc = cm->desc; in charger_manager_prepare_sysfs() local
1235 struct charger_desc *desc = cm->desc; in cm_init_thermal_data() local
1443 cm->desc = desc; in charger_manager_probe()
[all …]
/openbmc/qemu/hw/display/
H A Dedid-generate.c200 desc[0] = 0; in edid_desc_type()
201 desc[1] = 0; in edid_desc_type()
202 desc[2] = 0; in edid_desc_type()
204 desc[4] = 0; in edid_desc_type()
250 desc[5] = 10; in edid_desc_xtra3_std()
504 desc = edid_desc_next(edid, dta, desc); in qemu_edid_generate()
509 desc = edid_desc_next(edid, dta, desc); in qemu_edid_generate()
517 desc = edid_desc_next(edid, dta, desc); in qemu_edid_generate()
521 desc = edid_desc_next(edid, dta, desc); in qemu_edid_generate()
526 desc = edid_desc_next(edid, dta, desc); in qemu_edid_generate()
[all …]
/openbmc/u-boot/drivers/block/
H A Dblk_legacy.c59 if (drv->desc) { in get_desc()
75 struct blk_desc *desc; in blk_list_part() local
89 part_print(desc); in blk_list_part()
112 part_print(desc); in blk_print_part_devnum()
131 dev_print(desc); in blk_list_devices()
147 dev_print(desc); in blk_print_device_num()
168 dev_print(desc); in blk_show_device()
188 return desc; in blk_get_devnum_by_type()
214 return desc; in blk_get_devnum_by_typename()
230 n = desc->block_read(desc, start, blkcnt, buffer); in blk_read_devnum()
[all …]
H A Dblk-uclass.c78 return desc; in blk_get_devnum_by_type()
114 if_type, devnum, dev->name, desc->if_type, desc->devnum); in blk_get_devnum_by_typename()
129 return desc; in blk_get_devnum_by_typename()
184 if_type, devnum, dev->name, desc->if_type, desc->devnum); in get_desc()
191 *descp = desc; in get_desc()
249 part_print(desc); in blk_print_part_devnum()
282 dev_print(desc); in blk_print_device_num()
300 dev_print(desc); in blk_show_device()
409 if (desc->if_type == if_type && desc->devnum == devnum) { in blk_find_device()
515 if (desc->if_type == if_type && desc->devnum > max_devnum) in blk_find_max_devnum()
[all …]
/openbmc/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common-v2.c108 field, desc->number, desc->name); in mtk_hw_pin_field_lookup()
117 field, desc->number, desc->name); in mtk_hw_pin_field_lookup()
237 const struct mtk_pin_desc *desc; in mtk_xt_find_eint_num() local
244 return desc[i].number; in mtk_xt_find_eint_num()
271 if (desc->funcs && !desc->funcs[desc->eint.eint_m].name) in mtk_is_virt_gpio()
340 desc->eint.eint_m); in mtk_xt_set_gpio_as_eint()
699 arg, desc->number, desc->name); in mtk_hw_pin_rsel_lookup()
977 tb = &mtk_drive[desc->drv_n]; in mtk_pinconf_drive_set()
1006 tb = &mtk_drive[desc->drv_n]; in mtk_pinconf_drive_get()
1032 tb = &mtk_drive[desc->drv_n]; in mtk_pinconf_drive_set_rev1()
[all …]
/openbmc/u-boot/cmd/
H A Defi.c77 base = malloc(size + sizeof(*desc)); in efi_build_mem_table()
84 memcpy(base, map->desc, (ulong)end - (ulong)map->desc); in efi_build_mem_table()
90 for (desc = base; desc < end; desc = efi_get_next_mem_desc(map, desc)) { in efi_build_mem_table()
92 int type = desc->type; in efi_build_mem_table()
97 memcpy(dest, desc, map->desc_size); in efi_build_mem_table()
114 addr = desc->physical_start + (desc->num_pages << in efi_build_mem_table()
139 upto++, desc = efi_get_next_mem_desc(map, desc)) { in efi_print_mem_table()
154 desc->type, name, desc->physical_start, in efi_print_mem_table()
195 struct efi_mem_desc *desc; in do_efi_mem() local
219 if (!desc) { in do_efi_mem()
[all …]
/openbmc/qemu/target/i386/hvf/
H A Dx86_descr.c102 desc->g << 15 | in x86_segment_descriptor_to_vmx()
103 desc->db << 14 | in x86_segment_descriptor_to_vmx()
104 desc->l << 13 | in x86_segment_descriptor_to_vmx()
105 desc->avl << 12 | in x86_segment_descriptor_to_vmx()
106 desc->p << 7 | in x86_segment_descriptor_to_vmx()
107 desc->dpl << 5 | in x86_segment_descriptor_to_vmx()
108 desc->s << 4 | in x86_segment_descriptor_to_vmx()
109 desc->type; in x86_segment_descriptor_to_vmx()
118 desc->type = vmx_desc->ar & 15; in vmx_segment_to_x86_descriptor()
119 desc->s = (vmx_desc->ar >> 4) & 1; in vmx_segment_to_x86_descriptor()
[all …]
/openbmc/linux/fs/nfs/
H A Dpagelist.c76 return desc->pg_ops->pg_get_mirror(desc, idx); in nfs_pgio_get_mirror()
83 return nfs_pgio_get_mirror(desc, desc->pg_mirror_idx); in nfs_pgio_current_mirror()
91 return desc->pg_ops->pg_set_mirror(desc, idx); in nfs_pgio_set_current_mirror()
953 desc->pg_mirrors = desc->pg_mirrors_static; in nfs_pageio_init()
1014 nfs_init_cinfo(&cinfo, desc->pg_inode, desc->pg_dreq); in nfs_generic_pgio()
1217 desc->pg_ops->pg_init(desc, req); in nfs_pageio_do_add_request()
1226 if (desc->pg_maxretrans && req->wb_nio > desc->pg_maxretrans) { in nfs_pageio_do_add_request()
1250 int error = desc->pg_ops->pg_doio(desc); in nfs_pageio_doio()
1265 desc->pg_completion_ops->error_cleanup(&head, desc->pg_error); in nfs_pageio_cleanup_request()
1493 int err = desc->pg_error < 0 ? desc->pg_error : -EIO; in nfs_pageio_resend()
[all …]

12345678910>>...138