Home
last modified time | relevance | path

Searched refs:hpriv (Results 1 – 25 of 28) sorted by relevance

12

/linux/drivers/ata/
H A Dlibahci_platform.c47 int ahci_platform_enable_phys(struct ahci_host_priv *hpriv) in ahci_platform_enable_phys() argument
51 for (i = 0; i < hpriv->nports; i++) { in ahci_platform_enable_phys()
52 if (ahci_ignore_port(hpriv, i)) in ahci_platform_enable_phys()
55 rc = phy_init(hpriv->phys[i]); in ahci_platform_enable_phys()
59 rc = phy_set_mode(hpriv->phys[i], PHY_MODE_SATA); in ahci_platform_enable_phys()
61 phy_exit(hpriv->phys[i]); in ahci_platform_enable_phys()
65 rc = phy_power_on(hpriv->phys[i]); in ahci_platform_enable_phys()
67 phy_exit(hpriv->phys[i]); in ahci_platform_enable_phys()
76 if (ahci_ignore_port(hpriv, i)) in ahci_platform_enable_phys()
79 phy_power_off(hpriv->phys[i]); in ahci_platform_enable_phys()
[all …]
H A Dahci_brcm.c118 static void brcm_sata_alpm_init(struct ahci_host_priv *hpriv) in brcm_sata_alpm_init() argument
120 struct brcm_ahci_priv *priv = hpriv->plat_data; in brcm_sata_alpm_init()
125 host_caps = readl(hpriv->mmio + HOST_CAP); in brcm_sata_alpm_init()
127 hpriv->flags |= AHCI_HFLAG_YES_ALPM; in brcm_sata_alpm_init()
138 hpriv->mmio + SATA_PORT_PCTRL6(port_ctrl)); in brcm_sata_alpm_init()
217 static u32 brcm_ahci_get_portmask(struct ahci_host_priv *hpriv, in brcm_ahci_get_portmask() argument
222 impl = readl(hpriv->mmio + HOST_PORTS_IMPL); in brcm_ahci_get_portmask()
253 struct ahci_host_priv *hpriv = host->private_data; in brcm_ahci_read_id() local
254 struct brcm_ahci_priv *priv = hpriv->plat_data; in brcm_ahci_read_id()
255 void __iomem *mmio = hpriv->mmio; in brcm_ahci_read_id()
[all …]
H A Dahci_st.c53 static int st_ahci_deassert_resets(struct ahci_host_priv *hpriv, in st_ahci_deassert_resets() argument
56 struct st_ahci_drv_data *drv_data = hpriv->plat_data; in st_ahci_deassert_resets()
88 struct ahci_host_priv *hpriv = host->private_data; in st_ahci_host_stop() local
89 struct st_ahci_drv_data *drv_data = hpriv->plat_data; in st_ahci_host_stop()
99 ahci_platform_disable_resources(hpriv); in st_ahci_host_stop()
102 static int st_ahci_probe_resets(struct ahci_host_priv *hpriv, in st_ahci_probe_resets() argument
105 struct st_ahci_drv_data *drv_data = hpriv->plat_data; in st_ahci_probe_resets()
125 return st_ahci_deassert_resets(hpriv, dev); in st_ahci_probe_resets()
147 struct ahci_host_priv *hpriv; in st_ahci_probe() local
154 hpriv = ahci_platform_get_resources(pdev, 0); in st_ahci_probe()
[all …]
H A Dahci_ceva.c122 static void ahci_ceva_setup(struct ahci_host_priv *hpriv) in ahci_ceva_setup() argument
124 void __iomem *mmio = hpriv->mmio; in ahci_ceva_setup()
125 struct ceva_ahci_priv *cevapriv = hpriv->plat_data; in ahci_ceva_setup()
191 static int ceva_ahci_platform_enable_resources(struct ahci_host_priv *hpriv) in ceva_ahci_platform_enable_resources() argument
195 rc = ahci_platform_enable_regulators(hpriv); in ceva_ahci_platform_enable_resources()
199 rc = ahci_platform_enable_clks(hpriv); in ceva_ahci_platform_enable_resources()
204 rc = ahci_platform_assert_rsts(hpriv); in ceva_ahci_platform_enable_resources()
208 for (i = 0; i < hpriv->nports; i++) { in ceva_ahci_platform_enable_resources()
209 if (ahci_ignore_port(hpriv, i)) in ceva_ahci_platform_enable_resources()
212 rc = phy_init(hpriv->phys[i]); in ceva_ahci_platform_enable_resources()
[all …]
H A Dsata_mv.c438 #define IS_GEN_I(hpriv) ((hpriv)->hp_flags & MV_HP_GEN_I) argument
439 #define IS_GEN_II(hpriv) ((hpriv)->hp_flags & MV_HP_GEN_II) argument
440 #define IS_GEN_IIE(hpriv) ((hpriv)->hp_flags & MV_HP_GEN_IIE) argument
441 #define IS_PCIE(hpriv) ((hpriv)->hp_flags & MV_HP_PCIE) argument
442 #define IS_SOC(hpriv) ((hpriv)->hp_flags & MV_HP_FLAG_SOC) argument
577 void (*phy_errata)(struct mv_host_priv *hpriv, void __iomem *mmio,
579 void (*enable_leds)(struct mv_host_priv *hpriv, void __iomem *mmio);
580 void (*read_preamp)(struct mv_host_priv *hpriv, int idx,
584 void (*reset_flash)(struct mv_host_priv *hpriv, void __iomem *mmio);
604 static void mv5_phy_errata(struct mv_host_priv *hpriv, void __iomem *mmio,
[all …]
H A Dlibahci.c265 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_show_host_caps() local
267 return sprintf(buf, "%x\n", hpriv->cap); in ahci_show_host_caps()
275 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_show_host_cap2() local
277 return sprintf(buf, "%x\n", hpriv->cap2); in ahci_show_host_cap2()
285 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_show_host_version() local
287 return sprintf(buf, "%x\n", hpriv->version); in ahci_show_host_version()
310 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_read_em_buffer() local
311 void __iomem *mmio = hpriv->mmio; in ahci_read_em_buffer()
312 void __iomem *em_mmio = mmio + hpriv->em_loc; in ahci_read_em_buffer()
323 !(hpriv->em_msg_type & EM_MSG_TYPE_SGPIO)) { in ahci_read_em_buffer()
[all …]
H A Dsata_highbank.c131 struct ahci_host_priv *hpriv = ap->host->private_data; in ecx_transmit_led_message() local
132 struct ecx_plat_data *pdata = hpriv->plat_data; in ecx_transmit_led_message()
146 if (!(hpriv->em_msg_type & EM_MSG_TYPE_LED)) in ecx_transmit_led_message()
178 struct ahci_host_priv *hpriv, in highbank_set_em_messages() argument
182 struct ecx_plat_data *pdata = hpriv->plat_data; in highbank_set_em_messages()
208 hpriv->em_loc = 0; in highbank_set_em_messages()
209 hpriv->em_buf_sz = 4; in highbank_set_em_messages()
210 hpriv->em_msg_type = EM_MSG_TYPE_LED; in highbank_set_em_messages()
392 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_highbank_hardreset() local
400 hpriv->stop_engine(ap); in ahci_highbank_hardreset()
[all …]
H A Dahci_imx.c191 static int imx_sata_phy_reset(struct ahci_host_priv *hpriv) in imx_sata_phy_reset() argument
193 struct imx_ahci_priv *imxpriv = hpriv->plat_data; in imx_sata_phy_reset()
194 void __iomem *mmio = hpriv->mmio; in imx_sata_phy_reset()
301 struct ahci_host_priv *hpriv = dev_get_drvdata(dev); in __sata_ahci_read_temperature() local
302 void __iomem *mmio = hpriv->mmio; in __sata_ahci_read_temperature()
416 static int imx8_sata_enable(struct ahci_host_priv *hpriv) in imx8_sata_enable() argument
420 struct imx_ahci_priv *imxpriv = hpriv->plat_data; in imx8_sata_enable()
474 val = readl(hpriv->mmio + IMX8QM_SATA_AHCI_PTC); in imx8_sata_enable()
477 writel(val, hpriv->mmio + IMX8QM_SATA_AHCI_PTC); in imx8_sata_enable()
495 static int imx_sata_enable(struct ahci_host_priv *hpriv) in imx_sata_enable() argument
[all …]
H A Dsata_inic162x.c266 struct inic_host_priv *hpriv = ap->host->private_data; in inic_port_base() local
268 return hpriv->mmio_base + ap->port_no * PORT_SIZE; in inic_port_base()
422 struct inic_host_priv *hpriv = host->private_data; in inic_interrupt() local
426 host_irq_stat = readw(hpriv->mmio_base + HOST_IRQ_STAT); in inic_interrupt()
796 struct inic_host_priv *hpriv = host->private_data; in inic_pci_device_resume() local
804 rc = init_controller(hpriv->mmio_base, hpriv->cached_hctl); in inic_pci_device_resume()
819 struct inic_host_priv *hpriv; in inic_init_one() local
830 hpriv = devm_kzalloc(&pdev->dev, sizeof(*hpriv), GFP_KERNEL); in inic_init_one()
831 if (!host || !hpriv) in inic_init_one()
834 host->private_data = hpriv; in inic_init_one()
[all …]
H A Dahci.h386 static inline bool ahci_ignore_port(struct ahci_host_priv *hpriv, in ahci_ignore_port() argument
389 if (portid >= hpriv->nports) in ahci_ignore_port()
392 if (!hpriv->mask_port_map) in ahci_ignore_port()
394 return !(hpriv->mask_port_map & (1 << portid)); in ahci_ignore_port()
425 struct ahci_host_priv *hpriv);
443 void ahci_set_em_messages(struct ahci_host_priv *hpriv,
451 static inline void __iomem *__ahci_port_base(struct ahci_host_priv *hpriv, in __ahci_port_base() argument
454 void __iomem *mmio = hpriv->mmio; in __ahci_port_base()
461 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_port_base() local
463 return __ahci_port_base(hpriv, ap->port_no); in ahci_port_base()
H A Dsata_via.c576 struct svia_priv *hpriv = ap->host->private_data; in vt6421_error_handler() local
581 if (!hpriv->wd_workaround) { in vt6421_error_handler()
586 hpriv->wd_workaround = true; in vt6421_error_handler()
595 struct svia_priv *hpriv) in svia_configure() argument
672 hpriv->wd_workaround = true; in svia_configure()
683 struct svia_priv *hpriv; in svia_init_one() local
723 hpriv = devm_kzalloc(&pdev->dev, sizeof(*hpriv), GFP_KERNEL); in svia_init_one()
724 if (!hpriv) in svia_init_one()
726 host->private_data = hpriv; in svia_init_one()
728 svia_configure(pdev, board_id, hpriv); in svia_init_one()
[all …]
H A Dpata_hpt366.c390 const void *hpriv = NULL; in hpt36x_init_one() local
411 hpriv = &hpt366_40; in hpt36x_init_one()
414 hpriv = &hpt366_25; in hpt36x_init_one()
417 hpriv = &hpt366_33; in hpt36x_init_one()
421 return ata_pci_bmdma_init_one(dev, ppi, &hpt36x_sht, (void *)hpriv, 0); in hpt36x_init_one()
H A Dsata_promise.c785 struct pdc_host_priv *hpriv = ap->host->private_data; in pdc_hard_reset_port() local
788 spin_lock(&hpriv->hard_reset_lock); in pdc_hard_reset_port()
799 spin_unlock(&hpriv->hard_reset_lock); in pdc_hard_reset_port()
1154 struct pdc_host_priv *hpriv; in pdc_ata_init_one() local
1191 hpriv = devm_kzalloc(&pdev->dev, sizeof *hpriv, GFP_KERNEL); in pdc_ata_init_one()
1192 if (!hpriv) in pdc_ata_init_one()
1194 spin_lock_init(&hpriv->hard_reset_lock); in pdc_ata_init_one()
1195 host->private_data = hpriv; in pdc_ata_init_one()
H A Dpata_hpt3x2n.c498 void *hpriv = (void *)USE_DPLL; in hpt3x2n_init_one() local
592 hpriv = (void *)(PCI66 | USE_DPLL); in hpt3x2n_init_one()
603 return ata_pci_bmdma_init_one(dev, ppi, &hpt3x2n_sht, hpriv, 0); in hpt3x2n_init_one()
H A Dpata_amd.c534 void *hpriv = NULL; in amd_init_one() local
571 hpriv = (void *)(unsigned long)udma; in amd_init_one()
575 return ata_pci_bmdma_init_one(pdev, ppi, &amd_sht, hpriv, 0); in amd_init_one()
H A Dsata_nv.c2315 struct nv_host_priv *hpriv; in nv_init_one() local
2349 hpriv = devm_kzalloc(&pdev->dev, sizeof(*hpriv), GFP_KERNEL); in nv_init_one()
2350 if (!hpriv) in nv_init_one()
2352 hpriv->type = type; in nv_init_one()
2353 host->private_data = hpriv; in nv_init_one()
2395 struct nv_host_priv *hpriv = host->private_data; in nv_pci_device_resume() local
2403 if (hpriv->type >= CK804) { in nv_pci_device_resume()
2410 if (hpriv->type == ADMA) { in nv_pci_device_resume()
/linux/drivers/usb/renesas_usbhs/
H A Dmod_host.c109 #define usbhsh_for_each_udev(pos, hpriv, i) \ argument
110 __usbhsh_for_each_udev(1, pos, hpriv, i)
112 #define usbhsh_for_each_udev_with_dev0(pos, hpriv, i) \ argument
113 __usbhsh_for_each_udev(0, pos, hpriv, i)
155 static struct usbhsh_request *usbhsh_ureq_alloc(struct usbhsh_hpriv *hpriv, in usbhsh_ureq_alloc() argument
172 static void usbhsh_ureq_free(struct usbhsh_hpriv *hpriv, in usbhsh_ureq_free() argument
184 static int usbhsh_is_running(struct usbhsh_hpriv *hpriv) in usbhsh_is_running() argument
193 return (hpriv->mod.irq_attch == NULL); in usbhsh_is_running()
199 static void usbhsh_endpoint_sequence_save(struct usbhsh_hpriv *hpriv, in usbhsh_endpoint_sequence_save() argument
241 static struct usbhsh_device *usbhsh_device_get(struct usbhsh_hpriv *hpriv,
[all …]
/linux/drivers/accel/habanalabs/common/
H A Dhabanalabs_ioctl.c140 static int events_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in events_info() argument
149 mutex_lock(&hpriv->notifier_event.lock); in events_info()
150 events_mask = hpriv->notifier_event.events_mask; in events_info()
151 hpriv->notifier_event.events_mask = 0; in events_info()
152 mutex_unlock(&hpriv->notifier_event.lock); in events_info()
157 static int dram_usage_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in dram_usage_info() argument
159 struct hl_device *hdev = hpriv->hdev; in dram_usage_info()
173 if (hpriv->ctx) in dram_usage_info()
175 atomic64_read(&hpriv->ctx->dram_phys_mem); in dram_usage_info()
334 static int pci_counters_info(struct hl_fpriv *hpriv, struc argument
353 clk_throttle_info(struct hl_fpriv * hpriv,struct hl_info_args * args) clk_throttle_info() argument
392 cs_counters_info(struct hl_fpriv * hpriv,struct hl_info_args * args) cs_counters_info() argument
443 sync_manager_info(struct hl_fpriv * hpriv,struct hl_info_args * args) sync_manager_info() argument
468 total_energy_consumption_info(struct hl_fpriv * hpriv,struct hl_info_args * args) total_energy_consumption_info() argument
489 pll_frequency_info(struct hl_fpriv * hpriv,struct hl_info_args * args) pll_frequency_info() argument
508 power_info(struct hl_fpriv * hpriv,struct hl_info_args * args) power_info() argument
527 open_stats_info(struct hl_fpriv * hpriv,struct hl_info_args * args) open_stats_info() argument
547 dram_pending_rows_info(struct hl_fpriv * hpriv,struct hl_info_args * args) dram_pending_rows_info() argument
566 dram_replaced_rows_info(struct hl_fpriv * hpriv,struct hl_info_args * args) dram_replaced_rows_info() argument
584 last_err_open_dev_info(struct hl_fpriv * hpriv,struct hl_info_args * args) last_err_open_dev_info() argument
599 cs_timeout_info(struct hl_fpriv * hpriv,struct hl_info_args * args) cs_timeout_info() argument
615 razwi_info(struct hl_fpriv * hpriv,struct hl_info_args * args) razwi_info() argument
633 undefined_opcode_info(struct hl_fpriv * hpriv,struct hl_info_args * args) undefined_opcode_info() argument
655 dev_mem_alloc_page_sizes_info(struct hl_fpriv * hpriv,struct hl_info_args * args) dev_mem_alloc_page_sizes_info() argument
676 sec_attest_info(struct hl_fpriv * hpriv,struct hl_info_args * args) sec_attest_info() argument
725 dev_info_signed(struct hl_fpriv * hpriv,struct hl_info_args * args) dev_info_signed() argument
772 eventfd_register(struct hl_fpriv * hpriv,struct hl_info_args * args) eventfd_register() argument
795 eventfd_unregister(struct hl_fpriv * hpriv,struct hl_info_args * args) eventfd_unregister() argument
809 engine_status_info(struct hl_fpriv * hpriv,struct hl_info_args * args) engine_status_info() argument
845 page_fault_info(struct hl_fpriv * hpriv,struct hl_info_args * args) page_fault_info() argument
863 user_mappings_info(struct hl_fpriv * hpriv,struct hl_info_args * args) user_mappings_info() argument
887 hw_err_info(struct hl_fpriv * hpriv,struct hl_info_args * args) hw_err_info() argument
909 fw_err_info(struct hl_fpriv * hpriv,struct hl_info_args * args) fw_err_info() argument
931 engine_err_info(struct hl_fpriv * hpriv,struct hl_info_args * args) engine_err_info() argument
1001 _hl_info_ioctl(struct hl_fpriv * hpriv,void * data,struct device * dev) _hl_info_ioctl() argument
1156 struct hl_fpriv *hpriv = file_priv->driver_priv; hl_info_ioctl() local
1161 hl_info_ioctl_control(struct hl_fpriv * hpriv,void * data) hl_info_ioctl_control() argument
1179 struct hl_fpriv *hpriv = file_priv->driver_priv; hl_debug_ioctl() local
1230 _hl_ioctl(struct hl_fpriv * hpriv,unsigned int cmd,unsigned long arg,const struct hl_ioctl_desc * ioctl,struct device * dev) _hl_ioctl() argument
1298 struct hl_fpriv *hpriv = filep->private_data; hl_ioctl_control() local
[all...]
H A Dhabanalabs_drv.c181 struct hl_fpriv *hpriv; in hl_device_open() local
184 hpriv = kzalloc(sizeof(*hpriv), GFP_KERNEL); in hl_device_open()
185 if (!hpriv) in hl_device_open()
188 hpriv->hdev = hdev; in hl_device_open()
189 mutex_init(&hpriv->notifier_event.lock); in hl_device_open()
190 mutex_init(&hpriv->restore_phase_mutex); in hl_device_open()
191 mutex_init(&hpriv->ctx_lock); in hl_device_open()
192 kref_init(&hpriv->refcount); in hl_device_open()
194 hl_ctx_mgr_init(&hpriv->ctx_mgr); in hl_device_open()
195 hl_mem_mgr_init(hpriv->hdev->dev, &hpriv->mem_mgr); in hl_device_open()
[all …]
H A Dcontext.c139 if (ctx->hpriv) { in hl_ctx_do_release()
140 struct hl_fpriv *hpriv = ctx->hpriv; in hl_ctx_do_release() local
142 mutex_lock(&hpriv->ctx_lock); in hl_ctx_do_release()
143 hpriv->ctx = NULL; in hl_ctx_do_release()
144 mutex_unlock(&hpriv->ctx_lock); in hl_ctx_do_release()
146 hl_hpriv_put(hpriv); in hl_ctx_do_release()
152 int hl_ctx_create(struct hl_device *hdev, struct hl_fpriv *hpriv) in hl_ctx_create() argument
154 struct hl_ctx_mgr *ctx_mgr = &hpriv->ctx_mgr; in hl_ctx_create()
179 hl_hpriv_get(hpriv); in hl_ctx_create()
312 struct hl_fpriv *hpriv; hl_get_compute_ctx() local
[all...]
H A Dcommand_submission.c316 static int cs_parser(struct hl_fpriv *hpriv, struct hl_cs_job *job) in cs_parser() argument
318 struct hl_device *hdev = hpriv->hdev; in cs_parser()
1347 static int hl_cs_sanity_checks(struct hl_fpriv *hpriv, union hl_cs_args *args) in hl_cs_sanity_checks() argument
1349 struct hl_device *hdev = hpriv->hdev; in hl_cs_sanity_checks()
1350 struct hl_ctx *ctx = hpriv->ctx; in hl_cs_sanity_checks()
1489 static int cs_ioctl_default(struct hl_fpriv *hpriv, void __user *chunks, in cs_ioctl_default() argument
1495 struct hl_device *hdev = hpriv->hdev; in cs_ioctl_default()
1498 struct hl_ctx *ctx = hpriv->ctx; in cs_ioctl_default()
1511 hpriv->ctx); in cs_ioctl_default()
1521 rc = allocate_cs(hdev, hpriv->ctx, CS_TYPE_DEFAULT, in cs_ioctl_default()
[all …]
H A Ddevice.c464 struct hl_fpriv *hpriv; in hpriv_release() local
467 hpriv = container_of(ref, struct hl_fpriv, refcount); in hpriv_release()
469 hdev = hpriv->hdev; in hpriv_release()
473 hl_debugfs_remove_file(hpriv); in hpriv_release()
475 mutex_destroy(&hpriv->ctx_lock); in hpriv_release()
476 mutex_destroy(&hpriv->restore_phase_mutex); in hpriv_release()
479 hl_mem_mgr_idr_destroy(&hpriv->mem_mgr); in hpriv_release()
508 list_del(&hpriv->dev_node); in hpriv_release()
511 put_pid(hpriv->taskpid); in hpriv_release()
520 dev_err(hdev->dev, "failed to scrub memory from hpriv releas in hpriv_release()
544 hl_hpriv_get(struct hl_fpriv * hpriv) hl_hpriv_get() argument
549 hl_hpriv_put(struct hl_fpriv * hpriv) hl_hpriv_put() argument
600 struct hl_fpriv *hpriv = file_priv->driver_priv; hl_device_release() local
629 struct hl_fpriv *hpriv = filp->private_data; hl_device_release_ctrl() local
650 __hl_mmap(struct hl_fpriv * hpriv,struct vm_area_struct * vma) __hl_mmap() argument
686 struct hl_fpriv *hpriv = file_priv->driver_priv; hl_mmap() local
1427 struct hl_fpriv *hpriv; device_kill_open_processes() local
1511 struct hl_fpriv *hpriv; device_disable_open_processes() local
2136 struct hl_fpriv *hpriv; hl_notifier_event_send_all() local
[all...]
H A Dcommand_buffer.c366 struct hl_fpriv *hpriv = file_priv->driver_priv; in hl_cb_ioctl() local
367 struct hl_device *hdev = hpriv->hdev; in hl_cb_ioctl()
389 rc = hl_cb_create(hdev, &hpriv->mem_mgr, hpriv->ctx, in hl_cb_ioctl()
400 rc = hl_cb_destroy(&hpriv->mem_mgr, in hl_cb_ioctl()
405 rc = hl_cb_info(&hpriv->mem_mgr, args->in.cb_handle, in hl_cb_ioctl()
H A Dmemory.c26 static int allocate_timestamps_buffers(struct hl_fpriv *hpriv,
1460 int hl_hw_block_mmap(struct hl_fpriv *hpriv, struct vm_area_struct *vma) in hl_hw_block_mmap() argument
1463 struct hl_device *hdev = hpriv->hdev; in hl_hw_block_mmap()
1464 struct hl_ctx *ctx = hpriv->ctx; in hl_hw_block_mmap()
1844 fput(ctx->hpriv->file_priv->filp); in hl_release_dmabuf()
1890 get_file(ctx->hpriv->file_priv->filp); in export_dmabuf()
2178 static int allocate_timestamps_buffers(struct hl_fpriv *hpriv, struct hl_mem_in *args, u64 *handle) in allocate_timestamps_buffers() argument
2180 struct hl_mem_mgr *mmg = &hpriv->mem_mgr; in allocate_timestamps_buffers()
2200 struct hl_fpriv *hpriv = file_priv->driver_priv; in hl_mem_ioctl() local
2203 struct hl_device *hdev = hpriv->hdev; in hl_mem_ioctl()
[all …]
/linux/include/linux/
H A Dahci_platform.h23 int ahci_platform_enable_phys(struct ahci_host_priv *hpriv);
24 void ahci_platform_disable_phys(struct ahci_host_priv *hpriv);
25 struct clk *ahci_platform_find_clk(struct ahci_host_priv *hpriv,
27 int ahci_platform_enable_clks(struct ahci_host_priv *hpriv);
28 void ahci_platform_disable_clks(struct ahci_host_priv *hpriv);
29 int ahci_platform_deassert_rsts(struct ahci_host_priv *hpriv);
30 int ahci_platform_assert_rsts(struct ahci_host_priv *hpriv);
31 int ahci_platform_enable_regulators(struct ahci_host_priv *hpriv);
32 void ahci_platform_disable_regulators(struct ahci_host_priv *hpriv);
33 int ahci_platform_enable_resources(struct ahci_host_priv *hpriv);
[all …]

12