Searched refs:smt (Results 1 – 7 of 7) sorted by relevance
/u-boot/drivers/firmware/scmi/ |
A D | smt.h | 47 static inline bool scmi_smt_channel_is_free(struct scmi_smt *smt) in scmi_smt_channel_is_free() argument 49 struct scmi_smt_header *hdr = (void *)smt->buf; in scmi_smt_channel_is_free() 54 static inline bool scmi_smt_channel_reports_error(struct scmi_smt *smt) in scmi_smt_channel_reports_error() argument 56 struct scmi_smt_header *hdr = (void *)smt->buf; in scmi_smt_channel_reports_error() 61 static inline void scmi_smt_get_channel(struct scmi_smt *smt) in scmi_smt_get_channel() argument 63 struct scmi_smt_header *hdr = (void *)smt->buf; in scmi_smt_get_channel() 68 static inline void scmi_smt_put_channel(struct scmi_smt *smt) in scmi_smt_put_channel() argument 70 struct scmi_smt_header *hdr = (void *)smt->buf; in scmi_smt_put_channel() 76 int scmi_dt_get_smt_buffer(struct udevice *dev, struct scmi_smt *smt); 78 int scmi_write_msg_to_smt(struct udevice *dev, struct scmi_smt *smt, [all …]
|
A D | smt.c | 47 smt->size = resource_size(&resource); in scmi_dt_get_smt_buffer() 48 if (smt->size < sizeof(struct scmi_smt_header)) { in scmi_dt_get_smt_buffer() 53 smt->buf = devm_ioremap(dev, paddr, smt->size); in scmi_dt_get_smt_buffer() 54 if (!smt->buf) in scmi_dt_get_smt_buffer() 60 smt->size, DCACHE_OFF); in scmi_dt_get_smt_buffer() 73 struct scmi_smt_header *hdr = (void *)smt->buf; in scmi_write_msg_to_smt() 84 if (smt->size < (sizeof(*hdr) + msg->in_msg_sz) || in scmi_write_msg_to_smt() 85 smt->size < (sizeof(*hdr) + msg->out_msg_sz)) { in scmi_write_msg_to_smt() 110 struct scmi_smt_header *hdr = (void *)smt->buf; in scmi_read_resp_from_smt() 137 void scmi_clear_smt_channel(struct scmi_smt *smt) in scmi_clear_smt_channel() argument [all …]
|
A D | mailbox_agent.c | 29 struct scmi_smt smt; member 39 ret = scmi_write_msg_to_smt(dev, &chan->smt, msg); in scmi_mbox_process_msg() 44 ret = mbox_send(&chan->mbox, chan->smt.buf); in scmi_mbox_process_msg() 51 ret = mbox_recv(&chan->mbox, chan->smt.buf, chan->timeout_us); in scmi_mbox_process_msg() 57 ret = scmi_read_resp_from_smt(dev, &chan->smt, msg); in scmi_mbox_process_msg() 60 scmi_clear_smt_channel(&chan->smt); in scmi_mbox_process_msg() 78 ret = scmi_dt_get_smt_buffer(dev, &chan->smt); in scmi_mbox_probe()
|
A D | smccc_agent.c | 30 struct scmi_smt smt; member 39 ret = scmi_write_msg_to_smt(dev, &chan->smt, msg); in scmi_smccc_process_msg() 47 ret = scmi_read_resp_from_smt(dev, &chan->smt, msg); in scmi_smccc_process_msg() 49 scmi_clear_smt_channel(&chan->smt); in scmi_smccc_process_msg() 67 ret = scmi_dt_get_smt_buffer(dev, &chan->smt); in scmi_smccc_probe()
|
A D | Makefile | 2 obj-y += smt.o
|
/u-boot/arch/arm/dts/ |
A D | rk3308.dtsi | 812 pcfg_pull_none_smt: pcfg-pull-none-smt {
|
A D | px30.dtsi | 1311 pcfg_pull_none_smt: pcfg-pull-none-smt {
|
Completed in 13 milliseconds