Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/mellanox/mlx5/core/
Dlag.c96 int mlx5_lag_dev_get_netdev_idx(struct mlx5_lag *ldev, in mlx5_lag_dev_get_netdev_idx()
108 static bool __mlx5_lag_is_roce(struct mlx5_lag *ldev) in __mlx5_lag_is_roce()
113 static bool __mlx5_lag_is_sriov(struct mlx5_lag *ldev) in __mlx5_lag_is_sriov()
141 void mlx5_modify_lag(struct mlx5_lag *ldev, in mlx5_modify_lag()
168 static int mlx5_create_lag(struct mlx5_lag *ldev, in mlx5_create_lag()
189 int mlx5_activate_lag(struct mlx5_lag *ldev, in mlx5_activate_lag()
214 static int mlx5_deactivate_lag(struct mlx5_lag *ldev) in mlx5_deactivate_lag()
239 static bool mlx5_lag_check_prereq(struct mlx5_lag *ldev) in mlx5_lag_check_prereq()
253 static void mlx5_lag_add_ib_devices(struct mlx5_lag *ldev) in mlx5_lag_add_ib_devices()
263 static void mlx5_lag_remove_ib_devices(struct mlx5_lag *ldev) in mlx5_lag_remove_ib_devices()
[all …]
Dlag_mp.c12 static bool mlx5_lag_multipath_check_prereq(struct mlx5_lag *ldev) in mlx5_lag_multipath_check_prereq()
21 static bool __mlx5_lag_is_multipath(struct mlx5_lag *ldev) in __mlx5_lag_is_multipath()
28 struct mlx5_lag *ldev; in mlx5_lag_is_multipath() local
47 static void mlx5_lag_set_port_affinity(struct mlx5_lag *ldev, in mlx5_lag_set_port_affinity()
102 struct mlx5_lag *ldev; member
110 static void mlx5_lag_fib_route_event(struct mlx5_lag *ldev, in mlx5_lag_fib_route_event()
176 static void mlx5_lag_fib_nexthop_event(struct mlx5_lag *ldev, in mlx5_lag_fib_nexthop_event()
205 struct mlx5_lag *ldev = fib_work->ldev; in mlx5_lag_fib_update() local
233 mlx5_lag_init_fib_work(struct mlx5_lag *ldev, unsigned long event) in mlx5_lag_init_fib_work()
253 struct mlx5_lag *ldev = container_of(mp, struct mlx5_lag, lag_mp); in mlx5_lag_fib_event() local
[all …]
Dlag_mp.h29 static inline int mlx5_lag_mp_init(struct mlx5_lag *ldev) { return 0; } in mlx5_lag_mp_init()
30 static inline void mlx5_lag_mp_cleanup(struct mlx5_lag *ldev) {} in mlx5_lag_mp_cleanup()
Dlag.h58 __mlx5_lag_is_active(struct mlx5_lag *ldev) in __mlx5_lag_is_active()
64 mlx5_lag_is_ready(struct mlx5_lag *ldev) in mlx5_lag_is_ready()
/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
Dhid-u2fzero.c62 struct led_classdev ldev; /* Embedded struct for led */ member
149 static int u2fzero_blink(struct led_classdev *ldev) in u2fzero_blink()
166 static int u2fzero_brightness_set(struct led_classdev *ldev, in u2fzero_brightness_set()
/drivers/gpu/drm/stm/
Dltdc.c369 struct ltdc_device *ldev = ddev->dev_private; in ltdc_irq_thread() local
390 struct ltdc_device *ldev = ddev->dev_private; in ltdc_irq() local
405 struct ltdc_device *ldev = crtc_to_ltdc(crtc); in ltdc_crtc_update_clut() local
425 struct ltdc_device *ldev = crtc_to_ltdc(crtc); in ltdc_crtc_atomic_enable() local
447 struct ltdc_device *ldev = crtc_to_ltdc(crtc); in ltdc_crtc_atomic_disable() local
469 struct ltdc_device *ldev = crtc_to_ltdc(crtc); in ltdc_crtc_mode_valid() local
508 struct ltdc_device *ldev = crtc_to_ltdc(crtc); in ltdc_crtc_mode_fixup() local
526 struct ltdc_device *ldev = crtc_to_ltdc(crtc); in ltdc_crtc_mode_set_nofb() local
634 struct ltdc_device *ldev = crtc_to_ltdc(crtc); in ltdc_crtc_atomic_flush() local
664 struct ltdc_device *ldev = ddev->dev_private; in ltdc_crtc_get_scanout_position() local
[all …]
Ddrv.c71 struct ltdc_device *ldev; in drv_load() local
120 struct ltdc_device *ldev = ddev->dev_private; in drv_suspend() local
138 struct ltdc_device *ldev = ddev->dev_private; in drv_resume() local
/drivers/staging/kpc2000/kpc_dma/
Dkpc_dma_driver.c38 static void kpc_dma_add_device(struct kpc_dma_device *ldev) in kpc_dma_add_device()
45 static void kpc_dma_del_device(struct kpc_dma_device *ldev) in kpc_dma_del_device()
55 struct kpc_dma_device *ldev; in show_engine_regs() local
100 struct kpc_dma_device *ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); in kpc_dma_probe() local
179 struct kpc_dma_device *ldev = platform_get_drvdata(pldev); in kpc_dma_remove() local
Dfileops.c39 struct kpc_dma_device *ldev; in kpc_dma_transfer() local
248 struct kpc_dma_device *ldev = kpc_dma_lookup_device(iminor(inode)); in kpc_dma_open() local
/drivers/net/ethernet/intel/i40e/
Di40e_client.c139 static void i40e_client_release_qvlist(struct i40e_info *ldev) in i40e_client_release_qvlist()
407 struct i40e_device *ldev; in i40e_lan_add_device() local
455 struct i40e_device *ldev, *tmp; in i40e_lan_del_device() local
485 struct i40e_device *ldev; in i40e_client_release() local
526 struct i40e_device *ldev; in i40e_client_prepare() local
550 static int i40e_client_virtchnl_send(struct i40e_info *ldev, in i40e_client_virtchnl_send()
575 static int i40e_client_setup_qvlist(struct i40e_info *ldev, in i40e_client_setup_qvlist()
646 static void i40e_client_request_reset(struct i40e_info *ldev, in i40e_client_request_reset()
680 static int i40e_client_update_vsi_ctxt(struct i40e_info *ldev, in i40e_client_update_vsi_ctxt()
/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()
/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
446 struct lima_device *ldev = platform_get_drvdata(pdev); in lima_pdev_remove() local
Dlima_device.c241 static void lima_fini_ip(struct lima_device *ldev, int index) in lima_fini_ip()
250 static int lima_resume_ip(struct lima_device *ldev, int index) in lima_resume_ip()
262 static void lima_suspend_ip(struct lima_device *ldev, int index) in lima_suspend_ip()
354 int lima_device_init(struct lima_device *ldev) in lima_device_init()
439 void lima_device_fini(struct lima_device *ldev) in lima_device_fini()
469 struct lima_device *ldev = dev_get_drvdata(dev); in lima_device_resume() local
511 struct lima_device *ldev = dev_get_drvdata(dev); in lima_device_suspend() local
Dlima_devfreq.c62 struct lima_device *ldev = dev_get_drvdata(dev); in lima_devfreq_get_dev_status() local
94 void lima_devfreq_fini(struct lima_device *ldev) in lima_devfreq_fini()
124 int lima_devfreq_init(struct lima_device *ldev) in lima_devfreq_init()
Dlima_sched.c198 static int lima_pm_busy(struct lima_device *ldev) in lima_pm_busy()
211 static void lima_pm_idle(struct lima_device *ldev) in lima_pm_idle()
224 struct lima_device *ldev = pipe->ldev; in lima_sched_run_job() local
420 struct lima_device *ldev = pipe->ldev; in lima_sched_timedout_job() local
519 struct lima_device *ldev = pipe->ldev; in lima_sched_pipe_task_done() local
/drivers/infiniband/hw/i40iw/
Di40iw_main.c106 static struct i40iw_handler *i40iw_find_i40e_handler(struct i40e_info *ldev) in i40iw_find_i40e_handler()
755 struct i40e_info *ldev = iwdev->ldev; in i40iw_request_reset() local
770 struct i40e_info *ldev) in i40iw_setup_ceqs()
1302 struct i40e_info *ldev) in i40iw_initialize_dev()
1418 struct i40e_info *ldev) in i40iw_save_msix_info()
1475 struct i40e_info *ldev = iwdev->ldev; in i40iw_deinit_device() local
1546 struct i40e_info *ldev, in i40iw_setup_init_state()
1618 static int i40iw_open(struct i40e_info *ldev, struct i40e_client *client) in i40iw_open()
1741 static void i40iw_l2param_change(struct i40e_info *ldev, struct i40e_client *client, in i40iw_l2param_change()
1785 static void i40iw_close(struct i40e_info *ldev, struct i40e_client *client, bool reset) in i40iw_close()
[all …]
/drivers/leds/
Dleds-el15203000.c72 struct led_classdev ldev; member
128 static int el15203000_set_blocking(struct led_classdev *ldev, in el15203000_set_blocking()
138 static int el15203000_pattern_set_S(struct led_classdev *ldev, in el15203000_pattern_set_S()
191 static int el15203000_pattern_set_P(struct led_classdev *ldev, in el15203000_pattern_set_P()
233 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()
Dleds-dac124s085.c16 struct led_classdev ldev; member
33 static int dac124s085_set_brightness(struct led_classdev *ldev, in dac124s085_set_brightness()
Dleds-cr0014114.c46 struct led_classdev ldev; member
162 static int cr0014114_set_sync(struct led_classdev *ldev, in cr0014114_set_sync()
Dleds-locomo.c55 static int locomoled_probe(struct locomo_dev *ldev) in locomoled_probe()
/drivers/cpuidle/governors/
Dladder.c52 struct ladder_device *ldev, in ladder_do_selection()
69 struct ladder_device *ldev = this_cpu_ptr(&ladder_devices); in ladder_select_state() local
137 struct ladder_device *ldev = &per_cpu(ladder_devices, dev->cpu); in ladder_enable_device() local
/drivers/media/rc/
Dnuvoton-cir.c103 static inline void nvt_select_logical_dev(struct nvt_dev *nvt, u8 ldev) in nvt_select_logical_dev()
109 static inline void nvt_enable_logical_dev(struct nvt_dev *nvt, u8 ldev) in nvt_enable_logical_dev()
118 static inline void nvt_disable_logical_dev(struct nvt_dev *nvt, u8 ldev) in nvt_disable_logical_dev()

12