Home
last modified time | relevance | path

Searched refs:translate (Results 1 – 25 of 54) sorted by relevance

123

/drivers/gpu/drm/amd/display/dc/gpio/
Dhw_translate.c65 struct hw_translate *translate, in dal_hw_translate_init() argument
70 dal_hw_translate_diag_fpga_init(translate); in dal_hw_translate_init()
79 dal_hw_translate_dce60_init(translate); in dal_hw_translate_init()
85 dal_hw_translate_dce80_init(translate); in dal_hw_translate_init()
91 dal_hw_translate_dce110_init(translate); in dal_hw_translate_init()
95 dal_hw_translate_dce120_init(translate); in dal_hw_translate_init()
100 dal_hw_translate_dcn10_init(translate); in dal_hw_translate_init()
104 dal_hw_translate_dcn20_init(translate); in dal_hw_translate_init()
107 dal_hw_translate_dcn21_init(translate); in dal_hw_translate_init()
112 dal_hw_translate_dcn30_init(translate); in dal_hw_translate_init()
Dgpio_service.c70 if (!dal_hw_translate_init(&service->translate, dce_version, in dal_gpio_service_create()
136 if (!service->translate.funcs->offset_to_id(offset, mask, &id, &en)) { in dal_gpio_service_create_irq()
153 if (!service->translate.funcs->offset_to_id(offset, mask, &id, &en)) { in dal_gpio_service_create_generic_mux()
185 if (service->translate.funcs->id_to_offset) { in dal_gpio_get_generic_pin_info()
186 service->translate.funcs->id_to_offset(id, en, &pin); in dal_gpio_get_generic_pin_info()
478 if (!service->translate.funcs->offset_to_id(offset, mask, &id, &en)) in dal_gpio_create_ddc()
Dhw_translate.h46 struct hw_translate *translate,
Dgpio_service.h34 struct hw_translate translate; member
Dgpio_base.c162 return gpio->service->translate.funcs->id_to_offset( in dal_gpio_get_pin_info()
/drivers/mtd/maps/
Dpci.c25 unsigned long (*translate)(struct map_pci_info *map, unsigned long ofs); member
33 unsigned long (*translate)(struct map_pci_info *map, unsigned long ofs); member
41 val.x[0]= readb(map->base + map->translate(map, ofs)); in mtd_pci_read8()
49 val.x[0] = readl(map->base + map->translate(map, ofs)); in mtd_pci_read32()
56 memcpy_fromio(to, map->base + map->translate(map, from), len); in mtd_pci_copyfrom()
62 writeb(val.x[0], map->base + map->translate(map, ofs)); in mtd_pci_write8()
68 writel(val.x[0], map->base + map->translate(map, ofs)); in mtd_pci_write32()
74 memcpy_toio(map->base + map->translate(map, to), from, len); in mtd_pci_copyto()
147 .translate = intel_iq80310_translate,
220 .translate = intel_dc21285_translate,
[all …]
/drivers/of/
Dfdt_address.c44 int (*translate)(__be32 *addr, u64 offset, int na); member
105 .translate = fdt_bus_default_translate,
150 return pbus->translate(addr, offset, pna); in fdt_translate_one()
Daddress.c52 int (*translate)(__be32 *addr, u64 offset, int na); member
382 .translate = of_bus_pci_translate,
394 .translate = of_bus_isa_translate,
405 .translate = of_bus_default_translate,
503 return pbus->translate(addr, offset, pna); in of_translate_one()
/drivers/mfd/
Drave-sp.c156 int (*translate)(enum rave_sp_command); member
355 command = sp->variant->cmd.translate(data[0]); in rave_sp_exec()
733 .translate = rave_sp_default_cmd_translate,
741 .translate = rave_sp_rdu1_cmd_translate,
749 .translate = rave_sp_rdu2_cmd_translate,
/drivers/media/pci/pt3/
Dpt3_i2c.c104 static void translate(struct pt3_i2cbuf *cbuf, struct i2c_msg *msgs, int num) in translate() function
210 translate(cbuf, msgs, num); in pt3_i2c_master_xfer()
/drivers/gpu/drm/amd/display/dc/gpio/dce80/
Dhw_translate_dce80.c408 struct hw_translate *translate) in dal_hw_translate_dce80_init() argument
410 translate->funcs = &funcs; in dal_hw_translate_dce80_init()
/drivers/gpu/drm/amd/display/dc/gpio/dce60/
Dhw_translate_dce60.c408 struct hw_translate *translate) in dal_hw_translate_dce60_init() argument
410 translate->funcs = &funcs; in dal_hw_translate_dce60_init()
/drivers/irqchip/
Dirq-partition-percpu.c148 ret = domain->ops->translate(domain, fwspec, &hwirq, &type); in partition_domain_alloc()
206 BUG_ON(!ops->select || !ops->translate); in partition_create_desc()
Dirq-nvic.c67 .translate = irq_domain_translate_onecell,
Dirq-uniphier-aidet.c160 .translate = uniphier_aidet_domain_translate,
Dirq-mst-intc.c152 .translate = mst_intc_domain_translate,
Dirq-vf610-mscm-ir.c173 .translate = vf610_mscm_ir_domain_translate,
Dirq-loongson-htvec.c142 .translate = irq_domain_translate_onecell,
Dirq-dw-apb-ictl.c94 .translate = irq_domain_translate_onecell,
Dirq-mtk-cirq.c155 .translate = mtk_cirq_domain_translate,
Dirq-ti-sci-intr.c221 .translate = ti_sci_intr_irq_domain_translate,
Dirq-mtk-sysirq.c117 .translate = mtk_sysirq_domain_translate,
Dirq-renesas-rza1.c139 .translate = rza1_irqc_translate,
/drivers/net/wireless/
Dray_cs.c133 static bool translate = true; variable
167 module_param(translate, bool, 0);
912 if (translate) { in ray_hw_xmit()
1353 translate = !!*(extra); /* Set framing mode */ in ray_set_framing()
1365 *(extra) = translate; in ray_get_framing()
2119 if (translate) { in rx_data()
2201 if (!translate) { in rx_data()
2607 seq_printf(m, "Framing mode = %s\n", framing[translate]); in ray_cs_proc_show()
2803 &translate); in init_ray_cs()
2805 translate = !!translate; in init_ray_cs()
/drivers/char/agp/
Dalpha-agp.c22 pa = agp->ops->translate(agp, dma_addr); in alpha_core_agp_vm_fault()

123