| /linux-6.15/include/linux/ |
| H A D | srcu.h | 35 __init_srcu_struct((ssp), #ssp, &__srcu_key); \ 56 void __srcu_read_unlock(struct srcu_struct *ssp, int idx) __releases(ssp); 110 int __srcu_read_lock_nmisafe(struct srcu_struct *ssp) __acquires(ssp); 216 #define srcu_dereference(p, ssp) srcu_dereference_check((p), (ssp), 0) argument 352 srcu_read_lock_notrace(struct srcu_struct *ssp) __acquires(ssp) in srcu_read_lock_notrace() argument 398 __releases(ssp) in srcu_read_unlock() 414 __releases(ssp) in srcu_read_unlock_fast() 430 __releases(ssp) in srcu_up_read_fast() 445 __releases(ssp) in srcu_read_unlock_lite() 461 __releases(ssp) in srcu_read_unlock_nmisafe() [all …]
|
| H A D | srcutiny.h | 55 void synchronize_srcu(struct srcu_struct *ssp); 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() 88 return __srcu_ctr_to_ptr(ssp, __srcu_read_lock(ssp)); in __srcu_read_lock_fast() 93 __srcu_read_unlock(ssp, __srcu_ptr_to_ctr(ssp, scp)); in __srcu_read_unlock_fast() 101 synchronize_srcu(ssp); in synchronize_srcu_expedited() 106 synchronize_srcu(ssp); in srcu_barrier() 121 data_race(READ_ONCE(ssp->srcu_lock_nesting[!idx])), in srcu_torture_stats_print() 122 data_race(READ_ONCE(ssp->srcu_lock_nesting[idx])), in srcu_torture_stats_print() 123 data_race(READ_ONCE(ssp->srcu_idx)), in srcu_torture_stats_print() [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); 219 return scpp - &ssp->sda->srcu_ctrs[0]; in __srcu_ptr_to_ctr() 226 return &ssp->sda->srcu_ctrs[idx]; in __srcu_ctr_to_ptr() 245 struct srcu_ctr __percpu *scp = READ_ONCE(ssp->srcu_ctrp); in __srcu_read_lock_fast() 298 return __srcu_ptr_to_ctr(ssp, scp); in __srcu_read_lock_lite() 326 struct srcu_data *sdp = raw_cpu_ptr(ssp->sda); in srcu_check_read_flavor_force() 332 __srcu_check_read_flavor(ssp, read_flavor); in srcu_check_read_flavor_force() [all …]
|
| /linux-6.15/kernel/rcu/ |
| H A D | srcutiny.c | 37 ssp->srcu_cb_tail = &ssp->srcu_cb_head; in init_srcu_struct_fields() 40 ssp->srcu_idx = 0; in init_srcu_struct_fields() 53 debug_check_no_locks_freed((void *)ssp, sizeof(*ssp)); in __init_srcu_struct() 86 WARN_ON(ssp->srcu_lock_nesting[0] || ssp->srcu_lock_nesting[1]); in cleanup_srcu_struct() 91 WARN_ON(&ssp->srcu_cb_head != ssp->srcu_cb_tail); in cleanup_srcu_struct() 92 WARN_ON(ssp->srcu_idx != ssp->srcu_idx_max); in cleanup_srcu_struct() 128 if (ssp->srcu_gp_running || ULONG_CMP_GE(ssp->srcu_idx, READ_ONCE(ssp->srcu_idx_max))) { in srcu_drive_gp() 138 ssp->srcu_cb_tail = &ssp->srcu_cb_head; in srcu_drive_gp() 141 WRITE_ONCE(ssp->srcu_idx, ssp->srcu_idx + 1); in srcu_drive_gp() 147 WRITE_ONCE(ssp->srcu_idx, ssp->srcu_idx + 1); in srcu_drive_gp() [all …]
|
| H A D | srcutree.c | 144 sdp->ssp = ssp; in init_srcu_struct_data() 181 ssp->srcu_sup->level[0] = &ssp->srcu_sup->node[0]; in init_srcu_struct_nodes() 257 ssp->srcu_ctrp = &ssp->sda->srcu_ctrs[0]; in init_srcu_struct_fields() 269 ssp->srcu_sup->srcu_ssp = ssp; in init_srcu_struct_fields() 293 debug_check_no_locks_freed((void *)ssp, sizeof(*ssp)); in __init_srcu_struct() 373 struct srcu_struct *ssp = sdp->ssp; in spin_lock_irqsave_sdp_contention() local 1160 &ssp->sda->srcu_ctrs[!(ssp->srcu_ctrp - &ssp->sda->srcu_ctrs[0])]); in srcu_flip() 1611 ssp = sdp->ssp; in srcu_barrier_cb() 1778 ssp = sdp->ssp; in srcu_invoke_callbacks() 1911 idx = ssp->srcu_ctrp - &ssp->sda->srcu_ctrs[0]; in srcu_torture_stats_print() [all …]
|
| /linux-6.15/drivers/tty/serial/ |
| H 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() 798 if (!ssp) in sifive_serial_console_write() 829 if (!ssp) in sifive_serial_console_setup() 860 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.15/sound/soc/pxa/ |
| H 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.15/drivers/soc/pxa/ |
| H 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.15/drivers/mmc/host/ |
| H A D | mxs-mmc.c | 64 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_get_cd() local 86 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_reset() local 128 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_request_done() local 180 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_irq_handler() local 216 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_prep_dma() local 250 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_bc() local 284 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_ac() local 357 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_adtc() local 512 struct mxs_ssp *ssp = &host->ssp; in mxs_mmc_enable_sdio_irq() local 577 ssp = &host->ssp; in mxs_mmc_probe() [all …]
|
| /linux-6.15/drivers/spi/ |
| H A D | spi-mxs.c | 68 struct mxs_ssp *ssp = &spi->ssp; in mxs_spi_setup_transfer() local 97 ssp->base + HW_SSP_CTRL1(ssp)); in mxs_spi_setup_transfer() 128 struct mxs_ssp *ssp = &spi->ssp; in mxs_ssp_wait() local 168 struct mxs_ssp *ssp = &spi->ssp; in mxs_spi_txrx_dma() local 303 struct mxs_ssp *ssp = &spi->ssp; in mxs_spi_txrx_pio() local 365 struct mxs_ssp *ssp = &spi->ssp; in mxs_spi_transfer_one() local 401 ssp->base + HW_SSP_CTRL1(ssp) + in mxs_spi_transfer_one() 447 struct mxs_ssp *ssp = &spi->ssp; in mxs_spi_runtime_suspend() local 468 struct mxs_ssp *ssp = &spi->ssp; in mxs_spi_runtime_resume() local 581 ssp = &spi->ssp; in mxs_spi_probe() [all …]
|
| H A D | spi-pxa2xx-platform.c | 40 if (ssp->irq < 0) in pxa2xx_spi_init_ssp() 41 return ssp->irq; in pxa2xx_spi_init_ssp() 43 ssp->type = type; in pxa2xx_spi_init_ssp() 44 ssp->dev = dev; in pxa2xx_spi_init_ssp() 66 if (!ssp) in pxa2xx_spi_ssp_request() 73 return ssp; in pxa2xx_spi_ssp_request() 90 if (IS_ERR(ssp)) in pxa2xx_spi_init_pdata() 92 if (ssp) { in pxa2xx_spi_init_pdata() 131 if (ssp) in pxa2xx_spi_init_pdata() 158 if (!ssp) in pxa2xx_spi_platform_probe() [all …]
|
| H A D | spi-pxa2xx-pci.c | 98 struct ssp_device *ssp = &c->ssp; in lpss_spi_setup() local 106 ssp->port_id = 0; in lpss_spi_setup() 112 ssp->port_id = 0; in lpss_spi_setup() 118 ssp->port_id = 1; in lpss_spi_setup() 124 ssp->port_id = 2; in lpss_spi_setup() 131 ssp->port_id = 0; in lpss_spi_setup() 138 ssp->port_id = 1; in lpss_spi_setup() 179 struct ssp_device *ssp = &c->ssp; in ce4100_spi_setup() local 194 struct ssp_device *ssp = &c->ssp; in mrfld_spi_setup() local 251 struct ssp_device *ssp = &c->ssp; in qrk_spi_setup() local [all …]
|
| H A D | spi-pxa2xx.c | 891 const struct ssp_device *ssp = drv_data->ssp; in ssp_get_clk_div() local 899 if (ssp->type == PXA25x_SSP || ssp->type == CE4100_SSP) in ssp_get_clk_div() 1291 drv_data->ssp = ssp; in pxa2xx_spi_probe() 1374 pxa_ssp_disable(ssp); in pxa2xx_spi_probe() 1459 free_irq(ssp->irq, drv_data); in pxa2xx_spi_probe() 1468 struct ssp_device *ssp = drv_data->ssp; in pxa2xx_spi_remove() local 1473 pxa_ssp_disable(ssp); in pxa2xx_spi_remove() 1481 free_irq(ssp->irq, drv_data); in pxa2xx_spi_remove() 1488 struct ssp_device *ssp = drv_data->ssp; in pxa2xx_spi_suspend() local 1495 pxa_ssp_disable(ssp); in pxa2xx_spi_suspend() [all …]
|
| H A D | spi-pxa2xx-dma.c | 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-pxa2xx.h | 36 struct ssp_device ssp; member 45 struct ssp_device *ssp; member 81 return pxa_ssp_read_reg(drv_data->ssp, reg); in pxa2xx_spi_read() 86 pxa_ssp_write_reg(drv_data->ssp, reg, val); in pxa2xx_spi_write() 135 int pxa2xx_spi_probe(struct device *dev, struct ssp_device *ssp,
|
| /linux-6.15/arch/x86/kernel/ |
| H A D | shstk.c | 55 if (!IS_ALIGNED(ssp, 8)) in create_rstor_token() 64 ssp |= BIT(0); in create_rstor_token() 246 return ssp; in get_user_shstk_addr() 311 need_to_check_vma = PAGE_ALIGN(*ssp) == *ssp; in shstk_pop_sigframe() 338 *ssp = token_addr; in shstk_pop_sigframe() 350 unsigned long ssp; in setup_signal_shadow_stack() local 361 if (unlikely(!ssp)) in setup_signal_shadow_stack() 369 ssp -= SS_FRAME_SIZE; in setup_signal_shadow_stack() 383 unsigned long ssp; in restore_signal_shadow_stack() local 391 if (unlikely(!ssp)) in restore_signal_shadow_stack() [all …]
|
| /linux-6.15/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-6.15/Documentation/devicetree/bindings/spi/ |
| H A D | marvell,mmp2-ssp.yaml | 5 $id: http://devicetree.org/schemas/spi/marvell,mmp2-ssp.yaml# 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 77 compatible = "marvell,mmp2-ssp";
|
| /linux-6.15/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* 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.15/arch/arm/mach-sa1100/ |
| H 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.15/Documentation/devicetree/bindings/sound/ |
| H 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.15/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 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.15/drivers/scsi/isci/ |
| H 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.15/security/smack/ |
| H A D | smack_lsm.c | 1596 isp = ssp->smk_in; in smack_inode_getsecurity() 1598 isp = ssp->smk_out; in smack_inode_getsecurity() 2415 ssp->smk_in = skp; in smack_sk_alloc_security() 2416 ssp->smk_out = skp; in smack_sk_alloc_security() 2654 skp = ssp->smk_out; in smk_ipv4_check() 2812 skp = ssp->smk_out; in smk_ipv6_port_check() 2909 ssp->smk_in = skp; in smack_inode_setsecurity() 2911 ssp->smk_out = skp; in smack_inode_setsecurity() 3851 skp = ssp->smk_out; in smack_unix_stream_connect() 3861 skp = ssp->smk_in; in smack_unix_stream_connect() [all …]
|
| /linux-6.15/tools/testing/selftests/x86/ |
| H A D | test_shadow_stack.c | 135 unsigned long ssp; in try_shstk() local 140 ssp = get_ssp(); in try_shstk() 148 ssp -= 8; in try_shstk() 890 iov.iov_base = &ssp; in test_ptrace() 891 iov.iov_len = sizeof(ssp); in test_ptrace() 895 ssp = get_ssp(); in test_ptrace() 919 if (!ssp) { in test_ptrace() 924 saved_ssp = ssp; in test_ptrace() 938 ssp += 1; in test_ptrace() 944 ssp = 0xFFFFFFFFFFFF0000; in test_ptrace() [all …]
|