Home
last modified time | relevance | path

Searched refs:slim_device (Results 1 – 11 of 11) sorted by relevance

/linux/include/linux/
H A Dslimbus.h58 struct slim_device { struct
69 #define to_slim_device(d) container_of(d, struct slim_device, dev) argument
86 int (*probe)(struct slim_device *sl);
87 void (*remove)(struct slim_device *sl);
88 void (*shutdown)(struct slim_device *sl);
89 int (*device_status)(struct slim_device *sl,
165 static inline void *slim_get_devicedata(const struct slim_device *dev) in slim_get_devicedata()
170 static inline void slim_set_devicedata(struct slim_device *dev, void *data) in slim_set_devicedata()
175 struct slim_device *of_slim_get_device(struct slim_controller *ctrl,
177 struct slim_device *slim_get_device(struct slim_controller *ctrl,
[all …]
H A Dregmap.h32 struct slim_device;
620 struct regmap *__regmap_init_slimbus(struct slim_device *slimbus,
718 struct regmap *__devm_regmap_init_slimbus(struct slim_device *slimbus,
/linux/drivers/slimbus/
H A Dcore.c20 const struct slim_device *sbdev) in slim_match()
35 struct slim_device *sbdev = to_slim_device(dev); in slim_device_match()
45 static void slim_device_update_status(struct slim_device *sbdev, in slim_device_update_status()
64 struct slim_device *sbdev = to_slim_device(dev); in slim_device_probe()
86 struct slim_device *sbdev = to_slim_device(dev); in slim_device_remove()
98 const struct slim_device *sbdev = to_slim_device(dev); in slim_device_uevent()
147 struct slim_device *sbdev = to_slim_device(dev); in slim_dev_release()
153 struct slim_device *sbdev, in slim_add_device()
175 static struct slim_device *slim_alloc_device(struct slim_controller *ctrl, in slim_alloc_device()
179 struct slim_device *sbdev; in slim_alloc_device()
[all …]
H A Dstream.c101 struct slim_stream_runtime *slim_stream_allocate(struct slim_device *dev, in slim_stream_allocate()
128 struct slim_device *sdev = stream->dev; in slim_connect_port_channel()
148 struct slim_device *sdev = stream->dev; in slim_disconnect_port()
164 struct slim_device *sdev = stream->dev; in slim_deactivate_remove_channel()
275 struct slim_device *sdev = stream->dev; in slim_define_channel_content()
310 struct slim_device *sdev = stream->dev; in slim_define_channel()
334 struct slim_device *sdev = stream->dev; in slim_activate_channel()
481 struct slim_device *sdev = stream->dev; in slim_stream_free()
H A Dmessaging.c234 int slim_xfer_msg(struct slim_device *sbdev, struct slim_val_inf *msg, in slim_xfer_msg()
297 int slim_read(struct slim_device *sdev, u32 addr, size_t count, u8 *val) in slim_read()
315 int slim_readb(struct slim_device *sdev, u32 addr) in slim_readb()
340 int slim_write(struct slim_device *sdev, u32 addr, size_t count, u8 *val) in slim_write()
362 int slim_writeb(struct slim_device *sdev, u32 addr, u8 value) in slim_writeb()
H A Dslimbus.h335 struct slim_device *dev;
427 void slim_report_absent(struct slim_device *sbdev);
H A Dqcom-ngd-ctrl.c998 struct slim_device *sdev = rt->dev; in qcom_slim_ngd_enable_stream()
1234 struct slim_device *sbdev; in qcom_slim_ngd_notify_slaves()
/linux/drivers/base/regmap/
H A Dregmap-slimbus.c12 struct slim_device *sdev = context; in regmap_slimbus_write()
20 struct slim_device *sdev = context; in regmap_slimbus_read()
32 static const struct regmap_bus *regmap_get_slimbus(struct slim_device *slim, in regmap_get_slimbus()
41 struct regmap *__regmap_init_slimbus(struct slim_device *slimbus, in __regmap_init_slimbus()
56 struct regmap *__devm_regmap_init_slimbus(struct slim_device *slimbus, in __devm_regmap_init_slimbus()
/linux/drivers/mfd/
H A Dwcd934x.c156 static int wcd934x_slim_status_up(struct slim_device *sdev) in wcd934x_slim_status_up()
196 static int wcd934x_slim_status(struct slim_device *sdev, in wcd934x_slim_status()
212 static int wcd934x_slim_probe(struct slim_device *sdev) in wcd934x_slim_probe()
274 static void wcd934x_slim_remove(struct slim_device *sdev) in wcd934x_slim_remove()
/linux/Documentation/driver-api/
H A Dslimbus.rst68 slim_device represents the 'generic device/component' for SLIMbus, and a
69 slim_driver should implement driver for that slim_device.
/linux/sound/soc/codecs/
H A Dwcd934x.c540 struct slim_device *sdev;
541 struct slim_device *sidev;