Home
last modified time | relevance | path

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

/Linux-v5.4/sound/soc/ti/
Domap-mcbsp-st.c67 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()
146 struct omap_mcbsp_st_data *st_data = mcbsp->st_data; in omap_mcbsp_st_chgain() local
150 MCBSP_ST_WRITE(mcbsp, SGAINCR, ST_CH0GAIN(st_data->ch0gain) | in omap_mcbsp_st_chgain()
151 ST_CH1GAIN(st_data->ch1gain)); in omap_mcbsp_st_chgain()
157 struct omap_mcbsp_st_data *st_data = mcbsp->st_data; in omap_mcbsp_st_set_chgain() local
160 if (!st_data) in omap_mcbsp_st_set_chgain()
165 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.c424 if (mcbsp->st_data) in omap_mcbsp_start()
512 if (mcbsp->st_data) in omap_mcbsp_stop()
/Linux-v5.4/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.c457 void st_tx_wakeup(struct st_data_s *st_data) in st_tx_wakeup() argument
463 if (test_and_set_bit(ST_TX_SENDING, &st_data->tx_state)) { in st_tx_wakeup()
466 set_bit(ST_TX_WAKEUP, &st_data->tx_state); in st_tx_wakeup()
474 clear_bit(ST_TX_WAKEUP, &st_data->tx_state); in st_tx_wakeup()
475 while ((skb = st_int_dequeue(st_data))) { in st_tx_wakeup()
477 spin_lock_irqsave(&st_data->lock, flags); in st_tx_wakeup()
479 set_bit(TTY_DO_WRITE_WAKEUP, &st_data->tty->flags); in st_tx_wakeup()
480 len = st_int_write(st_data, skb->data, skb->len); in st_tx_wakeup()
485 st_data->tx_skb = skb; in st_tx_wakeup()
486 spin_unlock_irqrestore(&st_data->lock, flags); in st_tx_wakeup()
[all …]
/Linux-v5.4/drivers/clk/x86/
Dclk-st.c34 struct st_clk_data *st_data; in st_clk_probe() local
36 st_data = dev_get_platdata(&pdev->dev); in st_clk_probe()
37 if (!st_data || !st_data->base) in st_clk_probe()
47 0, st_data->base + CLKDRVSTR2, OSCOUT1CLK25MHZ, 3, 0, NULL); in st_clk_probe()
52 0, st_data->base + MISCCLKCNTL1, OSCCLKENB, in st_clk_probe()
/Linux-v5.4/include/linux/
Dti_wilink_st.h174 void st_tx_wakeup(struct st_data_s *st_data);