Home
last modified time | relevance | path

Searched refs:scr (Results 1 – 25 of 135) sorted by relevance

123456

/openbmc/linux/arch/ia64/kernel/
H A Dsignal.c73 scr->pt.cr_iip = ip & ~0x3UL; in restore_sigcontext()
75 scr->pt.cr_ipsr = (scr->pt.cr_ipsr & ~IA64_PSR_UM) | (um & IA64_PSR_UM); in restore_sigcontext()
77 scr->scratch_unat = ia64_put_scratch_nat_bits(&scr->pt, nat); in restore_sigcontext()
147 current->comm, current->pid, scr->pt.r12, scr->pt.cr_iip); in ia64_rt_sigreturn()
170 ifs = scr->pt.cr_ifs; in setup_sigcontext()
184 nat = ia64_get_scratch_nat_bits(&scr->pt, scr->scratch_unat); in setup_sigcontext()
202 err |= __put_user(scr->pt.cr_iip + ia64_psr(&scr->pt)->ri, &sc->sc_ip); in setup_sigcontext()
233 new_sp = scr->pt.r12; in setup_frame()
335 long errno = scr->pt.r8; in ia64_do_signal()
368 scr->pt.r8 = EINTR; in ia64_do_signal()
[all …]
H A Dprocess.c162 do_notify_resume_user(sigset_t *unused, struct sigscratch *scr, long in_syscall) in do_notify_resume_user() argument
164 if (fsys_mode(current, &scr->pt)) { in do_notify_resume_user()
169 if (!ia64_psr(&scr->pt)->lp) in do_notify_resume_user()
170 ia64_psr(&scr->pt)->lp = 1; in do_notify_resume_user()
178 ia64_do_signal(scr, in_syscall); in do_notify_resume_user()
183 resume_user_mode_work(&scr->pt); in do_notify_resume_user()
/openbmc/linux/drivers/media/tuners/
H A Dtda827x.c337 u8 scr; member
343 { .lomax = 56875000, .svco = 3, .spd = 4, .scr = 0, .sbs = 0, .gc3 = 1},
344 { .lomax = 67250000, .svco = 0, .spd = 3, .scr = 0, .sbs = 0, .gc3 = 1},
345 { .lomax = 81250000, .svco = 1, .spd = 3, .scr = 0, .sbs = 0, .gc3 = 1},
346 { .lomax = 97500000, .svco = 2, .spd = 3, .scr = 0, .sbs = 0, .gc3 = 1},
347 { .lomax = 113750000, .svco = 3, .spd = 3, .scr = 0, .sbs = 1, .gc3 = 1},
369 { .lomax = 0, .svco = 0, .spd = 0, .scr = 0, .sbs = 0, .gc3 = 0}
399 { .lomax = 0, .svco = 0, .spd = 0, .scr = 0, .sbs = 0, .gc3 = 0}
428 { .lomax = 0, .svco = 0, .spd = 0, .scr = 0, .sbs = 0, .gc3 = 0}
616 buf[1] = 0x10 + frequency_map[i].scr; in tda827xa_set_params()
[all …]
/openbmc/linux/sound/soc/mxs/
H A Dmxs-saif.c81 u32 scr; in mxs_saif_set_clk() local
292 u32 scr, stat; in mxs_saif_set_dai_fmt() local
315 scr = 0; in mxs_saif_set_dai_fmt()
321 scr |= BM_SAIF_CTRL_DELAY; in mxs_saif_set_dai_fmt()
326 scr &= ~BM_SAIF_CTRL_DELAY; in mxs_saif_set_dai_fmt()
328 scr &= ~BM_SAIF_CTRL_JUSTIFY; in mxs_saif_set_dai_fmt()
337 scr |= BM_SAIF_CTRL_BITCLK_EDGE; in mxs_saif_set_dai_fmt()
341 scr |= BM_SAIF_CTRL_BITCLK_EDGE; in mxs_saif_set_dai_fmt()
420 u32 scr, stat; in mxs_saif_hw_params() local
495 scr &= ~BM_SAIF_CTRL_READ_MODE; in mxs_saif_hw_params()
[all …]
/openbmc/qemu/hw/display/
H A Dtc6393xb.c116 } scr; member
184 uint8_t isr = s->scr.ISR; in tc6393xb_sub_irq()
189 s->scr.ISR = isr; in tc6393xb_sub_irq()
194 case SCR_ ##N: return s->scr.N
206 case SCR_ ##N(2): return s->scr.N[2]
257 case SCR_ ##N: s->scr.N = (s->scr.N & ~0xff) | (value & 0xff); return; \
258 case SCR_ ##N + 1: s->scr.N = (s->scr.N & 0xff) | (value << 8); return
260 case SCR_ ##N: s->scr.N = (s->scr.N & ~0xff) | (value & 0xff); return; \
261 case SCR_ ##N + 1: s->scr.N = (s->scr.N & ~(0xff << 8)) | (value & (0xff << 8)); return; \
262 case SCR_ ##N + 2: s->scr.N = (s->scr.N & ~(0xff << 16)) | (value & (0xff << 16)); return; \
[all …]
/openbmc/qemu/hw/char/
H A Drenesas_sci.c78 return FIELD_EX8(sci->scr, SCR, RE); in can_receive()
88 if (FIELD_EX8(sci->scr, SCR, RIE)) { in receive()
94 if (FIELD_EX8(sci->scr, SCR, RIE)) { in receive()
109 if (FIELD_EX8(sci->scr, SCR, TIE)) { in send_byte()
121 if (FIELD_EX8(sci->scr, SCR, TEIE)) { in txend()
142 return FIELD_EX8(sci->scr, SCR, TE) || FIELD_EX8(sci->scr, SCR, RE); in sci_is_tr_enabled()
163 sci->scr = val; in sci_write()
164 if (FIELD_EX8(sci->scr, SCR, TE)) { in sci_write()
220 return sci->scr; in sci_read()
251 sci->smr = sci->scr = 0x00; in rsci_reset()
[all …]
H A Dsh_serial.c55 uint8_t scr; member
110 s->scr = val & ((s->feat & SH_SERIAL_FEAT_SCIF) ? 0xfa : 0xff); in sh_serial_write()
228 ret = s->scr; in sh_serial_read()
241 ret = s->scr; in sh_serial_read()
261 if (s->scr & (1 << 5)) { in sh_serial_read()
323 return s->scr & (1 << 4); in sh_serial_can_receive()
344 if (s->scr & (1 << 6) && s->rxi) { in sh_serial_timeout_int()
364 if (s->scr & (1 << 6) && s->rxi) { in sh_serial_receive1()
402 s->scr = 1 << 5; /* pretend that TX is enabled so early printk works */ in sh_serial_reset()
H A Domap_uart.c40 uint8_t scr; member
84 return s->scr; in omap_uart_read()
125 s->scr = value & 0xff; in omap_uart_write()
/openbmc/u-boot/arch/arm/cpu/armv7/sunxi/
H A Dpsci.c196 u32 scr; in cp15_read_scr() local
198 asm volatile ("mrc p15, 0, %0, c1, c1, 0" : "=r" (scr)); in cp15_read_scr()
200 return scr; in cp15_read_scr()
203 static void __secure cp15_write_scr(u32 scr) in cp15_write_scr() argument
205 asm volatile ("mcr p15, 0, %0, c1, c1, 0" : : "r" (scr)); in cp15_write_scr()
217 u32 scr, reg, cpu; in psci_fiq_enter() local
220 scr = cp15_read_scr(); in psci_fiq_enter()
221 cp15_write_scr(scr & ~BIT(0)); in psci_fiq_enter()
242 cp15_write_scr(scr); in psci_fiq_enter()
/openbmc/linux/arch/powerpc/platforms/85xx/
H A Dmpc85xx_mds.c58 int scr; in mpc8568_fixup_125_clock() local
62 scr = phy_read(phydev, MV88E1111_SCR); in mpc8568_fixup_125_clock()
64 if (scr < 0) in mpc8568_fixup_125_clock()
65 return scr; in mpc8568_fixup_125_clock()
67 err = phy_write(phydev, MV88E1111_SCR, scr & ~(MV88E1111_SCR_125CLK)); in mpc8568_fixup_125_clock()
77 scr = phy_read(phydev, MV88E1111_SCR); in mpc8568_fixup_125_clock()
79 if (scr < 0) in mpc8568_fixup_125_clock()
80 return scr; in mpc8568_fixup_125_clock()
82 err = phy_write(phydev, MV88E1111_SCR, scr | 0x0008); in mpc8568_fixup_125_clock()
/openbmc/u-boot/arch/arm/mach-imx/mx6/
H A Dmp.c35 src->scr |= cpu_reset_mask[nr]; in cpu_reset()
41 printf("core %d => %d\n", nr, !!(src->scr & cpu_ctrl_mask[nr])); in cpu_status()
66 src->scr |= cpu_ctrl_mask[nr]; in cpu_release()
84 src->scr &= ~cpu_ctrl_mask[nr]; in cpu_disable()
/openbmc/u-boot/drivers/spi/
H A Dpl022_spi.c206 static inline u32 spi_rate(u32 rate, u16 cpsdvsr, u16 scr) in spi_rate() argument
208 return rate / (cpsdvsr * (1 + scr)); in spi_rate()
214 u16 scr = SSP_SCR_MIN, cr0 = 0, cpsr = SSP_CPSR_MIN, best_scr = scr, in pl022_spi_set_speed() local
230 while (scr <= SSP_SCR_MAX) { in pl022_spi_set_speed()
231 tmp = spi_rate(rate, cpsr, scr); in pl022_spi_set_speed()
236 best_scr = scr; in pl022_spi_set_speed()
244 scr++; in pl022_spi_set_speed()
247 scr = SSP_SCR_MIN; in pl022_spi_set_speed()
/openbmc/linux/arch/sh/boards/mach-hp6xx/
H A Dpm.c101 u8 scr; in hp6x0_pm_enter() local
108 scr = inb(HD64461_PCC1SCR); in hp6x0_pm_enter()
109 scr |= HD64461_PCCSCR_VCC1; in hp6x0_pm_enter()
110 outb(scr, HD64461_PCC1SCR); in hp6x0_pm_enter()
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_pericom.c54 int scr; in pericom_do_set_divisor() local
56 for (scr = 16; scr > 4; scr--) { in pericom_do_set_divisor()
57 unsigned int maxrate = port->uartclk / scr; in pericom_do_set_divisor()
78 serial_port_out(port, 2, 16 - scr); in pericom_do_set_divisor()
/openbmc/linux/drivers/mmc/core/
H A Dsd_ops.c263 __be32 *scr; in mmc_app_send_scr() local
274 scr = kmalloc(sizeof(card->raw_scr), GFP_KERNEL); in mmc_app_send_scr()
275 if (!scr) in mmc_app_send_scr()
291 sg_init_one(&sg, scr, 8); in mmc_app_send_scr()
297 card->raw_scr[0] = be32_to_cpu(scr[0]); in mmc_app_send_scr()
298 card->raw_scr[1] = be32_to_cpu(scr[1]); in mmc_app_send_scr()
300 kfree(scr); in mmc_app_send_scr()
H A Dsd.c213 struct sd_scr *scr = &card->scr; in mmc_decode_scr() local
229 if (scr->sda_vsn == SCR_SPEC_VER_2) in mmc_decode_scr()
233 if (scr->sda_spec3) { in mmc_decode_scr()
243 if (scr->sda_spec4) in mmc_decode_scr()
244 scr->cmds = UNSTUFF_BITS(resp, 32, 4); in mmc_decode_scr()
245 else if (scr->sda_spec3) in mmc_decode_scr()
246 scr->cmds = UNSTUFF_BITS(resp, 32, 2); in mmc_decode_scr()
297 if (au <= 9 || card->scr.sda_spec3) { in mmc_read_ssr()
331 if (card->scr.sda_vsn < SCR_SPEC_VER_1) in mmc_read_switch()
368 if (card->scr.sda_spec3) { in mmc_read_switch()
[all …]
/openbmc/linux/sound/soc/fsl/
H A Dfsl_ssi.c123 u32 scr; member
470 vals[dir].scr, vals[dir].scr); in fsl_ssi_config_enable()
510 u32 sier, srcr, stcr, scr; in fsl_ssi_config_disable() local
527 scr = ssi_excl_shared_bits(vals->scr, avals->scr, aactive); in fsl_ssi_config_disable()
599 vals[RX].scr = vals[TX].scr = 0; in fsl_ssi_setup_regvals()
878 vals[RX].scr |= SSI_SCR_TCH_EN; in fsl_ssi_hw_params()
879 vals[TX].scr |= SSI_SCR_TCH_EN; in fsl_ssi_hw_params()
913 scr |= SSI_SCR_SYNC_TX_FS; in _fsl_ssi_set_dai_fmt()
969 scr |= ssi->i2s_net; in _fsl_ssi_set_dai_fmt()
998 scr |= SSI_SCR_SYS_CLK_EN; in _fsl_ssi_set_dai_fmt()
[all …]
/openbmc/linux/arch/loongarch/kernel/
H A Dlbt.S26 movscr2gr t1, $scr0 # save scr
45 ldptr.d t1, a0, THREAD_SCR0 # restore scr
78 movscr2gr t1, $scr0 # save scr
98 EX ld.d t1, a0, (0 * SCR_REG_WIDTH) # restore scr
/openbmc/openbmc/meta-raspberrypi/recipes-bsp/rpi-u-boot-scr/
H A Drpi-u-boot-scr.bb19 mkimage -A ${UBOOT_ARCH} -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr
26 install -m 0644 boot.scr ${DEPLOYDIR}
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/lxdm/lxdm/
H A D0002-greeter-gdk.c-fix-typo.patch24 scr=gdk_screen_get_default();
25 g_signal_connect(scr, "size-changed", G_CALLBACK(on_screen_size_changed), win);
/openbmc/linux/drivers/ata/
H A Dpata_pdc2027x.c586 u32 scr; in pdc_detect_pll_input_clock() local
592 scr = ioread32(mmio_base + PDC_SYS_CTL); in pdc_detect_pll_input_clock()
593 dev_dbg(host->dev, "scr[%X]\n", scr); in pdc_detect_pll_input_clock()
594 iowrite32(scr | (0x01 << 14), mmio_base + PDC_SYS_CTL); in pdc_detect_pll_input_clock()
609 scr = ioread32(mmio_base + PDC_SYS_CTL); in pdc_detect_pll_input_clock()
610 dev_dbg(host->dev, "scr[%X]\n", scr); in pdc_detect_pll_input_clock()
611 iowrite32(scr & ~(0x01 << 14), mmio_base + PDC_SYS_CTL); in pdc_detect_pll_input_clock()
/openbmc/u-boot/board/k+p/bootscripts/
H A Dtpcboot.cmd5 # This is an example file to generate boot.scr - a boot script for U-Boot
6 # Generate boot.scr:
7 # ./tools/mkimage -c none -A arm -T script -d tpcboot.cmd boot.scr
/openbmc/u-boot/doc/
H A DREADME.distro185 specific boot.scr scripts are enabled. This enables distros to generate a
186 U-Boot-specific boot.scr script rather than extlinux.conf as the boot
188 CONFIG_DISTRO_DEFAULTS exposes enough parameterization to boot.scr to
189 allow for board-agnostic boot.scr content, this document recommends that
191 to work across multiple bootloaders, whereas boot.scr will only work with
192 U-Boot. TODO: document the contract between U-Boot and boot.scr re: which
193 environment variables a generic boot.scr may rely upon.
259 location in RAM where boot.scr will be loaded to prior to execution.
318 searched for boot configuration files (extlinux.conf, boot.scr).
327 The name of U-Boot style boot.scr files that $bootcmd searches for.
[all …]
/openbmc/linux/drivers/spi/
H A Datmel-quadspi.c156 u32 scr; member
504 aq->scr &= ~QSPI_SCR_SCBR_MASK; in atmel_qspi_setup()
505 aq->scr |= QSPI_SCR_SCBR(scbr); in atmel_qspi_setup()
506 atmel_qspi_write(aq->scr, aq, QSPI_SCR); in atmel_qspi_setup()
538 aq->scr &= ~QSPI_SCR_DLYBS_MASK; in atmel_qspi_set_cs_timing()
539 aq->scr |= QSPI_SCR_DLYBS(cs_setup); in atmel_qspi_set_cs_timing()
540 atmel_qspi_write(aq->scr, aq, QSPI_SCR); in atmel_qspi_set_cs_timing()
778 atmel_qspi_write(aq->scr, aq, QSPI_SCR); in atmel_qspi_resume()
/openbmc/u-boot/arch/arm/mach-imx/
H A Dinit.c98 val = readl(&src_regs->scr); in init_src()
100 writel(val, &src_regs->scr); in init_src()

123456