Home
last modified time | relevance | path

Searched full:foo (Results 1 – 25 of 239) sorted by relevance

12345678910

/linux-3.3/samples/kobject/
Dkset-example.c20 * Then tree kobjects are created and assigned to this kset, "foo", "baz",
33 int foo; member
42 ssize_t (*show)(struct foo_obj *foo, struct foo_attribute *attr, char *buf);
43 ssize_t (*store)(struct foo_obj *foo, struct foo_attribute *attr, const char *buf, size_t count);
59 struct foo_obj *foo; in foo_attr_show() local
62 foo = to_foo_obj(kobj); in foo_attr_show()
67 return attribute->show(foo, attribute, buf); in foo_attr_show()
79 struct foo_obj *foo; in foo_attr_store() local
82 foo = to_foo_obj(kobj); in foo_attr_store()
87 return attribute->store(foo, attribute, buf, len); in foo_attr_store()
[all …]
Dkobject-example.c19 * "foo", "baz", and "bar". If an integer is written to these files, it can be
23 static int foo; variable
28 * The "foo" file where a static variable is read from and written to.
33 return sprintf(buf, "%d\n", foo); in foo_show()
39 sscanf(buf, "%du", &foo); in foo_store()
44 __ATTR(foo, 0666, foo_show, foo_store);
/linux-3.3/samples/trace_events/
Dtrace-events-sample.h51 * Here it is trace_foo_bar(char *foo, int bar).
54 * Here it is simply "foo, bar".
64 * __array( char, foo, 10) is the same as saying char foo[10].
79 TP_PROTO(char *foo, int bar),
81 TP_ARGS(foo, bar),
84 __array( char, foo, 10 )
89 strncpy(__entry->foo, foo, 10);
93 TP_printk("foo %s %d", __entry->foo, __entry->bar)
/linux-3.3/include/linux/mfd/
Dcore.h69 * driver wants the cell "foo" to be used by a GPIO driver, an MTD driver,
73 * const char *fclones[] = { "foo-gpio", "foo-mtd" };
74 * err = mfd_clone_cells("foo", fclones, ARRAY_SIZE(fclones));
77 * platform_drivers for "foo-mtd", "foo-gpio", and "foo", respectively.
/linux-3.3/Documentation/video4linux/
Dv4l2-controls.txt54 struct foo_dev *foo;
58 v4l2_ctrl_handler_init(&foo->ctrl_handler, nr_of_controls);
76 foo->v4l2_dev.ctrl_handler = &foo->ctrl_handler;
78 Where foo->v4l2_dev is of type struct v4l2_device.
95 foo->sd.ctrl_handler = &foo->ctrl_handler;
97 Where foo->sd is of type struct v4l2_subdev.
116 v4l2_ctrl_handler_free(&foo->ctrl_handler);
135 v4l2_ctrl_handler_init(&foo->ctrl_handler, nr_of_controls);
136 v4l2_ctrl_new_std(&foo->ctrl_handler, &foo_ctrl_ops,
138 v4l2_ctrl_new_std(&foo->ctrl_handler, &foo_ctrl_ops,
[all …]
/linux-3.3/Documentation/
Dpinctrl.txt72 .name = "foo",
85 pr_err("could not register foo pin driver\n");
211 ret = pin_config_set("foo-dev", "FOO_GPIO_PIN", PLATFORM_X_PULL_UP);
786 .ctrl_dev_name = "pinctrl-foo",
788 .dev_name = "foo-spi.0",
791 .ctrl_dev_name = "pinctrl-foo",
793 .dev_name = "foo-i2c.0",
796 .ctrl_dev_name = "pinctrl-foo",
798 .dev_name = "foo-mmc.0",
818 it even more compact which assumes you want to use pinctrl-foo and position
[all …]
DBUG-HUNTING172 > Put the bytes into a "foo.s" file like this:
175 > .globl foo
176 > foo:
179 > Compile it with "gcc -c -o foo.o foo.s" then look at the output of
180 > "objdump --disassemble foo.o".
/linux-3.3/Documentation/kbuild/
Dkconfig-language.txt91 bool "foo" if BAR
95 bool "foo"
109 By abusing select you are able to select a symbol FOO even
110 if FOO depends on BAR that is not set.
361 depends on HAVE_GENERIC_IOMAP && FOO
387 config FOO
390 limits FOO to module (=m) or disabled (=n).
400 config FOO
401 tristate "about foo"
407 config FOO
[all …]
Dmodules.txt139 Example (The module foo.ko, consist of bar.o and baz.o):
142 make -C $KDIR M=$PWD foo.ko
291 file. For example, if you wanted to build two modules, foo.ko
294 obj-m := foo.o bar.o
295 foo-y := <foo_srcs>
480 If you have two modules, foo.ko and bar.ko, where
481 foo.ko needs symbols from bar.ko, you can use a
486 ./foo/ <= contains foo.ko
492 obj-y := foo/ bar/
506 compilation of bar.ko to the directory where foo.ko is
/linux-3.3/drivers/block/
Drbd_types.h19 * rbd image 'foo' consists of objects
20 * foo.rbd - image metadata
21 * foo.00000000
22 * foo.00000001
/linux-3.3/arch/ia64/scripts/
Dcheck-text-align.S1 .proc foo label
3 foo: .save rp, r2 label
6 .endp foo
/linux-3.3/fs/gfs2/
Dmain.c38 static void gfs2_init_inode_once(void *foo) in gfs2_init_inode_once() argument
40 struct gfs2_inode *ip = foo; in gfs2_init_inode_once()
50 static void gfs2_init_glock_once(void *foo) in gfs2_init_glock_once() argument
52 struct gfs2_glock *gl = foo; in gfs2_init_glock_once()
63 static void gfs2_init_gl_aspace_once(void *foo) in gfs2_init_gl_aspace_once() argument
65 struct gfs2_glock *gl = foo; in gfs2_init_gl_aspace_once()
/linux-3.3/Documentation/power/
Druntime_pm.txt822 foo_read_or_write(struct foo_priv *foo, void *data)
824 lock(&foo->private_lock);
825 add_request_to_io_queue(foo, data);
826 if (foo->num_pending_requests++ == 0)
827 pm_runtime_get(&foo->dev);
828 if (!foo->is_suspended)
829 foo_process_next_request(foo);
830 unlock(&foo->private_lock);
833 foo_io_completion(struct foo_priv *foo, void *req)
835 lock(&foo->private_lock);
[all …]
/linux-3.3/sound/oss/
Dpas2_pcm.c53 int foo, tmp; in pcm_set_speed() local
66 foo = ((PIT_TICK_RATE / 2) + (arg / 2)) / arg; in pcm_set_speed()
67 arg = ((PIT_TICK_RATE / 2) + (foo / 2)) / foo; in pcm_set_speed()
71 foo = (PIT_TICK_RATE + (arg / 2)) / arg; in pcm_set_speed()
72 arg = (PIT_TICK_RATE + (foo / 2)) / foo; in pcm_set_speed()
112 pas_write(foo & 0xff, 0x1388); in pcm_set_speed()
113 pas_write((foo >> 8) & 0xff, 0x1388); in pcm_set_speed()
Dpas2_mixer.c208 int foo; in pas_mixer_reset() local
212 for (foo = 0; foo < SOUND_MIXER_NRDEVICES; foo++) in pas_mixer_reset()
213 pas_mixer_set(foo, levels[foo]); in pas_mixer_reset()
/linux-3.3/drivers/net/wireless/ath/
Dath.h262 #define ATH_DBG_WARN(foo, arg...) WARN(foo, arg) argument
263 #define ATH_DBG_WARN_ON_ONCE(foo) WARN_ON_ONCE(foo) argument
275 #define ATH_DBG_WARN(foo, arg...) do {} while (0) argument
276 #define ATH_DBG_WARN_ON_ONCE(foo) ({ \ argument
277 int __ret_warn_once = !!(foo); \
/linux-3.3/drivers/scsi/
Dt128.c372 void __iomem *foo = base + T_CONTROL_REG_OFFSET; local
373 tmp = readb(foo);
374 writeb(tmp | T_CR_CT, foo);
375 writeb(tmp, foo);
418 void __iomem *foo = base + T_CONTROL_REG_OFFSET; local
419 tmp = readb(foo);
420 writeb(tmp | T_CR_CT, foo);
421 writeb(tmp, foo);
/linux-3.3/arch/powerpc/xmon/
Dansidecl.h64 static int foo PARAMS ((int, char));
66 This produces: `static int foo();' or `static int foo (int, char);'
70 static int EXFUN (foo, (int, char));
/linux-3.3/arch/x86/um/
Dbugs_32.c37 unsigned long foo = 0; in arch_check_bugs() local
38 __asm__ __volatile__("cmovz %0, %1" : "=r" (foo) : "0" (foo)); in arch_check_bugs()
/linux-3.3/include/asm-generic/
Dmm_hooks.h3 * be included in asm-FOO/mmu_context.h for any arch FOO which doesn't
/linux-3.3/Documentation/target/
Dtcm_mod_builder.txt97 target:/mnt/sdb/lio-core-2.6.git# mkdir -p /sys/kernel/config/target/nab5000/iqn.foo/tpgt_1/lun/lun…
98 target:/mnt/sdb/lio-core-2.6.git# cd /sys/kernel/config/target/nab5000/iqn.foo/tpgt_1/lun/lun_0/
99 target:/sys/kernel/config/target/nab5000/iqn.foo/tpgt_1/lun/lun_0# ln -s /sys/kernel/config/target/…
101 target:/sys/kernel/config/target/nab5000/iqn.foo/tpgt_1/lun/lun_0# cd -
105 |-- iqn.foo
/linux-3.3/Documentation/filesystems/
Dbefs.txt50 Assuming that your kernel source is in /foo/bar/linux and the patchfile
53 cd /foo/bar/linux
68 cd /foo/bar/linux
Dceph.txt56 .snap/foo' and 'rmdir .snap/foo'.
59 files and bytes. That is, a 'getfattr -d foo' on any directory in the
/linux-3.3/Documentation/zh_CN/
DCodingStyle233 。称一个全局函数为“foo”是一个难以饶恕的错误。
530 #define FOO(x) \
541 #define FOO(val) bar(index, val)
546 3) 作为左值的带参数的宏: FOO(x) = y;如果有人把FOO变成一个内联函数的话,这种用
669 compile-command: "gcc -DMAGIC_DEBUG_FLAG foo.c"
/linux-3.3/tools/perf/Documentation/
Dperf-probe.txt158 With --filter "foo* | bar*", perf probe -V shows variables which start with "foo" or "bar".
159 …With --filter "!foo* & *bar", perf probe -V shows variables which don't start with "foo" and end w…

12345678910