Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 25 of 46) sorted by relevance

12

/drivers/soc/bcm/brcmstb/pm/
Ds2-mips.S26 sw s2, 12(sp)
46 lw s2, 8(t0)
112 sw t0, TIMER_TIMER1_CTRL(s2)
113 lw t0, TIMER_TIMER1_CTRL(s2)
116 sw t0, TIMER_TIMER1_CTRL(s2)
117 lw t0, TIMER_TIMER1_CTRL(s2)
121 lw t1, TIMER_TIMER1_STAT(s2)
127 1: lw t0, TIMER_TIMER1_STAT(s2)
179 lw s2, 12(sp)
DMakefile2 obj-$(CONFIG_ARM) += s2-arm.o pm-arm.o
4 obj-$(CONFIG_BMIPS_GENERIC) += s2-mips.o s3-mips.o pm-mips.o
Ds3-mips.S29 sw s2, 12(t0)
124 lw s2, 12(t0)
/drivers/thermal/
Dk3_bandgap.c92 unsigned int s2) in vtm_get_best_value() argument
95 int d02 = abs(s0 - s2); in vtm_get_best_value()
96 int d12 = abs(s1 - s2); in vtm_get_best_value()
102 return (s0 + s2) / 2; in vtm_get_best_value()
104 return (s1 + s2) / 2; in vtm_get_best_value()
111 unsigned int dtemp, s0, s1, s2; in k3_bgp_read_temp() local
128 s2 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp()
130 dtemp = vtm_get_best_value(s0, s1, s2); in k3_bgp_read_temp()
/drivers/pwm/
Dcore.c429 struct pwm_state s1, s2; in pwm_apply_state_debug() local
453 s2.polarity = state->polarity; in pwm_apply_state_debug()
454 s2.duty_cycle = s1.period - s1.duty_cycle; in pwm_apply_state_debug()
455 s2.period = s1.period; in pwm_apply_state_debug()
456 s2.enabled = s1.enabled; in pwm_apply_state_debug()
458 s2 = s1; in pwm_apply_state_debug()
461 if (s2.polarity != state->polarity && in pwm_apply_state_debug()
467 last->period > s2.period && in pwm_apply_state_debug()
471 state->period, s2.period, last->period); in pwm_apply_state_debug()
473 if (state->enabled && state->period < s2.period) in pwm_apply_state_debug()
[all …]
/drivers/gpu/drm/amd/display/dc/dce/
Ddce_abm.c94 uint32_t s2; in dmcu_set_backlight_level() local
124 s2 = REG_READ(BIOS_SCRATCH_2); in dmcu_set_backlight_level()
126 s2 &= ~ATOM_S2_CURRENT_BL_LEVEL_MASK; in dmcu_set_backlight_level()
129 s2 |= (backlight_8_bit << ATOM_S2_CURRENT_BL_LEVEL_SHIFT); in dmcu_set_backlight_level()
131 REG_WRITE(BIOS_SCRATCH_2, s2); in dmcu_set_backlight_level()
/drivers/firmware/efi/libstub/
Dstring.c20 char *strstr(const char *s1, const char *s2) in strstr() argument
24 l2 = strlen(s2); in strstr()
30 if (!memcmp(s1, s2, l2)) in strstr()
Defi-stub-helper.c344 const u16 *s2; in efi_convert_cmdline() local
356 s2 = options; in efi_convert_cmdline()
358 u16 c = *s2++; in efi_convert_cmdline()
391 } else if ((*s2 & 0xfc00) == 0xdc00) { in efi_convert_cmdline()
394 s2++; in efi_convert_cmdline()
/drivers/scsi/ufs/
Dufs_quirks.h10 #define STR_PRFX_EQUAL(s1, s2) !strncmp(s1, s2, strlen(s1)) argument
/drivers/tty/
Dehv_bytechan.c261 char s2[EV_BYTE_CHANNEL_MAX_BYTES]; in ehv_bc_console_write() local
269 s2[j++] = '\r'; in ehv_bc_console_write()
271 s2[j++] = c; in ehv_bc_console_write()
273 if (ehv_bc_console_byte_channel_send(stdout_bc, s2, j)) in ehv_bc_console_write()
280 ehv_bc_console_byte_channel_send(stdout_bc, s2, j); in ehv_bc_console_write()
/drivers/gpu/drm/i915/
Di915_buddy.c295 static inline bool overlaps(u64 s1, u64 e1, u64 s2, u64 e2) in overlaps() argument
297 return s1 <= e2 && e1 >= s2; in overlaps()
300 static inline bool contains(u64 s1, u64 e1, u64 s2, u64 e2) in contains() argument
302 return s1 <= s2 && e1 >= e2; in contains()
/drivers/accessibility/speakup/
Dspeakup_keypc.c133 int s1, s2, s3, s4; in oops() local
136 s2 = inb_p(synth_port + 1); in oops()
139 pr_warn("synth timeout %d %d %d %d\n", s1, s2, s3, s4); in oops()
/drivers/gpu/drm/amd/amdkfd/
Dcwsr_trap_handler_gfx10.asm449 s_movrels_b64 s2, s2 //s2 = s[2+m0], s3 = s[3+m0]
476 s_movrels_b64 s2, s2 //s2 = s[2+m0], s3 = s[3+m0]
865 s_movreld_b64 s2, s2
874 s_movreld_b64 s2, s2
886 s_movreld_b64 s2, s2
Dcwsr_trap_handler_gfx8.asm321 s_movrels_b64 s2, s2 //s2 = s[2+m0], s3 = s[3+m0]
597 s_movreld_b64 s2, s2
Dcwsr_trap_handler_gfx9.asm447 s_movrels_b64 s2, s2 //s2 = s[2+m0], s3 = s[3+m0]
829 s_movreld_b64 s2, s2
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dampdu.c836 u32 s1, u32 s2) in brcms_c_ampdu_dotxstatus_complete() argument
885 bitmap[4] = s2 & 0xff; in brcms_c_ampdu_dotxstatus_complete()
886 bitmap[5] = (s2 >> 8) & 0xff; in brcms_c_ampdu_dotxstatus_complete()
887 bitmap[6] = (s2 >> 16) & 0xff; in brcms_c_ampdu_dotxstatus_complete()
888 bitmap[7] = (s2 >> 24) & 0xff; in brcms_c_ampdu_dotxstatus_complete()
1028 u32 s1 = 0, s2 = 0; in brcms_c_ampdu_dotxstatus() local
1048 s2 = bcma_read32(wlc->hw->d11core, D11REGOFFS(frmtxstatus2)); in brcms_c_ampdu_dotxstatus()
1052 brcms_c_ampdu_dotxstatus_complete(ampdu, scb, p, txs, s1, s2); in brcms_c_ampdu_dotxstatus()
/drivers/infiniband/hw/hfi1/
Dexp_rcv.h121 struct exp_tid_set *s2) in tid_group_move() argument
124 tid_group_add_tail(group, s2); in tid_group_move()
/drivers/video/fbdev/aty/
Dradeon_monitor.c376 char s1[5], s2[5]; in radeon_parse_monitor_layout() local
398 s2[i] = *s; in radeon_parse_monitor_layout()
409 s2[i] = 0; in radeon_parse_monitor_layout()
412 s2[0] = 0; in radeon_parse_monitor_layout()
421 if (strcmp(s2, "CRT") == 0) in radeon_parse_monitor_layout()
423 else if (strcmp(s2, "TMDS") == 0) in radeon_parse_monitor_layout()
425 else if (strcmp(s2, "LVDS") == 0) in radeon_parse_monitor_layout()
/drivers/hwmon/pmbus/
Dpmbus_core.c51 struct pmbus_sensor *s2; member
894 struct pmbus_sensor *s2 = b->s2; in pmbus_get_boolean() local
910 if (s2) in pmbus_get_boolean()
911 pmbus_update_sensor_data(client, s2); in pmbus_get_boolean()
919 if (s1 && s2) { in pmbus_get_boolean()
926 if (s2->data < 0) { in pmbus_get_boolean()
927 ret = s2->data; in pmbus_get_boolean()
932 v2 = pmbus_reg2data(data, s2); in pmbus_get_boolean()
1061 struct pmbus_sensor *s2, in pmbus_add_boolean() argument
1067 if (WARN((s1 && !s2) || (!s1 && s2), "Bad s1/s2 parameters\n")) in pmbus_add_boolean()
[all …]
/drivers/block/
Dxen-blkfront.c1377 enum blk_req_status s2) in blkif_get_final_status() argument
1380 BUG_ON(s2 < REQ_DONE); in blkif_get_final_status()
1382 if (s1 == REQ_ERROR || s2 == REQ_ERROR) in blkif_get_final_status()
1384 else if (s1 == REQ_EOPNOTSUPP || s2 == REQ_EOPNOTSUPP) in blkif_get_final_status()
1413 struct blk_shadow *s2 = &rinfo->shadow[s->associated_id]; in blkif_completion() local
1419 if (s2->status < REQ_DONE) in blkif_completion()
1423 s2->status); in blkif_completion()
1429 num_grant += s2->req.u.rw.nr_segments; in blkif_completion()
1435 if (s2->num_sg != 0) { in blkif_completion()
1438 s = s2; in blkif_completion()
/drivers/media/platform/sti/bdisp/
Dbdisp-debug.c174 bool s1, s2, s3; in bdisp_dbg_dump_sty() local
182 s2 = name[strlen(name) - 1] == '2'; in bdisp_dbg_dump_sty()
221 if ((val & BLT_S1TY_CHROMA_EXT) && (s1 || s2)) in bdisp_dbg_dump_sty()
/drivers/char/ipmi/
Dipmi_ssif.c1391 static int strcmp_nospace(char *s1, char *s2) in strcmp_nospace() argument
1393 while (*s1 && *s2) { in strcmp_nospace()
1396 while (isspace(*s2)) in strcmp_nospace()
1397 s2++; in strcmp_nospace()
1398 if (*s1 > *s2) in strcmp_nospace()
1400 if (*s1 < *s2) in strcmp_nospace()
1403 s2++; in strcmp_nospace()
/drivers/scsi/
Dimm.c459 unsigned char s1, s2, s3; in imm_cpp() local
473 s2 = r_str(ppb) & 0xb8; in imm_cpp()
514 if ((s1 == 0xb8) && (s2 == 0x18) && (s3 == 0x30)) in imm_cpp()
516 if ((s1 == 0xb8) && (s2 == 0x18) && (s3 == 0x38)) in imm_cpp()
/drivers/video/fbdev/
Dtridentfb.c359 u32 s2 = point(x1 + w - 1, y1 + h - 1); in blade_copy_rect() local
369 writemmr(par, SRC1, direction ? s2 : s1); in blade_copy_rect()
370 writemmr(par, SRC2, direction ? s1 : s2); in blade_copy_rect()
521 u32 s2 = point(x1 + w - 1, y1 + h - 1); in image_copy_rect() local
531 writemmr(par, SRC1, direction ? s2 : s1); in image_copy_rect()
532 writemmr(par, SRC2, direction ? s1 : s2); in image_copy_rect()
/drivers/hwmon/
Dnct6683.c357 bool s2; /* true if both index and nr are used */ member
377 .s2 = false }
384 .s2 = true }
448 if ((*t)->s2) { in nct6683_create_attr_group()

12