Home
last modified time | relevance | path

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

12

/linux-5.19.10/drivers/gpu/drm/arm/
Dmalidp_hw.c270 static int malidp500_query_hw(struct malidp_hw_device *hwdev) in malidp500_query_hw()
284 static void malidp500_enter_config_mode(struct malidp_hw_device *hwdev) in malidp500_enter_config_mode()
303 static void malidp500_leave_config_mode(struct malidp_hw_device *hwdev) in malidp500_leave_config_mode()
319 static bool malidp500_in_config_mode(struct malidp_hw_device *hwdev) in malidp500_in_config_mode()
330 static void malidp500_set_config_valid(struct malidp_hw_device *hwdev, u8 value) in malidp500_set_config_valid()
338 static void malidp500_modeset(struct malidp_hw_device *hwdev, struct videomode *mode) in malidp500_modeset()
417 static int malidp500_rotmem_required(struct malidp_hw_device *hwdev, u16 w, in malidp500_rotmem_required()
430 static void malidp500_se_write_pp_coefftab(struct malidp_hw_device *hwdev, in malidp500_se_write_pp_coefftab()
447 static int malidp500_se_set_scaling_coeffs(struct malidp_hw_device *hwdev, in malidp500_se_set_scaling_coeffs()
479 static long malidp500_se_calc_mclk(struct malidp_hw_device *hwdev, in malidp500_se_calc_mclk()
[all …]
Dmalidp_drv.c42 static void malidp_write_gamma_table(struct malidp_hw_device *hwdev, in malidp_write_gamma_table()
65 struct malidp_hw_device *hwdev = malidp->dev; in malidp_atomic_commit_update_gamma() local
92 struct malidp_hw_device *hwdev = malidp->dev; in malidp_atomic_commit_update_coloradj() local
124 struct malidp_hw_device *hwdev = malidp->dev; in malidp_atomic_commit_se_config() local
173 struct malidp_hw_device *hwdev = malidp->dev; in malidp_set_and_wait_config_valid() local
397 struct malidp_hw_device *hwdev = malidp->dev; in malidp_init() local
433 struct malidp_hw_device *hwdev = malidp->dev; in malidp_irq_init() local
598 static bool malidp_is_compatible_hw_id(struct malidp_hw_device *hwdev, in malidp_is_compatible_hw_id()
675 struct malidp_hw_device *hwdev = malidp->dev; in malidp_runtime_pm_suspend() local
694 struct malidp_hw_device *hwdev = malidp->dev; in malidp_runtime_pm_resume() local
[all …]
Dmalidp_crtc.c28 struct malidp_hw_device *hwdev = malidp->dev; in malidp_crtc_mode_valid() local
52 struct malidp_hw_device *hwdev = malidp->dev; in malidp_crtc_atomic_enable() local
78 struct malidp_hw_device *hwdev = malidp->dev; in malidp_crtc_atomic_disable() local
253 struct malidp_hw_device *hwdev = malidp->dev; in malidp_crtc_atomic_check_scaling() local
345 struct malidp_hw_device *hwdev = malidp->dev; in malidp_crtc_atomic_check() local
499 struct malidp_hw_device *hwdev = malidp->dev; in malidp_crtc_enable_vblank() local
509 struct malidp_hw_device *hwdev = malidp->dev; in malidp_crtc_disable_vblank() local
Dmalidp_hw.h259 static inline u32 malidp_hw_read(struct malidp_hw_device *hwdev, u32 reg) in malidp_hw_read()
265 static inline void malidp_hw_write(struct malidp_hw_device *hwdev, in malidp_hw_write()
272 static inline void malidp_hw_setbits(struct malidp_hw_device *hwdev, in malidp_hw_setbits()
281 static inline void malidp_hw_clearbits(struct malidp_hw_device *hwdev, in malidp_hw_clearbits()
290 static inline u32 malidp_get_block_base(struct malidp_hw_device *hwdev, in malidp_get_block_base()
303 static inline void malidp_hw_disable_irq(struct malidp_hw_device *hwdev, in malidp_hw_disable_irq()
311 static inline void malidp_hw_enable_irq(struct malidp_hw_device *hwdev, in malidp_hw_enable_irq()
331 static inline u8 malidp_hw_get_pitch_align(struct malidp_hw_device *hwdev, bool rotated) in malidp_hw_get_pitch_align()
366 static inline void malidp_se_set_enh_coeffs(struct malidp_hw_device *hwdev) in malidp_se_set_enh_coeffs()
Dmalidp_mw.c240 struct malidp_hw_device *hwdev = malidp->dev; in malidp_mw_atomic_commit() local
Dmalidp_drv.h51 struct malidp_hw_device *hwdev; member
/linux-5.19.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_dev.c57 static int parse_capability(struct hinic_hwdev *hwdev, in parse_capability()
102 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in get_capability() local
128 static int get_dev_cap(struct hinic_hwdev *hwdev) in get_dev_cap()
160 static int init_msix(struct hinic_hwdev *hwdev) in init_msix()
195 static void disable_msix(struct hinic_hwdev *hwdev) in disable_msix()
214 int hinic_port_msg_cmd(struct hinic_hwdev *hwdev, enum hinic_port_cmd cmd, in hinic_port_msg_cmd()
226 int hinic_hilink_msg_cmd(struct hinic_hwdev *hwdev, enum hinic_hilink_cmd cmd, in hinic_hilink_msg_cmd()
245 static int init_fw_ctxt(struct hinic_hwdev *hwdev) in init_fw_ctxt()
276 static int set_hw_ioctxt(struct hinic_hwdev *hwdev, unsigned int sq_depth, in set_hw_ioctxt()
305 static int wait_for_outbound_state(struct hinic_hwdev *hwdev) in wait_for_outbound_state()
[all …]
Dhinic_port.c40 struct hinic_hwdev *hwdev = nic_dev->hwdev; in change_mac() local
119 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_get_mac() local
151 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_set_mtu() local
193 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_add_vlan() local
213 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_del_vlan() local
233 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_set_rx_mode() local
254 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_link_state() local
285 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_set_state() local
320 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_set_func_state() local
351 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_port_get_cap() local
[all …]
Dhinic_sriov.c28 static int hinic_set_mac(struct hinic_hwdev *hwdev, const u8 *mac_addr, in hinic_set_mac()
51 static void hinic_notify_vf_link_status(struct hinic_hwdev *hwdev, u16 vf_id, in hinic_notify_vf_link_status()
75 void hinic_notify_all_vfs_link_changed(struct hinic_hwdev *hwdev, in hinic_notify_all_vfs_link_changed()
88 static u16 hinic_vf_info_vlanprio(struct hinic_hwdev *hwdev, int vf_id) in hinic_vf_info_vlanprio()
101 static int hinic_set_vf_vlan(struct hinic_hwdev *hwdev, bool add, u16 vid, in hinic_set_vf_vlan()
133 static int hinic_set_vf_tx_rate_max_min(struct hinic_hwdev *hwdev, u16 vf_id, in hinic_set_vf_tx_rate_max_min()
163 static int hinic_set_vf_rate_limit(struct hinic_hwdev *hwdev, u16 vf_id, in hinic_set_vf_rate_limit()
192 static int hinic_set_vf_tx_rate(struct hinic_hwdev *hwdev, u16 vf_id, in hinic_set_vf_tx_rate()
211 static int hinic_init_vf_config(struct hinic_hwdev *hwdev, u16 vf_id) in hinic_init_vf_config()
256 static int hinic_register_vf_msg_handler(void *hwdev, u16 vf_id, in hinic_register_vf_msg_handler()
[all …]
Dhinic_hw_mbox.c191 static bool check_func_id(struct hinic_hwdev *hwdev, u16 src_func_idx, in check_func_id()
215 bool hinic_mbox_check_func_id_8B(struct hinic_hwdev *hwdev, u16 func_idx, in hinic_mbox_check_func_id_8B()
229 int hinic_register_pf_mbox_cb(struct hinic_hwdev *hwdev, in hinic_register_pf_mbox_cb()
252 int hinic_register_vf_mbox_cb(struct hinic_hwdev *hwdev, in hinic_register_vf_mbox_cb()
273 void hinic_unregister_pf_mbox_cb(struct hinic_hwdev *hwdev, in hinic_unregister_pf_mbox_cb()
292 void hinic_unregister_vf_mbox_cb(struct hinic_hwdev *hwdev, in hinic_unregister_vf_mbox_cb()
519 static int set_vf_mbox_random_id(struct hinic_hwdev *hwdev, u16 func_id) in set_vf_mbox_random_id()
575 struct hinic_hwdev *hwdev = func_to_func->hwdev; in check_vf_mbox_random_id() local
671 static void mbox_copy_header(struct hinic_hwdev *hwdev, in mbox_copy_header()
681 static void mbox_copy_send_data(struct hinic_hwdev *hwdev, in mbox_copy_send_data()
[all …]
Dhinic_tx.c135 struct hinic_hwdev *hwdev = nic_dev->hwdev; in tx_map_skb() local
186 struct hinic_hwdev *hwdev = nic_dev->hwdev; in tx_unmap_skb() local
801 struct hinic_hwdev *hwdev = nic_dev->hwdev; in tx_request_irq() local
863 struct hinic_hwdev *hwdev = nic_dev->hwdev; in hinic_init_txq() local
Dhinic_rx.c131 struct hinic_hwdev *hwdev = nic_dev->hwdev; in rx_alloc_skb() local
166 struct hinic_hwdev *hwdev = nic_dev->hwdev; in rx_unmap_skb() local
518 struct hinic_hwdev *hwdev = nic_dev->hwdev; in rx_request_irq() local
Dhinic_dev.h77 struct hinic_hwdev *hwdev; member
123 struct hinic_hwdev *hwdev; member
Dhinic_hw_eqs.c542 struct hinic_hwdev *hwdev = eq->hwdev; in set_ceq_ctrl_reg() local
959 void hinic_dump_ceq_info(struct hinic_hwdev *hwdev) in hinic_dump_ceq_info()
978 void hinic_dump_aeq_info(struct hinic_hwdev *hwdev) in hinic_dump_aeq_info()
Dhinic_hw_mgmt.c620 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in hinic_pf_to_mgmt_init() local
672 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in hinic_pf_to_mgmt_free() local
Dhinic_hw_cmdq.c791 static int init_cmdqs_ctxt(struct hinic_hwdev *hwdev, in init_cmdqs_ctxt()
853 static int hinic_set_cmdq_depth(struct hinic_hwdev *hwdev, u16 cmdq_depth) in hinic_set_cmdq_depth()
885 struct hinic_hwdev *hwdev; in hinic_init_cmdqs() local
Dhinic_hw_eqs.h175 struct hinic_hwdev *hwdev; member
224 struct hinic_hwdev *hwdev; member
Dhinic_sriov.h28 struct hinic_hwdev *hwdev; member
/linux-5.19.10/drivers/hwmon/
Dhwmon.c129 struct hwmon_device *hwdev = to_hwmon_device(dev); in hwmon_dev_release() local
157 struct hwmon_device *hwdev = to_hwmon_device(tdata->dev); in hwmon_thermal_get_temp() local
174 struct hwmon_device *hwdev = to_hwmon_device(tdata->dev); in hwmon_thermal_set_trips() local
218 struct hwmon_device *hwdev = to_hwmon_device(dev); in hwmon_thermal_add_sensor() local
253 struct hwmon_device *hwdev = to_hwmon_device(dev); in hwmon_thermal_register_sensors() local
284 struct hwmon_device *hwdev = to_hwmon_device(dev); in hwmon_thermal_notify() local
756 struct hwmon_device *hwdev; in __hwmon_device_register() local
980 struct device *hwdev = *(struct device **)res; in devm_hwmon_release() local
1000 struct device **ptr, *hwdev; in devm_hwmon_device_register_with_groups() local
1040 struct device **ptr, *hwdev; in devm_hwmon_device_register_with_info() local
[all …]
Dscmi-hwmon.c169 struct device *hwdev, *dev = &sdev->dev; in scmi_hwmon_probe() local
Dscpi-hwmon.c142 struct device *hwdev, *dev = &pdev->dev; in scpi_hwmon_probe() local
/linux-5.19.10/drivers/xen/
Dswiotlb-xen.c253 static void xen_swiotlb_unmap_page(struct device *hwdev, dma_addr_t dev_addr, in xen_swiotlb_unmap_page()
311 xen_swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sgl, int nelems, in xen_swiotlb_unmap_sg()
382 xen_swiotlb_dma_supported(struct device *hwdev, u64 mask) in xen_swiotlb_dma_supported()
/linux-5.19.10/drivers/net/ethernet/via/
Dvia-rhine.c671 static inline int verify_mmio(struct device *hwdev, in verify_mmio()
896 static int rhine_init_one_common(struct device *hwdev, u32 quirks, in rhine_init_one_common()
1033 struct device *hwdev = &pdev->dev; in rhine_init_one_pci() local
1141 struct device *hwdev = dev->dev.parent; in alloc_ring() local
1179 struct device *hwdev = dev->dev.parent; in free_ring() local
1204 struct device *hwdev = dev->dev.parent; in rhine_skb_dma_init() local
1284 struct device *hwdev = dev->dev.parent; in free_rbufs() local
1326 struct device *hwdev = dev->dev.parent; in free_tbufs() local
1773 struct device *hwdev = dev->dev.parent; in rhine_start_tx() local
1915 struct device *hwdev = dev->dev.parent; in rhine_tx() local
[all …]
/linux-5.19.10/drivers/infiniband/hw/qib/
Dqib_user_pages.c59 int qib_map_page(struct pci_dev *hwdev, struct page *page, dma_addr_t *daddr) in qib_map_page()
/linux-5.19.10/kernel/dma/
Ddummy.c28 static int dma_dummy_supported(struct device *hwdev, u64 mask) in dma_dummy_supported()

12