/linux/drivers/tty/serial/ |
H A D | sifive.c | 220 * @ssp: pointer to a struct sifive_serial_port record 223 * IP block base, given a pointer @ssp to a struct sifive_serial_port record. 227 static void __ssp_writel(u32 v, u16 offs, struct sifive_serial_port *ssp) in __ssp_writel() argument 229 __ssp_early_writel(v, offs, &ssp->port); in __ssp_writel() 234 * @ssp: pointer to a struct sifive_serial_port record 238 * IP block base, given a pointer @ssp to a struct sifive_serial_port record. 244 static u32 __ssp_readl(struct sifive_serial_port *ssp, u16 offs) in __ssp_readl() argument 246 return __ssp_early_readl(&ssp->port, offs); in __ssp_readl() 251 * @ssp: pointer to a struct sifive_serial_port 260 static int sifive_serial_is_txfifo_full(struct sifive_serial_port *ssp) in sifive_serial_is_txfifo_full() argument 277 __ssp_transmit_char(struct sifive_serial_port * ssp,int ch) __ssp_transmit_char() argument 291 __ssp_transmit_chars(struct sifive_serial_port * ssp) __ssp_transmit_chars() argument 308 __ssp_enable_txwm(struct sifive_serial_port * ssp) __ssp_enable_txwm() argument 324 __ssp_enable_rxwm(struct sifive_serial_port * ssp) __ssp_enable_rxwm() argument 340 __ssp_disable_txwm(struct sifive_serial_port * ssp) __ssp_disable_txwm() argument 356 __ssp_disable_rxwm(struct sifive_serial_port * ssp) __ssp_disable_rxwm() argument 377 __ssp_receive_char(struct sifive_serial_port * ssp,char * is_empty) __ssp_receive_char() argument 405 __ssp_receive_chars(struct sifive_serial_port * ssp) __ssp_receive_chars() argument 432 __ssp_update_div(struct sifive_serial_port * ssp) __ssp_update_div() argument 451 __ssp_update_baud_rate(struct sifive_serial_port * ssp,unsigned int rate) __ssp_update_baud_rate() argument 468 __ssp_set_stop_bits(struct sifive_serial_port * ssp,char nstop) __ssp_set_stop_bits() argument 491 __ssp_wait_for_xmitr(struct sifive_serial_port * ssp) __ssp_wait_for_xmitr() argument 503 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_stop_tx() local 510 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_stop_rx() local 517 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_start_tx() local 524 struct sifive_serial_port *ssp = dev_id; sifive_serial_irq() local 567 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_startup() local 579 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_shutdown() local 605 struct sifive_serial_port *ssp = notifier_to_sifive_serial_port(nb); sifive_serial_clk_notifier() local 639 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_set_termios() local 696 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_config_port() local 715 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_poll_get_char() local 728 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_poll_put_char() local 786 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port); sifive_serial_console_putchar() local 811 struct sifive_serial_port *ssp = sifive_serial_console_ports[co->index]; sifive_serial_console_write_atomic() local 837 struct sifive_serial_port *ssp = sifive_serial_console_ports[co->index]; sifive_serial_console_write_thread() local 876 struct sifive_serial_port *ssp; sifive_serial_console_setup() local 920 __ssp_add_console_port(struct sifive_serial_port * ssp) __ssp_add_console_port() argument 925 __ssp_remove_console_port(struct sifive_serial_port * ssp) __ssp_remove_console_port() argument 936 __ssp_add_console_port(struct sifive_serial_port * ssp) __ssp_add_console_port() argument 938 __ssp_remove_console_port(struct sifive_serial_port * ssp) __ssp_remove_console_port() argument 975 struct sifive_serial_port *ssp; sifive_serial_probe() local 1077 struct sifive_serial_port *ssp = platform_get_drvdata(dev); sifive_serial_remove() local 1087 struct sifive_serial_port *ssp = dev_get_drvdata(dev); sifive_serial_suspend() local 1094 struct sifive_serial_port *ssp = dev_get_drvdata(dev); sifive_serial_resume() local [all...] |
/linux/drivers/soc/pxa/ |
H A D | ssp.c | 3 * linux/arch/arm/mach-pxa/ssp.c 5 * based on linux/arch/arm/mach-sa1100/ssp.c by Russell King 10 * PXA2xx SSP driver. This provides the generic core for simple 11 * IO-based SSP applications and allows easy port setup for DMA access. 40 struct ssp_device *ssp = NULL; in pxa_ssp_request() local 44 list_for_each_entry(ssp, &ssp_list, node) { in pxa_ssp_request() 45 if (ssp->port_id == port && ssp->use_count == 0) { in pxa_ssp_request() 46 ssp->use_count++; in pxa_ssp_request() 47 ssp in pxa_ssp_request() 64 struct ssp_device *ssp = NULL; pxa_ssp_request_of() local 85 pxa_ssp_free(struct ssp_device * ssp) pxa_ssp_free() argument 114 struct ssp_device *ssp; pxa_ssp_probe() local 181 struct ssp_device *ssp = platform_get_drvdata(pdev); pxa_ssp_remove() local [all...] |
/linux/sound/soc/pxa/ |
H A D | pxa-ssp.c | 3 * pxa-ssp.c -- ALSA Soc Audio Layer 33 #include "pxa-ssp.h" 36 * SSP audio private data 39 struct ssp_device *ssp; member 53 static void dump_registers(struct ssp_device *ssp) in dump_registers() argument 55 dev_dbg(ssp->dev, "SSCR0 0x%08x SSCR1 0x%08x SSTO 0x%08x\n", in dump_registers() 56 pxa_ssp_read_reg(ssp, SSCR0), pxa_ssp_read_reg(ssp, SSCR1), in dump_registers() 57 pxa_ssp_read_reg(ssp, SSTO)); in dump_registers() 59 dev_dbg(ssp in dump_registers() 64 pxa_ssp_set_dma_params(struct ssp_device * ssp,int width4,int out,struct snd_dmaengine_dai_dma_data * dma) pxa_ssp_set_dma_params() argument 77 struct ssp_device *ssp = priv->ssp; pxa_ssp_startup() local 103 struct ssp_device *ssp = priv->ssp; pxa_ssp_shutdown() local 121 struct ssp_device *ssp = priv->ssp; pxa_ssp_suspend() local 139 struct ssp_device *ssp = priv->ssp; pxa_ssp_resume() local 167 pxa_ssp_set_scr(struct ssp_device * ssp,u32 div) pxa_ssp_set_scr() argument 188 struct ssp_device *ssp = priv->ssp; pxa_ssp_set_dai_sysclk() local 256 struct ssp_device *ssp = priv->ssp; pxa_ssp_set_pll() local 322 struct ssp_device *ssp = priv->ssp; pxa_ssp_set_dai_tdm_slot() local 357 struct ssp_device *ssp = priv->ssp; pxa_ssp_set_dai_tristate() local 417 struct ssp_device *ssp = priv->ssp; pxa_ssp_configure_dai_fmt() local 536 struct ssp_device *ssp = priv->ssp; pxa_ssp_hw_params() local 676 pxa_ssp_set_running_bit(struct snd_pcm_substream * substream,struct ssp_device * ssp,int value) pxa_ssp_set_running_bit() argument 712 struct ssp_device *ssp = priv->ssp; pxa_ssp_trigger() local [all...] |
H A D | pxa-ssp.h | 3 * ASoC PXA SSP port support 9 /* SSP clock sources */ 16 /* SSP audio dividers */ 21 /* SSP ACDS audio dividers values */ 29 /* SSP divider bypass */
|
/linux/drivers/mmc/host/ |
H A D | mxs-mmc.c | 48 struct mxs_ssp ssp; member 64 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_get_cd() local 75 !(readl(ssp->base + HW_SSP_STATUS(ssp)) & in mxs_mmc_get_cd() 86 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_reset() local 90 ret = stmp_reset_block(ssp->base); in mxs_mmc_reset() 108 ssp->base + HW_SSP_TIMING(ssp)); in mxs_mmc_reset() 128 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_request_done() local 180 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_irq_handler() local 216 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_prep_dma() local 250 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_bc() local 284 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_ac() local 357 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_adtc() local 512 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_enable_sdio_irq() local 566 struct mxs_ssp *ssp; mxs_mmc_probe() local 673 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_remove() local 688 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_suspend() local 698 struct mxs_ssp *ssp = &host->ssp; mxs_mmc_resume() local [all...] |
/linux/kernel/rcu/ |
H A D | srcutree.c | 76 static void srcu_reschedule(struct srcu_struct *ssp, unsigned long delay); 123 static void init_srcu_struct_data(struct srcu_struct *ssp) in init_srcu_struct_data() argument 133 sdp = per_cpu_ptr(ssp->sda, cpu); in init_srcu_struct_data() 137 sdp->srcu_gp_seq_needed = ssp->srcu_sup->srcu_gp_seq; in init_srcu_struct_data() 138 sdp->srcu_gp_seq_needed_exp = ssp->srcu_sup->srcu_gp_seq; in init_srcu_struct_data() 144 sdp->ssp = ssp; in init_srcu_struct_data() 164 static bool init_srcu_struct_nodes(struct srcu_struct *ssp, gfp_t gfp_flags) in init_srcu_struct_nodes() argument 176 ssp->srcu_sup->node = kcalloc(rcu_num_nodes, sizeof(*ssp in init_srcu_struct_nodes() 237 init_srcu_struct_fields(struct srcu_struct * ssp,bool is_static) init_srcu_struct_fields() argument 289 __init_srcu_struct(struct srcu_struct * ssp,const char * name,struct lock_class_key * key) __init_srcu_struct() argument 309 init_srcu_struct(struct srcu_struct * ssp) init_srcu_struct() argument 320 __srcu_transition_to_big(struct srcu_struct * ssp) __srcu_transition_to_big() argument 329 srcu_transition_to_big(struct srcu_struct * ssp) srcu_transition_to_big() argument 349 spin_lock_irqsave_check_contention(struct srcu_struct * ssp) spin_lock_irqsave_check_contention() argument 373 struct srcu_struct *ssp = sdp->ssp; spin_lock_irqsave_sdp_contention() local 389 spin_lock_irqsave_ssp_contention(struct srcu_struct * ssp,unsigned long * flags) spin_lock_irqsave_ssp_contention() argument 405 check_init_srcu_struct(struct srcu_struct * ssp) check_init_srcu_struct() argument 424 srcu_gp_is_expedited(struct srcu_struct * ssp) srcu_gp_is_expedited() argument 437 srcu_readers_lock_idx(struct srcu_struct * ssp,int idx,bool gp,unsigned long unlocks) srcu_readers_lock_idx() argument 461 srcu_readers_unlock_idx(struct srcu_struct * ssp,int idx,unsigned long * rdm) srcu_readers_unlock_idx() argument 483 srcu_readers_active_idx_check(struct srcu_struct * ssp,int idx) srcu_readers_active_idx_check() argument 579 srcu_readers_active(struct srcu_struct * ssp) srcu_readers_active() argument 646 srcu_get_delay(struct srcu_struct * ssp) srcu_get_delay() argument 678 cleanup_srcu_struct(struct srcu_struct * ssp) cleanup_srcu_struct() argument 726 __srcu_check_read_flavor(struct srcu_struct * ssp,int read_flavor) __srcu_check_read_flavor() argument 752 __srcu_read_lock(struct srcu_struct * ssp) __srcu_read_lock() argument 767 __srcu_read_unlock(struct srcu_struct * ssp,int idx) __srcu_read_unlock() argument 781 __srcu_read_lock_nmisafe(struct srcu_struct * ssp) __srcu_read_lock_nmisafe() argument 797 __srcu_read_unlock_nmisafe(struct srcu_struct * ssp,int idx) __srcu_read_unlock_nmisafe() argument 809 srcu_gp_start(struct srcu_struct * ssp) srcu_gp_start() argument 857 srcu_schedule_cbs_snp(struct srcu_struct * ssp,struct srcu_node * snp,unsigned long mask,unsigned long delay) srcu_schedule_cbs_snp() argument 878 srcu_gp_end(struct srcu_struct * ssp) srcu_gp_end() argument 984 srcu_funnel_exp_start(struct srcu_struct * ssp,struct srcu_node * snp,unsigned long s) srcu_funnel_exp_start() argument 1024 srcu_funnel_gp_start(struct srcu_struct * ssp,struct srcu_data * sdp,unsigned long s,bool do_norm) srcu_funnel_gp_start() argument 1105 try_check_zero(struct srcu_struct * ssp,int idx,int trycount) try_check_zero() argument 1127 srcu_flip(struct srcu_struct * ssp) srcu_flip() argument 1198 srcu_should_expedite(struct srcu_struct * ssp) srcu_should_expedite() argument 1253 srcu_gp_start_if_needed(struct srcu_struct * ssp,struct rcu_head * rhp,bool do_norm) srcu_gp_start_if_needed() argument 1381 __call_srcu(struct srcu_struct * ssp,struct rcu_head * rhp,rcu_callback_t func,bool do_norm) __call_srcu() argument 1415 call_srcu(struct srcu_struct * ssp,struct rcu_head * rhp,rcu_callback_t func) call_srcu() argument 1425 __synchronize_srcu(struct srcu_struct * ssp,bool do_norm) __synchronize_srcu() argument 1467 synchronize_srcu_expedited(struct srcu_struct * ssp) synchronize_srcu_expedited() argument 1522 synchronize_srcu(struct srcu_struct * ssp) synchronize_srcu() argument 1541 get_state_synchronize_srcu(struct srcu_struct * ssp) get_state_synchronize_srcu() argument 1560 start_poll_synchronize_srcu(struct srcu_struct * ssp) start_poll_synchronize_srcu() argument 1591 poll_state_synchronize_srcu(struct srcu_struct * ssp,unsigned long cookie) poll_state_synchronize_srcu() argument 1609 struct srcu_struct *ssp; srcu_barrier_cb() local 1626 srcu_barrier_one_cpu(struct srcu_struct * ssp,struct srcu_data * sdp) srcu_barrier_one_cpu() argument 1644 srcu_barrier(struct srcu_struct * ssp) srcu_barrier() argument 1688 srcu_batches_completed(struct srcu_struct * ssp) srcu_batches_completed() argument 1699 srcu_advance_state(struct srcu_struct * ssp) srcu_advance_state() argument 1776 struct srcu_struct *ssp; srcu_invoke_callbacks() local 1830 srcu_reschedule(struct srcu_struct * ssp,unsigned long delay) srcu_reschedule() argument 1857 struct srcu_struct *ssp; process_srcu() local 1884 srcutorture_get_gp_data(struct srcu_struct * ssp,int * flags,unsigned long * gp_seq) srcutorture_get_gp_data() argument 1905 srcu_torture_stats_print(struct srcu_struct * ssp,char * tt,char * tf) srcu_torture_stats_print() argument 2010 struct srcu_struct *ssp; srcu_module_coming() local 2027 struct srcu_struct *ssp; srcu_module_going() local [all...] |
/linux/drivers/spi/ |
H A D | spi-pxa2xx-platform.c | 22 pxa2xx_spi_init_ssp(struct platform_device *pdev, struct ssp_device *ssp, enum pxa_ssp_type type) in pxa2xx_spi_init_ssp() argument 29 ssp->mmio_base = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in pxa2xx_spi_init_ssp() 30 if (IS_ERR(ssp->mmio_base)) in pxa2xx_spi_init_ssp() 31 return PTR_ERR(ssp->mmio_base); in pxa2xx_spi_init_ssp() 33 ssp->phys_base = res->start; in pxa2xx_spi_init_ssp() 35 ssp->clk = devm_clk_get(dev, NULL); in pxa2xx_spi_init_ssp() 36 if (IS_ERR(ssp->clk)) in pxa2xx_spi_init_ssp() 37 return PTR_ERR(ssp->clk); in pxa2xx_spi_init_ssp() 39 ssp->irq = platform_get_irq(pdev, 0); in pxa2xx_spi_init_ssp() 40 if (ssp in pxa2xx_spi_init_ssp() 55 pxa2xx_spi_ssp_release(void * ssp) pxa2xx_spi_ssp_release() argument 62 struct ssp_device *ssp; pxa2xx_spi_ssp_request() local 84 struct ssp_device *ssp; pxa2xx_spi_init_pdata() local 145 struct ssp_device *ssp; pxa2xx_spi_platform_probe() local [all...] |
H A D | spi-mxs.c | 59 struct mxs_ssp ssp; member 68 struct mxs_ssp *ssp = &spi->ssp; in mxs_spi_setup_transfer() local 77 mxs_ssp_set_clk_rate(ssp, hz); in mxs_spi_setup_transfer() 80 * ssp->clk_rate. Otherwise we would set the rate every transfer in mxs_spi_setup_transfer() 91 ssp->base + HW_SSP_CTRL0 + STMP_OFFSET_REG_SET); in mxs_spi_setup_transfer() 97 ssp->base + HW_SSP_CTRL1(ssp)); in mxs_spi_setup_transfer() 99 writel(0x0, ssp->base + HW_SSP_CMD0); in mxs_spi_setup_transfer() 100 writel(0x0, ssp in mxs_spi_setup_transfer() 128 struct mxs_ssp *ssp = &spi->ssp; mxs_ssp_wait() local 155 struct mxs_ssp *ssp = dev_id; mxs_ssp_irq_handler() local 168 struct mxs_ssp *ssp = &spi->ssp; mxs_spi_txrx_dma() local 303 struct mxs_ssp *ssp = &spi->ssp; mxs_spi_txrx_pio() local 365 struct mxs_ssp *ssp = &spi->ssp; mxs_spi_transfer_one() local 447 struct mxs_ssp *ssp = &spi->ssp; mxs_spi_runtime_suspend() local 468 struct mxs_ssp *ssp = &spi->ssp; mxs_spi_runtime_resume() local 535 struct mxs_ssp *ssp; mxs_spi_probe() local 647 struct mxs_ssp *ssp; mxs_spi_remove() local [all...] |
H A D | spi-pxa2xx-pci.c | 67 static int pxa2xx_spi_pci_clk_register(struct pci_dev *dev, struct ssp_device *ssp, in pxa2xx_spi_pci_clk_register() argument 72 snprintf(buf, sizeof(buf), "pxa2xx-spi.%d", ssp->port_id); in pxa2xx_spi_pci_clk_register() 73 ssp->clk = clk_register_fixed_rate(&dev->dev, buf, NULL, 0, rate); in pxa2xx_spi_pci_clk_register() 74 if (IS_ERR(ssp->clk)) in pxa2xx_spi_pci_clk_register() 75 return PTR_ERR(ssp->clk); in pxa2xx_spi_pci_clk_register() 77 return devm_add_action_or_reset(&dev->dev, pxa2xx_spi_pci_clk_unregister, ssp->clk); in pxa2xx_spi_pci_clk_register() 98 struct ssp_device *ssp = &c->ssp; in lpss_spi_setup() local 105 ssp->type = LPSS_BYT_SSP; in lpss_spi_setup() 106 ssp in lpss_spi_setup() 179 struct ssp_device *ssp = &c->ssp; ce4100_spi_setup() local 194 struct ssp_device *ssp = &c->ssp; mrfld_spi_setup() local 251 struct ssp_device *ssp = &c->ssp; qrk_spi_setup() local 270 struct ssp_device *ssp; pxa2xx_spi_pci_probe() local [all...] |
H A D | spi-pxa2xx-dma.c | 52 /* In case we got an error we disable the SSP now */ in pxa2xx_spi_dma_transfer_complete() 53 pxa_ssp_disable(drv_data->ssp); in pxa2xx_spi_dma_transfer_complete() 93 cfg.dst_addr = drv_data->ssp->phys_base + SSDR; in pxa2xx_spi_dma_prepare_one() 100 cfg.src_addr = drv_data->ssp->phys_base + SSDR; in pxa2xx_spi_dma_prepare_one() 110 dev_warn(drv_data->ssp->dev, "DMA slave config failed\n"); in pxa2xx_spi_dma_prepare_one() 124 dev_err(drv_data->ssp->dev, "FIFO overrun\n"); in pxa2xx_spi_dma_transfer() 144 dev_err(drv_data->ssp->dev, "failed to get DMA TX descriptor\n"); in pxa2xx_spi_dma_prepare() 151 dev_err(drv_data->ssp->dev, "failed to get DMA RX descriptor\n"); in pxa2xx_spi_dma_prepare() 189 struct device *dev = drv_data->ssp->dev; in pxa2xx_spi_dma_setup()
|
H A D | spi-pl022.c | 3 * A driver for the ARM PL022 PrimeCell SSP/SPI bus master. 63 * Macros to access SSP Registers with their offsets 92 * SSP Control Register 0 - SSP_CR0 110 * SSP Control Register 0 - SSP_CR1 130 * SSP Status Register - SSP_SR 139 * SSP Clock Prescale Register - SSP_CPSR 144 * SSP Interrupt Mask Set/Clear Register - SSP_IMSC 152 * SSP Raw Interrupt Status Register - SSP_RIS 164 * SSP Masked Interrupt Status Register - SSP_MIS 176 * SSP Interrup [all...] |
/linux/arch/arm/mach-sa1100/ |
H A D | ssp.c | 3 * linux/arch/arm/mach-sa1100/ssp.c 7 * Generic SSP driver. This provides the generic core for simple 8 * IO-based SSP applications. 21 #include <asm/hardware/ssp.h> 30 printk(KERN_WARNING "SSP: receiver overrun\n"); in ssp_interrupt() 38 * ssp_write_word - write a word to the SSP port 41 * Wait for a free entry in the SSP transmit FIFO, and write a data 42 * word to the SSP port. Wait for the SSP port to start sending 74 * ssp_read_word - read a word from the SSP por 158 ssp_save_state(struct ssp_state * ssp) ssp_save_state() argument 172 ssp_restore_state(struct ssp_state * ssp) ssp_restore_state() argument [all...] |
H A D | jornada720_ssp.c | 8 * SSP driver for the HP Jornada 710/720/728 22 #include <asm/hardware/ssp.h> 49 * jornada_ssp_byte - waits for ready ssp bus and sends byte 65 printk(KERN_WARNING "SSP: timeout while waiting for transmit\n"); in jornada_ssp_byte() 143 printk(KERN_INFO "SSP: device initialized with irq\n"); in jornada_ssp_probe() 147 printk(KERN_WARNING "SSP: initialization failed, trying non-irq solution \n"); in jornada_ssp_probe() 171 printk(KERN_WARNING "SSP: attempts failed, bailing\n"); in jornada_ssp_probe() 177 printk(KERN_INFO "SSP: device initialized\n"); in jornada_ssp_probe()
|
/linux/include/linux/ |
H A D | srcutiny.h | 55 void synchronize_srcu(struct srcu_struct *ssp); 63 static inline int __srcu_read_lock(struct srcu_struct *ssp) in __srcu_read_lock() argument 68 idx = ((READ_ONCE(ssp->srcu_idx) + 1) & 0x2) >> 1; in __srcu_read_lock() 69 WRITE_ONCE(ssp->srcu_lock_nesting[idx], READ_ONCE(ssp->srcu_lock_nesting[idx]) + 1); in __srcu_read_lock() 76 static inline bool __srcu_ptr_to_ctr(struct srcu_struct *ssp, struct srcu_ctr __percpu *scpp) in __srcu_ptr_to_ctr() argument 81 static inline struct srcu_ctr __percpu *__srcu_ctr_to_ptr(struct srcu_struct *ssp, int idx) in __srcu_ctr_to_ptr() argument 86 static inline struct srcu_ctr __percpu *__srcu_read_lock_fast(struct srcu_struct *ssp) in __srcu_read_lock_fast() argument 88 return __srcu_ctr_to_ptr(ssp, __srcu_read_lock(ssp)); in __srcu_read_lock_fast() 91 __srcu_read_unlock_fast(struct srcu_struct * ssp,struct srcu_ctr __percpu * scp) __srcu_read_unlock_fast() argument 96 synchronize_srcu_expedited(struct srcu_struct * ssp) synchronize_srcu_expedited() argument 101 srcu_barrier(struct srcu_struct * ssp) srcu_barrier() argument 106 srcu_check_read_flavor(ssp,read_flavor) global() argument 107 srcu_check_read_flavor_force(ssp,read_flavor) global() argument 110 srcu_torture_stats_print(struct srcu_struct * ssp,char * tt,char * tf) srcu_torture_stats_print() argument [all...] |
H A D | pxa2xx_ssp.h | 5 * This driver supports the following PXA CPU/SSP ports:- 7 * PXA250 SSP 8 * PXA255 SSP, NSSP 9 * PXA26x SSP, NSSP, ASSP 29 * SSP Serial Port Registers 30 * PXA250, PXA255, PXA26x and PXA27x SSP controllers are all slightly different. 34 #define SSCR0 (0x00) /* SSP Control Register 0 */ 35 #define SSCR1 (0x04) /* SSP Control Register 1 */ 36 #define SSSR (0x08) /* SSP Status Register */ 37 #define SSITR (0x0C) /* SSP Interrup 275 pxa_ssp_enable(struct ssp_device * ssp) pxa_ssp_enable() argument 283 pxa_ssp_disable(struct ssp_device * ssp) pxa_ssp_disable() argument 306 pxa_ssp_free(struct ssp_device * ssp) pxa_ssp_free() argument [all...] |
H A D | srcutree.h | 49 struct srcu_struct *ssp; member 210 int __srcu_read_lock(struct srcu_struct *ssp) __acquires(ssp); 211 void synchronize_srcu_expedited(struct srcu_struct *ssp); 212 void srcu_barrier(struct srcu_struct *ssp); 213 void srcu_torture_stats_print(struct srcu_struct *ssp, char *tt, char *tf); 217 static inline bool __srcu_ptr_to_ctr(struct srcu_struct *ssp, struct srcu_ctr __percpu *scpp) in __srcu_ptr_to_ctr() argument 219 return scpp - &ssp->sda->srcu_ctrs[0]; in __srcu_ptr_to_ctr() 224 static inline struct srcu_ctr __percpu *__srcu_ctr_to_ptr(struct srcu_struct *ssp, int idx) in __srcu_ctr_to_ptr() argument 226 return &ssp in __srcu_ctr_to_ptr() 243 __srcu_read_lock_fast(struct srcu_struct * ssp) __srcu_read_lock_fast() argument 271 __srcu_read_unlock_fast(struct srcu_struct * ssp,struct srcu_ctr __percpu * scp) __srcu_read_unlock_fast() argument 286 srcu_check_read_flavor_force(struct srcu_struct * ssp,int read_flavor) srcu_check_read_flavor_force() argument 298 srcu_check_read_flavor(struct srcu_struct * ssp,int read_flavor) srcu_check_read_flavor() argument [all...] |
/linux/Documentation/devicetree/bindings/spi/ |
H A D | marvell,mmp2-ssp.yaml | 5 $id: http://devicetree.org/schemas/spi/marvell,mmp2-ssp.yaml# 8 title: PXA2xx SSP SPI Controller 16 - marvell,mmp2-ssp 17 - mrvl,ce4100-ssp 18 - mvrl,pxa168-ssp 19 - mrvl,pxa25x-ssp 21 - mrvl,pxa27x-ssp 22 - mrvl,pxa3xx-ssp 23 - mrvl,pxa910-ssp 65 const: marvell,mmp2-ssp [all...] |
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | marvell,dove-pinctrl.txt | 30 mpp10 10 gpio, pmu, ssp(sclk), pmu* 36 ssp(extclk), pmu* 37 mpp14 14 gpio, pmu, uart2(txd), sdio1(buspwr), ssp(rxd), pmu* 38 mpp15 15 gpio, pmu, uart2(rxd), sdio1(ledctrl), ssp(sfrm), pmu* 47 uart1(cts), ssp(sfrm) 49 lcd-spi(mosi), uart1(cts), ssp(txd) 51 lcd-spi(sck), ssp(sclk) 55 mpp_audio1 52-57 gpio, i2s1/spdifo, i2s1, spdifo, twsi, ssp/spdifo, ssp, 56 ssp/tws [all...] |
/linux/drivers/clk/mxs/ |
H A D | clk-ssp.c | 21 void mxs_ssp_set_clk_rate(struct mxs_ssp *ssp, unsigned int rate) in mxs_ssp_set_clk_rate() argument 27 ssp_clk = clk_get_rate(ssp->clk); in mxs_ssp_set_clk_rate() 37 dev_err(ssp->dev, in mxs_ssp_set_clk_rate() 44 val = readl(ssp->base + HW_SSP_TIMING(ssp)); in mxs_ssp_set_clk_rate() 48 writel(val, ssp->base + HW_SSP_TIMING(ssp)); in mxs_ssp_set_clk_rate() 50 ssp->clk_rate = ssp_sck; in mxs_ssp_set_clk_rate() 52 dev_dbg(ssp->dev, in mxs_ssp_set_clk_rate()
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | mrvl,pxa-ssp.txt | 1 Marvell PXA SSP CPU DAI bindings 5 compatible Must be "mrvl,pxa-ssp-dai" 6 port A phandle reference to a PXA ssp upstream device 20 ssp1: ssp@41000000 { 21 compatible = "mrvl,pxa3xx-ssp"; 24 clock-names = "pxa27x-ssp.0"; 30 compatible = "mrvl,pxa-ssp-dai";
|
/linux/drivers/iio/common/ssp_sensors/ |
H A D | Kconfig | 3 # SSP sensor drivers and commons configuration 5 menu "SSP Sensor Common" 8 tristate "Commons for all SSP Sensor IIO drivers" 13 Say yes here to build commons for SSP sensors. 22 SSP driver for sensorhub. 23 If you say yes here you get ssp support for sensorhub.
|
/linux/sound/soc/intel/catpt/ |
H A D | registers.h | 35 #define CATPT_CS_SFCR(ssp) BIT(27 + (ssp)) argument 39 #define CATPT_CS_SDPM(ssp) BIT(11 + (ssp)) argument 44 #define CATPT_CS_SBCS(ssp) BIT(2 + (ssp)) argument 113 /* defaults to reset SSP registers to after each power cycle */ 144 #define catpt_ssp_addr(cdev, ssp) \ argument 145 ((cdev)->lpe_ba + (cdev)->spec->host_ssp_offset[ssp]) 151 #define catpt_writel_ssp(cdev, ssp, re argument [all...] |
/linux/sound/soc/intel/boards/ |
H A D | sof_ssp_amp.c | 52 /* BE ID defined in sof-tgl-rt1308-hdmi-ssp.m4 */ 185 /* SSP 1 and SSP 5 are used for HDMI IN */ 198 /* SSP 0 and SSP 2 are used for HDMI IN */ 204 /* SSP 0 and SSP 2 are used for HDMI IN */ 210 /* SSP 0 and SSP 2 are used for HDMI IN */ 216 /* SSP [all...] |
H A D | sof_board_helpers.h | 10 #include <sound/soc-acpi-intel-ssp-common.h> 18 /* SSP port number for headphone codec: 3 bits */ 24 /* SSP port number for speaker amplifier: 3 bits */ 30 /* SSP port number for BT audio offload: 3 bits */ 36 /* SSP port mask for HDMI capture: 6 bits */ 120 * @ssp_codec: ssp port number of headphone BE link 121 * @ssp_amp: ssp port number of speaker BE link 122 * @ssp_bt: ssp port number of BT offload BE link 123 * @ssp_mask_hdmi_in: ssp port mask of HDMI-IN BE link
|
/linux/drivers/scsi/isci/ |
H A D | remote_node_context.c | 129 rnc->ssp.remote_node_index = rni; in sci_remote_node_context_construct_buffer() 130 rnc->ssp.remote_node_port_width = idev->device_port_width; in sci_remote_node_context_construct_buffer() 131 rnc->ssp.logical_port_index = idev->owning_port->physical_port_index; in sci_remote_node_context_construct_buffer() 135 rnc->ssp.remote_sas_address_hi = upper_32_bits(sas_addr); in sci_remote_node_context_construct_buffer() 136 rnc->ssp.remote_sas_address_lo = lower_32_bits(sas_addr); in sci_remote_node_context_construct_buffer() 138 rnc->ssp.nexus_loss_timer_enable = true; in sci_remote_node_context_construct_buffer() 139 rnc->ssp.check_bit = false; in sci_remote_node_context_construct_buffer() 140 rnc->ssp.is_valid = false; in sci_remote_node_context_construct_buffer() 141 rnc->ssp.is_remote_node_context = true; in sci_remote_node_context_construct_buffer() 142 rnc->ssp in sci_remote_node_context_construct_buffer() [all...] |