Home
last modified time | relevance | path

Searched refs:drv (Results 1 – 25 of 129) sorted by relevance

123456

/arch/x86/kernel/apic/
Dprobe_64.c20 struct apic **drv; in default_setup_apic_routing() local
24 for (drv = __apicdrivers; drv < __apicdrivers_end; drv++) { in default_setup_apic_routing()
25 if ((*drv)->probe && (*drv)->probe()) { in default_setup_apic_routing()
26 if (apic != *drv) { in default_setup_apic_routing()
27 apic = *drv; in default_setup_apic_routing()
41 struct apic **drv; in default_acpi_madt_oem_check() local
43 for (drv = __apicdrivers; drv < __apicdrivers_end; drv++) { in default_acpi_madt_oem_check()
44 if ((*drv)->acpi_madt_oem_check(oem_id, oem_table_id)) { in default_acpi_madt_oem_check()
45 if (apic != *drv) { in default_acpi_madt_oem_check()
46 apic = *drv; in default_acpi_madt_oem_check()
Dprobe_32.c121 struct apic **drv; in parse_apic() local
126 for (drv = __apicdrivers; drv < __apicdrivers_end; drv++) { in parse_apic()
127 if (!strcmp((*drv)->name, arg)) { in parse_apic()
128 apic = *drv; in parse_apic()
180 struct apic **drv; in generic_apic_probe() local
182 for (drv = __apicdrivers; drv < __apicdrivers_end; drv++) { in generic_apic_probe()
183 if ((*drv)->probe()) { in generic_apic_probe()
184 apic = *drv; in generic_apic_probe()
189 if (drv == __apicdrivers_end) in generic_apic_probe()
198 struct apic **drv; in default_acpi_madt_oem_check() local
[all …]
/arch/arm/mach-integrator/
Dlm.c15 #define to_lm_driver(d) container_of(d, struct lm_driver, drv)
17 static int lm_match(struct device *dev, struct device_driver *drv) in lm_match() argument
56 int lm_driver_register(struct lm_driver *drv) in lm_driver_register() argument
58 drv->drv.bus = &lm_bustype; in lm_driver_register()
59 return driver_register(&drv->drv); in lm_driver_register()
62 void lm_driver_unregister(struct lm_driver *drv) in lm_driver_unregister() argument
64 driver_unregister(&drv->drv); in lm_driver_unregister()
Dlm.h11 struct device_driver drv; member
18 int lm_driver_register(struct lm_driver *drv);
19 void lm_driver_unregister(struct lm_driver *drv);
/arch/arm/boot/dts/
Dexynos4412-pinctrl.dtsi130 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
137 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
144 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
151 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
158 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
165 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
172 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
179 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
186 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
193 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
[all …]
Ds5pv210-pinctrl.dtsi276 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
283 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
290 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
297 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
304 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
311 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
318 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
325 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
332 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
339 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
[all …]
Dexynos4210-pinctrl.dtsi149 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
156 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
163 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
170 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
177 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
184 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
191 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
198 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
205 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
212 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
[all …]
Dexynos5420-pinctrl.dtsi65 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
72 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
164 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
171 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
178 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
185 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
192 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
199 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
206 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
213 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
[all …]
Dexynos5250-pinctrl.dtsi204 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
211 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
218 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
225 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
231 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
238 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
245 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
252 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
259 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
266 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
[all …]
Dexynos5260-pinctrl.dtsi203 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
210 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
217 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
224 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
231 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
238 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
245 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
252 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
260 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
268 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
[all …]
Dexynos3250-pinctrl.dtsi19 samsung,pin-drv = <EXYNOS4_PIN_DRV_ ##_drv>; \
27 samsung,pin-drv = <EXYNOS4_PIN_DRV_ ##_drv>; \
35 samsung,pin-drv = <EXYNOS4_PIN_DRV_ ##_drv>; \
44 samsung,pin-drv = <EXYNOS4_PIN_DRV_ ##_drv>; \
115 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
122 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
129 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
136 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
143 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
150 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
[all …]
Dexynos5410-pinctrl.dtsi284 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
291 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
298 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
305 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
312 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
319 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
326 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
333 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
340 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
347 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
[all …]
Dexynos5250-spring.dts456 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
463 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
470 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
477 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
484 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
491 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
498 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
505 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
512 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
521 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
[all …]
/arch/mips/sgi-ip22/
Dip22-gio.c114 static int gio_bus_match(struct device *dev, struct device_driver *drv) in gio_bus_match() argument
117 struct gio_driver *gio_drv = to_gio_driver(drv); in gio_bus_match()
125 struct gio_driver *drv; in gio_device_probe() local
129 drv = to_gio_driver(dev->driver); in gio_device_probe()
132 if (!drv->probe) in gio_device_probe()
137 match = gio_match_device(drv->id_table, gio_dev); in gio_device_probe()
139 error = drv->probe(gio_dev, match); in gio_device_probe()
149 struct gio_driver *drv = to_gio_driver(dev->driver); in gio_device_remove() local
151 if (dev->driver && drv->remove) in gio_device_remove()
152 drv->remove(gio_dev); in gio_device_remove()
[all …]
/arch/arm/mach-tegra/
Dcpuidle-tegra30.c30 struct cpuidle_driver *drv,
60 struct cpuidle_driver *drv, in tegra30_cpu_cluster_power_down() argument
78 struct cpuidle_driver *drv, in tegra30_cpu_core_power_down() argument
89 struct cpuidle_driver *drv, in tegra30_cpu_core_power_down() argument
97 struct cpuidle_driver *drv, in tegra30_idle_lp2() argument
110 entered_lp2 = tegra30_cpu_cluster_power_down(dev, drv, in tegra30_idle_lp2()
115 entered_lp2 = tegra30_cpu_core_power_down(dev, drv, index); in tegra30_idle_lp2()
Dcpuidle-tegra20.c37 struct cpuidle_driver *drv,
122 struct cpuidle_driver *drv, in tegra20_cpu_cluster_power_down() argument
141 struct cpuidle_driver *drv, in tegra20_idle_enter_lp2_cpu_1() argument
152 struct cpuidle_driver *drv, in tegra20_idle_enter_lp2_cpu_1() argument
160 struct cpuidle_driver *drv, in tegra20_idle_lp2_coupled() argument
182 entered_lp2 = tegra20_cpu_cluster_power_down(dev, drv, index); in tegra20_idle_lp2_coupled()
184 entered_lp2 = tegra20_idle_enter_lp2_cpu_1(dev, drv, index); in tegra20_idle_lp2_coupled()
Dcpuidle-tegra114.c32 struct cpuidle_driver *drv, in tegra114_idle_power_down() argument
55 struct cpuidle_driver *drv, in tegra114_idle_enter_s2idle() argument
58 tegra114_idle_power_down(dev, drv, index); in tegra114_idle_enter_s2idle()
/arch/arm64/boot/dts/exynos/
Dexynos7-pinctrl.dtsi191 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
198 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
205 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
212 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
219 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
226 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
233 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
240 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
247 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
254 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
[all …]
Dexynos5433-pinctrl.dtsi19 samsung,pin-drv = <EXYNOS5433_PIN_DRV_ ##_drv>; \
136 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>;
143 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>;
150 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>;
187 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>;
194 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>;
251 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>;
258 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>;
265 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>;
272 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>;
[all …]
/arch/powerpc/platforms/ps3/
Dsystem-bus.c338 struct ps3_system_bus_driver *drv = ps3_drv_to_system_bus_drv(_drv); in ps3_system_bus_match() local
342 result = dev->match_id == drv->match_id; in ps3_system_bus_match()
344 result = dev->match_sub_id == drv->match_sub_id && in ps3_system_bus_match()
345 dev->match_id == drv->match_id; in ps3_system_bus_match()
351 drv->match_id, drv->match_sub_id, drv->core.name); in ps3_system_bus_match()
356 drv->match_id, drv->match_sub_id, drv->core.name); in ps3_system_bus_match()
365 struct ps3_system_bus_driver *drv; in ps3_system_bus_probe() local
370 drv = ps3_system_bus_dev_to_system_bus_drv(dev); in ps3_system_bus_probe()
371 BUG_ON(!drv); in ps3_system_bus_probe()
373 if (drv->probe) in ps3_system_bus_probe()
[all …]
/arch/powerpc/platforms/pseries/
Dibmebus.c211 int ibmebus_register_driver(struct platform_driver *drv) in ibmebus_register_driver() argument
214 ibmebus_create_devices(drv->driver.of_match_table); in ibmebus_register_driver()
216 drv->driver.bus = &ibmebus_bus_type; in ibmebus_register_driver()
217 return driver_register(&drv->driver); in ibmebus_register_driver()
221 void ibmebus_unregister_driver(struct platform_driver *drv) in ibmebus_unregister_driver() argument
223 driver_unregister(&drv->driver); in ibmebus_unregister_driver()
335 static int ibmebus_bus_bus_match(struct device *dev, struct device_driver *drv) in ibmebus_bus_bus_match() argument
337 const struct of_device_id *matches = drv->of_match_table; in ibmebus_bus_bus_match()
348 struct platform_driver *drv; in ibmebus_bus_device_probe() local
351 drv = to_platform_driver(dev->driver); in ibmebus_bus_device_probe()
[all …]
/arch/powerpc/include/asm/
Dvio.h125 extern int __vio_register_driver(struct vio_driver *drv, struct module *owner,
132 extern void vio_unregister_driver(struct vio_driver *drv);
158 static inline struct vio_driver *to_vio_driver(struct device_driver *drv) in to_vio_driver() argument
160 return container_of(drv, struct vio_driver, driver); in to_vio_driver()
Dibmebus.h51 int ibmebus_register_driver(struct platform_driver *drv);
52 void ibmebus_unregister_driver(struct platform_driver *drv);
/arch/arm/mach-omap2/
Dcpuidle34xx.c108 struct cpuidle_driver *drv, in omap3_enter_idle() argument
165 struct cpuidle_driver *drv, int index) in next_valid_state() argument
215 struct cpuidle_driver *drv, in omap3_enter_idle_bm() argument
227 new_state_idx = drv->safe_state_index; in omap3_enter_idle_bm()
229 new_state_idx = next_valid_state(dev, drv, index); in omap3_enter_idle_bm()
249 ret = omap3_enter_idle(dev, drv, new_state_idx); in omap3_enter_idle_bm()
/arch/arm/mach-mmp/
Dmfp.h32 #define MFP_CFG_DRV(pin, af, drv) \ argument
33 (MFP_LPM_FLOAT | MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_DRIVE_##drv)

123456