Searched refs:sr (Results 51 - 75 of 334) sorted by relevance

1234567891011>>

/linux-master/arch/powerpc/kernel/
H A Dsignal_32.c113 __unsafe_restore_general_regs(struct pt_regs *regs, struct mcontext __user *sr) argument
121 unsafe_get_user(gregs[i], &sr->mc_gregs[i], failed);
156 int __unsafe_restore_general_regs(struct pt_regs *regs, struct mcontext __user *sr) argument
159 unsafe_copy_from_user(regs, &sr->mc_gregs, PT_MSR * sizeof(elf_greg_t), failed);
162 unsafe_copy_from_user(&regs->orig_gpr3, &sr->mc_gregs[PT_ORIG_R3],
467 struct mcontext __user *sr, int sig)
475 if (!user_read_access_begin(sr, sizeof(*sr)))
483 unsafe_restore_general_regs(regs, sr, failed);
485 unsafe_get_user(msr, &sr
466 restore_user_regs(struct pt_regs *regs, struct mcontext __user *sr, int sig) argument
572 restore_tm_user_regs(struct pt_regs *regs, struct mcontext __user *sr, struct mcontext __user *tm_sr) argument
719 restore_tm_user_regs(struct pt_regs *regs, struct mcontext __user *sr, struct mcontext __user *tm_sr) argument
1304 struct mcontext __user *sr; local
[all...]
/linux-master/drivers/misc/eeprom/
H A Dat25.c232 int sr; local
285 sr = spi_w8r8(at25->spi, AT25_RDSR);
286 if (sr < 0 || (sr & AT25_SR_nRDY)) {
288 "rdsr --> %d (%02x)\n", sr, sr);
293 if (!(sr & AT25_SR_nRDY))
297 if ((sr < 0) || (sr & AT25_SR_nRDY)) {
436 int sr; local
[all...]
/linux-master/drivers/phy/broadcom/
H A DMakefile14 obj-$(CONFIG_PHY_BCM_SR_PCIE) += phy-bcm-sr-pcie.o
15 obj-$(CONFIG_PHY_BCM_SR_USB) += phy-bcm-sr-usb.o
/linux-master/arch/sh/include/asm/
H A Dfpu.h14 regs->sr |= SR_FD;
19 regs->sr &= ~SR_FD;
H A Dsuspend.h73 unsigned long sr; member in struct:sh_sleep_data
/linux-master/drivers/macintosh/
H A Dwindfarm_smu_sensors.c59 static void smu_ads_release(struct wf_sensor *sr) argument
61 struct smu_ad_sensor *ads = to_smu_ads(sr);
88 static int smu_cputemp_get(struct wf_sensor *sr, s32 *value) argument
90 struct smu_ad_sensor *ads = to_smu_ads(sr);
111 static int smu_cpuamp_get(struct wf_sensor *sr, s32 *value) argument
113 struct smu_ad_sensor *ads = to_smu_ads(sr);
132 static int smu_cpuvolt_get(struct wf_sensor *sr, s32 *value) argument
134 struct smu_ad_sensor *ads = to_smu_ads(sr);
153 static int smu_slotspow_get(struct wf_sensor *sr, s32 *value) argument
155 struct smu_ad_sensor *ads = to_smu_ads(sr);
285 smu_cpu_power_release(struct wf_sensor *sr) argument
296 smu_cpu_power_get(struct wf_sensor *sr, s32 *value) argument
[all...]
H A Dwindfarm_lm75_sensor.c43 static int wf_lm75_get(struct wf_sensor *sr, s32 *value) argument
45 struct wf_lm75_sensor *lm = wf_to_lm75(sr);
56 sr->name, cfg);
77 static void wf_lm75_release(struct wf_sensor *sr) argument
79 struct wf_lm75_sensor *lm = wf_to_lm75(sr);
H A Dwindfarm_rm31.c605 static void rm31_new_sensor(struct wf_sensor *sr) argument
609 if (!strcmp(sr->name, "cpu-diode-temp-0"))
610 sens_cpu_temp[0] = sr;
611 else if (!strcmp(sr->name, "cpu-diode-temp-1"))
612 sens_cpu_temp[1] = sr;
613 else if (!strcmp(sr->name, "cpu-voltage-0"))
614 sens_cpu_volts[0] = sr;
615 else if (!strcmp(sr->name, "cpu-voltage-1"))
616 sens_cpu_volts[1] = sr;
617 else if (!strcmp(sr
[all...]
H A Dwindfarm_pm91.c578 static void wf_smu_new_sensor(struct wf_sensor *sr) argument
583 if (sensor_cpu_power == NULL && !strcmp(sr->name, "cpu-power")) {
584 if (wf_get_sensor(sr) == 0)
585 sensor_cpu_power = sr;
588 if (sensor_cpu_temp == NULL && !strcmp(sr->name, "cpu-temp")) {
589 if (wf_get_sensor(sr) == 0)
590 sensor_cpu_temp = sr;
593 if (sensor_hd_temp == NULL && !strcmp(sr->name, "hd-temp")) {
594 if (wf_get_sensor(sr) == 0)
595 sensor_hd_temp = sr;
[all...]
H A Dwindfarm_pm72.c715 static void pm72_new_sensor(struct wf_sensor *sr) argument
719 if (!strcmp(sr->name, "cpu-diode-temp-0"))
720 sens_cpu_temp[0] = sr;
721 else if (!strcmp(sr->name, "cpu-diode-temp-1"))
722 sens_cpu_temp[1] = sr;
723 else if (!strcmp(sr->name, "cpu-voltage-0"))
724 sens_cpu_volts[0] = sr;
725 else if (!strcmp(sr->name, "cpu-voltage-1"))
726 sens_cpu_volts[1] = sr;
727 else if (!strcmp(sr
[all...]
/linux-master/drivers/clocksource/
H A Dtimer-atmel-st.c50 u32 sr; local
52 regmap_read(regmap_st, AT91_ST_SR, &sr);
53 sr &= irqmask;
62 if (sr & AT91_ST_ALMS) {
68 if (sr & AT91_ST_PITS) {
/linux-master/arch/powerpc/include/asm/book3s/32/
H A Dmmu-hash.h71 .macro uus_addi sr reg1 reg2 imm
72 .if NUM_USER_SEGMENTS > \sr
77 .macro uus_mtsr sr reg1
78 .if NUM_USER_SEGMENTS > \sr
79 mtsr \sr, \reg1
/linux-master/arch/m68k/coldfire/
H A Dentry.S59 move #0x2000,%sr /* enable intrs again */
102 move #0x2700,%sr /* disable intrs */
142 move #0x2000,%sr /* enable intrs again */
181 movew %sr,%d1 /* save current status */
195 movew %d7,%sr
/linux-master/drivers/char/hw_random/
H A Dstm32-rng.c103 u32 sr = readl_relaxed(priv->base + RNG_SR); local
107 if (sr & RNG_SR_SECS) {
113 writel_relaxed(sr & ~RNG_SR_SEIS, priv->base + RNG_SR);
120 dev_err(dev, "%s: timeout %x\n", __func__, sr);
128 err = readl_relaxed_poll_timeout_atomic(priv->base + RNG_SR, sr, !(sr & RNG_SR_SECS), 10,
131 dev_err(dev, "%s: timeout %x\n", __func__, sr);
157 u32 sr = readl_relaxed(priv->base + RNG_SR); local
159 writel_relaxed(sr & ~RNG_SR_SEIS, priv->base + RNG_SR);
188 u32 sr; local
[all...]
/linux-master/arch/parisc/include/asm/
H A Dprocessor.h139 .sr = { 0, }, \
251 regs->sr[2] = LINUX_GATEWAY_SPACE; \
252 regs->sr[3] = 0xffff; \
253 regs->sr[4] = spaceid; \
254 regs->sr[5] = spaceid; \
255 regs->sr[6] = spaceid; \
256 regs->sr[7] = spaceid; \
/linux-master/drivers/gpu/drm/xe/
H A Dxe_rtp.c115 struct xe_reg_sr *sr)
125 xe_reg_sr_add(sr, &sr_entry, gt);
130 struct xe_hw_engine *hwe, struct xe_reg_sr *sr)
146 rtp_add_sr_entry(action, gt, mmio_base, sr);
211 * @sr: Save-restore struct where matching rules execute the action. This can be
216 * entries with matching rules to @sr. If @hwe is not NULL, its mmio_base is
221 struct xe_reg_sr *sr)
239 each_hwe, sr);
241 match = rtp_process_one_sr(entry, xe, gt, hwe, sr);
112 rtp_add_sr_entry(const struct xe_rtp_action *action, struct xe_gt *gt, u32 mmio_base, struct xe_reg_sr *sr) argument
128 rtp_process_one_sr(const struct xe_rtp_entry_sr *entry, struct xe_device *xe, struct xe_gt *gt, struct xe_hw_engine *hwe, struct xe_reg_sr *sr) argument
219 xe_rtp_process_to_sr(struct xe_rtp_process_ctx *ctx, const struct xe_rtp_entry_sr *entries, struct xe_reg_sr *sr) argument
/linux-master/arch/powerpc/kvm/
H A Dbook3s_32_mmu_host.c306 u32 sr; local
313 svcpu->sr[esid] = SR_INVALID;
323 sr = map->host_vsid | SR_KP;
324 svcpu->sr[esid] = sr;
326 dprintk_sr("MMU: mtsr %d, 0x%x\n", esid, sr);
338 dprintk_sr("MMU: flushing all segments (%d)\n", ARRAY_SIZE(svcpu->sr));
339 for (i = 0; i < ARRAY_SIZE(svcpu->sr); i++)
340 svcpu->sr[i] = SR_INVALID;
/linux-master/drivers/mtd/spi-nor/
H A Dswp.c55 static void spi_nor_get_locked_range_sr(struct spi_nor *nor, u8 sr, loff_t *ofs, argument
62 u8 bp, val = sr & mask;
82 if (nor->flags & SNOR_F_HAS_SR_TB && sr & tb_mask)
93 u64 len, u8 sr, bool locked)
101 spi_nor_get_locked_range_sr(nor, sr, &lock_offs, &lock_len);
114 static bool spi_nor_is_locked_sr(struct spi_nor *nor, loff_t ofs, u64 len, u8 sr) argument
116 return spi_nor_check_lock_status_sr(nor, ofs, len, sr, true);
120 u8 sr)
122 return spi_nor_check_lock_status_sr(nor, ofs, len, sr, false);
92 spi_nor_check_lock_status_sr(struct spi_nor *nor, loff_t ofs, u64 len, u8 sr, bool locked) argument
119 spi_nor_is_unlocked_sr(struct spi_nor *nor, loff_t ofs, u64 len, u8 sr) argument
H A Dxilinx.c66 * @sr: pointer to a DMA-able buffer where the value of the
71 static int xilinx_nor_read_sr(struct spi_nor *nor, u8 *sr) argument
76 struct spi_mem_op op = XILINX_RDSR_OP(sr);
82 ret = spi_nor_controller_ops_read_reg(nor, XILINX_OP_RDSR, sr,
/linux-master/arch/arc/include/asm/
H A Ddsp-impl.h23 sr r5, [ARC_AUX_DSP_CTRL]
36 sr r10, [ARC_AUX_DSP_CTRL]
54 sr r10, [ARC_AUX_DSP_CTRL]
/linux-master/arch/m68k/include/asm/
H A Dprocessor.h107 unsigned short sr; /* saved status register */ member in struct:thread_struct
120 .sr = PS_S, \
141 regs->sr &= ~0x2000;
/linux-master/drivers/hwmon/
H A Dmax31790.c45 #define RPM_FROM_REG(reg, sr) (((reg) >> 4) ? \
46 ((60 * (sr) * 8192) / ((reg) >> 4)) : \
48 #define RPM_TO_REG(rpm, sr) ((60 * (sr) * 8192) / ((rpm) * 2))
169 int sr, rpm; local
176 sr = get_tach_period(data->fan_dynamics[channel % NR_CHANNEL]);
180 rpm = RPM_FROM_REG(data->tach[channel], sr);
184 sr = get_tach_period(data->fan_dynamics[channel]);
185 rpm = RPM_FROM_REG(data->target_count[channel], sr);
221 int sr; local
[all...]
/linux-master/arch/csky/abiv1/inc/abi/
H A Delf.h10 pr_reg[3] = regs->sr; \
/linux-master/sound/pci/au88x0/
H A Dau88x0_xtalk.h39 static void vortex_XtalkHw_SetSampleRate(vortex_t * vortex, u32 sr);
/linux-master/include/misc/
H A Dcxllib.h101 u64 sr; member in struct:cxllib_pe_attributes

Completed in 219 milliseconds

1234567891011>>