/openbmc/linux/drivers/virtio/ |
H A D | virtio_pci_legacy_dev.c | 16 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() 196 bool vp_legacy_get_queue_enable(struct virtio_pci_legacy_device *ldev, in vp_legacy_get_queue_enable() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
H A D | lag.c | 249 struct mlx5_lag *ldev; in mlx5_lag_dev_alloc() local 1131 struct mlx5_lag *ldev; in mlx5_lag_netdev_event() local 1259 struct mlx5_lag *ldev; in mlx5_lag_remove_mdev() local 1303 struct mlx5_lag *ldev; in mlx5_lag_remove_netdev() local 1324 struct mlx5_lag *ldev; in mlx5_lag_add_netdev() local 1346 struct mlx5_lag *ldev; in mlx5_lag_is_roce() local 1361 struct mlx5_lag *ldev; in mlx5_lag_is_active() local 1376 struct mlx5_lag *ldev; in mlx5_lag_mode_is_hash() local 1392 struct mlx5_lag *ldev; in mlx5_lag_is_master() local 1408 struct mlx5_lag *ldev; in mlx5_lag_is_sriov() local [all …]
|
H A D | mp.c | 12 static bool __mlx5_lag_is_multipath(struct mlx5_lag *ldev) in __mlx5_lag_is_multipath() 18 static bool mlx5_lag_multipath_check_prereq(struct mlx5_lag *ldev) in mlx5_lag_multipath_check_prereq() 35 struct mlx5_lag *ldev = mlx5_lag_dev(dev); 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 122 mlx5_lag_get_next_fib_dev(struct mlx5_lag *ldev, in mlx5_lag_get_next_fib_dev() 211 static void mlx5_lag_fib_nexthop_event(struct mlx5_lag *ldev, in mlx5_lag_fib_nexthop_event() 240 struct mlx5_lag *ldev = fib_work->ldev; in mlx5_lag_fib_update() local 338 void mlx5_lag_mp_reset(struct mlx5_lag *ldev) in mlx5_lag_mp_reset() 346 int mlx5_lag_mp_init(struct mlx5_lag *ldev) in mlx5_lag_mp_init() [all …]
|
H A D | mpesw.c | 11 static void mlx5_mpesw_metadata_cleanup(struct mlx5_lag *ldev) in mlx5_mpesw_metadata_cleanup() 32 static int mlx5_mpesw_metadata_set(struct mlx5_lag *ldev) in mlx5_mpesw_metadata_set() 69 static int enable_mpesw(struct mlx5_lag *ldev) in enable_mpesw() 121 static void disable_mpesw(struct mlx5_lag *ldev) in disable_mpesw() 132 struct mlx5_lag *ldev = mpesww->lag; in mlx5_mpesw_work() local 154 struct mlx5_lag *ldev = mlx5_lag_dev(dev); in mlx5_lag_mpesw_queue_work() local 196 struct mlx5_lag *ldev = mlx5_lag_dev(mdev); in mlx5_lag_mpesw_do_mirred() local 210 struct mlx5_lag *ldev = mlx5_lag_dev(dev); in mlx5_lag_is_mpesw() local
|
H A D | port_sel.c | 38 static int mlx5_lag_create_port_sel_table(struct mlx5_lag *ldev, in mlx5_lag_create_port_sel_table() 341 static void mlx5_lag_destroy_definer(struct mlx5_lag *ldev, in mlx5_lag_destroy_definer() 361 static void mlx5_lag_destroy_definers(struct mlx5_lag *ldev) in mlx5_lag_destroy_definers() 376 static int mlx5_lag_create_definers(struct mlx5_lag *ldev, in mlx5_lag_create_definers() 453 static void mlx5_lag_set_inner_ttc_params(struct mlx5_lag *ldev, in mlx5_lag_set_inner_ttc_params() 474 static void mlx5_lag_set_outer_ttc_params(struct mlx5_lag *ldev, in mlx5_lag_set_outer_ttc_params() 506 static int mlx5_lag_create_ttc_table(struct mlx5_lag *ldev) in mlx5_lag_create_ttc_table() 534 int mlx5_lag_port_sel_create(struct mlx5_lag *ldev, in mlx5_lag_port_sel_create() 596 mlx5_lag_modify_definers_destinations(struct mlx5_lag *ldev, in mlx5_lag_modify_definers_destinations() 613 int mlx5_lag_port_sel_modify(struct mlx5_lag *ldev, u8 *ports) in mlx5_lag_port_sel_modify() [all …]
|
H A D | debugfs.c | 6 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
|
H A D | mp.h | 36 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()
|
/openbmc/linux/drivers/vdpa/alibaba/ |
H A D | eni_vdpa.c | 40 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 375 struct virtio_pci_legacy_device *ldev = &eni_vdpa->ldev; in eni_vdpa_get_config() local [all …]
|
/openbmc/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_crtc.c | 23 struct lsdc_device *ldev = lcrtc->ldev; in lsdc_crtc0_soft_reset() local 49 struct lsdc_device *ldev = lcrtc->ldev; in lsdc_crtc1_soft_reset() local 75 struct lsdc_device *ldev = lcrtc->ldev; in lsdc_crtc0_enable() local 95 struct lsdc_device *ldev = lcrtc->ldev; in lsdc_crtc0_disable() local 104 struct lsdc_device *ldev = lcrtc->ldev; in lsdc_crtc1_enable() local 123 struct lsdc_device *ldev = lcrtc->ldev; in lsdc_crtc1_disable() local 134 struct lsdc_device *ldev = lcrtc->ldev; in lsdc_crtc0_scan_pos() local 145 struct lsdc_device *ldev = lcrtc->ldev; in lsdc_crtc1_scan_pos() local 156 struct lsdc_device *ldev = lcrtc->ldev; in lsdc_crtc0_enable_vblank() local 163 struct lsdc_device *ldev = lcrtc->ldev; in lsdc_crtc0_disable_vblank() local [all …]
|
H A D | lsdc_plane.c | 44 struct lsdc_device *ldev = to_lsdc(fb->dev); in lsdc_fb_base_addr() local 464 struct lsdc_device *ldev = primary->ldev; in lsdc_primary0_update_fb_addr() local 579 struct lsdc_device *ldev = cursor->ldev; in lsdc_cursor0_update_bo_addr() local 588 struct lsdc_device *ldev = cursor->ldev; in lsdc_cursor0_update_position() local 603 struct lsdc_device *ldev = cursor->ldev; in lsdc_cursor0_update_cfg() local 617 struct lsdc_device *ldev = cursor->ldev; in lsdc_cursor1_update_bo_addr() local 626 struct lsdc_device *ldev = cursor->ldev; in lsdc_cursor1_update_position() local 641 struct lsdc_device *ldev = cursor->ldev; in lsdc_cursor1_update_cfg() local 670 struct lsdc_device *ldev = cursor->ldev; in lsdc_cursor1_update_bo_addr_quirk() local 679 struct lsdc_device *ldev = cursor->ldev; in lsdc_cursor1_update_position_quirk() local [all …]
|
H A D | lsdc_output_7a2000.c | 117 struct lsdc_device *ldev = to_lsdc(ddev); in ls7a2000_hdmi_encoder_regs_show() local 169 struct lsdc_device *ldev = to_lsdc(ddev); in ls7a2000_hdmi0_vga_connector_detect() local 190 struct lsdc_device *ldev = to_lsdc(connector->dev); in ls7a2000_hdmi1_connector_detect() local 231 struct lsdc_device *ldev = to_lsdc(ddev); in ls7a2000_hdmi0_encoder_reset() local 253 struct lsdc_device *ldev = to_lsdc(ddev); in ls7a2000_hdmi1_encoder_reset() local 290 struct lsdc_device *ldev = to_lsdc(ddev); in ls7a2000_hdmi_set_avi_infoframe() local 341 struct lsdc_device *ldev = to_lsdc(ddev); in ls7a2000_hdmi_atomic_disable() local 361 struct lsdc_device *ldev = to_lsdc(ddev); in ls7a2000_hdmi_atomic_enable() local 414 static void ls7a2000_hdmi_phy_pll_config(struct lsdc_device *ldev, in ls7a2000_hdmi_phy_pll_config() 488 struct lsdc_device *ldev = to_lsdc(ddev); in ls7a2000_hdmi_atomic_mode_set() local
|
H A D | lsdc_debugfs.c | 19 struct lsdc_device *ldev = (struct lsdc_device *)node->info_ent->data; in lsdc_identify() local 47 struct lsdc_device *ldev = (struct lsdc_device *)node->info_ent->data; in lsdc_show_gfxpll_clock() local 59 struct lsdc_device *ldev = (struct lsdc_device *)node->info_ent->data; in lsdc_show_benchmark() local 70 struct lsdc_device *ldev = (struct lsdc_device *)node->info_ent->data; in lsdc_pdev_enable_io_mem() local 100 struct lsdc_device *ldev = to_lsdc(ddev); in lsdc_debugfs_init() local
|
H A D | lsdc_ttm.c | 224 struct lsdc_device *ldev = tdev_to_ldev(bdev); in lsdc_bo_reserve_io_mem() local 292 struct lsdc_device *ldev = tdev_to_ldev(tbo->bdev); in lsdc_bo_pin() local 327 struct lsdc_device *ldev = tdev_to_ldev(tbo->bdev); in lsdc_bo_unpin() local 410 struct lsdc_device *ldev = to_lsdc(ddev); in lsdc_bo_evict_vram() local 423 struct lsdc_device *ldev = tdev_to_ldev(tbo->bdev); in lsdc_bo_destroy() local 442 struct lsdc_device *ldev = to_lsdc(ddev); in lsdc_bo_create() local 534 struct lsdc_device *ldev = (struct lsdc_device *)data; in lsdc_ttm_fini() local 544 int lsdc_ttm_init(struct lsdc_device *ldev) in lsdc_ttm_init() 579 void lsdc_ttm_debugfs_init(struct lsdc_device *ldev) in lsdc_ttm_debugfs_init()
|
H A D | lsdc_drv.c | 60 static int lsdc_modeset_init(struct lsdc_device *ldev, in lsdc_modeset_init() 157 static int lsdc_get_dedicated_vram(struct lsdc_device *ldev, in lsdc_get_dedicated_vram() 195 struct lsdc_device *ldev; in lsdc_create_device() local 264 struct lsdc_device *ldev; in lsdc_pci_probe() local 332 struct lsdc_device *ldev = to_lsdc(ddev); in lsdc_drm_freeze() local
|
/openbmc/linux/drivers/hid/ |
H A D | hid-picolcd_lcd.c | 20 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
|
/openbmc/linux/drivers/soundwire/ |
H A D | intel_init.c | 25 struct sdw_intel_link_dev *ldev = auxiliary_dev_to_sdw_intel_link_dev(auxdev); in intel_link_dev_release() local 37 struct sdw_intel_link_dev *ldev; in intel_link_dev_register() local 111 static void intel_link_dev_unregister(struct sdw_intel_link_dev *ldev) in intel_link_dev_unregister() 119 struct sdw_intel_link_dev *ldev; in sdw_intel_cleanup() local 157 struct sdw_intel_link_dev *ldev; in sdw_intel_probe_controller() local 287 struct sdw_intel_link_dev *ldev; in sdw_intel_startup_controller() local 368 struct sdw_intel_link_dev *ldev; in sdw_intel_process_wakeen_event() local
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_client.c | 137 static void i40e_client_release_qvlist(struct i40e_info *ldev) in i40e_client_release_qvlist() 289 static int i40e_register_auxiliary_dev(struct i40e_info *ldev, const char *name) in i40e_register_auxiliary_dev() 461 struct i40e_device *ldev; in i40e_lan_add_device() local 502 struct i40e_device *ldev, *tmp; in i40e_lan_del_device() local 537 static int i40e_client_virtchnl_send(struct i40e_info *ldev, in i40e_client_virtchnl_send() 562 static int i40e_client_setup_qvlist(struct i40e_info *ldev, in i40e_client_setup_qvlist() 633 static void i40e_client_request_reset(struct i40e_info *ldev, in i40e_client_request_reset() 667 static int i40e_client_update_vsi_ctxt(struct i40e_info *ldev, in i40e_client_update_vsi_ctxt() 725 void i40e_client_device_register(struct i40e_info *ldev, struct i40e_client *client) in i40e_client_device_register() 735 void i40e_client_device_unregister(struct i40e_info *ldev) in i40e_client_device_unregister()
|
/openbmc/linux/drivers/net/dsa/qca/ |
H A D | qca8k-leds.c | 155 qca8k_cled_brightness_set_blocking(struct led_classdev *ldev, in qca8k_cled_brightness_set_blocking() 191 qca8k_cled_blink_set(struct led_classdev *ldev, in qca8k_cled_blink_set() 228 qca8k_cled_trigger_offload(struct led_classdev *ldev, bool enable) in qca8k_cled_trigger_offload() 253 qca8k_cled_hw_control_status(struct led_classdev *ldev) in qca8k_cled_hw_control_status() 278 qca8k_cled_hw_control_is_supported(struct led_classdev *ldev, unsigned long rules) in qca8k_cled_hw_control_is_supported() 286 qca8k_cled_hw_control_set(struct led_classdev *ldev, unsigned long rules) in qca8k_cled_hw_control_set() 310 qca8k_cled_hw_control_get(struct led_classdev *ldev, unsigned long *rules) in qca8k_cled_hw_control_get() 350 static struct device *qca8k_cled_hw_control_get_device(struct led_classdev *ldev) in qca8k_cled_hw_control_get_device()
|
/openbmc/linux/drivers/gpu/drm/stm/ |
H A D | ltdc.c | 711 struct ltdc_device *ldev = ddev->dev_private; in ltdc_irq_thread() local 738 struct ltdc_device *ldev = ddev->dev_private; in ltdc_irq() local 757 struct ltdc_device *ldev = crtc_to_ltdc(crtc); in ltdc_crtc_update_clut() local 777 struct ltdc_device *ldev = crtc_to_ltdc(crtc); in ltdc_crtc_atomic_enable() local 800 struct ltdc_device *ldev = crtc_to_ltdc(crtc); in ltdc_crtc_atomic_disable() local 1067 struct ltdc_device *ldev = ddev->dev_private; in ltdc_crtc_get_scanout_position() local 1148 struct ltdc_device *ldev; in ltdc_crtc_set_crc_source() local 1567 struct ltdc_device *ldev = ddev->dev_private; in ltdc_plane_create() local 1646 struct ltdc_device *ldev = ddev->dev_private; in ltdc_crtc_init() local 1709 struct ltdc_device *ldev = ddev->dev_private; in ltdc_encoder_disable() local [all …]
|
/openbmc/u-boot/common/ |
H A D | log.c | 89 struct log_device *ldev; in log_device_find_by_name() local 152 static bool log_passes_filters(struct log_device *ldev, struct log_rec *rec) in log_passes_filters() 189 struct log_device *ldev; in log_dispatch() local 229 struct log_device *ldev; in log_add_filter() local 273 struct log_device *ldev; in log_remove_filter() local 304 struct log_device *ldev; in log_init() local
|
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_client.c | 135 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()
|
/openbmc/linux/sound/aoa/fabrics/ |
H A D | layout.c | 675 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 1131 struct layout_dev *ldev = dev_get_drvdata(dev); in aoa_fabric_layout_suspend() local [all …]
|
/openbmc/linux/drivers/gpu/drm/lima/ |
H A D | lima_drv.c | 40 struct lima_device *ldev = to_lima_dev(dev); in lima_ioctl_get_param() local 105 struct lima_device *ldev = to_lima_dev(dev); in lima_ioctl_gem_submit() local 193 struct lima_device *ldev = to_lima_dev(dev); in lima_ioctl_ctx_create() local 216 struct lima_device *ldev = to_lima_dev(dev); in lima_drm_driver_open() local 318 struct lima_device *ldev = dev_get_drvdata(dev); in lima_error_state_read() local 344 struct lima_device *ldev = dev_get_drvdata(dev); in lima_error_state_write() local 372 struct lima_device *ldev; in lima_pdev_probe() local 444 struct lima_device *ldev = platform_get_drvdata(pdev); in lima_pdev_remove() local
|
H A D | lima_device.c | 242 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
|
/openbmc/linux/net/ieee802154/6lowpan/ |
H A D | core.c | 62 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()
|