Searched refs:st_data (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/sound/soc/ti/ |
D | omap-mcbsp-st.c | 67 writel_relaxed(val, mcbsp->st_data->io_base_st + reg); in omap_mcbsp_st_write() 72 return readl_relaxed(mcbsp->st_data->io_base_st + reg); in omap_mcbsp_st_read() 84 mcbsp->pdata->force_ick_on(mcbsp->st_data->mcbsp_iclk, true); in omap_mcbsp_st_on() 114 mcbsp->pdata->force_ick_on(mcbsp->st_data->mcbsp_iclk, false); in omap_mcbsp_st_off() 145 struct omap_mcbsp_st_data *st_data = mcbsp->st_data; in omap_mcbsp_st_chgain() local 147 MCBSP_ST_WRITE(mcbsp, SGAINCR, ST_CH0GAIN(st_data->ch0gain) | in omap_mcbsp_st_chgain() 148 ST_CH1GAIN(st_data->ch1gain)); in omap_mcbsp_st_chgain() 154 struct omap_mcbsp_st_data *st_data = mcbsp->st_data; in omap_mcbsp_st_set_chgain() local 157 if (!st_data) in omap_mcbsp_st_set_chgain() 162 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 | 420 if (mcbsp->st_data) in omap_mcbsp_start() 508 if (mcbsp->st_data) in omap_mcbsp_stop()
|
/linux-6.1.9/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 | 469 void st_tx_wakeup(struct st_data_s *st_data) in st_tx_wakeup() argument 475 if (test_and_set_bit(ST_TX_SENDING, &st_data->tx_state)) { in st_tx_wakeup() 478 set_bit(ST_TX_WAKEUP, &st_data->tx_state); in st_tx_wakeup() 486 clear_bit(ST_TX_WAKEUP, &st_data->tx_state); in st_tx_wakeup() 487 while ((skb = st_int_dequeue(st_data))) { in st_tx_wakeup() 489 spin_lock_irqsave(&st_data->lock, flags); in st_tx_wakeup() 491 set_bit(TTY_DO_WRITE_WAKEUP, &st_data->tty->flags); in st_tx_wakeup() 492 len = st_int_write(st_data, skb->data, skb->len); in st_tx_wakeup() 497 st_data->tx_skb = skb; in st_tx_wakeup() 498 spin_unlock_irqrestore(&st_data->lock, flags); in st_tx_wakeup() [all …]
|
/linux-6.1.9/include/linux/ |
D | ti_wilink_st.h | 174 void st_tx_wakeup(struct st_data_s *st_data);
|