Searched refs:probe (Results 1 - 200 of 5741) sorted by relevance

1234567891011>>

/linux-4.1.27/arch/sh/kernel/cpu/sh2/
H A DMakefile5 obj-y := ex.o probe.o entry.o
H A Dprobe.c2 * arch/sh/kernel/cpu/sh2/probe.c
/linux-4.1.27/drivers/base/
H A Dmap.c20 struct probe { struct in struct:kobj_map
21 struct probe *next;
33 struct module *module, kobj_probe_t *probe, kobj_map()
39 struct probe *p; kobj_map()
44 p = kmalloc_array(n, sizeof(struct probe), GFP_KERNEL); kobj_map()
50 p->get = probe; kobj_map()
58 struct probe **s = &domain->probes[index % 255]; kobj_map()
73 struct probe *found = NULL; kobj_unmap()
80 struct probe **s; kobj_unmap()
82 struct probe *p = *s; kobj_unmap()
98 struct probe *p; kobj_lookup()
104 struct kobject *(*probe)(dev_t, int *, void *); kobj_lookup()
116 probe = p->get; kobj_lookup()
124 kobj = probe(dev, index, data); kobj_lookup()
125 /* Currently ->owner protects _only_ ->probe() itself. */ kobj_lookup()
138 struct probe *base = kzalloc(sizeof(*base), GFP_KERNEL); kobj_map_init()
32 kobj_map(struct kobj_map *domain, dev_t dev, unsigned long range, struct module *module, kobj_probe_t *probe, int (*lock)(dev_t, void *), void *data) kobj_map() argument
H A Ddd.c35 * Sometimes driver probe order matters, but the kernel doesn't always have
40 * request probing to be deferred by returning -EPROBE_DEFER from its probe hook
42 * Deferred probe maintains two lists of devices, a pending list and an active
44 * pending list. A successful driver probe will trigger moving all devices
67 * bus_probe_device() to re-attempt the probe. The loop continues deferred_probe_work_func()
86 * Drop the mutex while probing each device; the probe path may deferred_probe_work_func()
95 * probe makes that very unsafe. deferred_probe_work_func()
137 * list and schedules the deferred probe workqueue to process them. It
140 * Note, there is a race condition in multi-threaded probe. In the case where
142 * probe to complete successfully while another is about to defer. If the second
148 * changes in the midst of a probe, then deferred processing should be triggered
157 * A successful probe means that all the devices in the pending list driver_deferred_probe_trigger()
168 * Kick the re-probe thread. It may already be scheduled, but it is driver_deferred_probe_trigger()
260 * from a driver's probe() method.)
307 if (dev->bus->probe) { really_probe()
308 ret = dev->bus->probe(dev); really_probe()
311 } else if (drv->probe) { really_probe()
312 ret = drv->probe(dev); really_probe()
337 dev_dbg(dev, "Driver %s requests probe deferral\n", drv->name); really_probe()
345 pr_debug("%s: probe of %s rejects match %d\n", really_probe()
349 /* driver matched but the probe failed */ really_probe()
351 "%s: probe of %s failed with error %d\n", really_probe()
355 * Ignore errors returned by ->probe so that the next driver can try really_probe()
367 * Determine if the probe sequence is finished or not.
H A Dplatform.c517 ret = drv->probe(dev); platform_drv_probe()
523 dev_warn(_dev, "probe deferral not supported\n"); platform_drv_probe()
566 if (drv->probe) __platform_driver_register()
567 drv->driver.probe = platform_drv_probe; __platform_driver_register()
590 * @probe: the driver probe routine, probably from an __init section
595 * remove its run-once probe() infrastructure from memory after the driver
608 int (*probe)(struct platform_device *), struct module *module) __platform_driver_probe()
613 * Prevent driver from requesting probe deferral to avoid further __platform_driver_probe()
614 * futile probe attempts. __platform_driver_probe()
621 /* temporary section violation during probe() */ __platform_driver_probe()
622 drv->probe = probe; __platform_driver_probe()
627 * the list of drivers in order to probe new devices. Check to see __platform_driver_probe()
628 * if the probe was successful, and make sure any forced probes of __platform_driver_probe()
632 drv->probe = NULL; __platform_driver_probe()
635 drv->driver.probe = platform_drv_probe_fail; __platform_driver_probe()
647 * @probe: the driver probe routine, probably from an __init section
654 * Use this in legacy-style modules that probe hardware directly and
661 int (*probe)(struct platform_device *), __platform_create_bundle()
686 error = __platform_driver_probe(driver, probe, module); __platform_create_bundle()
1191 * early_platform_driver_probe_id - probe drivers matching class_str and id
1194 * @nr_probe: number of platform devices to successfully probe before exiting
1263 if (epdrv->pdrv->probe(match)) early_platform_driver_probe_id()
1264 pr_warn("%s: unable to probe %s early.\n", early_platform_driver_probe_id()
1281 * early_platform_driver_probe - probe a class of registered drivers
1283 * @nr_probe: number of platform devices to successfully probe before exiting
1284 * @user_only: only probe user specified early platform devices
1286 * Used by architecture code to probe registered early platform drivers
1287 * within a certain class. For probe to happen a registered early platform
H A Disa.c42 if (isa_driver->probe) isa_bus_probe()
43 return isa_driver->probe(dev, to_isa_dev(dev)->id); isa_bus_probe()
89 .probe = isa_bus_probe,
H A Dpinctrl.c19 * pinctrl_bind_pins() - called by the device core before probe
20 * @dev: the device that is just about to probe
/linux-4.1.27/arch/sh/kernel/cpu/sh5/
H A DMakefile4 obj-y := entry.o probe.o switchto.o
/linux-4.1.27/drivers/ide/
H A Dide-4drives.c11 module_param_named(probe, probe_4drives, bool, 0);
12 MODULE_PARM_DESC(probe, "probe for generic IDE chipset with 4 drives/port");
H A Ddtc2278.c135 module_param_named(probe, probe_dtc2278, bool, 0);
136 MODULE_PARM_DESC(probe, "probe for DTC2278xx chipsets");
H A Dumc8672.c165 module_param_named(probe, probe_umc8672, bool, 0);
166 MODULE_PARM_DESC(probe, "probe for UMC8672 chipset");
H A Drapide.c83 .probe = rapide_probe,
H A Drz1000.c79 .probe = rz1000_init_one,
/linux-4.1.27/drivers/parport/
H A DMakefile8 parport-objs += daisy.o probe.o
/linux-4.1.27/arch/arm/mach-integrator/
H A Dlm.h11 int (*probe)(struct lm_device *); member in struct:lm_driver
H A Dlm.c30 return lmdrv->probe(lmdev); lm_bus_probe()
46 .probe = lm_bus_probe,
/linux-4.1.27/net/sctp/
H A DMakefile15 sctp_probe-y := probe.o
/linux-4.1.27/drivers/tty/serial/
H A Dm32r_sio.h27 int m32r_sio_register_probe(struct m32r_sio_probe *probe);
28 void m32r_sio_unregister_probe(struct m32r_sio_probe *probe);
/linux-4.1.27/include/linux/platform_data/
H A Dintel-mid_wdt.h19 int (*probe)(struct platform_device *pdev); member in struct:intel_mid_wdt_pdata
H A Dpxa2xx_udc.h7 * the probe routine of linux/drivers/usb/gadget/pxa2xx_udc.c
/linux-4.1.27/include/video/
H A Dplatform_lcd.h18 int (*probe)(struct plat_lcd_data *); member in struct:plat_lcd_data
/linux-4.1.27/arch/sh/kernel/cpu/sh2a/
H A DMakefile5 obj-y := common.o probe.o opcode_helper.o
/linux-4.1.27/arch/x86/kernel/apic/
H A Dprobe_64.c5 * Generic APIC sub-arch probe layer.
36 if ((*drv)->probe && (*drv)->probe()) { default_setup_apic_routing()
H A Dapic_noop.c5 * probe routine.
70 * enabled via probe routine noop_probe()
113 .probe = noop_probe,
H A Dprobe_32.c7 * Generic x86 APIC driver probe layer.
78 .probe = probe_default,
196 if ((*drv)->probe()) { generic_apic_probe()
208 /* This function can switch the APIC even after the initial ->probe() */ default_acpi_madt_oem_check()
/linux-4.1.27/drivers/video/fbdev/via/
H A Dvia_aux_ch7301.c31 static void probe(struct via_aux_bus *bus, u8 addr) probe() function
48 probe(bus, 0x75); via_aux_ch7301_probe()
49 probe(bus, 0x76); via_aux_ch7301_probe()
H A Dvia_aux_vt1622.c31 static void probe(struct via_aux_bus *bus, u8 addr) probe() function
48 probe(bus, 0x20); via_aux_vt1622_probe()
49 probe(bus, 0x21); via_aux_vt1622_probe()
H A Dvia_aux_vt1625.c31 static void probe(struct via_aux_bus *bus, u8 addr) probe() function
48 probe(bus, 0x20); via_aux_vt1625_probe()
49 probe(bus, 0x21); via_aux_vt1625_probe()
H A Dvia_aux_sii164.c31 static void probe(struct via_aux_bus *bus, u8 addr) probe() function
53 probe(bus, i); via_aux_sii164_probe()
H A Dvia_aux_vt1632.c31 static void probe(struct via_aux_bus *bus, u8 addr) probe() function
53 probe(bus, i); via_aux_vt1632_probe()
/linux-4.1.27/kernel/trace/
H A Dtrace_sched_switch.c44 " probe to kernel_sched_wakeup\n"); tracing_sched_register()
51 " probe to kernel_sched_wakeup_new\n"); tracing_sched_register()
58 " probe to kernel_sched_switch\n"); tracing_sched_register()
H A Dtrace_kprobe.c468 pr_warning("Could not insert probe at %s+%lu: %d\n", __register_trace_kprobe()
471 pr_warning("This probe might be able to register after" __register_trace_kprobe()
507 /* Will fail if probe is being used by ftrace or perf */ unregister_trace_kprobe()
538 pr_warning("Failed to register probe event(%d)\n", ret); register_trace_kprobe()
542 /* Register k*probe */ register_trace_kprobe()
573 pr_warning("Failed to re-register probe %s on" trace_kprobe_module_callback()
676 pr_info("Return probe point must be a symbol.\n"); create_trace_kprobe()
695 pr_info("Return probe must be used without offset.\n"); create_trace_kprobe()
701 /* setup a probe */ create_trace_kprobe()
787 /* Ensure no probe is in use. */ release_all_trace_kprobes()
1322 /* Make a tracefs interface for controlling probe points */ init_kprobe_trace()
1407 pr_warn("error on getting new probe.\n"); kprobe_trace_self_tests_init()
1412 pr_warn("error on getting probe file.\n"); kprobe_trace_self_tests_init()
1428 pr_warn("error on getting 2nd new probe.\n"); kprobe_trace_self_tests_init()
1433 pr_warn("error on getting probe file.\n"); kprobe_trace_self_tests_init()
1448 pr_warn("error on getting test probe.\n"); kprobe_trace_self_tests_init()
1453 pr_warn("error on getting probe file.\n"); kprobe_trace_self_tests_init()
1461 pr_warn("error on getting 2nd test probe.\n"); kprobe_trace_self_tests_init()
1466 pr_warn("error on getting probe file.\n"); kprobe_trace_self_tests_init()
1474 pr_warn("error on deleting a probe.\n"); kprobe_trace_self_tests_init()
1480 pr_warn("error on deleting a probe.\n"); kprobe_trace_self_tests_init()
/linux-4.1.27/tools/perf/
H A Dbuiltin-probe.c2 * builtin-probe.c
4 * Builtin probe command: Set up probe events by C expression
42 #include "util/probe-finder.h"
43 #include "util/probe-event.h"
75 pr_debug("probe-definition(%d): %s\n", params.nevents, str); parse_probe_event()
89 /* Parse a perf-probe command into event */ parse_probe_event()
316 "perf probe [<options>] 'PROBEDEF' ['PROBEDEF' ...]", __cmd_probe()
317 "perf probe [<options>] --add 'PROBEDEF' [--add 'PROBEDEF' ...]", __cmd_probe()
318 "perf probe [<options>] --del '[GROUP:]EVENT' ...", __cmd_probe()
319 "perf probe --list", __cmd_probe()
321 "perf probe [<options>] --line 'LINEDESC'", __cmd_probe()
322 "perf probe [<options>] --vars 'PROBEPOINT'", __cmd_probe()
332 "list up current probe events"), __cmd_probe()
333 OPT_CALLBACK('d', "del", NULL, "[GROUP:]EVENT", "delete a probe event.", __cmd_probe()
342 "probe point definition, where\n" __cmd_probe()
347 "\t\t%return:\tPut the probe at function return\n" __cmd_probe()
380 "Set how many probe points can be found for a probe."), __cmd_probe()
382 "Show potential probe-able functions."), __cmd_probe()
500 pr_warning(" Error: -x/-m must follow the probe definitions.\n"); __cmd_probe()
/linux-4.1.27/tools/perf/util/
H A Dprobe-event.h17 bool retprobe; /* Return probe flag */
20 /* probe-tracer tracing argument referencing offset */
44 /* Perf probe probing point */
49 bool retprobe; /* Return probe flag */
54 /* Perf probe probing argument field chain */
62 /* Perf probe probing argument */
70 /* Perf probe probing event (point + arg) */
H A Dprobe-finder.h7 #include "probe-event.h"
63 struct perf_probe_event *pev; /* Target probe event */
65 /* Callback when a probe point is found */
H A Dprobe-event.c2 * probe-event.c : perf-probe definition to probe_events format converter
46 #include "probe-event.h"
47 #include "probe-finder.h"
51 #define PERFPROBE_GROUP "probe"
293 * symbol from map, we can translate the address back to the probe point.
446 * Convert trace point to probe point with debuginfo
554 /* Post processing the probe events */ post_process_probe_trace_events()
566 /* Note that currently ref_reloc_sym based probe is not for drivers */ post_process_probe_trace_events()
609 pr_debug("Try to find probe point from debuginfo.\n"); try_to_find_probe_trace_events()
610 /* Searching trace events corresponding to a probe event */ try_to_find_probe_trace_events()
640 if (ntevs == 0) { /* No error but failed to find probe point. */ try_to_find_probe_trace_events()
852 * A probe point might be converted to show_available_vars_at()
878 /* Show available variables on given probe point */ show_available_vars()
1082 * perf probe [EVENT=]SRC[:LN|;PTN] parse_perf_probe_point()
1083 * perf probe [EVENT=]FUNC[@SRC][+OFFS|%return|:LN|;PAT] parse_perf_probe_point()
1212 semantic_error("Return probe requires an entry function.\n"); parse_perf_probe_point()
1218 "return probe.\n"); parse_perf_probe_point()
1228 /* Parse perf-probe event argument */ parse_perf_probe_arg()
1328 /* Parse perf-probe event command */ parse_perf_probe_command()
1340 semantic_error("Too many probe arguments (%d).\n", argc - 1); parse_perf_probe_command()
1344 /* Parse probe point */ parse_perf_probe_command()
1349 /* Copy arguments and ensure return probe has no C argument */ parse_perf_probe_command()
1404 semantic_error("Too few probe arguments.\n"); parse_probe_trace_command()
1431 pr_debug("Group:%s Event:%s probe:%c\n", tev->group, tev->event, pr); parse_probe_trace_command()
1446 /* Only the symbol-based probe has offset */ parse_probe_trace_command()
1486 /* Compose only probe arg */ synthesize_perf_probe_arg()
1525 pr_debug("Failed to synthesize perf probe argument: %d\n", ret); synthesize_perf_probe_arg()
1529 /* Compose only probe point (not argument) */ synthesize_perf_probe_point()
1574 pr_debug("Failed to synthesize perf probe point: %d\n", ret); synthesize_perf_probe_point()
1786 pr_debug("Failed to find probe point from both of dwarf and map.\n"); convert_to_perf_probe_point()
2106 /* Synthesize only event probe point */ show_perf_probe_event()
2168 /* List up current perf-probe events */ show_perf_probe_events()
2203 /* Get current perf-probe event names */ get_probe_trace_event_names()
2248 pr_debug("Failed to synthesize probe trace event.\n"); write_probe_trace_event()
2413 * Probes after the first probe which comes from same __add_probe_trace_events()
2453 * Find probe function addresses from map.
2501 /* Setup result trace-probe-events */ find_probe_trace_events_from_map()
2525 /* Add one probe point */ find_probe_trace_events_from_map()
2658 /* Convert from perf-probe event to trace-probe event */ __del_trace_probe_event()
/linux-4.1.27/arch/x86/mm/
H A Dkmmio.c42 * of a probe. If zero, page is disarmed and this may be freed.
58 struct kmmio_probe *probe; member in struct:kmmio_context
224 * stepping to avoid looking up the probe and kmmio_fault_page kmmio_handler()
234 * another CPU just pulled the kmmio probe from under kmmio_handler()
260 pr_emerg("recursive probe hit on CPU %d, for address 0x%08lx. Ignoring.\n", kmmio_handler()
270 ctx->probe = get_kmmio_probe(addr); kmmio_handler()
274 if (ctx->probe && ctx->probe->pre_handler) kmmio_handler()
275 ctx->probe->pre_handler(ctx->probe, regs, addr); kmmio_handler()
326 if (ctx->probe && ctx->probe->post_handler) post_kmmio_handler()
327 ctx->probe->post_handler(ctx->probe, condition, regs); post_kmmio_handler()
345 * if somebody else is singlestepping across a probe point, flags post_kmmio_handler()
347 * of do_debug, as if this is not a probe hit. post_kmmio_handler()
490 * Remove a kmmio probe. You have to synchronize_rcu() before you can be
533 * because a probe hit might be in flight on another CPU. The unregister_kmmio_probe()
535 * kmmio_page_table when it is certain that no probe hit related to unregister_kmmio_probe()
H A Dmmio-mod.c51 struct kmmio_probe probe; member in struct:remap_trace
162 my_trace->phys = addr - trace->probe.addr + trace->phys; pre()
253 .probe = { ioremap_trace_core()
274 register_kmmio_probe(&trace->probe); ioremap_trace_core()
312 if ((unsigned long)addr == trace->probe.addr) { iounmap_trace_core()
314 unregister_kmmio_probe(&trace->probe); iounmap_trace_core()
368 trace->probe.addr, trace->probe.len); clear_trace_list()
370 unregister_kmmio_probe(&trace->probe); clear_trace_list()
/linux-4.1.27/arch/powerpc/platforms/85xx/
H A Dmpc85xx_rdb.c229 .probe = p2020_rdb_probe, define_machine()
244 .probe = p1020_rdb_probe, define_machine()
259 .probe = p1021_rdb_pc_probe, define_machine()
274 .probe = p2020_rdb_pc_probe, define_machine()
289 .probe = p1025_rdb_probe, define_machine()
304 .probe = p1020_mbg_pc_probe, define_machine()
319 .probe = p1020_utm_pc_probe, define_machine()
334 .probe = p1020_rdb_pc_probe, define_machine()
349 .probe = p1020_rdb_pd_probe, define_machine()
364 .probe = p1024_rdb_probe, define_machine()
H A Dbsc913x_rdb.c60 .probe = bsc9131_rdb_probe, define_machine()
H A Dmpc85xx_ds.c207 .probe = mpc8544_ds_probe, define_machine()
222 .probe = mpc8572_ds_probe, define_machine()
237 .probe = p2020_ds_probe, define_machine()
H A Dxes_mpc85xx.c168 .probe = xes_mpc8572_probe, define_machine()
183 .probe = xes_mpc8548_probe, define_machine()
198 .probe = xes_mpc8540_probe, define_machine()
/linux-4.1.27/kernel/
H A Dtracepoint.c112 /* + 2 : one for new probe, one for NULL func */ func_add()
147 * If probe is NULL, then nr_probes = nr_del = 0, and then the func_remove()
174 * Add the probe function to a tracepoint.
194 * probe callbacks array is consistent before setting a pointer to it. tracepoint_add_func()
207 * Remove a probe function from a tracepoint.
239 * tracepoint_probe_register - Connect a probe to a tracepoint
241 * @probe: probe handler
246 * unregistering the probe before the module is gone. This can be
250 int tracepoint_probe_register(struct tracepoint *tp, void *probe, void *data) tracepoint_probe_register() argument
256 tp_func.func = probe; tracepoint_probe_register()
265 * tracepoint_probe_unregister - Disconnect a probe from a tracepoint
267 * @probe: probe function pointer
272 int tracepoint_probe_unregister(struct tracepoint *tp, void *probe, void *data) tracepoint_probe_unregister() argument
278 tp_func.func = probe; tracepoint_probe_unregister()
348 * teardown is performed. Prevents leaks of probe and data pointers.
H A Dkprobes.c213 * next time somebody inserts a probe. collect_one_slot()
394 /* If kprobe is not aggr/opt probe, just return kprobe is disabled */ kprobe_disarmed()
403 /* Return true(!0) if the probe is queued on (un)optimizing lists */ kprobe_queued()
610 /* This is under unoptimizing. Just dequeue the probe */ optimize_kprobe()
681 /* Enable the probe again */ reuse_unused_kprobe()
704 * for synchronization, this probe is reclaimed. kill_optimized_kprobe()
852 /* Put a breakpoint for a probe. Must be called with text_mutex locked */ __arm_kprobe()
867 /* Remove the breakpoint of a probe. Must be called with text_mutex locked */ __disarm_kprobe()
882 /* TODO: reoptimize others after unoptimized this probe */ __disarm_kprobe()
1039 * probe handler, invoke just that probe's fault handler aggr_fault_handler()
1140 * so that we can recycle any function-return probe instances associated
1204 * Add the new probe to ap->list. Fail if this is the
1280 /* This probe is going to die. Rescue it */ register_aggr_kprobe()
1285 * Attempting to insert new probe at the same location that register_aggr_kprobe()
1286 * had a probe in the module vaddr area which already register_aggr_kprobe()
1288 * released. We need a new slot for the new probe. register_aggr_kprobe()
1343 * fail any probe registration in the prohibited area within_kprobe_blacklist()
1393 /* kprobe p is a valid probe */ __get_valid_kprobe()
1488 /* Adjust probe address from symbol */ register_kprobe()
1550 * There is an active probe on the list. aggr_kprobe_disabled()
1569 /* Disable probe if it is a child probe */ __disable_kprobe()
1573 /* Try to disarm and disable this/parent probe */ __disable_kprobe()
1603 * This probe is an independent(and non-optimized) kprobe __unregister_kprobe_top()
1608 /* Following process expects this probe is an aggrprobe */ __unregister_kprobe_top()
1613 * !disarmed could be happen if the probe is under delayed __unregister_kprobe_top()
1618 /* If disabling probe has special handlers, update aggrprobe */ __unregister_kprobe_top()
1636 * Try to optimize this probe again, because post __unregister_kprobe_top()
1783 * This kprobe pre_handler is registered with every kretprobe. When probe
1784 * hits it will set up the return probe.
1794 * just skip the probe and increase the (inexact) 'nmissed' pre_handler_kretprobe()
1882 /* Establish function entry probe point */ register_kretprobe()
2015 /* Check whether specified probe is valid. */ enable_kprobe()
2112 * The vaddr this probe is installed will soon hlist_for_each_entry_rcu()
2136 /* FIXME allocate the probe table, currently defined statically */ init_kprobes()
/linux-4.1.27/drivers/cpuidle/
H A Dcpuidle-mvebu-v7.c118 .probe = mvebu_v7_cpuidle_probe,
127 .probe = mvebu_v7_cpuidle_probe,
136 .probe = mvebu_v7_cpuidle_probe,
/linux-4.1.27/drivers/gpu/drm/exynos/
H A Dexynos_drm_core.c89 if (subdrv->probe) { exynos_drm_device_subdrv_probe()
93 * this probe callback would be called by sub driver exynos_drm_device_subdrv_probe()
97 err = subdrv->probe(dev, subdrv->dev); exynos_drm_device_subdrv_probe()
99 DRM_DEBUG("exynos drm subdrv probe failed.\n"); exynos_drm_device_subdrv_probe()
/linux-4.1.27/arch/sparc/include/uapi/asm/
H A Djsflash.h16 * Hardcode it or get it from probe ioctl.
/linux-4.1.27/drivers/tty/serial/8250/
H A D8250_accent.c44 MODULE_DESCRIPTION("8250 serial probe module for Accent Async cards");
H A D8250_hub6.c55 MODULE_DESCRIPTION("8250 serial probe module for Hub6 cards");
H A D8250_boca.c58 MODULE_DESCRIPTION("8250 serial probe module for Boca cards");
H A D8250_exar_st16c554.c49 MODULE_DESCRIPTION("8250 serial probe module for Exar cards");
H A D8250_fourport.c50 MODULE_DESCRIPTION("8250 serial probe module for AST Fourport cards");
H A D8250_gsc.c111 .probe = serial_init_chip,
117 .probe = serial_init_chip,
/linux-4.1.27/drivers/usb/musb/
H A Dmusb_am335x.c29 .probe = am335x_child_probe,
/linux-4.1.27/include/linux/
H A Dolpc-ec.h21 int (*probe)(struct platform_device *); member in struct:olpc_ec_driver
H A Disa.h13 int (*probe)(struct device *, unsigned int); member in struct:isa_driver
H A Dplatform_device.h124 * probe hardware directly. Because such drivers create sysfs device nodes
175 int (*probe)(struct platform_device *); member in struct:platform_driver
197 /* non-hotpluggable platform devices may use this so that probe() and
200 #define platform_driver_probe(drv, probe) \
201 __platform_driver_probe(drv, probe, THIS_MODULE)
203 int (*probe)(struct platform_device *), struct module *module);
243 #define platform_create_bundle(driver, probe, res, n_res, data, size) \
244 __platform_create_bundle(driver, probe, res, n_res, data, size, THIS_MODULE)
246 struct platform_driver *driver, int (*probe)(struct platform_device *),
H A Dkprobes.h79 /*count the number of times this probe was temporarily disarmed */
82 /* location of the probe point */
85 /* Allow user to indicate symbol name of the probe point */
104 * ... called if breakpoint trap occurs in probe handler.
124 #define KPROBE_FLAG_DISABLED 2 /* probe is temporarily disabled */
126 * probe is really optimized.
130 #define KPROBE_FLAG_FTRACE 8 /* probe is using ftrace */
157 * Special probe type that uses setjmp-longjmp type tricks to resume
160 * accessible seamlessly by probe handling logic.
168 void *entry; /* probe handling code to jump to */
175 * Function-return probe -
300 * Internal structure for direct jump optimized probe
H A Dmcb.h79 * @probe: probe callback
86 int (*probe)(struct mcb_device *mdev, const struct mcb_device_id *id); member in struct:mcb_driver
H A Derrno.h18 #define EPROBE_DEFER 517 /* Driver requests probe retry */
H A Dmei_cl_bus.h16 int (*probe)(struct mei_cl_device *dev, member in struct:mei_cl_driver
H A Dmmiotrace.h18 /* start location of the probe point: */
20 /* length of the probe region: */
H A Dtracepoint.h48 tracepoint_probe_register(struct tracepoint *tp, void *probe, void *data);
50 tracepoint_probe_unregister(struct tracepoint *tp, void *probe, void *data);
83 * probe unregistration and the end of module exit to make sure there is no
84 * caller executing a probe when it is freed.
195 register_trace_##name(void (*probe)(data_proto), void *data) \
198 (void *)probe, data); \
201 unregister_trace_##name(void (*probe)(data_proto), void *data) \
204 (void *)probe, data); \
246 register_trace_##name(void (*probe)(data_proto), \
252 unregister_trace_##name(void (*probe)(data_proto), \
H A Dioc3.h45 int active[IOC3_MAX_SUBMODULES]; /* set if probe succeeds */
60 int (*probe) (struct ioc3_submodule *, struct ioc3_driver_data *); member in struct:ioc3_submodule
H A Dmic_bus.h62 * @probe: the function to call when a device is found. Returns 0 or -errno.
68 int (*probe)(struct mbus_device *dev); member in struct:mbus_driver
H A Dhid.h637 * @id_table: which devices is this driver for (must be non-NULL for probe
641 * @probe: new device inserted
657 * probe should return -errno on error, or 0 on success. During probe,
681 int (*probe)(struct hid_device *dev, const struct hid_device_id *id); member in struct:hid_driver
717 * @start: called on probe to start the device
820 * hid_device_io_start - enable HID input during probe, remove
824 * This should only be called during probe or remove and only be
825 * called by the thread calling probe or remove. It will allow
838 * hid_device_io_stop - disable HID input during probe, remove
844 * probe, remove. If called during probe, packets will still go to the
845 * driver after probe is complete. This function should only be called
846 * by the thread calling probe or remove.
915 * Call this from probe after you set up the device (if needed). Your
930 * Call this in probe function *after* hid_parse. This will setup HW buffers
951 * This is usually called from remove function or from probe when something
/linux-4.1.27/arch/sh/kernel/cpu/sh4/
H A DMakefile5 obj-y := probe.o common.o
/linux-4.1.27/arch/mips/kernel/
H A D8250-platform.c46 MODULE_DESCRIPTION("Generic 8250 UART probe driver");
/linux-4.1.27/arch/frv/include/asm/
H A Dirq.h20 /* probe returns a 32-bit IRQ mask:-/ */
/linux-4.1.27/net/dccp/
H A DMakefile28 dccp_probe-y := probe.o
/linux-4.1.27/sound/soc/codecs/
H A Dad193x-i2c.c46 .probe = ad193x_i2c_probe,
H A Dad193x-spi.c41 .probe = ad193x_spi_probe,
H A Dadav801.c44 .probe = adav80x_spi_probe,
H A Dadav803.c41 .probe = adav803_probe,
H A Dssm2602-spi.c41 .probe = ssm2602_spi_probe,
H A Dadau1761-i2c.c52 .probe = adau1761_i2c_probe,
H A Dadau1781-i2c.c50 .probe = adau1781_i2c_probe,
H A Dadau1977-i2c.c51 .probe = adau1977_i2c_probe,
H A Dcs42l51-i2c.c51 .probe = cs42l51_i2c_probe,
H A Dcs42xx8-i2c.c55 .probe = cs42xx8_i2c_probe,
H A Des8328-i2c.c51 .probe = es8328_i2c_probe,
H A Des8328-spi.c42 .probe = es8328_spi_probe,
H A Dssm2602-i2c.c58 .probe = ssm2602_i2c_probe,
H A Dtlv320aic23-spi.c48 .probe = aic23_spi_probe,
H A Dwm8804-i2c.c56 .probe = wm8804_i2c_probe,
H A Dwm8804-spi.c49 .probe = wm8804_spi_probe,
H A Dac97.c120 .probe = ac97_soc_probe,
147 .probe = ac97_probe,
H A Dmax98357a.c76 .probe = max98357a_codec_probe,
139 .probe = max98357a_platform_probe,
/linux-4.1.27/drivers/media/usb/gspca/gl860/
H A Dgl860.c327 /* This function is called at probe time */ sd_config()
395 /* This function is called at probe time after sd_config */ sd_init()
535 .probe = sd_probe,
640 u8 probe, nb26, nb96, nOV, ntry; gl860_guess_sensor() local
646 ctrl_in(gspca_dev, 0xc0, 2, 0x0000, 0x0004, 1, &probe); gl860_guess_sensor()
647 ctrl_in(gspca_dev, 0xc0, 2, 0x0000, 0x0004, 1, &probe); gl860_guess_sensor()
673 ctrl_in(gspca_dev, 0xc0, 2, 0x7a00, 0x8030, 1, &probe); gl860_guess_sensor()
674 PDEBUG(D_PROBE, "probe=0x%02x", probe); gl860_guess_sensor()
675 if (probe == 0xff) gl860_guess_sensor()
694 1, &probe); gl860_guess_sensor()
696 if (probe == 0x26 || probe == 0x40) { gl860_guess_sensor()
698 "probe=0x%02x -> OV2640", gl860_guess_sensor()
699 probe); gl860_guess_sensor()
704 if (probe == 0x96 || probe == 0x55) { gl860_guess_sensor()
706 "probe=0x%02x -> OV9655", gl860_guess_sensor()
707 probe); gl860_guess_sensor()
712 PDEBUG(D_PROBE, "probe=0x%02x", probe); gl860_guess_sensor()
713 if (probe == 0x00) gl860_guess_sensor()
715 if (probe == 0xff) gl860_guess_sensor()
/linux-4.1.27/drivers/leds/
H A Dleds-net48xx.c52 .probe = net48xx_led_probe,
63 /* small hack, but scx200_gpio doesn't set .dev if the probe fails */ net48xx_led_init()
H A Dleds-rb532.c52 .probe = rb532_led_probe,
H A Dleds-cobalt-qube.c75 .probe = cobalt_qube_led_probe,
H A Dleds-hp6xx.c82 .probe = hp6xxled_probe,
H A Dleds-locomo.c85 .probe = locomoled_probe,
/linux-4.1.27/drivers/s390/block/
H A Dscm_drv.c40 SCM_LOG(2, "probe"); scm_probe()
79 .probe = scm_probe,
/linux-4.1.27/drivers/net/wireless/cw1200/
H A Dscan.h37 /* Direct probe requests workaround */
53 /* Raw probe requests TX workaround */
/linux-4.1.27/samples/kprobes/
H A Djprobe_example.c20 * Jumper probe for do_fork.
22 * from the probe handler.
H A Dkretprobe_example.c52 * Return-probe handler: Log the return value and duration. Duration may turn
89 printk(KERN_INFO "Planted return probe at %s: %p\n", kretprobe_init()
/linux-4.1.27/sound/soc/sirf/
H A Dsirf-audio-port.c28 .probe = sirf_audio_port_dai_probe,
79 .probe = sirf_audio_port_probe,
/linux-4.1.27/drivers/mtd/maps/
H A Dscx200_docflash.c26 static int probe = 0; /* Don't autoprobe */ variable
31 module_param(probe, int, 0);
32 MODULE_PARM_DESC(probe, "Probe for a BIOS mapping");
38 MODULE_PARM_DESC(flashtype, "Type of MTD probe to do");
96 if (probe) { init_scx200_docflash()
H A Dphysmap_of.c75 * compatible binding, which has an extra "probe-type" property
76 * describing the type of flash probe necessary. */ obsolete_probe()
88 of_probe = of_get_property(dp, "probe-type", NULL); obsolete_probe()
102 dev_warn(&dev->dev, "obsolete_probe: don't know probe " obsolete_probe()
108 /* When partitions are set we look for a linux,part-probe property which
123 cp = of_get_property(dp, "linux,part-probe", &cplen); of_get_probes()
340 * bypass the heuristic probe code, but the mtd layer
367 .probe = of_flash_probe,
H A Dplat-ram.c128 dev_dbg(&pdev->dev, "probe entered\n"); platram_probe()
194 /* probe for the right mtd map driver platram_probe()
208 dev_err(&pdev->dev, "failed to probe for map_ram\n"); platram_probe()
250 .probe = platram_probe,
/linux-4.1.27/drivers/net/
H A DSpace.c37 /* A unified ethernet device probe. This is the easiest way to have every
42 struct net_device *(*probe)(int unit); member in struct:devprobe2
49 for (; p->probe; p++) { probe_list2()
52 dev = p->probe(unit); probe_list2()
127 * Unified ethernet device probe, segmented per architecture and
/linux-4.1.27/net/xfrm/
H A Dxfrm_algo.c617 const void *data, int probe) xfrm_find_algo()
629 if (!probe) xfrm_find_algo()
679 struct xfrm_algo_desc *xfrm_aalg_get_byname(const char *name, int probe) xfrm_aalg_get_byname() argument
682 probe); xfrm_aalg_get_byname()
686 struct xfrm_algo_desc *xfrm_ealg_get_byname(const char *name, int probe) xfrm_ealg_get_byname() argument
689 probe); xfrm_ealg_get_byname()
693 struct xfrm_algo_desc *xfrm_calg_get_byname(const char *name, int probe) xfrm_calg_get_byname() argument
696 probe); xfrm_calg_get_byname()
715 struct xfrm_algo_desc *xfrm_aead_get_byname(const char *name, int icv_len, int probe) xfrm_aead_get_byname() argument
723 probe); xfrm_aead_get_byname()
614 xfrm_find_algo( const struct xfrm_algo_list *algo_list, int match(const struct xfrm_algo_desc *entry, const void *data), const void *data, int probe) xfrm_find_algo() argument
/linux-4.1.27/drivers/mtd/chips/
H A Dgen_probe.c26 /* First probe the map to see if we have CFI stuff there. */ mtd_do_chip_probe()
72 /* The probe didn't like it */ genprobe_ident_chips()
78 #if 0 /* Let the CFI probe routine do this sanity check. The Intel and AMD genprobe_ident_chips()
79 probe routines won't ever return a broken CFI structure anyway, genprobe_ident_chips()
124 * Now probe for other chips, checking sensibly for aliases while genprobe_ident_chips()
125 * we're at it. The new_chip probe above should have let the first genprobe_ident_chips()
264 MODULE_DESCRIPTION("Helper routines for flash chip probe code");
H A Dchipreg.c70 ret = drv->probe(map); do_map_probe()
73 probe-only module, which is no longer required from this do_map_probe()
H A Dmap_absent.c8 * registration of MTD device nodes regardless of probe outcome.
38 .probe = map_absent_probe,
/linux-4.1.27/drivers/isdn/sc/
H A Dinit.c76 * See if we should probe for IO base sc_init()
78 pr_debug("I/O Base for board %d is 0x%x, %s probe\n", b, io[b], sc_init()
109 * Yes, probe for I/O Base sc_init()
112 pr_debug("All probe addresses exhausted, skipping\n"); sc_init()
119 probe_exhasted = 1; /* No more addresses to probe */ sc_init()
150 * See if we should probe for shared RAM sc_init()
153 pr_debug("Doing a SAFE probe reset\n"); sc_init()
157 pr_debug("RAM Base for board %d is 0x%lx, %s probe\n", b, sc_init()
173 * Yes, probe for free RAM and look for sc_init()
/linux-4.1.27/drivers/media/usb/gspca/m5602/
H A Dm5602_core.c210 if (!sd->sensor->probe(sd)) m5602_probe_sensor()
215 if (!sd->sensor->probe(sd)) m5602_probe_sensor()
220 if (!sd->sensor->probe(sd)) m5602_probe_sensor()
225 if (!sd->sensor->probe(sd)) m5602_probe_sensor()
230 if (!sd->sensor->probe(sd)) m5602_probe_sensor()
235 if (!sd->sensor->probe(sd)) m5602_probe_sensor()
238 /* More sensor probe function goes here */ m5602_probe_sensor()
364 /* this function is called at probe time */ m5602_configure()
413 .probe = m5602_probe,
/linux-4.1.27/drivers/mtd/nand/
H A Dplat_nand.c86 if (pdata->ctrl.probe) { plat_nand_probe()
87 err = pdata->ctrl.probe(pdev); plat_nand_probe()
137 .probe = plat_nand_probe,
/linux-4.1.27/drivers/pwm/
H A Dpwm-ab8500.c95 * Nothing to be done in probe, this is required to get the ab8500_pwm_probe()
111 dev_dbg(&pdev->dev, "pwm probe successful\n"); ab8500_pwm_probe()
135 .probe = ab8500_pwm_probe,
/linux-4.1.27/drivers/dio/
H A Ddio-driver.c53 if (!d->driver && drv->probe) { dio_device_probe()
58 error = drv->probe(d, id); dio_device_probe()
129 .probe = dio_device_probe,
/linux-4.1.27/drivers/uio/
H A Duio_pci_generic.c56 static int probe(struct pci_dev *pdev, probe() function
120 .probe = probe,
H A Duio_aec.c81 static int probe(struct pci_dev *pdev, const struct pci_device_id *id) probe() function
158 .probe = probe,
/linux-4.1.27/drivers/usb/chipidea/
H A Dci_hdrc_pci.c49 * ci_hdrc_pci_probe: PCI probe
132 * Note: ehci-pci driver may try to probe the device first. You have to add an
164 .probe = ci_hdrc_pci_probe,
H A Dci_hdrc_zevio.c60 .probe = ci_hdrc_zevio_probe,
/linux-4.1.27/drivers/video/backlight/
H A Dplatform_lcd.c89 if (pdata->probe) { platform_lcd_probe()
90 err = pdata->probe(pdata); platform_lcd_probe()
154 .probe = platform_lcd_probe,
/linux-4.1.27/drivers/watchdog/
H A Dintel-mid_wdt.c125 if (pdata->probe) { mid_wdt_probe()
126 ret = pdata->probe(pdev); mid_wdt_probe()
172 .probe = mid_wdt_probe,
/linux-4.1.27/sound/soc/samsung/
H A Ds3c-i2s-v2.h39 * @dev: The parent device passed to use from the probe.
85 * s3c_i2sv2_probe - probe for i2s device helper
86 * @dai: The ASoC DAI structure supplied to the original probe.
H A Ds3c2412-i2s.c130 .probe = s3c2412_i2s_probe,
180 .probe = s3c2412_iis_dev_probe,
/linux-4.1.27/drivers/iio/accel/
H A Dst_accel_spi.c69 .probe = st_accel_spi_probe,
H A Dst_accel_i2c.c125 .probe = st_accel_i2c_probe,
/linux-4.1.27/drivers/iio/gyro/
H A Dst_gyro_spi.c66 .probe = st_gyro_spi_probe,
H A Dst_gyro_i2c.c106 .probe = st_gyro_i2c_probe,
/linux-4.1.27/drivers/iio/magnetometer/
H A Dst_magn_spi.c63 .probe = st_magn_spi_probe,
H A Dst_magn_i2c.c87 .probe = st_magn_i2c_probe,
/linux-4.1.27/drivers/iio/pressure/
H A Dst_pressure_spi.c62 .probe = st_press_spi_probe,
H A Dst_pressure_i2c.c86 .probe = st_press_i2c_probe,
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_platform.c74 * Description: platform_device probe function. It allocates
106 pr_err("%s: main dt probe failed\n", __func__); sxgbe_platform_probe()
113 pr_err("%s: main driver probe failed\n", __func__); sxgbe_platform_probe()
232 .probe = sxgbe_platform_probe,
/linux-4.1.27/drivers/scsi/
H A Deata_pio.h33 #define DBG_PROBE 0 /* Debug probe routines. */
/linux-4.1.27/drivers/sh/superhyway/
H A Dsuperhyway.c142 if (shyway_drv && shyway_drv->probe) { superhyway_device_probe()
147 return shyway_drv->probe(shyway_dev, id); superhyway_device_probe()
171 * automatically be populated and handed off to the driver's specified probe
214 .probe = superhyway_device_probe,
/linux-4.1.27/drivers/clk/x86/
H A Dclk-lpt.c46 .probe = lpt_clk_probe,
/linux-4.1.27/arch/x86/platform/intel-mid/device_libs/
H A Dplatform_wdt.c49 .probe = tangier_probe,
/linux-4.1.27/arch/xtensa/include/asm/
H A Dtlbflush.h78 static inline void invalidate_itlb_entry (unsigned long probe) invalidate_itlb_entry() argument
80 __asm__ __volatile__("iitlb %0; isync\n\t" : : "a" (probe)); invalidate_itlb_entry()
83 static inline void invalidate_dtlb_entry (unsigned long probe) invalidate_dtlb_entry() argument
85 __asm__ __volatile__("idtlb %0; dsync\n\t" : : "a" (probe)); invalidate_dtlb_entry()
/linux-4.1.27/arch/sparc/kernel/
H A Dpower.c63 .probe = power_probe,
/linux-4.1.27/drivers/bus/
H A Dsimple-pm-bus.c46 .probe = simple_pm_bus_probe,
/linux-4.1.27/arch/mips/include/asm/
H A Dgio_device.h26 int (*probe)(struct gio_device *, const struct gio_device_id *); member in struct:gio_driver
H A Dcdmm.h33 * @probe Callback for probing newly discovered devices.
44 int (*probe)(struct mips_cdmm_device *); member in struct:mips_cdmm_driver
/linux-4.1.27/arch/mips/include/asm/mach-loongson/
H A Dcpu-feature-overrides.h11 * arch/mips/kernel/cpu-probe.c(cpu_probe_legacy),
/linux-4.1.27/drivers/ata/
H A Dpata_legacy.c32 * QDI65x0 probe code based on drivers/ide/legacy/qd65xx.c
122 int (*setup)(struct platform_device *, struct legacy_probe *probe,
143 /* Set to probe QDI controllers */
151 static int winbond = 1; /* Set to probe Winbond controllers,
154 static int winbond; /* Set to probe Winbond controllers,
159 * legacy_probe_add - Add interface to probe list
165 * Add an entry into the probe list for ATA controllers. This is used
863 * @probe: Probe entry to check
869 static __init int probe_chip_type(struct legacy_probe *probe) probe_chip_type() argument
871 int mask = 1 << probe->slot; probe_chip_type()
873 if (winbond && (probe->port == 0x1F0 || probe->port == 0x170)) { probe_chip_type()
889 if (probe->port == 0x1F0) { probe_chip_type()
937 * @pl: probe record
943 static __init int legacy_init_one(struct legacy_probe *probe) legacy_init_one() argument
945 struct legacy_controller *controller = &controllers[probe->type]; legacy_init_one()
947 unsigned long io = probe->port; legacy_init_one()
948 u32 mask = (1 << probe->slot); legacy_init_one()
950 struct legacy_data *ld = &legacy_data[probe->slot]; legacy_init_one()
961 pdev = platform_device_register_simple(DRV_NAME, probe->slot, NULL, 0); legacy_init_one()
976 ld->type = probe->type; legacy_init_one()
978 if (controller->setup(pdev, probe, ld) < 0) legacy_init_one()
997 ret = ata_host_activate(host, probe->irq, ata_sff_interrupt, 0, legacy_init_one()
1009 legacy_host[probe->slot] = host; legacy_init_one()
1206 /* If PCI bus is present then don't probe for tertiary for_each_pci_dev()
H A Dpata_acpi.c75 struct ata_acpi_gtm probe; pacpi_discover_modes() local
78 probe = acpi->gtm; pacpi_discover_modes()
80 ata_acpi_gtm(ap, &probe); pacpi_discover_modes()
82 xfer_mask = ata_acpi_gtm_xfermask(adev, &probe); pacpi_discover_modes()
266 .probe = pacpi_init_one,
H A Dpata_opti.c46 * opti_pre_reset - probe begin
50 * Set up cable type and use generic probe init
185 .probe = opti_init_one,
/linux-4.1.27/arch/powerpc/platforms/40x/
H A Dvirtex.c50 .probe = virtex_probe, define_machine()
/linux-4.1.27/arch/powerpc/platforms/512x/
H A Dmpc512x_generic.c46 .probe = mpc512x_generic_probe, define_machine()
/linux-4.1.27/arch/powerpc/platforms/83xx/
H A Dasp834x.c52 .probe = asp834x_probe, define_machine()
H A Dmpc831x_rdb.c56 .probe = mpc831x_rdb_probe, define_machine()
H A Dmpc836x_rdk.c55 .probe = mpc836x_rdk_probe, define_machine()
/linux-4.1.27/arch/powerpc/platforms/chrp/
H A Dsmp.c48 .probe = smp_mpic_probe,
/linux-4.1.27/arch/sh/kernel/cpu/sh3/
H A DMakefile5 obj-y := ex.o probe.o entry.o setup-sh3.o
/linux-4.1.27/arch/mips/lantiq/xway/
H A Ddcdc.c46 .probe = dcdc_probe,
H A Dvmmc.c61 .probe = vmmc_probe,
/linux-4.1.27/arch/c6x/kernel/
H A Dtime.c64 /* probe for timer64 event timer */ time_init()
/linux-4.1.27/arch/arm/mach-omap2/
H A Dhsmmc.h19 bool deferred; /* mmc needs a deferred probe */
/linux-4.1.27/arch/arm/include/asm/mach/
H A Dflash.h17 * map_name: the map probe function name
/linux-4.1.27/sound/soc/au1x/
H A Ddb1000.c56 .probe = db1000_audio_probe,
/linux-4.1.27/include/linux/dma/
H A Dhsu.h28 * @hsu: struct hsu_dma that is filed by ->probe()
/linux-4.1.27/fs/afs/
H A Dafs_cm.h21 CBProbe = 206, /* probe client */
/linux-4.1.27/drivers/media/radio/
H A Dradio-gemtek.c60 static bool probe = CONFIG_RADIO_GEMTEK_PROBE; variable
66 module_param(probe, bool, 0444);
67 MODULE_PARM_DESC(probe, "Enable automatic device probing.");
279 .probe = gemtek_probe,
300 .probe = radio_isa_probe,
310 .probe = radio_isa_pnp_probe,
326 gemtek_driver.probe = probe; gemtek_init()
H A Dradio-isa.h60 bool (*probe)(struct radio_isa_card *isa, int io); member in struct:radio_isa_ops
88 /* Whether we should probe for possible cards */
89 bool probe; member in struct:radio_isa_driver
/linux-4.1.27/drivers/staging/iio/addac/
H A Dadt7316-i2c.c92 * device probe and remove
129 .probe = adt7316_i2c_probe,
H A Dadt7316-spi.c89 * device probe and remove
137 .probe = adt7316_spi_probe,
/linux-4.1.27/drivers/clk/
H A Dclk-max77802.c59 dev_err(&pdev->dev, "generic probe failed %d\n", ret); max77802_clk_probe()
88 .probe = max77802_clk_probe,
/linux-4.1.27/drivers/hwmon/
H A Dibmaem.c536 static int aem_init_aem1_inst(struct aem_ipmi_data *probe, u8 module_handle) aem_init_aem1_inst() argument
571 res = aem_init_ipmi_data(&data->ipmi, probe->interface, aem_init_aem1_inst()
572 probe->bmc_device); aem_init_aem1_inst()
581 probe->interface); aem_init_aem1_inst()
624 static void aem_init_aem1(struct aem_ipmi_data *probe) aem_init_aem1() argument
628 num = aem_find_aem1_count(probe); aem_init_aem1()
630 err = aem_init_aem1_inst(probe, i); aem_init_aem1()
632 dev_err(probe->bmc_device, aem_init_aem1()
675 static int aem_init_aem2_inst(struct aem_ipmi_data *probe, aem_init_aem2_inst() argument
711 res = aem_init_ipmi_data(&data->ipmi, probe->interface, aem_init_aem2_inst()
712 probe->bmc_device); aem_init_aem2_inst()
721 probe->interface); aem_init_aem2_inst()
764 static void aem_init_aem2(struct aem_ipmi_data *probe) aem_init_aem2() argument
770 while (!aem_find_aem2(probe, &fi_resp, i)) { aem_init_aem2()
772 dev_err(probe->bmc_device, aem_init_aem2()
778 err = aem_init_aem2_inst(probe, &fi_resp); aem_init_aem2()
780 dev_err(probe->bmc_device, aem_init_aem2()
791 struct aem_ipmi_data probe; aem_register_bmc() local
793 if (aem_init_ipmi_data(&probe, iface, dev)) aem_register_bmc()
796 /* Ignore probe errors; they won't cause problems */ aem_register_bmc()
797 aem_init_aem1(&probe); aem_register_bmc()
798 aem_init_aem2(&probe); aem_register_bmc()
800 ipmi_destroy_user(probe.user); aem_register_bmc()
1020 /* Sensor probe functions */
/linux-4.1.27/drivers/media/usb/uvc/
H A Duvc_v4l2.c146 struct v4l2_format *fmt, struct uvc_streaming_control *probe, uvc_v4l2_try_format()
217 memset(probe, 0, sizeof *probe); uvc_v4l2_try_format()
218 probe->bmHint = 1; /* dwFrameInterval */ uvc_v4l2_try_format()
219 probe->bFormatIndex = format->index; uvc_v4l2_try_format()
220 probe->bFrameIndex = frame->bFrameIndex; uvc_v4l2_try_format()
221 probe->dwFrameInterval = uvc_try_frame_interval(frame, interval); uvc_v4l2_try_format()
222 /* Some webcams stall the probe control set request when the uvc_v4l2_try_format()
236 probe->dwMaxVideoFrameSize = uvc_v4l2_try_format()
240 ret = uvc_probe_video(stream, probe); uvc_v4l2_try_format()
249 fmt->fmt.pix.sizeimage = probe->dwMaxVideoFrameSize; uvc_v4l2_try_format()
298 struct uvc_streaming_control probe; uvc_v4l2_set_format() local
306 ret = uvc_v4l2_try_format(stream, fmt, &probe, &format, &frame); uvc_v4l2_set_format()
317 stream->ctrl = probe; uvc_v4l2_set_format()
364 struct uvc_streaming_control probe; uvc_v4l2_set_streamparm() local
389 probe = stream->ctrl; uvc_v4l2_set_streamparm()
390 probe.dwFrameInterval = uvc_v4l2_set_streamparm()
394 ret = uvc_probe_video(stream, &probe); uvc_v4l2_set_streamparm()
400 stream->ctrl = probe; uvc_v4l2_set_streamparm()
404 timeperframe.numerator = probe.dwFrameInterval; uvc_v4l2_set_streamparm()
665 struct uvc_streaming_control probe; uvc_ioctl_try_fmt_vid_cap() local
667 return uvc_v4l2_try_format(stream, fmt, &probe, NULL, NULL); uvc_ioctl_try_fmt_vid_cap()
675 struct uvc_streaming_control probe; uvc_ioctl_try_fmt_vid_out() local
677 return uvc_v4l2_try_format(stream, fmt, &probe, NULL, NULL); uvc_ioctl_try_fmt_vid_out()
145 uvc_v4l2_try_format(struct uvc_streaming *stream, struct v4l2_format *fmt, struct uvc_streaming_control *probe, struct uvc_format **uvc_format, struct uvc_frame **uvc_frame) uvc_v4l2_try_format() argument
H A Duvc_video.c159 struct uvc_streaming_control *ctrl, int probe, __u8 query) uvc_get_video_ctrl()
175 probe ? UVC_VS_PROBE_CONTROL : UVC_VS_COMMIT_CONTROL, data, uvc_get_video_ctrl()
190 } else if (query == UVC_GET_DEF && probe == 1 && ret != size) { uvc_get_video_ctrl()
192 * video probe control. Warn once and return, the caller will uvc_get_video_ctrl()
202 "%d (exp. %u).\n", query, probe ? "probe" : "commit", uvc_get_video_ctrl()
247 struct uvc_streaming_control *ctrl, int probe) uvc_set_video_ctrl()
279 probe ? UVC_VS_PROBE_CONTROL : UVC_VS_COMMIT_CONTROL, data, uvc_set_video_ctrl()
283 "%d (exp. %u).\n", probe ? "probe" : "commit", uvc_set_video_ctrl()
293 struct uvc_streaming_control *probe) uvc_probe_video()
307 ret = uvc_set_video_ctrl(stream, probe, 1); uvc_probe_video()
320 probe->wCompQuality = probe_max.wCompQuality; uvc_probe_video()
324 ret = uvc_set_video_ctrl(stream, probe, 1); uvc_probe_video()
327 ret = uvc_get_video_ctrl(stream, probe, 1, UVC_GET_CUR); uvc_probe_video()
334 bandwidth = probe->dwMaxPayloadTransferSize; uvc_probe_video()
344 probe->wKeyFrameRate = probe_min.wKeyFrameRate; uvc_probe_video()
345 probe->wPFrameRate = probe_min.wPFrameRate; uvc_probe_video()
346 probe->wCompQuality = probe_max.wCompQuality; uvc_probe_video()
347 probe->wCompWindowSize = probe_min.wCompWindowSize; uvc_probe_video()
355 struct uvc_streaming_control *probe) uvc_commit_video()
357 return uvc_set_video_ctrl(stream, probe, 0); uvc_commit_video()
1763 struct uvc_streaming_control *probe = &stream->ctrl; uvc_video_init() local
1783 /* Set the streaming probe control with default streaming parameters uvc_video_init()
1785 * requests on the probe control will just keep their current streaming uvc_video_init()
1788 if (uvc_get_video_ctrl(stream, probe, 1, UVC_GET_DEF) == 0) uvc_video_init()
1789 uvc_set_video_ctrl(stream, probe, 1); uvc_video_init()
1791 /* Initialize the streaming parameters with the probe control current uvc_video_init()
1794 * request on the probe control, as required by the UVC specification. uvc_video_init()
1796 ret = uvc_get_video_ctrl(stream, probe, 1, UVC_GET_CUR); uvc_video_init()
1805 if (format->index == probe->bFormatIndex) uvc_video_init()
1822 if (frame->bFrameIndex == probe->bFrameIndex) uvc_video_init()
1826 probe->bFormatIndex = format->index; uvc_video_init()
1827 probe->bFrameIndex = frame->bFrameIndex; uvc_video_init()
158 uvc_get_video_ctrl(struct uvc_streaming *stream, struct uvc_streaming_control *ctrl, int probe, __u8 query) uvc_get_video_ctrl() argument
246 uvc_set_video_ctrl(struct uvc_streaming *stream, struct uvc_streaming_control *ctrl, int probe) uvc_set_video_ctrl() argument
292 uvc_probe_video(struct uvc_streaming *stream, struct uvc_streaming_control *probe) uvc_probe_video() argument
354 uvc_commit_video(struct uvc_streaming *stream, struct uvc_streaming_control *probe) uvc_commit_video() argument
/linux-4.1.27/arch/arm/probes/kprobes/
H A Dtest-core.c44 * post-handler of the test_before probe is used to modify the saved CPU
46 * pre-handler of the of the test_after probe saves a copy of the CPU
53 * by the test_after probe will be identical to the first run which didn't
54 * have a probe on test_case.
59 * For instructions which can modify PC, a second test_after probe is used
138 * 50: nop @ location for 'test_before' probe
140 * nop @ location for 'test_after' probe
156 * When the test case code executes, the test_before probe will be hit and
162 * When the test_before probe ends, the test case continues and executes
163 * the "mov r0, r7" instruction. It then hits the test_after probe and the
365 pr_err("FAIL: probe called after unregistering\n"); test_kprobe()
409 pr_err("FAIL: probe called after unregistering\n"); test_jprobe()
1219 static void unregister_test_probe(struct test_probe *probe) unregister_test_probe() argument
1221 if (probe->registered) { unregister_test_probe()
1222 unregister_kprobe(&probe->kprobe); unregister_test_probe()
1223 probe->kprobe.flags = 0; /* Clear disable flag to allow reuse */ unregister_test_probe()
1225 probe->registered = false; unregister_test_probe()
1228 static int register_test_probe(struct test_probe *probe) register_test_probe() argument
1232 if (probe->registered) register_test_probe()
1235 ret = register_kprobe(&probe->kprobe); register_test_probe()
1237 probe->registered = true; register_test_probe()
1238 probe->hit = -1; register_test_probe()
1444 test_case_failed("registered probe for unsupported instruction"); kprobes_test_case_start()
1451 test_case_failed("couldn't register probe for supported instruction"); kprobes_test_case_start()
1547 * Even numbered test runs ran without a probe on the test case so kprobes_test_case_end()
1549 * will have the probe inserted. kprobes_test_case_end()
1552 /* Save results from run without probe */ kprobes_test_case_end()
1557 /* Insert probe onto test case instruction */ kprobes_test_case_end()
1563 /* Check probe ran as expected */ kprobes_test_case_end()
1576 /* Remove probe for any subsequent reference run */ kprobes_test_case_end()
/linux-4.1.27/arch/powerpc/kernel/
H A Dkprobes.c170 * another probe was hit while within the handler. kprobe_handler()
172 * just single step on the instruction of the new probe kprobe_handler()
276 * Function return probe trampoline:
278 * - When the probed function returns, this probe
289 * Called when the probe at kretprobe trampoline is hit
306 * have a return probe installed on them, and/or more than one return trampoline_probe_handler()
307 * return probe was registered for a target function. trampoline_probe_handler()
394 * if somebody else is singlestepping across a probe point, msr post_kprobe_handler()
396 * of do_debug, as if this is not a probe hit. post_kprobe_handler()
416 * kprobe and the nip points back to the probe address kprobe_fault_handler()
H A Dof_platform.c83 * whether we are doing probe-only or not, like assigning unassigned of_pci_phb_probe()
110 .probe = of_pci_phb_probe,
H A Dpci-hotplug.c88 /* use ofdt-based probe */ pcibios_add_pci_devices()
92 * Use legacy probe. In the partial hotplug case, we pcibios_add_pci_devices()
/linux-4.1.27/drivers/rapidio/
H A Drio-driver.c25 * Used from driver probe and bus matching to check whether a RIO device
54 * their probe() methods, when they bind to a device, and release
93 if (!rdev->driver && rdrv->probe) { rio_device_probe()
99 error = rdrv->probe(rdev, id); rio_device_probe()
230 .probe = rio_device_probe,
/linux-4.1.27/drivers/net/can/sja1000/
H A Dtscan1.c155 /* SJA1000 probe succeeded; turn LED off and return */ tscan1_probe()
162 /* SJA1000 probe failed; release and try next address */ tscan1_probe()
199 .probe = tscan1_probe,
/linux-4.1.27/drivers/media/pci/bt8xx/
H A Dbttv-gpio.c58 return sub->probe ? sub->probe(sdev) : -ENODEV; bttv_sub_probe()
74 .probe = bttv_sub_probe,
/linux-4.1.27/drivers/media/pci/cx18/
H A Dcx18-cards.h112 unsigned short radio[2];/* radio tuner i2c address to probe */
113 unsigned short demod[3];/* demodulator i2c address to probe */
114 unsigned short tv[4]; /* tv tuner i2c addresses to probe */
/linux-4.1.27/drivers/s390/cio/
H A Dcss.h71 * @probe: function called on probe
87 int (*probe)(struct subchannel *); member in struct:css_driver
/linux-4.1.27/drivers/uwb/
H A Dumc-bus.c58 * If this is called while a probe() or remove() is in progress it
144 err = umc_driver->probe(umc); umc_device_probe()
192 .probe = umc_device_probe,
/linux-4.1.27/arch/alpha/kernel/
H A Derr_ev6.c67 printk("%s Dcache tag parity error on probe\n", ev6_parse_mbox()
108 #define EV6__C_STAT__PROBE_BC_ERR1 (0x07) /* ...probe bc error. */ ev6_parse_cbox()
151 printk("%s Bcache single-bit error on a probe hit\n", ev6_parse_cbox()
/linux-4.1.27/kernel/irq/
H A Dautoprobe.c111 * autodetect interrupts. The interrupt probe logic state
151 * The interrupt probe logic state is returned to its previous
155 * nothing prevents two IRQ probe callers from overlapping. The
/linux-4.1.27/sound/aoa/soundbus/
H A Dcore.c46 if (!drv->probe) soundbus_probe()
51 error = drv->probe(soundbus_dev); soundbus_probe()
155 .probe = soundbus_probe,
/linux-4.1.27/sound/soc/pxa/
H A Dpxa2xx-ac97.c220 dev_err(&pdev->dev, "PXA2xx AC97 hw probe error (%d)\n", ret); pxa2xx_ac97_dev_probe()
228 /* Punt most of the init to the SoC probe; we may need the machine pxa2xx_ac97_dev_probe()
260 .probe = pxa2xx_ac97_dev_probe,
/linux-4.1.27/drivers/zorro/
H A Dzorro-driver.c49 if (!z->driver && drv->probe) { zorro_device_probe()
54 error = drv->probe(z, id); zorro_device_probe()
168 .probe = zorro_device_probe,
/linux-4.1.27/drivers/cpufreq/
H A Dcpufreq-dt.c141 * not yet registered, we should try defering probe. allocate_resources()
169 * registered, we should try defering probe. allocate_resources()
220 pr_debug("OPP table is not ready, deferring probe\n"); cpufreq_init()
383 * from ->init(). In probe(), we just need to make sure that clk and dt_cpufreq_probe()
384 * regulators are available. Else defer probe and retry. dt_cpufreq_probe()
415 .probe = dt_cpufreq_probe,
H A Dpcc-cpufreq.c408 pr_debug("probe: _OSC evaluation did not succeed\n"); pcc_cpufreq_probe()
431 pr_debug("probe: mem_resource descriptor: 0x%x," pcc_cpufreq_probe()
451 pr_debug("probe: could not map shared mem region\n"); pcc_cpufreq_probe()
457 pr_debug("probe: PCCH header (virtual) addr: 0x%p\n", pcch_hdr); pcc_cpufreq_probe()
458 pr_debug("probe: PCCH header is at physical address: 0x%llx," pcc_cpufreq_probe()
468 pr_debug("probe: min time between commands: %d us," pcc_cpufreq_probe()
493 pr_debug("probe: doorbell: space_id is %d, bit_width is %d, " pcc_cpufreq_probe()
514 pr_debug("probe: doorbell_preserve: 0x%llx," pcc_cpufreq_probe()
/linux-4.1.27/drivers/net/ethernet/ibm/emac/
H A Dtah.c32 /* Reset has been done at probe() time... nothing else to do for now */ tah_attach()
168 .probe = tah_probe,
/linux-4.1.27/drivers/media/usb/go7007/
H A Dgo7007-loader.c108 dev_err(&interface->dev, "probe failed\n"); go7007_loader_probe()
132 .probe = go7007_loader_probe,
/linux-4.1.27/drivers/staging/comedi/
H A Dcomedi_usb.c46 * comedi_usb_auto_config() - Configure/probe a comedi USB driver.
51 * Typically called from the usb_driver (*probe) function.
/linux-4.1.27/drivers/regulator/
H A Dtps6105x-regulator.c140 "chip not in voltage mode mode, exit probe\n"); tps6105x_regulator_probe()
167 .probe = tps6105x_regulator_probe,
/linux-4.1.27/drivers/rtc/
H A Drtc-tile.c77 * Device probe routine.
98 .probe = tile_rtc_probe,
/linux-4.1.27/drivers/staging/unisys/virtpci/
H A Dvirtpci.h80 const struct pci_device_id *id_table; /* must be non-NULL for probe
82 int (*probe)(struct virtpci_dev *dev, member in struct:virtpci_driver
/linux-4.1.27/arch/sh/kernel/
H A Dkprobes.c85 * containing a kprobe, remove the probe.
240 * another probe was hit while within the handler. kprobe_handler()
242 * just single step on the instruction of the new probe kprobe_handler()
296 * here. When a retprobed function returns, this probe is hit and
307 * Called when we hit the probe point at kretprobe_trampoline
323 * have a return probe installed on them, and/or more then one return trampoline_probe_handler()
324 * return probe was registered for a target function. trampoline_probe_handler()
432 * kprobe, point the pc back to the probe address kprobe_fault_handler()
/linux-4.1.27/arch/tile/kernel/
H A Dkprobes.c209 * another probe was hit while within the handler. kprobe_handler()
211 * just single step on the instruction of the new probe kprobe_handler()
328 * kprobe and the ip points back to the probe address kprobe_fault_handler()
416 * Function return probe trampoline:
418 * - When the probed function returns, this probe causes the
443 * Called when the probe at kretprobe trampoline is hit.
460 * a return probe installed on them, and/or more than one return trampoline_probe_handler()
461 * return probe was registered for a target function. trampoline_probe_handler()
/linux-4.1.27/arch/x86/boot/
H A Dvideo-mode.c43 if (card->probe) probe_cards()
44 card->nmodes = card->probe(); probe_cards()
/linux-4.1.27/drivers/usb/host/
H A Dsl811_cs.c105 /* The driver core will probe for us. We know sl811-hcd has been sl811_hc_init()
198 .probe = sl811_cs_probe,
/linux-4.1.27/arch/mips/mm/
H A Dsc-mips.c67 * to be replaced by a platform specific probe.
103 /* Mark as not present until probe completed */ mips_sc_probe()
/linux-4.1.27/sound/soc/ux500/
H A Dmop500.c56 .probe = NULL,
161 .probe = mop500_probe,
/linux-4.1.27/drivers/mcb/
H A Dmcb-core.c69 return mdrv->probe(mdev, found_id); mcb_probe()
97 .probe = mcb_probe,
109 * the .probe and .remove methods are provided by the driver.
114 if (!drv->probe || !drv->remove) __mcb_register_driver()
/linux-4.1.27/drivers/hwmon/pmbus/
H A Dtps40422.c55 .probe = tps40422_probe,
/linux-4.1.27/drivers/mmc/core/
H A Dsdio_bus.c141 * During probe, the function is set active and the usage count sdio_bus_probe()
143 * it should call pm_runtime_put_noidle() in its probe routine and sdio_bus_probe()
160 ret = drv->probe(func, id); sdio_bus_probe()
217 .probe = sdio_bus_probe,
/linux-4.1.27/drivers/mmc/host/
H A Ddw_mmc-k3.c84 .probe = dw_mci_k3_probe,
H A Dsdhci-cns3xxx.c106 .probe = sdhci_cns3xxx_probe,
H A Dsdhci-pci.h51 int (*probe) (struct sdhci_pci_chip *); member in struct:sdhci_pci_fixes

Completed in 3542 milliseconds

1234567891011>>