• Home
  • Raw
  • Download

Lines Matching refs:chan_info

92 	struct sti_channel *chan_info = chan->con_priv;  in sti_mbox_channel_is_enabled()  local
93 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_channel_is_enabled()
94 unsigned int instance = chan_info->instance; in sti_mbox_channel_is_enabled()
95 unsigned int channel = chan_info->channel; in sti_mbox_channel_is_enabled()
105 struct sti_channel *chan_info; in sti_mbox_to_channel() local
109 chan_info = mbox->chans[i].con_priv; in sti_mbox_to_channel()
110 if (chan_info && in sti_mbox_to_channel()
111 chan_info->instance == instance && in sti_mbox_to_channel()
112 chan_info->channel == channel) in sti_mbox_to_channel()
125 struct sti_channel *chan_info = chan->con_priv; in sti_mbox_enable_channel() local
126 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_enable_channel()
127 unsigned int instance = chan_info->instance; in sti_mbox_enable_channel()
128 unsigned int channel = chan_info->channel; in sti_mbox_enable_channel()
140 struct sti_channel *chan_info = chan->con_priv; in sti_mbox_disable_channel() local
141 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_disable_channel()
142 unsigned int instance = chan_info->instance; in sti_mbox_disable_channel()
143 unsigned int channel = chan_info->channel; in sti_mbox_disable_channel()
155 struct sti_channel *chan_info = chan->con_priv; in sti_mbox_clear_irq() local
156 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_clear_irq()
157 unsigned int instance = chan_info->instance; in sti_mbox_clear_irq()
158 unsigned int channel = chan_info->channel; in sti_mbox_clear_irq()
221 struct sti_channel *chan_info; in sti_mbox_irq_handler() local
230 chan_info = chan->con_priv; in sti_mbox_irq_handler()
236 mdev->name, chan_info->instance, in sti_mbox_irq_handler()
237 chan_info->channel, mdev->enabled[instance]); in sti_mbox_irq_handler()
257 struct sti_channel *chan_info = chan->con_priv; in sti_mbox_tx_is_ready() local
258 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_tx_is_ready()
259 unsigned int instance = chan_info->instance; in sti_mbox_tx_is_ready()
260 unsigned int channel = chan_info->channel; in sti_mbox_tx_is_ready()
280 struct sti_channel *chan_info = chan->con_priv; in sti_mbox_send_data() local
281 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_send_data()
282 unsigned int instance = chan_info->instance; in sti_mbox_send_data()
283 unsigned int channel = chan_info->channel; in sti_mbox_send_data()
306 struct sti_channel *chan_info = chan->con_priv; in sti_mbox_shutdown_chan() local
307 struct mbox_controller *mbox = chan_info->mdev->mbox; in sti_mbox_shutdown_chan()
330 struct sti_channel *chan_info; in sti_mbox_xlate() local
345 chan_info = mbox->chans[i].con_priv; in sti_mbox_xlate()
348 if (chan_info && in sti_mbox_xlate()
349 mbox->dev == chan_info->mdev->dev && in sti_mbox_xlate()
350 instance == chan_info->instance && in sti_mbox_xlate()
351 channel == chan_info->channel) { in sti_mbox_xlate()
361 if (!chan && !chan_info) in sti_mbox_xlate()
370 chan_info = devm_kzalloc(mbox->dev, sizeof(*chan_info), GFP_KERNEL); in sti_mbox_xlate()
371 if (!chan_info) in sti_mbox_xlate()
374 chan_info->mdev = mdev; in sti_mbox_xlate()
375 chan_info->instance = instance; in sti_mbox_xlate()
376 chan_info->channel = channel; in sti_mbox_xlate()
378 chan->con_priv = chan_info; in sti_mbox_xlate()