/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...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | driver_i.h | 2 * wpa_supplicant - Internal driver interface wrappers 12 #include "drivers/driver.h" 21 if (wpa_s->driver->init2) in wpa_drv_init() 22 return wpa_s->driver->init2(wpa_s, ifname, in wpa_drv_init() 24 if (wpa_s->driver->init) { in wpa_drv_init() 25 return wpa_s->driver->init(wpa_s, ifname); in wpa_drv_init() 32 if (wpa_s->driver->deinit) in wpa_drv_deinit() 33 wpa_s->driver->deinit(wpa_s->drv_priv); in wpa_drv_deinit() 39 if (wpa_s->driver->set_param) in wpa_drv_set_param() 40 return wpa_s->driver in wpa_drv_set_param() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | driver_i.h | 2 * wpa_supplicant - Internal driver interface wrappers 12 #include "drivers/driver.h" 18 if (wpa_s->driver->init2) in wpa_drv_init() 19 return wpa_s->driver->init2(wpa_s, ifname, in wpa_drv_init() 21 if (wpa_s->driver->init) { in wpa_drv_init() 22 return wpa_s->driver->init(wpa_s, ifname); in wpa_drv_init() 29 if (wpa_s->driver->deinit) in wpa_drv_deinit() 30 wpa_s->driver->deinit(wpa_s->drv_priv); in wpa_drv_deinit() 36 if (wpa_s->driver->set_param) in wpa_drv_set_param() 37 return wpa_s->driver in wpa_drv_set_param() [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...] |
/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...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | ap_drv_ops.h | 113 if (!hapd->driver || !hapd->driver->send_action_cancel_wait || in hostapd_drv_send_action_cancel_wait() 116 hapd->driver->send_action_cancel_wait(hapd->drv_priv); in hostapd_drv_send_action_cancel_wait() 137 #include "drivers/driver.h" 151 if (hapd->driver == NULL || in hostapd_drv_set_countermeasures() 152 hapd->driver->hapd_set_countermeasures == NULL) in hostapd_drv_set_countermeasures() 154 return hapd->driver->hapd_set_countermeasures(hapd->drv_priv, enabled); in hostapd_drv_set_countermeasures() 161 if (hapd->driver == NULL || hapd->driver->set_sta_vlan == NULL) in hostapd_drv_set_sta_vlan() 163 return hapd->driver in hostapd_drv_set_sta_vlan() [all...] |
H A D | ap_drv_ops.c | 227 if (hapd->driver == NULL || hapd->driver->set_ap_wps_ie == NULL) in hostapd_reset_ap_wps_ie() 230 return hapd->driver->set_ap_wps_ie(hapd->drv_priv, NULL, NULL, NULL); in hostapd_reset_ap_wps_ie() 239 if (hapd->driver == NULL || hapd->driver->set_ap_wps_ie == NULL) in hostapd_set_ap_wps_ie() 246 ret = hapd->driver->set_ap_wps_ie(hapd->drv_priv, beacon, proberesp, in hostapd_set_ap_wps_ie() 336 if (hapd->driver == NULL || hapd->driver->set_wds_sta == NULL) in hostapd_set_wds_sta() 342 return hapd->driver->set_wds_sta(hapd->drv_priv, addr, aid, val, in hostapd_set_wds_sta() 350 if (hapd->driver in hostapd_add_sta_node() [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...] |
/third_party/mbedtls/library/ |
H A D | psa_crypto_se.c | 72 /* In the driver table, location=0 means an entry that isn't used. in psa_get_se_driver_entry() 73 * No driver has a location of 0 because it's a reserved value in psa_get_se_driver_entry() 75 * a driver entry for location 0. */ in psa_get_se_driver_entry() 88 const psa_se_drv_table_entry_t *driver) in psa_get_se_driver_methods() 90 return driver->methods; in psa_get_se_driver_methods() 94 psa_se_drv_table_entry_t *driver) in psa_get_se_driver_context() 96 return &driver->u.context; in psa_get_se_driver_context() 103 psa_se_drv_table_entry_t *driver = psa_get_se_driver_entry(lifetime); in psa_get_se_driver() local 105 *p_methods = (driver ? driver in psa_get_se_driver() 87 psa_get_se_driver_methods( const psa_se_drv_table_entry_t *driver) psa_get_se_driver_methods() argument 93 psa_get_se_driver_context( psa_se_drv_table_entry_t *driver) psa_get_se_driver_context() argument 119 psa_get_se_driver_its_file_uid( const psa_se_drv_table_entry_t *driver, psa_storage_uid_t *uid) psa_get_se_driver_its_file_uid() argument 137 psa_load_se_persistent_data( const psa_se_drv_table_entry_t *driver) psa_load_se_persistent_data() argument 162 psa_save_se_persistent_data( const psa_se_drv_table_entry_t *driver) psa_save_se_persistent_data() argument 192 psa_find_se_slot_for_key( const psa_key_attributes_t *attributes, psa_key_creation_method_t method, psa_se_drv_table_entry_t *driver, psa_key_slot_number_t *slot_number) psa_find_se_slot_for_key() argument 246 psa_destroy_se_key(psa_se_drv_table_entry_t *driver, psa_key_slot_number_t slot_number) psa_destroy_se_key() argument 275 psa_se_drv_table_entry_t *driver = &driver_table[i]; psa_init_all_se_drivers() 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...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | ap_drv_ops.h | 116 if (!hapd->driver || !hapd->driver->send_action_cancel_wait || in hostapd_drv_send_action_cancel_wait() 119 hapd->driver->send_action_cancel_wait(hapd->drv_priv); in hostapd_drv_send_action_cancel_wait() 142 #include "drivers/driver.h" 156 if (hapd->driver == NULL || in hostapd_drv_set_countermeasures() 157 hapd->driver->hapd_set_countermeasures == NULL) in hostapd_drv_set_countermeasures() 159 return hapd->driver->hapd_set_countermeasures(hapd->drv_priv, enabled); in hostapd_drv_set_countermeasures() 166 if (hapd->driver == NULL || hapd->driver->set_sta_vlan == NULL) in hostapd_drv_set_sta_vlan() 168 return hapd->driver in hostapd_drv_set_sta_vlan() [all...] |
H A D | ap_drv_ops.c | 233 if (hapd->driver == NULL || hapd->driver->set_ap_wps_ie == NULL) in hostapd_reset_ap_wps_ie() 236 return hapd->driver->set_ap_wps_ie(hapd->drv_priv, NULL, NULL, NULL); in hostapd_reset_ap_wps_ie() 245 if (hapd->driver == NULL || hapd->driver->set_ap_wps_ie == NULL) in hostapd_set_ap_wps_ie() 252 ret = hapd->driver->set_ap_wps_ie(hapd->drv_priv, beacon, proberesp, in hostapd_set_ap_wps_ie() 340 if (hapd->driver == NULL || hapd->driver->set_wds_sta == NULL) in hostapd_set_wds_sta() 346 return hapd->driver->set_wds_sta(hapd->drv_priv, addr, aid, val, in hostapd_set_wds_sta() 354 if (hapd->driver in hostapd_add_sta_node() [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...] |
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/ |
H A D | Device.cpp | 19 : driver(nullptr) in Device() 26 Driver const *driver, VkDevice device, VkPhysicalDevice physicalDevice, in Device() 28 : driver(driver) in Device() 38 driver->vkDeviceWaitIdle(device); in ~Device() 39 driver->vkDestroyDevice(device, nullptr); in ~Device() 49 Driver const *driver, VkInstance instance, std::unique_ptr<Device> &out) in CreateComputeDevice() 55 result = GetPhysicalDevices(driver, instance, physicalDevices); in CreateComputeDevice() 64 int queueFamilyIndex = GetComputeQueueFamilyIndex(driver, physicalDevice); in CreateComputeDevice() 94 result = driver in CreateComputeDevice() 25 Device( Driver const *driver, VkDevice device, VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex) Device() argument 48 CreateComputeDevice( Driver const *driver, VkInstance instance, std::unique_ptr<Device> &out) CreateComputeDevice() argument 107 GetComputeQueueFamilyIndex( Driver const *driver, VkPhysicalDevice device) GetComputeQueueFamilyIndex() argument 122 GetPhysicalDeviceQueueFamilyProperties( Driver const *driver, VkPhysicalDevice device) GetPhysicalDeviceQueueFamilyProperties() argument 133 GetPhysicalDevices( const Driver *driver, VkInstance instance, std::vector<VkPhysicalDevice> &out) GetPhysicalDevices() 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...] |