Lines Matching full:spec
114 * const struct mbox_dt_spec spec = MBOX_DT_SPEC_GET(DT_NODELABEL(n), tx);
235 * @param spec MBOX specification from devicetree
239 static inline bool mbox_is_ready_dt(const struct mbox_dt_spec *spec) in mbox_is_ready_dt() argument
241 return device_is_ready(spec->dev); in mbox_is_ready_dt()
283 * @param spec MBOX specification from devicetree
288 static inline int mbox_send_dt(const struct mbox_dt_spec *spec, in mbox_send_dt() argument
291 return mbox_send(spec->dev, spec->channel_id, msg); in mbox_send_dt()
329 * @param spec MBOX specification from devicetree
336 static inline int mbox_register_callback_dt(const struct mbox_dt_spec *spec, in mbox_register_callback_dt() argument
339 return mbox_register_callback(spec->dev, spec->channel_id, cb, in mbox_register_callback_dt()
381 * @param spec MBOX specification from devicetree
385 static inline int mbox_mtu_get_dt(const struct mbox_dt_spec *spec) in mbox_mtu_get_dt() argument
387 return mbox_mtu_get(spec->dev); in mbox_mtu_get_dt()
436 * @param spec MBOX specification from devicetree
441 static inline int mbox_set_enabled_dt(const struct mbox_dt_spec *spec, in mbox_set_enabled_dt() argument
444 return mbox_set_enabled(spec->dev, spec->channel_id, enabled); in mbox_set_enabled_dt()
474 * @param spec MBOX specification from devicetree
478 static inline int mbox_max_channels_get_dt(const struct mbox_dt_spec *spec) in mbox_max_channels_get_dt() argument
480 return mbox_max_channels_get(spec->dev); in mbox_max_channels_get_dt()