/kernel/linux/linux-6.6/drivers/gpu/drm/udl/ |
H A D | udl_main.c | 26 static struct urb *udl_get_urb_locked(struct udl_device *udl, long timeout); 28 static int udl_parse_vendor_descriptor(struct udl_device *udl) in udl_parse_vendor_descriptor() argument 30 struct usb_device *udev = udl_to_usb_device(udl); in udl_parse_vendor_descriptor() 73 udl->sku_pixel_limit = max_area; in udl_parse_vendor_descriptor() 97 int udl_select_std_channel(struct udl_device *udl) in udl_select_std_channel() argument 106 struct usb_device *udev = udl_to_usb_device(udl); in udl_select_std_channel() 124 struct udl_device *udl = unode->dev; in udl_urb_completion() local 138 urb->transfer_buffer_length = udl->urbs.size; /* reset to actual */ in udl_urb_completion() 140 spin_lock_irqsave(&udl->urbs.lock, flags); in udl_urb_completion() 141 list_add_tail(&unode->entry, &udl in udl_urb_completion() 150 struct udl_device *udl = to_udl(dev); udl_free_urb_list() local 177 struct udl_device *udl = to_udl(dev); udl_alloc_urb_list() local 235 udl_get_urb_locked(struct udl_device *udl, long timeout) udl_get_urb_locked() argument 264 struct udl_device *udl = to_udl(dev); udl_get_urb() local 275 struct udl_device *udl = to_udl(dev); udl_submit_urb() local 295 struct udl_device *udl = to_udl(dev); udl_sync_pending_urbs() local 307 udl_init(struct udl_device *udl) udl_init() argument 353 struct udl_device *udl = to_udl(dev); udl_drop_usb() local [all...] |
H A D | udl_drv.c | 44 struct udl_device *udl = to_udl(dev); in udl_usb_reset_resume() local 46 udl_select_std_channel(udl); in udl_usb_reset_resume() 59 struct udl_device *udl = to_udl(dev); in udl_driver_gem_prime_import() local 61 if (!udl->dmadev) in udl_driver_gem_prime_import() 64 return drm_gem_prime_import_dev(dev, dma_buf, udl->dmadev); in udl_driver_gem_prime_import() 87 struct udl_device *udl; in udl_driver_create() local 90 udl = devm_drm_dev_alloc(&interface->dev, &driver, in udl_driver_create() 92 if (IS_ERR(udl)) in udl_driver_create() 93 return udl; in udl_driver_create() 95 r = udl_init(udl); in udl_driver_create() 108 struct udl_device *udl; udl_usb_probe() local [all...] |
H A D | udl_drv.h | 27 #define DRIVER_NAME "udl" 81 static inline struct usb_device *udl_to_usb_device(struct udl_device *udl) in udl_to_usb_device() argument 83 return interface_to_usbdev(to_usb_interface(udl->drm.dev)); in udl_to_usb_device() 96 int udl_init(struct udl_device *udl); 103 int udl_select_std_channel(struct udl_device *udl);
|
H A D | udl_modeset.c | 418 struct udl_device *udl = data; in udl_get_edid_block() local 419 struct drm_device *dev = &udl->drm; in udl_get_edid_block() 420 struct usb_device *udev = udl_to_usb_device(udl); in udl_get_edid_block() 459 struct udl_device *udl = to_udl(dev); in udl_connector_detect() local 471 udl_connector->edid = drm_do_get_edid(connector, udl_get_edid_block, udl); in udl_connector_detect() 533 struct udl_device *udl = to_udl(dev); in udl_mode_config_mode_valid() local 535 if (udl->sku_pixel_limit) { in udl_mode_config_mode_valid() 536 if (mode->vdisplay * mode->hdisplay > udl->sku_pixel_limit) in udl_mode_config_mode_valid() 552 struct udl_device *udl = to_udl(dev); in udl_modeset_init() local 570 primary_plane = &udl in udl_modeset_init() [all...] |
H A D | Makefile | 2 udl-y := udl_drv.o udl_modeset.o udl_main.o udl_transfer.o 4 obj-$(CONFIG_DRM_UDL) := udl.o
|
/kernel/linux/linux-5.10/drivers/gpu/drm/udl/ |
H A D | udl_main.c | 32 struct udl_device *udl = to_udl(dev); in udl_parse_vendor_descriptor() local 75 udl->sku_pixel_limit = max_area; in udl_parse_vendor_descriptor() 99 static int udl_select_std_channel(struct udl_device *udl) in udl_select_std_channel() argument 112 ret = usb_control_msg(udl->udev, in udl_select_std_channel() 113 usb_sndctrlpipe(udl->udev, 0), in udl_select_std_channel() 133 struct udl_device *udl = unode->dev; in udl_urb_completion() local 146 urb->transfer_buffer_length = udl->urbs.size; /* reset to actual */ in udl_urb_completion() 148 spin_lock_irqsave(&udl->urbs.lock, flags); in udl_urb_completion() 149 list_add_tail(&unode->entry, &udl->urbs.list); in udl_urb_completion() 150 udl in udl_urb_completion() 167 struct udl_device *udl = to_udl(dev); udl_free_urb_list() local 200 struct udl_device *udl = to_udl(dev); udl_alloc_urb_list() local 264 struct udl_device *udl = to_udl(dev); udl_get_urb() local 296 struct udl_device *udl = to_udl(dev); udl_submit_urb() local 310 udl_init(struct udl_device *udl) udl_init() argument 356 struct udl_device *udl = to_udl(dev); udl_drop_usb() local [all...] |
H A D | udl_drv.c | 43 struct udl_device *udl = to_udl(dev); in udl_driver_gem_prime_import() local 45 if (!udl->dmadev) in udl_driver_gem_prime_import() 48 return drm_gem_prime_import_dev(dev, dma_buf, udl->dmadev); in udl_driver_gem_prime_import() 74 struct udl_device *udl; in udl_driver_create() local 77 udl = devm_drm_dev_alloc(&interface->dev, &driver, in udl_driver_create() 79 if (IS_ERR(udl)) in udl_driver_create() 80 return udl; in udl_driver_create() 82 udl->udev = udev; in udl_driver_create() 84 r = udl_init(udl); in udl_driver_create() 88 usb_set_intfdata(interface, udl); in udl_driver_create() 97 struct udl_device *udl; udl_usb_probe() local [all...] |
H A D | udl_connector.c | 22 struct udl_device *udl = data; in udl_get_edid_block() local 30 ret = usb_control_msg(udl->udev, in udl_get_edid_block() 31 usb_rcvctrlpipe(udl->udev, 0), in udl_get_edid_block() 62 struct udl_device *udl = to_udl(connector->dev); in udl_mode_valid() local 63 if (!udl->sku_pixel_limit) in udl_mode_valid() 66 if (mode->vdisplay * mode->hdisplay > udl->sku_pixel_limit) in udl_mode_valid() 75 struct udl_device *udl = to_udl(connector->dev); in udl_detect() local 87 udl_connector->edid = drm_do_get_edid(connector, udl_get_edid_block, udl); in udl_detect()
|
H A D | udl_modeset.c | 218 struct udl_device *udl = to_udl(dev); in udl_crtc_write_mode_to_hw() local 223 if (udl->mode_buf_len == 0) { in udl_crtc_write_mode_to_hw() 234 memcpy(buf, udl->mode_buf, udl->mode_buf_len); in udl_crtc_write_mode_to_hw() 235 retval = udl_submit_urb(dev, urb, udl->mode_buf_len); in udl_crtc_write_mode_to_hw() 236 DRM_DEBUG("write mode info %d\n", udl->mode_buf_len); in udl_crtc_write_mode_to_hw() 374 struct udl_device *udl = to_udl(dev); in udl_simple_display_pipe_enable() local 380 buf = (char *)udl->mode_buf; in udl_simple_display_pipe_enable() 399 udl->mode_buf_len = wrptr - buf; in udl_simple_display_pipe_enable() 466 struct udl_device *udl in udl_modeset_init() local [all...] |
H A D | Makefile | 2 udl-y := udl_drv.o udl_modeset.o udl_connector.o udl_main.o udl_transfer.o 4 obj-$(CONFIG_DRM_UDL) := udl.o
|
H A D | udl_drv.h | 24 #define DRIVER_NAME "udl" 79 int udl_init(struct udl_device *udl);
|
/kernel/linux/linux-6.6/kernel/rcu/ |
H A D | refscale.c | 132 void (*delaysection)(const int nloops, const int udl, const int ndl); 138 static void un_delay(const int udl, const int ndl) in un_delay() argument 140 if (udl) in un_delay() 141 udelay(udl); in un_delay() 156 static void ref_rcu_delay_section(const int nloops, const int udl, const int ndl) in ref_rcu_delay_section() argument 162 un_delay(udl, ndl); in ref_rcu_delay_section() 194 static void srcu_ref_scale_delay_section(const int nloops, const int udl, const int ndl) in srcu_ref_scale_delay_section() argument 201 un_delay(udl, ndl); in srcu_ref_scale_delay_section() 225 static void rcu_tasks_ref_scale_delay_section(const int nloops, const int udl, const int ndl) in rcu_tasks_ref_scale_delay_section() argument 230 un_delay(udl, nd in rcu_tasks_ref_scale_delay_section() 261 rcu_trace_ref_scale_delay_section(const int nloops, const int udl, const int ndl) rcu_trace_ref_scale_delay_section() argument 300 ref_refcnt_delay_section(const int nloops, const int udl, const int ndl) ref_refcnt_delay_section() argument 337 ref_rwlock_delay_section(const int nloops, const int udl, const int ndl) ref_rwlock_delay_section() argument 374 ref_rwsem_delay_section(const int nloops, const int udl, const int ndl) ref_rwsem_delay_section() argument 407 ref_lock_delay_section(const int nloops, const int udl, const int ndl) ref_lock_delay_section() argument 441 ref_lock_irq_delay_section(const int nloops, const int udl, const int ndl) ref_lock_irq_delay_section() argument 477 ref_acqrel_delay_section(const int nloops, const int udl, const int ndl) ref_acqrel_delay_section() argument 511 ref_clock_delay_section(const int nloops, const int udl, const int ndl) ref_clock_delay_section() argument 543 ref_jiffies_delay_section(const int nloops, const int udl, const int ndl) ref_jiffies_delay_section() argument 631 typesafe_delay_section(const int nloops, const int udl, const int ndl) typesafe_delay_section() argument [all...] |
/kernel/linux/linux-5.10/kernel/rcu/ |
H A D | refscale.c | 115 void (*delaysection)(const int nloops, const int udl, const int ndl); 121 static void un_delay(const int udl, const int ndl) in un_delay() argument 123 if (udl) in un_delay() 124 udelay(udl); in un_delay() 139 static void ref_rcu_delay_section(const int nloops, const int udl, const int ndl) in ref_rcu_delay_section() argument 145 un_delay(udl, ndl); in ref_rcu_delay_section() 176 static void srcu_ref_scale_delay_section(const int nloops, const int udl, const int ndl) in srcu_ref_scale_delay_section() argument 183 un_delay(udl, ndl); in srcu_ref_scale_delay_section() 205 static void rcu_tasks_ref_scale_delay_section(const int nloops, const int udl, const int ndl) in rcu_tasks_ref_scale_delay_section() argument 210 un_delay(udl, nd in rcu_tasks_ref_scale_delay_section() 231 rcu_trace_ref_scale_delay_section(const int nloops, const int udl, const int ndl) rcu_trace_ref_scale_delay_section() argument 262 ref_refcnt_delay_section(const int nloops, const int udl, const int ndl) ref_refcnt_delay_section() argument 298 ref_rwlock_delay_section(const int nloops, const int udl, const int ndl) ref_rwlock_delay_section() argument 334 ref_rwsem_delay_section(const int nloops, const int udl, const int ndl) ref_rwsem_delay_section() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_fcoe.c | 27 ddp->udl = NULL; in ixgbe_fcoe_clear_ddp() 62 if (!ddp->udl) in ixgbe_fcoe_ddp_put() 114 dma_pool_free(ddp->pool, ddp->udl, ddp->udp); in ixgbe_fcoe_ddp_put() 195 /* alloc the udl from per cpu ddp pool */ in ixgbe_fcoe_ddp_setup() 196 ddp->udl = dma_pool_alloc(ddp_pool->pool, GFP_ATOMIC, &ddp->udp); in ixgbe_fcoe_ddp_setup() 197 if (!ddp->udl) { in ixgbe_fcoe_ddp_setup() 234 ddp->udl[j] = (u64)(addr - thisoff); in ixgbe_fcoe_ddp_setup() 256 ddp->udl[j] = (u64)(fcoe->extra_ddp_buffer_dma); in ixgbe_fcoe_ddp_setup() 320 dma_pool_free(ddp->pool, ddp->udl, ddp->udp); in ixgbe_fcoe_ddp_setup() 425 if (!ddp->udl) in ixgbe_fcoe_ddp() [all...] |
H A D | ixgbe_fcoe.h | 41 u64 *udl; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_fcoe.c | 27 ddp->udl = NULL; in ixgbe_fcoe_clear_ddp() 62 if (!ddp->udl) in ixgbe_fcoe_ddp_put() 114 dma_pool_free(ddp->pool, ddp->udl, ddp->udp); in ixgbe_fcoe_ddp_put() 195 /* alloc the udl from per cpu ddp pool */ in ixgbe_fcoe_ddp_setup() 196 ddp->udl = dma_pool_alloc(ddp_pool->pool, GFP_ATOMIC, &ddp->udp); in ixgbe_fcoe_ddp_setup() 197 if (!ddp->udl) { in ixgbe_fcoe_ddp_setup() 234 ddp->udl[j] = (u64)(addr - thisoff); in ixgbe_fcoe_ddp_setup() 256 ddp->udl[j] = (u64)(fcoe->extra_ddp_buffer_dma); in ixgbe_fcoe_ddp_setup() 320 dma_pool_free(ddp->pool, ddp->udl, ddp->udp); in ixgbe_fcoe_ddp_setup() 425 if (!ddp->udl) in ixgbe_fcoe_ddp() [all...] |
H A D | ixgbe_fcoe.h | 41 u64 *udl; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | Makefile | 87 obj-$(CONFIG_DRM_UDL) += udl/
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | Makefile | 159 obj-$(CONFIG_DRM_UDL) += udl/
|