Home
last modified time | relevance | path

Searched defs:hwdev (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v4.19/drivers/gpu/drm/arm/
Dmalidp_hw.c175 static int malidp500_query_hw(struct malidp_hw_device *hwdev) in malidp500_query_hw()
189 static void malidp500_enter_config_mode(struct malidp_hw_device *hwdev) in malidp500_enter_config_mode()
208 static void malidp500_leave_config_mode(struct malidp_hw_device *hwdev) in malidp500_leave_config_mode()
224 static bool malidp500_in_config_mode(struct malidp_hw_device *hwdev) in malidp500_in_config_mode()
235 static void malidp500_set_config_valid(struct malidp_hw_device *hwdev, u8 value) in malidp500_set_config_valid()
243 static void malidp500_modeset(struct malidp_hw_device *hwdev, struct videomode *mode) in malidp500_modeset()
289 static int malidp500_rotmem_required(struct malidp_hw_device *hwdev, u16 w, u16 h, u32 fmt) in malidp500_rotmem_required()
303 static void malidp500_se_write_pp_coefftab(struct malidp_hw_device *hwdev, in malidp500_se_write_pp_coefftab()
320 static int malidp500_se_set_scaling_coeffs(struct malidp_hw_device *hwdev, in malidp500_se_set_scaling_coeffs()
352 static long malidp500_se_calc_mclk(struct malidp_hw_device *hwdev, in malidp500_se_calc_mclk()
[all …]
Dmalidp_drv.c41 static void malidp_write_gamma_table(struct malidp_hw_device *hwdev, in malidp_write_gamma_table()
64 struct malidp_hw_device *hwdev = malidp->dev; in malidp_atomic_commit_update_gamma() local
91 struct malidp_hw_device *hwdev = malidp->dev; in malidp_atomic_commit_update_coloradj() local
123 struct malidp_hw_device *hwdev = malidp->dev; in malidp_atomic_commit_se_config() local
172 struct malidp_hw_device *hwdev = malidp->dev; in malidp_set_and_wait_config_valid() local
272 struct malidp_hw_device *hwdev = malidp->dev; in malidp_init() local
308 struct malidp_hw_device *hwdev = malidp->dev; in malidp_irq_init() local
494 static bool malidp_is_compatible_hw_id(struct malidp_hw_device *hwdev, in malidp_is_compatible_hw_id()
580 struct malidp_hw_device *hwdev = malidp->dev; in malidp_runtime_pm_suspend() local
599 struct malidp_hw_device *hwdev = malidp->dev; in malidp_runtime_pm_resume() local
[all …]
Dmalidp_crtc.c29 struct malidp_hw_device *hwdev = malidp->dev; in malidp_crtc_mode_valid() local
53 struct malidp_hw_device *hwdev = malidp->dev; in malidp_crtc_atomic_enable() local
77 struct malidp_hw_device *hwdev = malidp->dev; in malidp_crtc_atomic_disable() local
252 struct malidp_hw_device *hwdev = malidp->dev; in malidp_crtc_atomic_check_scaling() local
342 struct malidp_hw_device *hwdev = malidp->dev; in malidp_crtc_atomic_check() local
495 struct malidp_hw_device *hwdev = malidp->dev; in malidp_crtc_enable_vblank() local
505 struct malidp_hw_device *hwdev = malidp->dev; in malidp_crtc_disable_vblank() local
Dmalidp_hw.h246 static inline u32 malidp_hw_read(struct malidp_hw_device *hwdev, u32 reg) in malidp_hw_read()
252 static inline void malidp_hw_write(struct malidp_hw_device *hwdev, in malidp_hw_write()
259 static inline void malidp_hw_setbits(struct malidp_hw_device *hwdev, in malidp_hw_setbits()
268 static inline void malidp_hw_clearbits(struct malidp_hw_device *hwdev, in malidp_hw_clearbits()
277 static inline u32 malidp_get_block_base(struct malidp_hw_device *hwdev, in malidp_get_block_base()
290 static inline void malidp_hw_disable_irq(struct malidp_hw_device *hwdev, in malidp_hw_disable_irq()
298 static inline void malidp_hw_enable_irq(struct malidp_hw_device *hwdev, in malidp_hw_enable_irq()
316 static inline u8 malidp_hw_get_pitch_align(struct malidp_hw_device *hwdev, bool rotated) in malidp_hw_get_pitch_align()
351 static inline void malidp_se_set_enh_coeffs(struct malidp_hw_device *hwdev) in malidp_se_set_enh_coeffs()
/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_dev.c79 static int get_capability(struct hinic_hwdev *hwdev, in get_capability()
122 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in get_cap_from_fw() local
149 static int get_dev_cap(struct hinic_hwdev *hwdev) in get_dev_cap()
182 static int init_msix(struct hinic_hwdev *hwdev) in init_msix()
218 static void disable_msix(struct hinic_hwdev *hwdev) in disable_msix()
237 int hinic_port_msg_cmd(struct hinic_hwdev *hwdev, enum hinic_port_cmd cmd, in hinic_port_msg_cmd()
262 static int init_fw_ctxt(struct hinic_hwdev *hwdev) in init_fw_ctxt()
298 static int set_hw_ioctxt(struct hinic_hwdev *hwdev, unsigned int rq_depth, in set_hw_ioctxt()
330 static int wait_for_outbound_state(struct hinic_hwdev *hwdev) in wait_for_outbound_state()
351 static int wait_for_db_state(struct hinic_hwdev *hwdev) in wait_for_db_state()
[all …]
Dhinic_port.c50 struct hinic_hwdev *hwdev = nic_dev->hwdev; in change_mac() local
121 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_get_mac() local
153 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_set_mtu() local
195 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_add_vlan() local
215 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_del_vlan() local
235 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_set_rx_mode() local
256 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_link_state() local
292 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_set_state() local
329 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_set_func_state() local
360 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_get_cap() local
Dhinic_tx.c114 struct hinic_hwdev *hwdev = nic_dev->hwdev; in tx_map_skb() local
165 struct hinic_hwdev *hwdev = nic_dev->hwdev; in tx_unmap_skb() local
413 struct hinic_hwdev *hwdev = nic_dev->hwdev; in tx_request_irq() local
457 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_init_txq() local
Dhinic_rx.c103 struct hinic_hwdev *hwdev = nic_dev->hwdev; in rx_alloc_skb() local
140 struct hinic_hwdev *hwdev = nic_dev->hwdev; in rx_unmap_skb() local
414 struct hinic_hwdev *hwdev = nic_dev->hwdev; in rx_request_irq() local
Dhinic_main.c166 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_get_drvinfo() local
186 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_get_channels() local
879 struct hinic_hwdev *hwdev; in nic_dev_init() local
Dhinic_dev.h43 struct hinic_hwdev *hwdev; member
Dhinic_hw_mgmt.c559 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in hinic_pf_to_mgmt_init() local
593 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in hinic_pf_to_mgmt_free() local
/Linux-v4.19/include/linux/
Dpci-dma-compat.h17 pci_alloc_consistent(struct pci_dev *hwdev, size_t size, in pci_alloc_consistent()
24 pci_zalloc_consistent(struct pci_dev *hwdev, size_t size, in pci_zalloc_consistent()
31 pci_free_consistent(struct pci_dev *hwdev, size_t size, in pci_free_consistent()
38 pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size, int direction) in pci_map_single()
44 pci_unmap_single(struct pci_dev *hwdev, dma_addr_t dma_addr, in pci_unmap_single()
51 pci_map_page(struct pci_dev *hwdev, struct page *page, in pci_map_page()
58 pci_unmap_page(struct pci_dev *hwdev, dma_addr_t dma_address, in pci_unmap_page()
65 pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_map_sg()
72 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_unmap_sg()
79 pci_dma_sync_single_for_cpu(struct pci_dev *hwdev, dma_addr_t dma_handle, in pci_dma_sync_single_for_cpu()
[all …]
/Linux-v4.19/arch/x86/include/asm/xen/
Dpage-coherent.h8 static inline void *xen_alloc_coherent_pages(struct device *hwdev, size_t size, in xen_alloc_coherent_pages()
17 static inline void xen_free_coherent_pages(struct device *hwdev, size_t size, in xen_free_coherent_pages()
24 static inline void xen_dma_map_page(struct device *hwdev, struct page *page, in xen_dma_map_page()
28 static inline void xen_dma_unmap_page(struct device *hwdev, dma_addr_t handle, in xen_dma_unmap_page()
32 static inline void xen_dma_sync_single_for_cpu(struct device *hwdev, in xen_dma_sync_single_for_cpu()
35 static inline void xen_dma_sync_single_for_device(struct device *hwdev, in xen_dma_sync_single_for_device()
/Linux-v4.19/include/xen/arm/
Dpage-coherent.h28 static inline void *xen_alloc_coherent_pages(struct device *hwdev, size_t size, in xen_alloc_coherent_pages()
34 static inline void xen_free_coherent_pages(struct device *hwdev, size_t size, in xen_free_coherent_pages()
40 static inline void xen_dma_map_page(struct device *hwdev, struct page *page, in xen_dma_map_page()
66 static inline void xen_dma_unmap_page(struct device *hwdev, dma_addr_t handle, in xen_dma_unmap_page()
85 static inline void xen_dma_sync_single_for_cpu(struct device *hwdev, in xen_dma_sync_single_for_cpu()
96 static inline void xen_dma_sync_single_for_device(struct device *hwdev, in xen_dma_sync_single_for_device()
/Linux-v4.19/drivers/xen/
Dswiotlb-xen.c288 xen_swiotlb_alloc_coherent(struct device *hwdev, size_t size, in xen_swiotlb_alloc_coherent()
340 xen_swiotlb_free_coherent(struct device *hwdev, size_t size, void *vaddr, in xen_swiotlb_free_coherent()
427 static void xen_unmap_single(struct device *hwdev, dma_addr_t dev_addr, in xen_unmap_single()
455 static void xen_swiotlb_unmap_page(struct device *hwdev, dma_addr_t dev_addr, in xen_swiotlb_unmap_page()
473 xen_swiotlb_sync_single(struct device *hwdev, dma_addr_t dev_addr, in xen_swiotlb_sync_single()
498 xen_swiotlb_sync_single_for_cpu(struct device *hwdev, dma_addr_t dev_addr, in xen_swiotlb_sync_single_for_cpu()
505 xen_swiotlb_sync_single_for_device(struct device *hwdev, dma_addr_t dev_addr, in xen_swiotlb_sync_single_for_device()
516 xen_swiotlb_unmap_sg_attrs(struct device *hwdev, struct scatterlist *sgl, in xen_swiotlb_unmap_sg_attrs()
547 xen_swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl, in xen_swiotlb_map_sg_attrs()
612 xen_swiotlb_sync_sg(struct device *hwdev, struct scatterlist *sgl, in xen_swiotlb_sync_sg()
[all …]
/Linux-v4.19/kernel/dma/
Dswiotlb.c477 phys_addr_t swiotlb_tbl_map_single(struct device *hwdev, in swiotlb_tbl_map_single()
597 map_single(struct device *hwdev, phys_addr_t phys, size_t size, in map_single()
616 void swiotlb_tbl_unmap_single(struct device *hwdev, phys_addr_t tlb_addr, in swiotlb_tbl_unmap_single()
661 void swiotlb_tbl_sync_single(struct device *hwdev, phys_addr_t tlb_addr, in swiotlb_tbl_sync_single()
845 static void unmap_single(struct device *hwdev, dma_addr_t dev_addr, in unmap_single()
870 void swiotlb_unmap_page(struct device *hwdev, dma_addr_t dev_addr, in swiotlb_unmap_page()
888 swiotlb_sync_single(struct device *hwdev, dma_addr_t dev_addr, in swiotlb_sync_single()
908 swiotlb_sync_single_for_cpu(struct device *hwdev, dma_addr_t dev_addr, in swiotlb_sync_single_for_cpu()
915 swiotlb_sync_single_for_device(struct device *hwdev, dma_addr_t dev_addr, in swiotlb_sync_single_for_device()
938 swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl, int nelems, in swiotlb_map_sg_attrs()
[all …]
/Linux-v4.19/arch/arm/xen/
Dmm.c87 static void __xen_dma_page_dev_to_cpu(struct device *hwdev, dma_addr_t handle, in __xen_dma_page_dev_to_cpu()
93 static void __xen_dma_page_cpu_to_dev(struct device *hwdev, dma_addr_t handle, in __xen_dma_page_cpu_to_dev()
99 void __xen_dma_map_page(struct device *hwdev, struct page *page, in __xen_dma_map_page()
111 void __xen_dma_unmap_page(struct device *hwdev, dma_addr_t handle, in __xen_dma_unmap_page()
124 void __xen_dma_sync_single_for_cpu(struct device *hwdev, in __xen_dma_sync_single_for_cpu()
132 void __xen_dma_sync_single_for_device(struct device *hwdev, in __xen_dma_sync_single_for_device()
/Linux-v4.19/drivers/hwmon/
Dhwmon.c61 struct hwmon_device *hwdev; /* Reference to hwmon device */ member
124 struct hwmon_device *hwdev = tdata->hwdev; in hwmon_thermal_get_temp() local
143 struct hwmon_device *hwdev, int index) in hwmon_thermal_add_sensor()
168 struct hwmon_device *hwdev, int index) in hwmon_thermal_add_sensor()
554 struct hwmon_device *hwdev; in __hwmon_device_register() local
750 struct device *hwdev = *(struct device **)res; in devm_hwmon_release() local
770 struct device **ptr, *hwdev; in devm_hwmon_device_register_with_groups() local
810 struct device **ptr, *hwdev; in devm_hwmon_device_register_with_info() local
837 struct device **hwdev = res; in devm_hwmon_match() local
Dscmi-hwmon.c120 struct device *hwdev, *dev = &sdev->dev; in scmi_hwmon_probe() local
/Linux-v4.19/arch/ia64/kernel/
Dmachvec.c78 machvec_dma_sync_single(struct device *hwdev, dma_addr_t dma_handle, size_t size, in machvec_dma_sync_single()
86 machvec_dma_sync_sg(struct device *hwdev, struct scatterlist *sg, int n, in machvec_dma_sync_sg()
/Linux-v4.19/arch/ia64/sn/pci/pcibr/
Dpcibr_dma.c208 pcibr_dma_unmap(struct pci_dev *hwdev, dma_addr_t dma_handle, int direction) in pcibr_dma_unmap()
357 pcibr_dma_map(struct pci_dev * hwdev, unsigned long phys_addr, size_t size, int dma_flags) in pcibr_dma_map()
395 pcibr_dma_map_consistent(struct pci_dev * hwdev, unsigned long phys_addr, in pcibr_dma_map_consistent()
/Linux-v4.19/arch/hexagon/kernel/
Ddma.c84 static int check_addr(const char *name, struct device *hwdev, in check_addr()
98 static int hexagon_map_sg(struct device *hwdev, struct scatterlist *sg, in hexagon_map_sg()
/Linux-v4.19/drivers/net/ethernet/via/
Dvia-rhine.c678 static inline int verify_mmio(struct device *hwdev, in verify_mmio()
904 static int rhine_init_one_common(struct device *hwdev, u32 quirks, in rhine_init_one_common()
1039 struct device *hwdev = &pdev->dev; in rhine_init_one_pci() local
1159 struct device *hwdev = dev->dev.parent; in alloc_ring() local
1197 struct device *hwdev = dev->dev.parent; in free_ring() local
1222 struct device *hwdev = dev->dev.parent; in rhine_skb_dma_init() local
1302 struct device *hwdev = dev->dev.parent; in free_rbufs() local
1344 struct device *hwdev = dev->dev.parent; in free_tbufs() local
1789 struct device *hwdev = dev->dev.parent; in rhine_start_tx() local
1932 struct device *hwdev = dev->dev.parent; in rhine_tx() local
[all …]
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_user_pages.c102 int qib_map_page(struct pci_dev *hwdev, struct page *page, dma_addr_t *daddr) in qib_map_page()
/Linux-v4.19/arch/arm64/mm/
Ddma-mapping.c317 static int __swiotlb_dma_supported(struct device *hwdev, u64 mask) in __swiotlb_dma_supported()
324 static int __swiotlb_dma_mapping_error(struct device *hwdev, dma_addr_t addr) in __swiotlb_dma_mapping_error()
474 static int __dummy_mapping_error(struct device *hwdev, dma_addr_t dma_addr) in __dummy_mapping_error()
479 static int __dummy_dma_supported(struct device *hwdev, u64 mask) in __dummy_dma_supported()

12