/kernel/linux/linux-5.10/drivers/phy/broadcom/ |
H A D | phy-bcm-ns2-usbdrd.c | 77 struct ns2_phy_driver *driver; member 89 struct ns2_phy_driver *driver) in pll_lock_stat() 93 return readl_poll_timeout_atomic(driver->icfgdrd_regs + usb_reg, in pll_lock_stat() 101 struct ns2_phy_driver *driver = data->driver; in ns2_drd_phy_init() local 104 val = readl(driver->icfgdrd_regs + ICFG_FSM_CTRL); in ns2_drd_phy_init() 113 writel(val, driver->icfgdrd_regs + ICFG_FSM_CTRL); in ns2_drd_phy_init() 121 struct ns2_phy_driver *driver = data->driver; in ns2_drd_phy_poweroff() local 124 val = readl(driver in ns2_drd_phy_poweroff() 88 pll_lock_stat(u32 usb_reg, int reg_mask, struct ns2_phy_driver *driver) pll_lock_stat() argument 143 struct ns2_phy_driver *driver = data->driver; ns2_drd_phy_poweron() local 195 connect_change(struct ns2_phy_driver *driver) connect_change() argument 240 struct ns2_phy_driver *driver; extcon_work() local 269 struct ns2_phy_driver *driver = dev_id; gpio_irq_handler() local 294 struct ns2_phy_driver *driver; ns2_drd_phy_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/phy/broadcom/ |
H A D | phy-bcm-ns2-usbdrd.c | 67 struct ns2_phy_driver *driver; member 79 struct ns2_phy_driver *driver) in pll_lock_stat() 83 return readl_poll_timeout_atomic(driver->icfgdrd_regs + usb_reg, in pll_lock_stat() 91 struct ns2_phy_driver *driver = data->driver; in ns2_drd_phy_init() local 94 val = readl(driver->icfgdrd_regs + ICFG_FSM_CTRL); in ns2_drd_phy_init() 103 writel(val, driver->icfgdrd_regs + ICFG_FSM_CTRL); in ns2_drd_phy_init() 111 struct ns2_phy_driver *driver = data->driver; in ns2_drd_phy_poweroff() local 114 val = readl(driver in ns2_drd_phy_poweroff() 78 pll_lock_stat(u32 usb_reg, int reg_mask, struct ns2_phy_driver *driver) pll_lock_stat() argument 133 struct ns2_phy_driver *driver = data->driver; ns2_drd_phy_poweron() local 185 connect_change(struct ns2_phy_driver *driver) connect_change() argument 230 struct ns2_phy_driver *driver; extcon_work() local 259 struct ns2_phy_driver *driver = dev_id; gpio_irq_handler() local 284 struct ns2_phy_driver *driver; ns2_drd_phy_probe() local [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | zpool.c | 22 struct zpool_driver *driver; member 31 * @driver: driver to register 33 void zpool_register_driver(struct zpool_driver *driver) in zpool_register_driver() argument 36 atomic_set(&driver->refcount, 0); in zpool_register_driver() 37 list_add(&driver->list, &drivers_head); in zpool_register_driver() 44 * @driver: driver to unregister. 46 * Module usage counting is used to prevent using a driver 50 * failure, the driver i 52 zpool_unregister_driver(struct zpool_driver *driver) zpool_unregister_driver() argument 72 struct zpool_driver *driver; zpool_get_driver() local 90 zpool_put_driver(struct zpool_driver *driver) zpool_put_driver() argument 116 struct zpool_driver *driver = zpool_get_driver(type); zpool_has_pool() local 149 struct zpool_driver *driver; zpool_create_pool() local [all...] |
/kernel/linux/linux-6.6/sound/soc/ |
H A D | soc-dai.c | 57 if (dai->driver->ops && in snd_soc_dai_set_sysclk() 58 dai->driver->ops->set_sysclk) in snd_soc_dai_set_sysclk() 59 ret = dai->driver->ops->set_sysclk(dai, clk_id, freq, dir); in snd_soc_dai_set_sysclk() 83 if (dai->driver->ops && in snd_soc_dai_set_clkdiv() 84 dai->driver->ops->set_clkdiv) in snd_soc_dai_set_clkdiv() 85 ret = dai->driver->ops->set_clkdiv(dai, div_id, div); in snd_soc_dai_set_clkdiv() 106 if (dai->driver->ops && in snd_soc_dai_set_pll() 107 dai->driver->ops->set_pll) in snd_soc_dai_set_pll() 108 ret = dai->driver->ops->set_pll(dai, pll_id, source, in snd_soc_dai_set_pll() 129 if (dai->driver in snd_soc_dai_set_bclk_ratio() [all...] |
H A D | soc-component.c | 96 if (component->driver->set_sysclk) in snd_soc_component_set_sysclk() 97 ret = component->driver->set_sysclk(component, clk_id, source, in snd_soc_component_set_sysclk() 120 if (component->driver->set_pll) in snd_soc_component_set_pll() 121 ret = component->driver->set_pll(component, pll_id, source, in snd_soc_component_set_pll() 131 if (component->driver->seq_notifier) in snd_soc_component_seq_notifier() 132 component->driver->seq_notifier(component, type, subseq); in snd_soc_component_seq_notifier() 140 if (component->driver->stream_event) in snd_soc_component_stream_event() 141 ret = component->driver->stream_event(component, event); in snd_soc_component_stream_event() 151 if (component->driver->set_bias_level) in snd_soc_component_set_bias_level() 152 ret = component->driver in snd_soc_component_set_bias_level() [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | zpool.c | 22 struct zpool_driver *driver; member 39 * @driver: driver to register 41 void zpool_register_driver(struct zpool_driver *driver) in zpool_register_driver() argument 44 atomic_set(&driver->refcount, 0); in zpool_register_driver() 45 list_add(&driver->list, &drivers_head); in zpool_register_driver() 52 * @driver: driver to unregister. 54 * Module usage counting is used to prevent using a driver 58 * failure, the driver i 60 zpool_unregister_driver(struct zpool_driver *driver) zpool_unregister_driver() argument 80 struct zpool_driver *driver; zpool_get_driver() local 98 zpool_put_driver(struct zpool_driver *driver) zpool_put_driver() argument 124 struct zpool_driver *driver = zpool_get_driver(type); zpool_has_pool() local 159 struct zpool_driver *driver; zpool_create_pool() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/ |
H A D | mmu.c | 56 static inline void psb_mmu_clflush(struct psb_mmu_driver *driver, void *addr) in psb_mmu_clflush() argument 58 if (!driver->has_clflush) in psb_mmu_clflush() 66 static void psb_mmu_flush_pd_locked(struct psb_mmu_driver *driver, int force) in psb_mmu_flush_pd_locked() argument 68 struct drm_device *dev = driver->dev; in psb_mmu_flush_pd_locked() 71 if (atomic_read(&driver->needs_tlbflush) || force) { in psb_mmu_flush_pd_locked() 79 if (driver->msvdx_mmu_invaldc) in psb_mmu_flush_pd_locked() 80 atomic_set(driver->msvdx_mmu_invaldc, 1); in psb_mmu_flush_pd_locked() 82 atomic_set(&driver->needs_tlbflush, 0); in psb_mmu_flush_pd_locked() 86 static void psb_mmu_flush_pd(struct psb_mmu_driver *driver, int force) 88 down_write(&driver 94 psb_mmu_flush(struct psb_mmu_driver *driver) psb_mmu_flush() argument 157 psb_mmu_alloc_pd(struct psb_mmu_driver *driver, int trap_pagefaults, int invalid_type) psb_mmu_alloc_pd() argument 231 struct psb_mmu_driver *driver = pd->driver; psb_mmu_free_pagedir() local 398 psb_mmu_get_default_pd(struct psb_mmu_driver *driver) psb_mmu_get_default_pd() argument 409 psb_mmu_driver_takedown(struct psb_mmu_driver *driver) psb_mmu_driver_takedown() argument 424 struct psb_mmu_driver *driver; psb_mmu_driver_init() local [all...] |
/kernel/linux/linux-5.10/sound/soc/ |
H A D | soc-dai.c | 57 if (dai->driver->ops && in snd_soc_dai_set_sysclk() 58 dai->driver->ops->set_sysclk) in snd_soc_dai_set_sysclk() 59 ret = dai->driver->ops->set_sysclk(dai, clk_id, freq, dir); in snd_soc_dai_set_sysclk() 83 if (dai->driver->ops && in snd_soc_dai_set_clkdiv() 84 dai->driver->ops->set_clkdiv) in snd_soc_dai_set_clkdiv() 85 ret = dai->driver->ops->set_clkdiv(dai, div_id, div); in snd_soc_dai_set_clkdiv() 106 if (dai->driver->ops && in snd_soc_dai_set_pll() 107 dai->driver->ops->set_pll) in snd_soc_dai_set_pll() 108 ret = dai->driver->ops->set_pll(dai, pll_id, source, in snd_soc_dai_set_pll() 129 if (dai->driver in snd_soc_dai_set_bclk_ratio() [all...] |
H A D | soc-component.c | 77 if (component->driver->set_sysclk) in snd_soc_component_set_sysclk() 78 ret = component->driver->set_sysclk(component, clk_id, source, in snd_soc_component_set_sysclk() 101 if (component->driver->set_pll) in snd_soc_component_set_pll() 102 ret = component->driver->set_pll(component, pll_id, source, in snd_soc_component_set_pll() 112 if (component->driver->seq_notifier) in snd_soc_component_seq_notifier() 113 component->driver->seq_notifier(component, type, subseq); in snd_soc_component_seq_notifier() 121 if (component->driver->stream_event) in snd_soc_component_stream_event() 122 ret = component->driver->stream_event(component, event); in snd_soc_component_stream_event() 132 if (component->driver->set_bias_level) in snd_soc_component_set_bias_level() 133 ret = component->driver in snd_soc_component_set_bias_level() [all...] |
/kernel/linux/linux-5.10/drivers/base/power/ |
H A D | generic_ops.c | 16 * If PM operations are defined for the @dev's driver and they include 22 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_runtime_suspend() 35 * If PM operations are defined for the @dev's driver and they include 41 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_runtime_resume() 60 struct device_driver *drv = dev->driver; in pm_generic_prepare() 75 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_suspend_noirq() 87 const struct dev_pm_ops *pm = dev->driver in pm_generic_suspend_late() [all...] |
/kernel/linux/linux-6.6/drivers/base/power/ |
H A D | generic_ops.c | 16 * If PM operations are defined for the @dev's driver and they include 22 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_runtime_suspend() 35 * If PM operations are defined for the @dev's driver and they include 41 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_runtime_resume() 60 struct device_driver *drv = dev->driver; in pm_generic_prepare() 75 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_suspend_noirq() 87 const struct dev_pm_ops *pm = dev->driver in pm_generic_suspend_late() [all...] |
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | bus.c | 19 struct usb_serial_driver *driver; in usb_serial_device_match() local 30 driver = to_usb_serial_driver(drv); in usb_serial_device_match() 32 if (driver == port->serial->type) in usb_serial_device_match() 40 struct usb_serial_driver *driver; in usb_serial_device_probe() local 55 driver = port->serial->type; in usb_serial_device_probe() 56 if (driver->port_probe) { in usb_serial_device_probe() 57 retval = driver->port_probe(port); in usb_serial_device_probe() 74 driver->description, minor); in usb_serial_device_probe() 79 if (driver->port_remove) in usb_serial_device_probe() 80 driver in usb_serial_device_probe() 89 struct usb_serial_driver *driver; usb_serial_device_remove() local 123 new_id_store(struct device_driver *driver, const char *buf, size_t count) new_id_store() argument 138 new_id_show(struct device_driver *driver, char *buf) new_id_show() argument 172 usb_serial_bus_register(struct usb_serial_driver *driver) usb_serial_bus_register() argument 185 usb_serial_bus_deregister(struct usb_serial_driver *driver) usb_serial_bus_deregister() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | bus.c | 20 struct usb_serial_driver *driver = to_usb_serial_driver(drv); in usb_serial_device_match() local 26 if (driver == port->serial->type) in usb_serial_device_match() 35 struct usb_serial_driver *driver; in usb_serial_device_probe() local 45 driver = port->serial->type; in usb_serial_device_probe() 46 if (driver->port_probe) { in usb_serial_device_probe() 47 retval = driver->port_probe(port); in usb_serial_device_probe() 64 driver->description, minor); in usb_serial_device_probe() 69 if (driver->port_remove) in usb_serial_device_probe() 70 driver->port_remove(port); in usb_serial_device_probe() 80 struct usb_serial_driver *driver; in usb_serial_device_remove() local 106 new_id_store(struct device_driver *driver, const char *buf, size_t count) new_id_store() argument 121 new_id_show(struct device_driver *driver, char *buf) new_id_show() argument 155 usb_serial_bus_register(struct usb_serial_driver *driver) usb_serial_bus_register() argument 168 usb_serial_bus_deregister(struct usb_serial_driver *driver) usb_serial_bus_deregister() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
H A D | mmu.c | 57 static inline void psb_mmu_clflush(struct psb_mmu_driver *driver, void *addr) in psb_mmu_clflush() argument 59 if (!driver->has_clflush) in psb_mmu_clflush() 68 static inline void psb_mmu_clflush(struct psb_mmu_driver *driver, void *addr) in psb_mmu_clflush() argument 74 static void psb_mmu_flush_pd_locked(struct psb_mmu_driver *driver, int force) in psb_mmu_flush_pd_locked() argument 76 struct drm_device *dev = driver->dev; in psb_mmu_flush_pd_locked() 79 if (atomic_read(&driver->needs_tlbflush) || force) { in psb_mmu_flush_pd_locked() 87 if (driver->msvdx_mmu_invaldc) in psb_mmu_flush_pd_locked() 88 atomic_set(driver->msvdx_mmu_invaldc, 1); in psb_mmu_flush_pd_locked() 90 atomic_set(&driver->needs_tlbflush, 0); in psb_mmu_flush_pd_locked() 94 static void psb_mmu_flush_pd(struct psb_mmu_driver *driver, in 102 psb_mmu_flush(struct psb_mmu_driver *driver) psb_mmu_flush() argument 165 psb_mmu_alloc_pd(struct psb_mmu_driver *driver, int trap_pagefaults, int invalid_type) psb_mmu_alloc_pd() argument 239 struct psb_mmu_driver *driver = pd->driver; psb_mmu_free_pagedir() local 408 psb_mmu_get_default_pd(struct psb_mmu_driver *driver) psb_mmu_get_default_pd() argument 420 psb_get_default_pd_addr(struct psb_mmu_driver *driver) psb_get_default_pd_addr() argument 428 psb_mmu_driver_takedown(struct psb_mmu_driver *driver) psb_mmu_driver_takedown() argument 443 struct psb_mmu_driver *driver; psb_mmu_driver_init() local [all...] |
/kernel/linux/linux-6.6/drivers/vfio/ |
H A D | container.c | 81 const struct vfio_iommu_driver *driver) in vfio_iommu_driver_allowed() 85 return container->noiommu == (driver->ops == &vfio_noiommu_ops); in vfio_iommu_driver_allowed() 89 * IOMMU driver registration 93 struct vfio_iommu_driver *driver, *tmp; in vfio_register_iommu_driver() local 98 driver = kzalloc(sizeof(*driver), GFP_KERNEL); in vfio_register_iommu_driver() 99 if (!driver) in vfio_register_iommu_driver() 102 driver->ops = ops; in vfio_register_iommu_driver() 110 kfree(driver); in vfio_register_iommu_driver() 115 list_add(&driver in vfio_register_iommu_driver() 80 vfio_iommu_driver_allowed(struct vfio_container *container, const struct vfio_iommu_driver *driver) vfio_iommu_driver_allowed() argument 125 struct vfio_iommu_driver *driver; vfio_unregister_iommu_driver() local 188 struct vfio_iommu_driver *driver; vfio_container_ioctl_check_extension() local 235 __vfio_container_attach_groups(struct vfio_container *container, struct vfio_iommu_driver *driver, void *data) __vfio_container_attach_groups() argument 263 struct vfio_iommu_driver *driver; vfio_ioctl_set_iommu() local 331 struct vfio_iommu_driver *driver; vfio_fops_unl_ioctl() local 419 struct vfio_iommu_driver *driver; vfio_container_attach_group() local 471 struct vfio_iommu_driver *driver; vfio_group_detach_container() local 537 struct vfio_iommu_driver *driver = container->iommu_driver; vfio_device_container_pin_pages() local 565 struct vfio_iommu_driver *driver = container->iommu_driver; vfio_device_container_dma_rw() local [all...] |
/kernel/linux/linux-5.10/drivers/pci/endpoint/ |
H A D | pci-epf-core.c | 24 * pci_epf_unbind() - Notify the function driver that the binding between the 28 * Invoke to notify the function driver that the binding between the EPF device 33 if (!epf->driver) { in pci_epf_unbind() 34 dev_WARN(&epf->dev, "epf device not bound to driver\n"); in pci_epf_unbind() 39 epf->driver->ops->unbind(epf); in pci_epf_unbind() 41 module_put(epf->driver->owner); in pci_epf_unbind() 46 * pci_epf_bind() - Notify the function driver that the EPF device has been 50 * Invoke to notify the function driver that it has been bound to a EPC device 56 if (!epf->driver) { in pci_epf_bind() 57 dev_WARN(&epf->dev, "epf device not bound to driver\ in pci_epf_bind() 140 pci_epf_remove_cfs(struct pci_epf_driver *driver) pci_epf_remove_cfs() argument 160 pci_epf_unregister_driver(struct pci_epf_driver *driver) pci_epf_unregister_driver() argument 167 pci_epf_add_cfs(struct pci_epf_driver *driver) pci_epf_add_cfs() argument 201 __pci_epf_register_driver(struct pci_epf_driver *driver, struct module *owner) __pci_epf_register_driver() argument 328 struct pci_epf_driver *driver = to_pci_epf_driver(drv); pci_epf_device_match() local 339 struct pci_epf_driver *driver = to_pci_epf_driver(dev->driver); pci_epf_device_probe() local 353 struct pci_epf_driver *driver = to_pci_epf_driver(dev->driver); pci_epf_device_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ishtp/ |
H A D | bus.c | 3 * ISHTP bus driver 23 #define to_ishtp_cl_driver(d) container_of(d, struct ishtp_cl_driver, driver) 210 * Return: Return value from driver probe() call. 215 struct ishtp_cl_driver *driver; in ishtp_cl_device_probe() local 220 driver = to_ishtp_cl_driver(dev->driver); in ishtp_cl_device_probe() 221 if (!driver || !driver->probe) in ishtp_cl_device_probe() 224 return driver->probe(device); in ishtp_cl_device_probe() 230 * @drv: the driver structur 241 struct ishtp_cl_driver *driver = to_ishtp_cl_driver(drv); ishtp_cl_bus_match() local 260 struct ishtp_cl_driver *driver; ishtp_cl_device_remove() local 291 struct ishtp_cl_driver *driver; ishtp_cl_device_suspend() local 317 struct ishtp_cl_driver *driver; ishtp_cl_device_resume() local 350 struct ishtp_cl_driver *driver; ishtp_cl_device_reset() local 502 ishtp_cl_driver_register(struct ishtp_cl_driver *driver, struct module *owner) ishtp_cl_driver_register() argument 522 ishtp_cl_driver_unregister(struct ishtp_cl_driver *driver) ishtp_cl_driver_unregister() argument [all...] |
/kernel/linux/linux-6.6/drivers/hid/intel-ish-hid/ishtp/ |
H A D | bus.c | 3 * ISHTP bus driver 23 #define to_ishtp_cl_driver(d) container_of(d, struct ishtp_cl_driver, driver) 211 * Return: Return value from driver probe() call. 216 struct ishtp_cl_driver *driver; in ishtp_cl_device_probe() local 221 driver = to_ishtp_cl_driver(dev->driver); in ishtp_cl_device_probe() 222 if (!driver || !driver->probe) in ishtp_cl_device_probe() 225 return driver->probe(device); in ishtp_cl_device_probe() 231 * @drv: the driver structur 242 struct ishtp_cl_driver *driver = to_ishtp_cl_driver(drv); ishtp_cl_bus_match() local 261 struct ishtp_cl_driver *driver = to_ishtp_cl_driver(dev->driver); ishtp_cl_device_remove() local 283 struct ishtp_cl_driver *driver; ishtp_cl_device_suspend() local 309 struct ishtp_cl_driver *driver; ishtp_cl_device_resume() local 335 struct ishtp_cl_driver *driver; ishtp_cl_device_reset() local 487 ishtp_cl_driver_register(struct ishtp_cl_driver *driver, struct module *owner) ishtp_cl_driver_register() argument 507 ishtp_cl_driver_unregister(struct ishtp_cl_driver *driver) ishtp_cl_driver_unregister() argument [all...] |
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | tty_io.c | 256 if (!tty || !tty->driver) in tty_driver_name() 258 return tty->driver->name; in tty_driver_name() 291 if (tty->driver->type == TTY_DRIVER_TYPE_PTY && in check_tty_count() 292 tty->driver->subtype == PTY_TYPE_SLAVE && in check_tty_count() 311 * This routine returns a tty driver structure, given a device number 337 * like (4, 64) or (188, 1). If no corresponding driver is registered then 373 /* if here then driver wasn't found */ in tty_dev_name_to_number() 388 * This routine returns a tty driver structure, given a name 389 * and the condition that the tty driver is capable of polled 524 * informs the line discipline if present that the driver i 1197 pty_line_name(struct tty_driver *driver, int index, char *p) pty_line_name() argument 1217 tty_line_name(struct tty_driver *driver, int index, char *p) tty_line_name() argument 1236 tty_driver_lookup_tty(struct tty_driver *driver, struct file *file, int idx) tty_driver_lookup_tty() argument 1286 tty_standard_install(struct tty_driver *driver, struct tty_struct *tty) tty_standard_install() argument 1308 tty_driver_install_tty(struct tty_driver *driver, struct tty_struct *tty) tty_driver_install_tty() argument 1325 tty_driver_remove_tty(struct tty_driver *driver, struct tty_struct *tty) tty_driver_remove_tty() argument 1344 struct tty_driver *driver = tty->driver; tty_reopen() local 1402 tty_init_dev(struct tty_driver *driver, int idx) tty_init_dev() argument 1536 struct tty_driver *driver = tty->driver; release_one_tty() local 1925 struct tty_driver *driver = NULL; tty_lookup_driver() local 1977 struct tty_driver *driver; tty_kopen() local 2028 struct tty_driver *driver = NULL; tty_open_by_driver() local 3073 alloc_tty_struct(struct tty_driver *driver, int idx) alloc_tty_struct() argument 3135 tty_cdev_add(struct tty_driver *driver, dev_t dev, unsigned int index, unsigned int count) tty_cdev_add() argument 3171 tty_register_device(struct tty_driver *driver, unsigned index, struct device *device) tty_register_device() argument 3204 tty_register_device_attr(struct tty_driver *driver, unsigned index, struct device *device, void *drvdata, const struct attribute_group **attr_grp) tty_register_device_attr() argument 3285 tty_unregister_device(struct tty_driver *driver, unsigned index) tty_unregister_device() argument 3308 struct tty_driver *driver; __tty_alloc_driver() local 3365 struct tty_driver *driver = container_of(kref, struct tty_driver, kref); destruct_tty_driver() local 3390 tty_driver_kref_put(struct tty_driver *driver) tty_driver_kref_put() argument 3396 tty_set_operations(struct tty_driver *driver, const struct tty_operations *op) tty_set_operations() argument 3412 tty_register_driver(struct tty_driver *driver) tty_register_driver() argument 3474 tty_unregister_driver(struct tty_driver *driver) tty_unregister_driver() argument [all...] |
/kernel/linux/linux-5.10/scripts/dtc/ |
H A D | dt_to_config | 46 "driver found for this compatible", 48 "kernel config found for this driver", 49 "multiple config options found for this driver", 52 "matching driver and/or kernel config is hard coded", 63 %driver_config = (); # driver config array, indexed by driver source file 65 %compat_driver = (); # compatible driver array, indexed by compatible 70 # ----- magic compatibles, do not have a driver 176 --black-list-driver use driver blac [all...] |
/kernel/linux/linux-5.10/drivers/gpu/host1x/ |
H A D | bus.c | 38 struct host1x_driver *driver, in host1x_subdev_add() 58 if (of_match_node(driver->subdevs, child) && in host1x_subdev_add() 60 err = host1x_subdev_add(device, driver, child); in host1x_subdev_add() 86 * @driver: host1x driver 89 struct host1x_driver *driver) in host1x_device_parse_dt() 95 if (of_match_node(driver->subdevs, np) && in host1x_device_parse_dt() 97 err = host1x_subdev_add(device, driver, np); in host1x_device_parse_dt() 144 * first active subdevice, so unload the driver first. in __host1x_subdev_unregister() 185 * The driver fo 37 host1x_subdev_add(struct host1x_device *device, struct host1x_driver *driver, struct device_node *np) host1x_subdev_add() argument 88 host1x_device_parse_dt(struct host1x_device *device, struct host1x_driver *driver) host1x_device_parse_dt() argument 416 host1x_device_add(struct host1x *host1x, struct host1x_driver *driver) host1x_device_add() argument 491 host1x_attach_driver(struct host1x *host1x, struct host1x_driver *driver) host1x_attach_driver() argument 513 host1x_detach_driver(struct host1x *host1x, struct host1x_driver *driver) host1x_detach_driver() argument 567 struct host1x_driver *driver; host1x_register() local 595 struct host1x_driver *driver; host1x_unregister() local 613 struct host1x_driver *driver = to_host1x_driver(dev->driver); host1x_device_probe() local 624 struct host1x_driver *driver = to_host1x_driver(dev->driver); host1x_device_remove() local 635 struct host1x_driver *driver = to_host1x_driver(dev->driver); host1x_device_shutdown() local 652 host1x_driver_register_full(struct host1x_driver *driver, struct module *owner) host1x_driver_register_full() argument 687 host1x_driver_unregister(struct host1x_driver *driver) host1x_driver_unregister() argument [all...] |
/kernel/linux/linux-6.6/scripts/dtc/ |
H A D | dt_to_config | 46 "driver found for this compatible", 48 "kernel config found for this driver", 49 "multiple config options found for this driver", 52 "matching driver and/or kernel config is hard coded", 63 %driver_config = (); # driver config array, indexed by driver source file 65 %compat_driver = (); # compatible driver array, indexed by compatible 70 # ----- magic compatibles, do not have a driver 176 --black-list-driver use driver blac [all...] |
/kernel/linux/linux-6.6/drivers/pci/endpoint/ |
H A D | pci-epf-core.c | 24 * pci_epf_unbind() - Notify the function driver that the binding between the 28 * Invoke to notify the function driver that the binding between the EPF device 35 if (!epf->driver) { in pci_epf_unbind() 36 dev_WARN(&epf->dev, "epf device not bound to driver\n"); in pci_epf_unbind() 43 epf_vf->driver->ops->unbind(epf_vf); in pci_epf_unbind() 46 epf->driver->ops->unbind(epf); in pci_epf_unbind() 48 module_put(epf->driver->owner); in pci_epf_unbind() 53 * pci_epf_bind() - Notify the function driver that the EPF device has been 57 * Invoke to notify the function driver that it has been bound to a EPC device 67 if (!epf->driver) { in pci_epf_bind() 303 pci_epf_remove_cfs(struct pci_epf_driver *driver) pci_epf_remove_cfs() argument 323 pci_epf_unregister_driver(struct pci_epf_driver *driver) pci_epf_unregister_driver() argument 330 pci_epf_add_cfs(struct pci_epf_driver *driver) pci_epf_add_cfs() argument 364 __pci_epf_register_driver(struct pci_epf_driver *driver, struct module *owner) __pci_epf_register_driver() argument 479 struct pci_epf_driver *driver = to_pci_epf_driver(drv); pci_epf_device_match() local 490 struct pci_epf_driver *driver = to_pci_epf_driver(dev->driver); pci_epf_device_probe() local 503 struct pci_epf_driver *driver = to_pci_epf_driver(dev->driver); pci_epf_device_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/tty/ |
H A D | tty_io.c | 254 if (!tty || !tty->driver) in tty_driver_name() 256 return tty->driver->name; in tty_driver_name() 284 if (tty->driver->type == TTY_DRIVER_TYPE_PTY && in check_tty_count() 285 tty->driver->subtype == PTY_TYPE_SLAVE && in check_tty_count() 302 * This routine returns a tty driver structure, given a device number and also 328 * (4, 64) or (188, 1). If no corresponding driver is registered then the 364 /* if here then driver wasn't found */ in tty_dev_name_to_number() 379 * This routine returns a tty driver structure, given a name and the condition 380 * that the tty driver is capable of polled operation. 512 * line discipline if present that the driver i 1180 pty_line_name(struct tty_driver *driver, int index, char *p) pty_line_name() argument 1201 tty_line_name(struct tty_driver *driver, int index, char *p) tty_line_name() argument 1221 tty_driver_lookup_tty(struct tty_driver *driver, struct file *file, int idx) tty_driver_lookup_tty() argument 1278 tty_standard_install(struct tty_driver *driver, struct tty_struct *tty) tty_standard_install() argument 1299 tty_driver_install_tty(struct tty_driver *driver, struct tty_struct *tty) tty_driver_install_tty() argument 1316 tty_driver_remove_tty(struct tty_driver *driver, struct tty_struct *tty) tty_driver_remove_tty() argument 1335 struct tty_driver *driver = tty->driver; tty_reopen() local 1391 tty_init_dev(struct tty_driver *driver, int idx) tty_init_dev() argument 1525 struct tty_driver *driver = tty->driver; release_one_tty() local 1915 struct tty_driver *driver = NULL; tty_lookup_driver() local 1954 struct tty_driver *driver; tty_kopen() local 2040 struct tty_driver *driver = NULL; tty_open_by_driver() local 3088 alloc_tty_struct(struct tty_driver *driver, int idx) alloc_tty_struct() argument 3148 tty_cdev_add(struct tty_driver *driver, dev_t dev, unsigned int index, unsigned int count) tty_cdev_add() argument 3183 tty_register_device(struct tty_driver *driver, unsigned index, struct device *device) tty_register_device() argument 3215 tty_register_device_attr(struct tty_driver *driver, unsigned index, struct device *device, void *drvdata, const struct attribute_group **attr_grp) tty_register_device_attr() argument 3295 tty_unregister_device(struct tty_driver *driver, unsigned index) tty_unregister_device() argument 3317 struct tty_driver *driver; __tty_alloc_driver() local 3373 struct tty_driver *driver = container_of(kref, struct tty_driver, kref); destruct_tty_driver() local 3404 tty_driver_kref_put(struct tty_driver *driver) tty_driver_kref_put() argument 3416 tty_register_driver(struct tty_driver *driver) tty_register_driver() argument 3481 tty_unregister_driver(struct tty_driver *driver) tty_unregister_driver() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/core/ |
H A D | driver.c | 3 * drivers/usb/driver.c - most of the driver model stuff for usb 21 * NOTE! This is not actually a driver at all, rather this is 39 * Adds a new dynamic USBdevice ID to this driver, 40 * and cause the driver to probe for all devices again. 44 struct device_driver *driver, in usb_store_new_id() 102 retval = driver_attach(driver); in usb_store_new_id() 131 static ssize_t new_id_show(struct device_driver *driver, char *buf) in new_id_show() argument 133 struct usb_driver *usb_drv = to_usb_driver(driver); in new_id_show() 138 static ssize_t new_id_store(struct device_driver *driver, in new_id_store() argument 42 usb_store_new_id(struct usb_dynids *dynids, const struct usb_device_id *id_table, struct device_driver *driver, const char *buf, size_t count) usb_store_new_id() argument 150 remove_id_store(struct device_driver *driver, const char *buf, size_t count) remove_id_store() argument 178 remove_id_show(struct device_driver *driver, char *buf) remove_id_show() argument 320 struct usb_driver *driver = to_usb_driver(dev->driver); usb_probe_interface() local 430 struct usb_driver *driver = to_usb_driver(dev->driver); usb_unbind_interface() local 539 usb_driver_claim_interface(struct usb_driver *driver, struct usb_interface *iface, void *priv) usb_driver_claim_interface() argument 613 usb_driver_release_interface(struct usb_driver *driver, struct usb_interface *iface) usb_driver_release_interface() argument 1099 usb_deregister(struct usb_driver *driver) usb_deregister() argument 1118 struct usb_driver *driver = to_usb_driver(intf->dev.driver); usb_forced_unbind_intf() local 1302 struct usb_driver *driver; usb_suspend_interface() local 1323 struct usb_driver *driver; usb_resume_interface() local 1913 struct usb_driver *driver; autosuspend_check() local [all...] |