Home
last modified time | relevance | path

Searched defs:ldev (Results 1 – 25 of 64) sorted by relevance

123

/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dlag.c154 struct mlx5_lag *ldev, in mlx5_lag_print_mapping()
199 struct mlx5_lag *ldev = container_of(ref, struct mlx5_lag, ref); in mlx5_ldev_free() local
211 static void mlx5_ldev_put(struct mlx5_lag *ldev) in mlx5_ldev_put()
216 static void mlx5_ldev_get(struct mlx5_lag *ldev) in mlx5_ldev_get()
223 struct mlx5_lag *ldev; in mlx5_lag_dev_alloc() local
259 int mlx5_lag_dev_get_netdev_idx(struct mlx5_lag *ldev, in mlx5_lag_dev_get_netdev_idx()
271 static bool __mlx5_lag_is_roce(struct mlx5_lag *ldev) in __mlx5_lag_is_roce()
276 static bool __mlx5_lag_is_sriov(struct mlx5_lag *ldev) in __mlx5_lag_is_sriov()
332 static bool mlx5_lag_has_drop_rule(struct mlx5_lag *ldev) in mlx5_lag_has_drop_rule()
342 static void mlx5_lag_drop_rule_cleanup(struct mlx5_lag *ldev) in mlx5_lag_drop_rule_cleanup()
[all …]
Dmp.c12 static bool __mlx5_lag_is_multipath(struct mlx5_lag *ldev) in __mlx5_lag_is_multipath()
17 static bool mlx5_lag_multipath_check_prereq(struct mlx5_lag *ldev) in mlx5_lag_multipath_check_prereq()
31 struct mlx5_lag *ldev; in mlx5_lag_is_multipath() local
50 static void mlx5_lag_set_port_affinity(struct mlx5_lag *ldev, in mlx5_lag_set_port_affinity()
113 struct mlx5_lag *ldev; member
121 static void mlx5_lag_fib_route_event(struct mlx5_lag *ldev, unsigned long event, in mlx5_lag_fib_route_event()
189 static void mlx5_lag_fib_nexthop_event(struct mlx5_lag *ldev, in mlx5_lag_fib_nexthop_event()
218 struct mlx5_lag *ldev = fib_work->ldev; in mlx5_lag_fib_update() local
246 mlx5_lag_init_fib_work(struct mlx5_lag *ldev, unsigned long event) in mlx5_lag_init_fib_work()
266 struct mlx5_lag *ldev = container_of(mp, struct mlx5_lag, lag_mp); in mlx5_lag_fib_event() local
[all …]
Dmpesw.c12 struct mlx5_lag *ldev = container_of(work, struct mlx5_lag, mpesw_work); in mlx5_mpesw_work() local
21 struct mlx5_lag *ldev = dev->priv.lag; in mlx5_lag_disable_mpesw() local
29 struct mlx5_lag *ldev = dev->priv.lag; in mlx5_lag_del_mpesw_rule() local
43 struct mlx5_lag *ldev = dev->priv.lag; in mlx5_lag_add_mpesw_rule() local
69 struct mlx5_lag *ldev = mdev->priv.lag; in mlx5_lag_do_mirred() local
91 void mlx5_lag_mpesw_init(struct mlx5_lag *ldev) in mlx5_lag_mpesw_init()
97 void mlx5_lag_mpesw_cleanup(struct mlx5_lag *ldev) in mlx5_lag_mpesw_cleanup()
Dport_sel.c38 static int mlx5_lag_create_port_sel_table(struct mlx5_lag *ldev, in mlx5_lag_create_port_sel_table()
291 mlx5_lag_create_definer(struct mlx5_lag *ldev, enum netdev_lag_hash hash, in mlx5_lag_create_definer()
337 static void mlx5_lag_destroy_definer(struct mlx5_lag *ldev, in mlx5_lag_destroy_definer()
357 static void mlx5_lag_destroy_definers(struct mlx5_lag *ldev) in mlx5_lag_destroy_definers()
372 static int mlx5_lag_create_definers(struct mlx5_lag *ldev, in mlx5_lag_create_definers()
449 static void mlx5_lag_set_inner_ttc_params(struct mlx5_lag *ldev, in mlx5_lag_set_inner_ttc_params()
470 static void mlx5_lag_set_outer_ttc_params(struct mlx5_lag *ldev, in mlx5_lag_set_outer_ttc_params()
502 static int mlx5_lag_create_ttc_table(struct mlx5_lag *ldev) in mlx5_lag_create_ttc_table()
516 static int mlx5_lag_create_inner_ttc_table(struct mlx5_lag *ldev) in mlx5_lag_create_inner_ttc_table()
530 int mlx5_lag_port_sel_create(struct mlx5_lag *ldev, in mlx5_lag_port_sel_create()
[all …]
Ddebugfs.c6 static char *get_str_mode_type(struct mlx5_lag *ldev) in get_str_mode_type()
22 struct mlx5_lag *ldev; in type_show() local
40 struct mlx5_lag *ldev; in port_sel_mode_show() local
61 struct mlx5_lag *ldev; in state_show() local
76 struct mlx5_lag *ldev; in flags_show() local
105 struct mlx5_lag *ldev; in mapping_show() local
142 struct mlx5_lag *ldev; in members_show() local
Dmp.h36 static inline void mlx5_lag_mp_reset(struct mlx5_lag *ldev) {}; in mlx5_lag_mp_reset()
37 static inline int mlx5_lag_mp_init(struct mlx5_lag *ldev) { return 0; } in mlx5_lag_mp_init()
38 static inline void mlx5_lag_mp_cleanup(struct mlx5_lag *ldev) {} in mlx5_lag_mp_cleanup()
Dport_sel.h39 static inline int mlx5_lag_port_sel_create(struct mlx5_lag *ldev, in mlx5_lag_port_sel_create()
46 static inline int mlx5_lag_port_sel_modify(struct mlx5_lag *ldev, u8 *ports) in mlx5_lag_port_sel_modify()
51 static inline void mlx5_lag_port_sel_destroy(struct mlx5_lag *ldev) {} in mlx5_lag_port_sel_destroy()
Dmpesw.h22 static inline void mlx5_lag_mpesw_init(struct mlx5_lag *ldev) {} in mlx5_lag_mpesw_init()
23 static inline void mlx5_lag_mpesw_cleanup(struct mlx5_lag *ldev) {} in mlx5_lag_mpesw_cleanup()
/linux-5.19.10/drivers/virtio/
Dvirtio_pci_legacy_dev.c16 int vp_legacy_probe(struct virtio_pci_legacy_device *ldev) in vp_legacy_probe()
69 void vp_legacy_remove(struct virtio_pci_legacy_device *ldev) in vp_legacy_remove()
84 u64 vp_legacy_get_features(struct virtio_pci_legacy_device *ldev) in vp_legacy_get_features()
97 u64 vp_legacy_get_driver_features(struct virtio_pci_legacy_device *ldev) in vp_legacy_get_driver_features()
108 void vp_legacy_set_features(struct virtio_pci_legacy_device *ldev, in vp_legacy_set_features()
121 u8 vp_legacy_get_status(struct virtio_pci_legacy_device *ldev) in vp_legacy_get_status()
132 void vp_legacy_set_status(struct virtio_pci_legacy_device *ldev, in vp_legacy_set_status()
147 u16 vp_legacy_queue_vector(struct virtio_pci_legacy_device *ldev, in vp_legacy_queue_vector()
164 u16 vp_legacy_config_vector(struct virtio_pci_legacy_device *ldev, in vp_legacy_config_vector()
181 void vp_legacy_set_queue_address(struct virtio_pci_legacy_device *ldev, in vp_legacy_set_queue_address()
[all …]
/linux-5.19.10/drivers/vdpa/alibaba/
Deni_vdpa.c40 struct virtio_pci_legacy_device ldev; member
63 struct virtio_pci_legacy_device *ldev = vdpa_to_ldev(vdpa); in eni_vdpa_get_device_features() local
74 struct virtio_pci_legacy_device *ldev = vdpa_to_ldev(vdpa); in eni_vdpa_set_driver_features() local
89 struct virtio_pci_legacy_device *ldev = vdpa_to_ldev(vdpa); in eni_vdpa_get_driver_features() local
96 struct virtio_pci_legacy_device *ldev = vdpa_to_ldev(vdpa); in eni_vdpa_get_status() local
114 struct virtio_pci_legacy_device *ldev = &eni_vdpa->ldev; in eni_vdpa_free_irq() local
161 struct virtio_pci_legacy_device *ldev = &eni_vdpa->ldev; in eni_vdpa_request_irq() local
214 struct virtio_pci_legacy_device *ldev = &eni_vdpa->ldev; in eni_vdpa_set_status() local
232 struct virtio_pci_legacy_device *ldev = &eni_vdpa->ldev; in eni_vdpa_reset() local
245 struct virtio_pci_legacy_device *ldev = vdpa_to_ldev(vdpa); in eni_vdpa_get_vq_num_max() local
[all …]
/linux-5.19.10/drivers/hid/
Dhid-picolcd_lcd.c20 static int picolcd_get_contrast(struct lcd_device *ldev) in picolcd_get_contrast()
26 static int picolcd_set_contrast(struct lcd_device *ldev, int contrast) in picolcd_set_contrast()
44 static int picolcd_check_lcd_fb(struct lcd_device *ldev, struct fb_info *fb) in picolcd_check_lcd_fb()
58 struct lcd_device *ldev; in picolcd_init_lcd() local
82 struct lcd_device *ldev = data->lcd; in picolcd_exit_lcd() local
Dhid-led.c89 struct hidled_device *ldev; member
113 static int hidled_send(struct hidled_device *ldev, __u8 *buf) in hidled_send()
145 static int hidled_recv(struct hidled_device *ldev, __u8 *buf) in hidled_recv()
215 static int dream_cheeky_init(struct hidled_device *ldev) in dream_cheeky_init()
263 static int thingm_init(struct hidled_device *ldev) in thingm_init()
326 static int delcom_init(struct hidled_device *ldev) in delcom_init()
450 struct hidled_device *ldev; in hidled_probe() local
/linux-5.19.10/drivers/soundwire/
Dintel_init.c24 struct sdw_intel_link_dev *ldev = auxiliary_dev_to_sdw_intel_link_dev(auxdev); in intel_link_dev_release() local
36 struct sdw_intel_link_dev *ldev; in intel_link_dev_register() local
98 static void intel_link_dev_unregister(struct sdw_intel_link_dev *ldev) in intel_link_dev_unregister()
106 struct sdw_intel_link_dev *ldev; in sdw_intel_cleanup() local
169 struct sdw_intel_link_dev *ldev; in sdw_intel_probe_controller() local
299 struct sdw_intel_link_dev *ldev; in sdw_intel_startup_controller() local
392 struct sdw_intel_link_dev *ldev; in sdw_intel_process_wakeen_event() local
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_client.c138 static void i40e_client_release_qvlist(struct i40e_info *ldev) in i40e_client_release_qvlist()
290 static int i40e_register_auxiliary_dev(struct i40e_info *ldev, const char *name) in i40e_register_auxiliary_dev()
462 struct i40e_device *ldev; in i40e_lan_add_device() local
503 struct i40e_device *ldev, *tmp; in i40e_lan_del_device() local
538 static int i40e_client_virtchnl_send(struct i40e_info *ldev, in i40e_client_virtchnl_send()
563 static int i40e_client_setup_qvlist(struct i40e_info *ldev, in i40e_client_setup_qvlist()
634 static void i40e_client_request_reset(struct i40e_info *ldev, in i40e_client_request_reset()
668 static int i40e_client_update_vsi_ctxt(struct i40e_info *ldev, in i40e_client_update_vsi_ctxt()
726 void i40e_client_device_register(struct i40e_info *ldev, struct i40e_client *client) in i40e_client_device_register()
736 void i40e_client_device_unregister(struct i40e_info *ldev) in i40e_client_device_unregister()
/linux-5.19.10/drivers/gpu/drm/stm/
Dltdc.c544 struct ltdc_device *ldev = plane_to_ltdc(plane); in ltdc_set_flexible_pixel_format() local
606 struct ltdc_device *ldev = plane_to_ltdc(plane); in ltdc_set_ycbcr_config() local
652 struct ltdc_device *ldev = plane_to_ltdc(plane); in ltdc_set_ycbcr_coeffs() local
677 static inline void ltdc_irq_crc_handle(struct ltdc_device *ldev, in ltdc_irq_crc_handle()
700 struct ltdc_device *ldev = ddev->dev_private; in ltdc_irq_thread() local
726 struct ltdc_device *ldev = ddev->dev_private; in ltdc_irq() local
745 struct ltdc_device *ldev = crtc_to_ltdc(crtc); in ltdc_crtc_update_clut() local
765 struct ltdc_device *ldev = crtc_to_ltdc(crtc); in ltdc_crtc_atomic_enable() local
788 struct ltdc_device *ldev = crtc_to_ltdc(crtc); in ltdc_crtc_atomic_disable() local
811 struct ltdc_device *ldev = crtc_to_ltdc(crtc); in ltdc_crtc_mode_valid() local
[all …]
Ddrv.c73 struct ltdc_device *ldev; in drv_load() local
122 struct ltdc_device *ldev = ddev->dev_private; in drv_suspend() local
140 struct ltdc_device *ldev = ddev->dev_private; in drv_resume() local
/linux-5.19.10/drivers/net/ethernet/intel/iavf/
Diavf_client.c135 static int iavf_client_release_qvlist(struct iavf_info *ldev) in iavf_client_release_qvlist()
294 struct iavf_device *ldev; in iavf_lan_add_device() local
334 struct iavf_device *ldev, *tmp; in iavf_lan_del_device() local
363 struct iavf_device *ldev; in iavf_client_release() local
397 struct iavf_device *ldev; in iavf_client_prepare() local
418 static u32 iavf_client_virtchnl_send(struct iavf_info *ldev, in iavf_client_virtchnl_send()
445 static int iavf_client_setup_qvlist(struct iavf_info *ldev, in iavf_client_setup_qvlist()
/linux-5.19.10/sound/aoa/fabrics/
Dlayout.c675 struct layout_dev *ldev = snd_kcontrol_chip(kcontrol); in detect_choice_get() local
693 struct layout_dev *ldev = snd_kcontrol_chip(kcontrol); in detect_choice_put() local
731 struct layout_dev *ldev = snd_kcontrol_chip(kcontrol); in detected_get() local
769 struct layout_dev *ldev, in check_codec()
820 struct layout_dev *ldev; in layout_found_codec() local
853 struct layout_dev *ldev; in layout_notify() local
900 struct layout_dev *ldev = layout_device; in layout_attached_codec() local
1001 struct layout_dev *ldev = NULL; in aoa_fabric_layout_probe() local
1099 struct layout_dev *ldev = dev_get_drvdata(&sdev->ofdev.dev); in aoa_fabric_layout_remove() local
1132 struct layout_dev *ldev = dev_get_drvdata(dev); in aoa_fabric_layout_suspend() local
[all …]
/linux-5.19.10/drivers/gpu/drm/lima/
Dlima_drv.c39 struct lima_device *ldev = to_lima_dev(dev); in lima_ioctl_get_param() local
104 struct lima_device *ldev = to_lima_dev(dev); in lima_ioctl_gem_submit() local
192 struct lima_device *ldev = to_lima_dev(dev); in lima_ioctl_ctx_create() local
215 struct lima_device *ldev = to_lima_dev(dev); in lima_drm_driver_open() local
320 struct lima_device *ldev = dev_get_drvdata(dev); in lima_error_state_read() local
346 struct lima_device *ldev = dev_get_drvdata(dev); in lima_error_state_write() local
374 struct lima_device *ldev; in lima_pdev_probe() local
444 struct lima_device *ldev = platform_get_drvdata(pdev); in lima_pdev_remove() local
Dlima_device.c242 static void lima_fini_ip(struct lima_device *ldev, int index) in lima_fini_ip()
251 static int lima_resume_ip(struct lima_device *ldev, int index) in lima_resume_ip()
263 static void lima_suspend_ip(struct lima_device *ldev, int index) in lima_suspend_ip()
355 int lima_device_init(struct lima_device *ldev) in lima_device_init()
440 void lima_device_fini(struct lima_device *ldev) in lima_device_fini()
470 struct lima_device *ldev = dev_get_drvdata(dev); in lima_device_resume() local
512 struct lima_device *ldev = dev_get_drvdata(dev); in lima_device_suspend() local
Dlima_devfreq.c57 struct lima_device *ldev = dev_get_drvdata(dev); in lima_devfreq_get_dev_status() local
90 void lima_devfreq_fini(struct lima_device *ldev) in lima_devfreq_fini()
105 int lima_devfreq_init(struct lima_device *ldev) in lima_devfreq_init()
/linux-5.19.10/net/ieee802154/6lowpan/
Dcore.c62 static int lowpan_dev_init(struct net_device *ldev) in lowpan_dev_init()
108 static void lowpan_setup(struct net_device *ldev) in lowpan_setup()
132 static int lowpan_newlink(struct net *src_net, struct net_device *ldev, in lowpan_newlink()
184 static void lowpan_dellink(struct net_device *ldev, struct list_head *head) in lowpan_dellink()
Dtx.c33 int lowpan_header_create(struct sk_buff *skb, struct net_device *ldev, in lowpan_header_create()
158 lowpan_xmit_fragmented(struct sk_buff *skb, struct net_device *ldev, in lowpan_xmit_fragmented()
224 static int lowpan_header(struct sk_buff *skb, struct net_device *ldev, in lowpan_header()
250 netdev_tx_t lowpan_xmit(struct sk_buff *skb, struct net_device *ldev) in lowpan_xmit()
/linux-5.19.10/drivers/leds/
Dleds-el15203000.c72 struct led_classdev ldev; member
131 static int el15203000_set_blocking(struct led_classdev *ldev, in el15203000_set_blocking()
139 static int el15203000_pattern_set_S(struct led_classdev *ldev, in el15203000_pattern_set_S()
190 static int el15203000_pattern_set_P(struct led_classdev *ldev, in el15203000_pattern_set_P()
230 static int el15203000_pattern_clear(struct led_classdev *ldev) in el15203000_pattern_clear()
Dleds-sc27xx-bltc.c49 struct led_classdev ldev; member
62 #define to_sc27xx_led(ldev) \ argument
117 static int sc27xx_led_set(struct led_classdev *ldev, enum led_brightness value) in sc27xx_led_set()
146 static int sc27xx_led_pattern_clear(struct led_classdev *ldev) in sc27xx_led_pattern_clear()
171 static int sc27xx_led_pattern_set(struct led_classdev *ldev, in sc27xx_led_pattern_set()

123