Searched refs:st_data (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/sound/soc/ti/ |
D | omap-mcbsp-st.c | 66 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 …]
|
D | omap-mcbsp-priv.h | 263 struct omap_mcbsp_st_data *st_data; member
|
D | omap-mcbsp.c | 422 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/ |
D | st_ll.c | 17 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 …]
|
D | st_core.c | 464 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/ |
D | ti_wilink_st.h | 174 void st_tx_wakeup(struct st_data_s *st_data);
|