Searched refs:chan (Results 1 – 7 of 7) sorted by relevance
81 channel_is_busy = chan->busy; in channel_set_busy()84 chan->busy = true; in channel_set_busy()94 chan->busy = false; in channel_release_busy()99 return (struct smt_header *)chan->shm_addr; in channel_to_smt_hdr()110 struct scmi_msg_channel *chan; in scmi_proccess_smt() local117 chan = plat_scmi_get_channel(agent_id); in scmi_proccess_smt()118 if (chan == NULL) { in scmi_proccess_smt()122 smt_hdr = channel_to_smt_hdr(chan); in scmi_proccess_smt()127 if (!channel_set_busy(chan)) { in scmi_proccess_smt()167 channel_release_busy(chan); in scmi_proccess_smt()[all …]
43 static bool sunxi_msgbox_last_tx_done(unsigned int chan) in sunxi_msgbox_last_tx_done() argument47 return (stat & RX_IRQ(chan)) == 0U; in sunxi_msgbox_last_tx_done()50 static bool sunxi_msgbox_peek_data(unsigned int chan) in sunxi_msgbox_peek_data() argument52 uint32_t stat = mmio_read_32(SUNXI_MSGBOX_BASE + MSG_STAT_REG(chan)); in sunxi_msgbox_peek_data()
525 int ret, chan; in bl2_advertise_dram_entries() local527 for (chan = 0; chan < MAX_DRAM_CHANNELS; chan++) { in bl2_advertise_dram_entries()528 start = dram_config[2 * chan]; in bl2_advertise_dram_entries()529 size = dram_config[2 * chan + 1]; in bl2_advertise_dram_entries()535 chan, start, start + size - 1U, in bl2_advertise_dram_entries()546 for (chan = MAX_DRAM_CHANNELS - 1; chan >= 0; chan--) { in bl2_advertise_dram_entries()547 start = dram_config[2 * chan]; in bl2_advertise_dram_entries()548 size = dram_config[2 * chan + 1]; in bl2_advertise_dram_entries()557 if (chan == 0) { in bl2_advertise_dram_entries()563 start = dram_config[chan] + MAX_DRAM_SIZE_CH0_32BIT_ADDR_SPACE; in bl2_advertise_dram_entries()
636 int chan; in bl2_advertise_dram_entries() local638 for (chan = 0; chan < 4; chan++) { in bl2_advertise_dram_entries()639 start = dram_config[2 * chan]; in bl2_advertise_dram_entries()640 size = dram_config[2 * chan + 1]; in bl2_advertise_dram_entries()645 chan, start, start + size - 1, in bl2_advertise_dram_entries()656 for (chan = 3; chan >= 0; chan--) { in bl2_advertise_dram_entries()657 start = dram_config[2 * chan]; in bl2_advertise_dram_entries()658 size = dram_config[2 * chan + 1]; in bl2_advertise_dram_entries()666 if (chan == 0) { in bl2_advertise_dram_entries()
27 typedef struct chan chan_t;75 struct chan { struct
41 void scmi_smt_init_agent_channel(struct scmi_msg_channel *chan);
93 enum k3_sec_proxy_chan_id chan) in ti_sci_get_response() argument102 ret = k3_sec_proxy_recv(chan, msg); in ti_sci_get_response()
Completed in 19 milliseconds