Home
last modified time | relevance | path

Searched refs:st_data (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/sound/soc/ti/
Domap-mcbsp-st.c66 writel_relaxed(val, mcbsp->st_data->io_base_st + reg); in omap_mcbsp_st_write()
71 return readl_relaxed(mcbsp->st_data->io_base_st + reg); in omap_mcbsp_st_read()
83 mcbsp->pdata->force_ick_on(mcbsp->st_data->mcbsp_iclk, true); in omap_mcbsp_st_on()
113 mcbsp->pdata->force_ick_on(mcbsp->st_data->mcbsp_iclk, false); in omap_mcbsp_st_off()
144 struct omap_mcbsp_st_data *st_data = mcbsp->st_data; in omap_mcbsp_st_chgain() local
146 MCBSP_ST_WRITE(mcbsp, SGAINCR, ST_CH0GAIN(st_data->ch0gain) | in omap_mcbsp_st_chgain()
147 ST_CH1GAIN(st_data->ch1gain)); in omap_mcbsp_st_chgain()
153 struct omap_mcbsp_st_data *st_data = mcbsp->st_data; in omap_mcbsp_st_set_chgain() local
156 if (!st_data) in omap_mcbsp_st_set_chgain()
161 st_data->ch0gain = chgain; in omap_mcbsp_st_set_chgain()
[all …]
Domap-mcbsp-priv.h263 struct omap_mcbsp_st_data *st_data; member
Domap-mcbsp.c422 if (mcbsp->st_data) in omap_mcbsp_start()
510 if (mcbsp->st_data) in omap_mcbsp_stop()
/linux-6.6.21/drivers/misc/ti-st/
Dst_ll.c17 static void send_ll_cmd(struct st_data_s *st_data, in send_ll_cmd() argument
22 st_int_write(st_data, &cmd, 1); in send_ll_cmd()
26 static void ll_device_want_to_sleep(struct st_data_s *st_data) in ll_device_want_to_sleep() argument
33 if (st_data->ll_state != ST_LL_AWAKE) in ll_device_want_to_sleep()
35 "in state %ld", st_data->ll_state); in ll_device_want_to_sleep()
37 send_ll_cmd(st_data, LL_SLEEP_ACK); in ll_device_want_to_sleep()
39 st_data->ll_state = ST_LL_ASLEEP; in ll_device_want_to_sleep()
42 kim_data = st_data->kim_data; in ll_device_want_to_sleep()
48 static void ll_device_want_to_wakeup(struct st_data_s *st_data) in ll_device_want_to_wakeup() argument
54 switch (st_data->ll_state) { in ll_device_want_to_wakeup()
[all …]
Dst_core.c464 void st_tx_wakeup(struct st_data_s *st_data) in st_tx_wakeup() argument
470 if (test_and_set_bit(ST_TX_SENDING, &st_data->tx_state)) { in st_tx_wakeup()
473 set_bit(ST_TX_WAKEUP, &st_data->tx_state); in st_tx_wakeup()
481 clear_bit(ST_TX_WAKEUP, &st_data->tx_state); in st_tx_wakeup()
482 while ((skb = st_int_dequeue(st_data))) { in st_tx_wakeup()
484 spin_lock_irqsave(&st_data->lock, flags); in st_tx_wakeup()
486 set_bit(TTY_DO_WRITE_WAKEUP, &st_data->tty->flags); in st_tx_wakeup()
487 len = st_int_write(st_data, skb->data, skb->len); in st_tx_wakeup()
492 st_data->tx_skb = skb; in st_tx_wakeup()
493 spin_unlock_irqrestore(&st_data->lock, flags); in st_tx_wakeup()
[all …]
/linux-6.6.21/include/linux/
Dti_wilink_st.h174 void st_tx_wakeup(struct st_data_s *st_data);