Home
last modified time | relevance | path

Searched refs:fieldbus_dev (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/staging/fieldbus/
H A Dfieldbus_dev.h46 struct fieldbus_dev { struct
47 ssize_t (*read_area)(struct fieldbus_dev *fbdev, char __user *buf, argument
49 ssize_t (*write_area)(struct fieldbus_dev *fbdev, argument
55 bool (*enable_get)(struct fieldbus_dev *fbdev); argument
56 int (*fieldbus_id_get)(struct fieldbus_dev *fbdev, char *buf, argument
58 int (*simple_enable_set)(struct fieldbus_dev *fbdev, bool enable); argument
77 void fieldbus_dev_unregister(struct fieldbus_dev *fb); argument
84 int __must_check fieldbus_dev_register(struct fieldbus_dev *fb);
92 void fieldbus_dev_area_updated(struct fieldbus_dev *fb);
99 void fieldbus_dev_online_changed(struct fieldbus_dev *fb, bool online);
[all …]
H A Ddev_core.c29 struct fieldbus_dev *fb = dev_get_drvdata(dev); in online_show()
38 struct fieldbus_dev *fb = dev_get_drvdata(dev); in enabled_show()
48 struct fieldbus_dev *fb = dev_get_drvdata(dev); in enabled_store()
67 struct fieldbus_dev *fb = dev_get_drvdata(dev); in card_name_show()
77 struct fieldbus_dev *fb = dev_get_drvdata(dev); in read_area_size_show()
86 struct fieldbus_dev *fb = dev_get_drvdata(dev); in write_area_size_show()
95 struct fieldbus_dev *fb = dev_get_drvdata(dev); in fieldbus_id_show()
104 struct fieldbus_dev *fb = dev_get_drvdata(dev); in fieldbus_type_show()
135 struct fieldbus_dev *fb = dev_get_drvdata(dev); in fieldbus_is_visible()
161 struct fieldbus_dev *fbdev;
[all …]
H A DMakefile6 obj-$(CONFIG_FIELDBUS_DEV) += fieldbus_dev.o anybuss/
7 fieldbus_dev-y := dev_core.o
/openbmc/linux/drivers/staging/fieldbus/Documentation/ABI/
H A Dsysfs-class-fieldbus-dev1 What: /sys/class/fieldbus_dev/fieldbus_devX/card_name
7 What: /sys/class/fieldbus_dev/fieldbus_devX/fieldbus_type
16 What: /sys/class/fieldbus_dev/fieldbus_devX/fieldbus_id
24 What: /sys/class/fieldbus_dev/fieldbus_devX/read_area_size
32 What: /sys/class/fieldbus_dev/fieldbus_devX/write_area_size
40 What: /sys/class/fieldbus_dev/fieldbus_devX/online
50 What: /sys/class/fieldbus_dev/fieldbus_devX/enabled
/openbmc/linux/drivers/staging/fieldbus/anybuss/
H A Dhms-profinet.c34 struct fieldbus_dev fbdev;
41 profi_read_area(struct fieldbus_dev *fbdev, char __user *buf, size_t size, in profi_read_area()
50 profi_write_area(struct fieldbus_dev *fbdev, const char __user *buf, in profi_write_area()
58 static int profi_id_get(struct fieldbus_dev *fbdev, char *buf, in profi_id_get()
72 static bool profi_enable_get(struct fieldbus_dev *fbdev) in profi_enable_get()
131 static int profi_simple_enable(struct fieldbus_dev *fbdev, bool enable) in profi_simple_enable()
H A DKconfig32 It will be registered with the kernel as a fieldbus_dev,
33 so userspace can interact with it via the fieldbus_dev userspace
/openbmc/linux/drivers/staging/fieldbus/Documentation/
H A Dfieldbus_dev.txt46 populate a 'struct fieldbus_dev' (from include/linux/fieldbus_dev.h).
/openbmc/linux/
H A Dopengrok0.0.log[all...]
/openbmc/
Dopengrok1.0.log[all...]
Dopengrok2.0.log[all...]