Searched refs:fieldbus_dev (Results 1 – 7 of 7) sorted by relevance
/drivers/staging/fieldbus/ |
D | fieldbus_dev.h | 46 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 …]
|
D | dev_core.c | 29 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() 80 struct fieldbus_dev *fb = dev_get_drvdata(dev); in read_area_size_show() 89 struct fieldbus_dev *fb = dev_get_drvdata(dev); in write_area_size_show() 98 struct fieldbus_dev *fb = dev_get_drvdata(dev); in fieldbus_id_show() 107 struct fieldbus_dev *fb = dev_get_drvdata(dev); in fieldbus_type_show() 138 struct fieldbus_dev *fb = dev_get_drvdata(dev); in fieldbus_is_visible() 165 struct fieldbus_dev *fbdev; [all …]
|
D | Makefile | 6 obj-$(CONFIG_FIELDBUS_DEV) += fieldbus_dev.o anybuss/ 7 fieldbus_dev-y := dev_core.o
|
/drivers/staging/fieldbus/Documentation/ABI/ |
D | sysfs-class-fieldbus-dev | 1 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
|
/drivers/staging/fieldbus/anybuss/ |
D | hms-profinet.c | 34 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()
|
D | Kconfig | 32 It will be registered with the kernel as a fieldbus_dev, 33 so userspace can interact with it via the fieldbus_dev userspace
|
/drivers/staging/fieldbus/Documentation/ |
D | fieldbus_dev.txt | 46 populate a 'struct fieldbus_dev' (from include/linux/fieldbus_dev.h).
|