Home
last modified time | relevance | path

Searched refs:slim_controller (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/slimbus/
H A Dslimbus.h400 struct slim_controller { struct
414 int (*xfer_msg)(struct slim_controller *ctrl, argument
416 int (*set_laddr)(struct slim_controller *ctrl, argument
418 int (*get_laddr)(struct slim_controller *ctrl, argument
422 int (*wakeup)(struct slim_controller *ctrl); argument
425 int slim_device_report_present(struct slim_controller *ctrl,
428 int slim_register_controller(struct slim_controller *ctrl);
429 int slim_unregister_controller(struct slim_controller *ctrl);
430 void slim_msg_response(struct slim_controller *ctrl, u8 *reply, u8 tid, u8 l);
431 int slim_do_transfer(struct slim_controller *ctrl, struct slim_msg_txn *txn);
[all …]
H A Dcore.c152 static int slim_add_device(struct slim_controller *ctrl, in slim_add_device()
175 static struct slim_device *slim_alloc_device(struct slim_controller *ctrl, in slim_alloc_device()
196 static void of_register_slim_devices(struct slim_controller *ctrl) in of_register_slim_devices()
249 int slim_register_controller(struct slim_controller *ctrl) in slim_register_controller()
298 int slim_unregister_controller(struct slim_controller *ctrl) in slim_unregister_controller()
316 struct slim_controller *ctrl = sbdev->ctrl; in slim_report_absent()
347 static struct slim_device *find_slim_device(struct slim_controller *ctrl, in find_slim_device()
371 struct slim_device *slim_get_device(struct slim_controller *ctrl, in slim_get_device()
419 struct slim_device *of_slim_get_device(struct slim_controller *ctrl, in of_slim_get_device()
429 struct slim_controller *ctrl = sbdev->ctrl; in slim_device_alloc_laddr()
[all …]
H A Dmessaging.c24 void slim_msg_response(struct slim_controller *ctrl, u8 *reply, u8 tid, u8 len) in slim_msg_response()
63 int slim_alloc_txn_tid(struct slim_controller *ctrl, struct slim_msg_txn *txn) in slim_alloc_txn_tid()
87 void slim_free_txn_tid(struct slim_controller *ctrl, struct slim_msg_txn *txn) in slim_free_txn_tid()
110 int slim_do_transfer(struct slim_controller *ctrl, struct slim_msg_txn *txn) in slim_do_transfer()
179 static int slim_val_inf_sanity(struct slim_controller *ctrl, in slim_val_inf_sanity()
238 struct slim_controller *ctrl = sbdev->ctrl; in slim_xfer_msg()
H A Dstream.c205 struct slim_controller *ctrl = rt->dev->ctrl; in slim_stream_prepare()
361 struct slim_controller *ctrl = stream->dev->ctrl; in slim_stream_enable()
414 struct slim_controller *ctrl = stream->dev->ctrl; in slim_stream_disable()
H A Dqcom-ctrl.c103 struct slim_controller ctrl;
278 static int qcom_clk_pause_wakeup(struct slim_controller *sctrl) in qcom_clk_pause_wakeup()
325 static int qcom_xfer_msg(struct slim_controller *sctrl, in qcom_xfer_msg()
389 static int qcom_set_laddr(struct slim_controller *sctrl, in qcom_set_laddr()
490 struct slim_controller *sctrl; in qcom_slim_probe()
H A Dsched.c25 int slim_ctrl_clk_pause(struct slim_controller *ctrl, bool wakeup, u8 restart) in slim_ctrl_clk_pause()
H A Dqcom-ngd-ctrl.c151 struct slim_controller ctrl;
786 static int qcom_slim_ngd_xfer_msg(struct slim_controller *sctrl, in qcom_slim_ngd_xfer_msg()
916 static int qcom_slim_ngd_xfer_msg_sync(struct slim_controller *ctrl, in qcom_slim_ngd_xfer_msg_sync()
949 struct slim_controller *ctrl = rt->dev->ctrl; in qcom_slim_calc_coef()
998 struct slim_controller *ctrl = sdev->ctrl; in qcom_slim_ngd_enable_stream()
1088 static int qcom_slim_ngd_get_laddr(struct slim_controller *ctrl, in qcom_slim_ngd_get_laddr()
/openbmc/linux/include/linux/
H A Dslimbus.h41 struct slim_controller;
61 struct slim_controller *ctrl;
175 struct slim_device *of_slim_get_device(struct slim_controller *ctrl,
177 struct slim_device *slim_get_device(struct slim_controller *ctrl,
/openbmc/linux/Documentation/driver-api/
H A Dslimbus.rst63 slim_controller represents a 'controller' for SLIMbus. This driver should