st_data 34 drivers/clk/x86/clk-st.c struct st_clk_data *st_data; st_data 36 drivers/clk/x86/clk-st.c st_data = dev_get_platdata(&pdev->dev); st_data 37 drivers/clk/x86/clk-st.c if (!st_data || !st_data->base) st_data 47 drivers/clk/x86/clk-st.c 0, st_data->base + CLKDRVSTR2, OSCOUT1CLK25MHZ, 3, 0, NULL); st_data 52 drivers/clk/x86/clk-st.c 0, st_data->base + MISCCLKCNTL1, OSCCLKENB, st_data 457 drivers/misc/ti-st/st_core.c void st_tx_wakeup(struct st_data_s *st_data) st_data 463 drivers/misc/ti-st/st_core.c if (test_and_set_bit(ST_TX_SENDING, &st_data->tx_state)) { st_data 466 drivers/misc/ti-st/st_core.c set_bit(ST_TX_WAKEUP, &st_data->tx_state); st_data 474 drivers/misc/ti-st/st_core.c clear_bit(ST_TX_WAKEUP, &st_data->tx_state); st_data 475 drivers/misc/ti-st/st_core.c while ((skb = st_int_dequeue(st_data))) { st_data 477 drivers/misc/ti-st/st_core.c spin_lock_irqsave(&st_data->lock, flags); st_data 479 drivers/misc/ti-st/st_core.c set_bit(TTY_DO_WRITE_WAKEUP, &st_data->tty->flags); st_data 480 drivers/misc/ti-st/st_core.c len = st_int_write(st_data, skb->data, skb->len); st_data 485 drivers/misc/ti-st/st_core.c st_data->tx_skb = skb; st_data 486 drivers/misc/ti-st/st_core.c spin_unlock_irqrestore(&st_data->lock, flags); st_data 490 drivers/misc/ti-st/st_core.c spin_unlock_irqrestore(&st_data->lock, flags); st_data 493 drivers/misc/ti-st/st_core.c } while (test_bit(ST_TX_WAKEUP, &st_data->tx_state)); st_data 496 drivers/misc/ti-st/st_core.c clear_bit(ST_TX_SENDING, &st_data->tx_state); st_data 17 drivers/misc/ti-st/st_ll.c static void send_ll_cmd(struct st_data_s *st_data, st_data 22 drivers/misc/ti-st/st_ll.c st_int_write(st_data, &cmd, 1); st_data 26 drivers/misc/ti-st/st_ll.c static void ll_device_want_to_sleep(struct st_data_s *st_data) st_data 33 drivers/misc/ti-st/st_ll.c if (st_data->ll_state != ST_LL_AWAKE) st_data 35 drivers/misc/ti-st/st_ll.c "in state %ld", st_data->ll_state); st_data 37 drivers/misc/ti-st/st_ll.c send_ll_cmd(st_data, LL_SLEEP_ACK); st_data 39 drivers/misc/ti-st/st_ll.c st_data->ll_state = ST_LL_ASLEEP; st_data 42 drivers/misc/ti-st/st_ll.c kim_data = st_data->kim_data; st_data 48 drivers/misc/ti-st/st_ll.c static void ll_device_want_to_wakeup(struct st_data_s *st_data) st_data 54 drivers/misc/ti-st/st_ll.c switch (st_data->ll_state) { st_data 56 drivers/misc/ti-st/st_ll.c send_ll_cmd(st_data, LL_WAKE_UP_ACK); /* send wake_ack */ st_data 72 drivers/misc/ti-st/st_ll.c st_data->ll_state = ST_LL_AWAKE; st_data 75 drivers/misc/ti-st/st_ll.c kim_data = st_data->kim_data; st_data 118 drivers/misc/ti-st/st_ll.c unsigned long st_ll_sleep_state(struct st_data_s *st_data, st_data 124 drivers/misc/ti-st/st_ll.c ll_device_want_to_sleep(st_data); st_data 131 drivers/misc/ti-st/st_ll.c ll_device_want_to_wakeup(st_data); st_data 135 drivers/misc/ti-st/st_ll.c st_data->ll_state = ST_LL_AWAKE; st_data 174 include/linux/ti_wilink_st.h void st_tx_wakeup(struct st_data_s *st_data); st_data 263 sound/soc/ti/omap-mcbsp-priv.h struct omap_mcbsp_st_data *st_data; st_data 67 sound/soc/ti/omap-mcbsp-st.c writel_relaxed(val, mcbsp->st_data->io_base_st + reg); st_data 72 sound/soc/ti/omap-mcbsp-st.c return readl_relaxed(mcbsp->st_data->io_base_st + reg); st_data 84 sound/soc/ti/omap-mcbsp-st.c mcbsp->pdata->force_ick_on(mcbsp->st_data->mcbsp_iclk, true); st_data 114 sound/soc/ti/omap-mcbsp-st.c mcbsp->pdata->force_ick_on(mcbsp->st_data->mcbsp_iclk, false); st_data 146 sound/soc/ti/omap-mcbsp-st.c struct omap_mcbsp_st_data *st_data = mcbsp->st_data; st_data 150 sound/soc/ti/omap-mcbsp-st.c MCBSP_ST_WRITE(mcbsp, SGAINCR, ST_CH0GAIN(st_data->ch0gain) | st_data 151 sound/soc/ti/omap-mcbsp-st.c ST_CH1GAIN(st_data->ch1gain)); st_data 157 sound/soc/ti/omap-mcbsp-st.c struct omap_mcbsp_st_data *st_data = mcbsp->st_data; st_data 160 sound/soc/ti/omap-mcbsp-st.c if (!st_data) st_data 165 sound/soc/ti/omap-mcbsp-st.c st_data->ch0gain = chgain; st_data 167 sound/soc/ti/omap-mcbsp-st.c st_data->ch1gain = chgain; st_data 171 sound/soc/ti/omap-mcbsp-st.c if (st_data->enabled) st_data 181 sound/soc/ti/omap-mcbsp-st.c struct omap_mcbsp_st_data *st_data = mcbsp->st_data; st_data 184 sound/soc/ti/omap-mcbsp-st.c if (!st_data) st_data 189 sound/soc/ti/omap-mcbsp-st.c *chgain = st_data->ch0gain; st_data 191 sound/soc/ti/omap-mcbsp-st.c *chgain = st_data->ch1gain; st_data 201 sound/soc/ti/omap-mcbsp-st.c struct omap_mcbsp_st_data *st_data = mcbsp->st_data; st_data 203 sound/soc/ti/omap-mcbsp-st.c if (!st_data) st_data 207 sound/soc/ti/omap-mcbsp-st.c st_data->enabled = 1; st_data 216 sound/soc/ti/omap-mcbsp-st.c struct omap_mcbsp_st_data *st_data = mcbsp->st_data; st_data 219 sound/soc/ti/omap-mcbsp-st.c if (!st_data) st_data 224 sound/soc/ti/omap-mcbsp-st.c st_data->enabled = 0; st_data 232 sound/soc/ti/omap-mcbsp-st.c struct omap_mcbsp_st_data *st_data = mcbsp->st_data; st_data 234 sound/soc/ti/omap-mcbsp-st.c if (!st_data) st_data 237 sound/soc/ti/omap-mcbsp-st.c return st_data->enabled; st_data 244 sound/soc/ti/omap-mcbsp-st.c struct omap_mcbsp_st_data *st_data = mcbsp->st_data; st_data 249 sound/soc/ti/omap-mcbsp-st.c for (i = 0; i < st_data->nr_taps; i++) st_data 251 sound/soc/ti/omap-mcbsp-st.c st_data->taps[i]); st_data 264 sound/soc/ti/omap-mcbsp-st.c struct omap_mcbsp_st_data *st_data = mcbsp->st_data; st_data 268 sound/soc/ti/omap-mcbsp-st.c memset(st_data->taps, 0, sizeof(st_data->taps)); st_data 269 sound/soc/ti/omap-mcbsp-st.c st_data->nr_taps = 0; st_data 281 sound/soc/ti/omap-mcbsp-st.c st_data->taps[i++] = val; st_data 288 sound/soc/ti/omap-mcbsp-st.c st_data->nr_taps = i; st_data 309 sound/soc/ti/omap-mcbsp-st.c struct omap_mcbsp_st_data *st_data = mcbsp->st_data; st_data 311 sound/soc/ti/omap-mcbsp-st.c if (st_data->enabled && !st_data->running) { st_data 312 sound/soc/ti/omap-mcbsp-st.c omap_mcbsp_st_fir_write(mcbsp, st_data->taps); st_data 317 sound/soc/ti/omap-mcbsp-st.c st_data->running = 1; st_data 326 sound/soc/ti/omap-mcbsp-st.c struct omap_mcbsp_st_data *st_data = mcbsp->st_data; st_data 328 sound/soc/ti/omap-mcbsp-st.c if (st_data->running) { st_data 331 sound/soc/ti/omap-mcbsp-st.c st_data->running = 0; st_data 341 sound/soc/ti/omap-mcbsp-st.c struct omap_mcbsp_st_data *st_data; st_data 349 sound/soc/ti/omap-mcbsp-st.c st_data = devm_kzalloc(mcbsp->dev, sizeof(*mcbsp->st_data), GFP_KERNEL); st_data 350 sound/soc/ti/omap-mcbsp-st.c if (!st_data) st_data 353 sound/soc/ti/omap-mcbsp-st.c st_data->mcbsp_iclk = clk_get(mcbsp->dev, "ick"); st_data 354 sound/soc/ti/omap-mcbsp-st.c if (IS_ERR(st_data->mcbsp_iclk)) { st_data 357 sound/soc/ti/omap-mcbsp-st.c st_data->mcbsp_iclk = NULL; st_data 360 sound/soc/ti/omap-mcbsp-st.c st_data->io_base_st = devm_ioremap(mcbsp->dev, res->start, st_data 362 sound/soc/ti/omap-mcbsp-st.c if (!st_data->io_base_st) st_data 369 sound/soc/ti/omap-mcbsp-st.c mcbsp->st_data = st_data; st_data 378 sound/soc/ti/omap-mcbsp-st.c if (mcbsp->st_data) { st_data 380 sound/soc/ti/omap-mcbsp-st.c clk_put(mcbsp->st_data->mcbsp_iclk); st_data 495 sound/soc/ti/omap-mcbsp-st.c if (!mcbsp->st_data) { st_data 424 sound/soc/ti/omap-mcbsp.c if (mcbsp->st_data) st_data 512 sound/soc/ti/omap-mcbsp.c if (mcbsp->st_data)