/linux-6.3-rc2/kernel/rcu/ |
A D | srcutiny.c | 33 ssp->srcu_cb_tail = &ssp->srcu_cb_head; in init_srcu_struct_fields() 36 ssp->srcu_idx = 0; in init_srcu_struct_fields() 49 debug_check_no_locks_freed((void *)ssp, sizeof(*ssp)); in __init_srcu_struct() 82 WARN_ON(ssp->srcu_lock_nesting[0] || ssp->srcu_lock_nesting[1]); in cleanup_srcu_struct() 87 WARN_ON(&ssp->srcu_cb_head != ssp->srcu_cb_tail); in cleanup_srcu_struct() 88 WARN_ON(ssp->srcu_idx != ssp->srcu_idx_max); in cleanup_srcu_struct() 120 if (ssp->srcu_gp_running || ULONG_CMP_GE(ssp->srcu_idx, READ_ONCE(ssp->srcu_idx_max))) in srcu_drive_gp() 128 ssp->srcu_cb_tail = &ssp->srcu_cb_head; in srcu_drive_gp() 131 WRITE_ONCE(ssp->srcu_idx, ssp->srcu_idx + 1); in srcu_drive_gp() 135 WRITE_ONCE(ssp->srcu_idx, ssp->srcu_idx + 1); in srcu_drive_gp() [all …]
|
A D | srcutree.c | 144 sdp->ssp = ssp; in init_srcu_struct_data() 177 if (!ssp->node) in init_srcu_struct_nodes() 181 ssp->level[0] = &ssp->node[0]; in init_srcu_struct_nodes() 183 ssp->level[i] = ssp->level[i - 1] + num_rcu_lvl[i - 1]; in init_srcu_struct_nodes() 252 if (!ssp->sda) in init_srcu_struct_fields() 278 debug_check_no_locks_freed((void *)ssp, sizeof(*ssp)); in __init_srcu_struct() 360 struct srcu_struct *ssp = sdp->ssp; in spin_lock_irqsave_sdp_contention() local 1097 WRITE_ONCE(ssp->srcu_idx, ssp->srcu_idx + 1); in srcu_flip() 1488 ssp = sdp->ssp; in srcu_barrier_cb() 1543 srcu_barrier_one_cpu(ssp, per_cpu_ptr(ssp->sda, cpu)); in srcu_barrier() [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | srcu.h | 35 __init_srcu_struct((ssp), #ssp, &__srcu_key); \ 57 int __srcu_read_lock(struct srcu_struct *ssp) __acquires(ssp); 58 void __srcu_read_unlock(struct srcu_struct *ssp, int idx) __releases(ssp); 65 int __srcu_read_lock_nmisafe(struct srcu_struct *ssp) __acquires(ssp); 152 #define srcu_dereference(p, ssp) srcu_dereference_check((p), (ssp), 0) argument 179 static inline int srcu_read_lock(struct srcu_struct *ssp) __acquires(ssp) in srcu_read_lock() argument 208 srcu_read_lock_notrace(struct srcu_struct *ssp) __acquires(ssp) in srcu_read_lock_notrace() argument 238 static inline int srcu_down_read(struct srcu_struct *ssp) __acquires(ssp) in srcu_down_read() argument 253 __releases(ssp) in srcu_read_unlock() 269 __releases(ssp) in srcu_read_unlock_nmisafe() [all …]
|
A D | srcutiny.h | 51 void synchronize_srcu(struct srcu_struct *ssp); 59 static inline int __srcu_read_lock(struct srcu_struct *ssp) in __srcu_read_lock() argument 63 idx = ((READ_ONCE(ssp->srcu_idx) + 1) & 0x2) >> 1; in __srcu_read_lock() 64 WRITE_ONCE(ssp->srcu_lock_nesting[idx], READ_ONCE(ssp->srcu_lock_nesting[idx]) + 1); in __srcu_read_lock() 70 synchronize_srcu(ssp); in synchronize_srcu_expedited() 73 static inline void srcu_barrier(struct srcu_struct *ssp) in srcu_barrier() argument 75 synchronize_srcu(ssp); in srcu_barrier() 87 data_race(READ_ONCE(ssp->srcu_lock_nesting[!idx])), in srcu_torture_stats_print() 88 data_race(READ_ONCE(ssp->srcu_lock_nesting[idx])), in srcu_torture_stats_print() 89 data_race(READ_ONCE(ssp->srcu_idx)), in srcu_torture_stats_print() [all …]
|
A D | pxa2xx_ssp.h | 275 static inline void pxa_ssp_enable(struct ssp_device *ssp) in pxa_ssp_enable() argument 279 sscr0 = pxa_ssp_read_reg(ssp, SSCR0) | SSCR0_SSE; in pxa_ssp_enable() 280 pxa_ssp_write_reg(ssp, SSCR0, sscr0); in pxa_ssp_enable() 283 static inline void pxa_ssp_disable(struct ssp_device *ssp) in pxa_ssp_disable() argument 287 sscr0 = pxa_ssp_read_reg(ssp, SSCR0) & ~SSCR0_SSE; in pxa_ssp_disable() 288 pxa_ssp_write_reg(ssp, SSCR0, sscr0); in pxa_ssp_disable() 306 static inline void pxa_ssp_free(struct ssp_device *ssp) {} in pxa_ssp_free() argument
|
A D | srcutree.h | 43 struct srcu_struct *ssp; member 154 void synchronize_srcu_expedited(struct srcu_struct *ssp); 155 void srcu_barrier(struct srcu_struct *ssp); 156 void srcu_torture_stats_print(struct srcu_struct *ssp, char *tt, char *tf);
|
/linux-6.3-rc2/drivers/tty/serial/ |
A D | sifive.c | 312 __ssp_writel(ssp->ier, SIFIVE_SERIAL_IE_OFFS, ssp); in __ssp_enable_txwm() 328 __ssp_writel(ssp->ier, SIFIVE_SERIAL_IE_OFFS, ssp); in __ssp_enable_rxwm() 344 __ssp_writel(ssp->ier, SIFIVE_SERIAL_IE_OFFS, ssp); in __ssp_disable_txwm() 360 __ssp_writel(ssp->ier, SIFIVE_SERIAL_IE_OFFS, ssp); in __ssp_disable_rxwm() 791 if (!ssp) in sifive_serial_console_write() 826 if (!ssp) in sifive_serial_console_setup() 857 sifive_serial_console_ports[ssp->port.line] = ssp; in __ssp_add_console_port() 947 if (!ssp) in sifive_serial_probe() 971 ssp->port.uartclk = clk_get_rate(ssp->clk); in sifive_serial_probe() 1006 free_irq(ssp->port.irq, ssp); in sifive_serial_probe() [all …]
|
/linux-6.3-rc2/sound/soc/pxa/ |
A D | pxa-ssp.c | 77 struct ssp_device *ssp = priv->ssp; in pxa_ssp_startup() local 103 struct ssp_device *ssp = priv->ssp; in pxa_ssp_shutdown() local 121 struct ssp_device *ssp = priv->ssp; in pxa_ssp_suspend() local 139 struct ssp_device *ssp = priv->ssp; in pxa_ssp_resume() local 188 struct ssp_device *ssp = priv->ssp; in pxa_ssp_set_dai_sysclk() local 256 struct ssp_device *ssp = priv->ssp; in pxa_ssp_set_pll() local 322 struct ssp_device *ssp = priv->ssp; in pxa_ssp_set_dai_tdm_slot() local 357 struct ssp_device *ssp = priv->ssp; in pxa_ssp_set_dai_tristate() local 417 struct ssp_device *ssp = priv->ssp; in pxa_ssp_configure_dai_fmt() local 536 struct ssp_device *ssp = priv->ssp; in pxa_ssp_hw_params() local [all …]
|
/linux-6.3-rc2/drivers/soc/pxa/ |
A D | ssp.c | 45 if (ssp->port_id == port && ssp->use_count == 0) { in pxa_ssp_request() 46 ssp->use_count++; in pxa_ssp_request() 57 return ssp; in pxa_ssp_request() 69 if (ssp->of_node == of_node && ssp->use_count == 0) { in pxa_ssp_request_of() 70 ssp->use_count++; in pxa_ssp_request_of() 81 return ssp; in pxa_ssp_request_of() 89 ssp->use_count--; in pxa_ssp_free() 90 ssp->label = NULL; in pxa_ssp_free() 118 if (ssp == NULL) in pxa_ssp_probe() 121 ssp->dev = dev; in pxa_ssp_probe() [all …]
|
/linux-6.3-rc2/drivers/mmc/host/ |
A D | mxs-mmc.c | 65 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_get_cd() local 87 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_reset() local 129 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_request_done() local 181 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_irq_handler() local 217 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_prep_dma() local 251 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_bc() local 285 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_ac() local 358 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_adtc() local 513 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_enable_sdio_irq() local 578 ssp = &host->ssp; in mxs_mmc_probe() [all …]
|
/linux-6.3-rc2/drivers/spi/ |
A D | spi-mxs.c | 67 struct mxs_ssp *ssp = &spi->ssp; in mxs_spi_setup_transfer() local 96 ssp->base + HW_SSP_CTRL1(ssp)); in mxs_spi_setup_transfer() 127 struct mxs_ssp *ssp = &spi->ssp; in mxs_ssp_wait() local 167 struct mxs_ssp *ssp = &spi->ssp; in mxs_spi_txrx_dma() local 302 struct mxs_ssp *ssp = &spi->ssp; in mxs_spi_txrx_pio() local 364 struct mxs_ssp *ssp = &spi->ssp; in mxs_spi_transfer_one() local 398 ssp->base + HW_SSP_CTRL1(ssp) + in mxs_spi_transfer_one() 444 struct mxs_ssp *ssp = &spi->ssp; in mxs_spi_runtime_suspend() local 465 struct mxs_ssp *ssp = &spi->ssp; in mxs_spi_runtime_resume() local 579 ssp = &spi->ssp; in mxs_spi_probe() [all …]
|
A D | spi-pxa2xx-pci.c | 92 struct ssp_device *ssp = &c->ssp; in lpss_spi_setup() local 100 ssp->port_id = 0; in lpss_spi_setup() 106 ssp->port_id = 0; in lpss_spi_setup() 112 ssp->port_id = 1; in lpss_spi_setup() 118 ssp->port_id = 2; in lpss_spi_setup() 125 ssp->port_id = 0; in lpss_spi_setup() 132 ssp->port_id = 1; in lpss_spi_setup() 173 struct ssp_device *ssp = &c->ssp; in ce4100_spi_setup() local 188 struct ssp_device *ssp = &c->ssp; in mrfld_spi_setup() local 245 struct ssp_device *ssp = &c->ssp; in qrk_spi_setup() local [all …]
|
A D | spi-pxa2xx.c | 899 const struct ssp_device *ssp = drv_data->ssp; in ssp_get_clk_div() local 907 if (ssp->type == PXA25x_SSP || ssp->type == CE4100_SSP) in ssp_get_clk_div() 1366 ssp = &pdata->ssp; in pxa2xx_spi_init_pdata() 1386 if (ssp->irq < 0) in pxa2xx_spi_init_pdata() 1390 ssp->dev = dev; in pxa2xx_spi_init_pdata() 1456 if (!ssp) in pxa2xx_spi_probe() 1457 ssp = &platform_info->ssp; in pxa2xx_spi_probe() 1477 drv_data->ssp = ssp; in pxa2xx_spi_probe() 1665 struct ssp_device *ssp = drv_data->ssp; in pxa2xx_spi_remove() local 1694 struct ssp_device *ssp = drv_data->ssp; in pxa2xx_spi_suspend() local [all …]
|
A D | spi-pxa2xx-dma.c | 48 pxa_ssp_disable(drv_data->ssp); in pxa2xx_spi_dma_transfer_complete() 90 cfg.dst_addr = drv_data->ssp->phys_base + SSDR; in pxa2xx_spi_dma_prepare_one() 97 cfg.src_addr = drv_data->ssp->phys_base + SSDR; in pxa2xx_spi_dma_prepare_one() 107 dev_warn(drv_data->ssp->dev, "DMA slave config failed\n"); in pxa2xx_spi_dma_prepare_one() 121 dev_err(drv_data->ssp->dev, "FIFO overrun\n"); in pxa2xx_spi_dma_transfer() 141 dev_err(drv_data->ssp->dev, "failed to get DMA TX descriptor\n"); in pxa2xx_spi_dma_prepare() 148 dev_err(drv_data->ssp->dev, "failed to get DMA RX descriptor\n"); in pxa2xx_spi_dma_prepare() 186 struct device *dev = drv_data->ssp->dev; in pxa2xx_spi_dma_setup()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/serial/ |
A D | mrvl,pxa-ssp.txt | 6 mrvl,pxa25x-ssp 8 mrvl,pxa27x-ssp 9 mrvl,pxa3xx-ssp 10 mvrl,pxa168-ssp 11 mrvl,pxa910-ssp 12 mrvl,ce4100-ssp 21 ssp0: ssp@41000000 { 24 ssp-id = <1>; 35 ssp-id = <2>; 46 ssp-id = <3>; [all …]
|
/linux-6.3-rc2/drivers/input/mouse/ |
A D | navpoint.c | 32 struct ssp_device *ssp; member 120 struct ssp_device *ssp = navpoint->ssp; in navpoint_irq() local 152 struct ssp_device *ssp = navpoint->ssp; in navpoint_up() local 155 clk_prepare_enable(ssp->clk); in navpoint_up() 179 struct ssp_device *ssp = navpoint->ssp; in navpoint_down() local 209 struct ssp_device *ssp; in navpoint_probe() local 227 if (!ssp) { in navpoint_probe() 245 navpoint->ssp = ssp; in navpoint_probe() 290 pxa_ssp_free(ssp); in navpoint_probe() 303 struct ssp_device *ssp = navpoint->ssp; in navpoint_remove() local [all …]
|
/linux-6.3-rc2/drivers/clk/mxs/ |
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-6.3-rc2/Documentation/devicetree/bindings/pinctrl/ |
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* 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/twsi 85 - ssp/spdifo : ssp on pins 52-55, spdifo on pin 57, no gpios 86 - ssp : ssp on pins 52-55, gpio on pins 56,57 [all …]
|
/linux-6.3-rc2/arch/arm/mach-sa1100/ |
A D | ssp.c | 158 void ssp_save_state(struct ssp_state *ssp) in ssp_save_state() argument 160 ssp->cr0 = Ser4SSCR0; in ssp_save_state() 161 ssp->cr1 = Ser4SSCR1; in ssp_save_state() 172 void ssp_restore_state(struct ssp_state *ssp) in ssp_restore_state() argument 176 Ser4SSCR0 = ssp->cr0 & ~SSCR0_SSE; in ssp_restore_state() 177 Ser4SSCR1 = ssp->cr1; in ssp_restore_state() 178 Ser4SSCR0 = ssp->cr0; in ssp_restore_state()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/sound/ |
A D | mrvl,pxa-ssp.txt | 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-6.3-rc2/sound/soc/intel/catpt/ |
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 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, reg, val) \ argument 152 writel(val, catpt_ssp_addr(cdev, ssp) + (reg))
|
/linux-6.3-rc2/drivers/scsi/isci/ |
A D | remote_node_context.c | 129 rnc->ssp.remote_node_index = rni; 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() 141 rnc->ssp.is_remote_node_context = true; in sci_remote_node_context_construct_buffer() 142 rnc->ssp.function_number = 0; in sci_remote_node_context_construct_buffer() 144 rnc->ssp.arbitration_wait_time = 0; in sci_remote_node_context_construct_buffer() 147 rnc->ssp.connection_occupancy_timeout = in sci_remote_node_context_construct_buffer() 162 rnc->ssp.oaf_features = 0; in sci_remote_node_context_construct_buffer() 163 rnc->ssp.oaf_source_zone_group = 0; in sci_remote_node_context_construct_buffer() 241 rnc_buffer->ssp.is_valid = true; in sci_remote_node_context_validate_context_buffer() [all …]
|
/linux-6.3-rc2/security/smack/ |
A D | smack_lsm.c | 1500 isp = ssp->smk_in; in smack_inode_getsecurity() 2303 if (ssp == NULL) in smack_sk_alloc_security() 2313 ssp->smk_in = skp; in smack_sk_alloc_security() 2314 ssp->smk_out = skp; in smack_sk_alloc_security() 2552 skp = ssp->smk_out; in smk_ipv4_check() 2708 skp = ssp->smk_out; in smk_ipv6_port_check() 2796 ssp->smk_in = skp; in smack_inode_setsecurity() 2798 ssp->smk_out = skp; in smack_inode_setsecurity() 3855 if (ssp != NULL && ssp->smk_in == &smack_known_star) in smack_from_secattr() 4185 ssp->smk_in = skp; in smack_sock_graft() [all …]
|
A D | smack_netfilter.c | 26 struct socket_smack *ssp; in smack_ip_output() local 30 ssp = sk->sk_security; in smack_ip_output() 31 skp = ssp->smk_out; in smack_ip_output()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | vm86_32.c | 514 pushw(ssp, sp, regs->pt.cs, cannot_handle); in do_int() 515 pushw(ssp, sp, IP(regs), cannot_handle); in do_int() 552 unsigned char __user *ssp; in handle_vm86_fault() local 605 newflags = popl(ssp, sp, simulate_sigsegv); in handle_vm86_fault() 608 newflags = popw(ssp, sp, simulate_sigsegv); in handle_vm86_fault() 631 do_int(regs, intno, ssp, sp); in handle_vm86_fault() 642 newip = popl(ssp, sp, simulate_sigsegv); in handle_vm86_fault() 643 newcs = popl(ssp, sp, simulate_sigsegv); in handle_vm86_fault() 644 newflags = popl(ssp, sp, simulate_sigsegv); in handle_vm86_fault() 647 newip = popw(ssp, sp, simulate_sigsegv); in handle_vm86_fault() [all …]
|