/drivers/staging/lustre/lustre/obdclass/ |
D | obd_mount.c | 154 char *s1, char *s2, char *s3, char *s4) in do_lcfg() argument 161 cmd, s1, s2, s3, s4); in do_lcfg() 164 if (s1) in do_lcfg() 165 lustre_cfg_bufs_set_string(&bufs, 1, s1); in do_lcfg() 188 char *s1, char *s2, char *s3, char *s4) in lustre_start_simple() argument 199 rc = do_lcfg(obdname, 0, LCFG_SETUP, s1, s2, s3, s4); in lustre_start_simple() 746 const char *s1 = ptr, *s2; in lmd_make_exclusion() local 762 while (*s1 && *s1 != ' ' && *s1 != ',') { in lmd_make_exclusion() 763 s1++; in lmd_make_exclusion() 764 rc = server_name2index(s1, &index, &s2); in lmd_make_exclusion() [all …]
|
/drivers/firmware/efi/libstub/ |
D | string.c | 18 char *strstr(const char *s1, const char *s2) in strstr() argument 24 return (char *)s1; in strstr() 25 l1 = strlen(s1); in strstr() 28 if (!memcmp(s1, s2, l2)) in strstr() 29 return (char *)s1; in strstr() 30 s1++; in strstr()
|
D | efi-stub-helper.c | 793 u8 *s1 = NULL; in efi_convert_cmdline() local 823 s1 = (u8 *)cmdline_addr; in efi_convert_cmdline() 826 s1 = efi_utf16_to_utf8(s1, s2, options_chars); in efi_convert_cmdline() 827 *s1 = '\0'; in efi_convert_cmdline()
|
/drivers/scsi/ufs/ |
D | ufs_quirks.h | 19 #define STR_PRFX_EQUAL(s1, s2) !strncmp(s1, s2, strlen(s1)) argument
|
/drivers/staging/lustre/lustre/llite/ |
D | llite_lib.c | 690 char *s1 = options, *s2; in ll_options() local 697 while (*s1) { in ll_options() 698 CDEBUG(D_SUPER, "next opt=%s\n", s1); in ll_options() 699 tmp = ll_set_opt("nolock", s1, LL_SBI_NOLCK); in ll_options() 704 tmp = ll_set_opt("flock", s1, LL_SBI_FLOCK); in ll_options() 709 tmp = ll_set_opt("localflock", s1, LL_SBI_LOCALFLOCK); in ll_options() 714 tmp = ll_set_opt("noflock", s1, in ll_options() 720 tmp = ll_set_opt("user_xattr", s1, LL_SBI_USER_XATTR); in ll_options() 725 tmp = ll_set_opt("nouser_xattr", s1, LL_SBI_USER_XATTR); in ll_options() 730 tmp = ll_set_opt("context", s1, 1); in ll_options() [all …]
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | ampdu.c | 839 u32 s1, u32 s2) in brcms_c_ampdu_dotxstatus_complete() argument 883 WARN_ON(s1 & TX_STATUS_INTERMEDIATE); in brcms_c_ampdu_dotxstatus_complete() 884 WARN_ON(!(s1 & TX_STATUS_AMPDU)); in brcms_c_ampdu_dotxstatus_complete() 887 (s1 & TX_STATUS_BA_BMAP47_MASK) << in brcms_c_ampdu_dotxstatus_complete() 889 bitmap[1] = (s1 >> 8) & 0xff; in brcms_c_ampdu_dotxstatus_complete() 890 bitmap[2] = (s1 >> 16) & 0xff; in brcms_c_ampdu_dotxstatus_complete() 891 bitmap[3] = (s1 >> 24) & 0xff; in brcms_c_ampdu_dotxstatus_complete() 1036 u32 s1 = 0, s2 = 0; in brcms_c_ampdu_dotxstatus() local 1049 s1 = bcma_read32(wlc->hw->d11core, D11REGOFFS(frmtxstatus)); in brcms_c_ampdu_dotxstatus() 1050 while ((s1 & TXS_V) == 0) { in brcms_c_ampdu_dotxstatus() [all …]
|
/drivers/media/i2c/ |
D | tvaudio.c | 1301 int s1 = chip->shadow.bytes[TDA8425_S1+1] & 0xe1; in tda8425_setaudmode() local 1305 s1 |= TDA8425_S1_ML_SOUND_A; in tda8425_setaudmode() 1306 s1 |= TDA8425_S1_STEREO_PSEUDO; in tda8425_setaudmode() 1309 s1 |= TDA8425_S1_ML_SOUND_B; in tda8425_setaudmode() 1310 s1 |= TDA8425_S1_STEREO_PSEUDO; in tda8425_setaudmode() 1313 s1 |= TDA8425_S1_ML_STEREO; in tda8425_setaudmode() 1314 s1 |= TDA8425_S1_STEREO_LINEAR; in tda8425_setaudmode() 1317 s1 |= TDA8425_S1_ML_STEREO; in tda8425_setaudmode() 1318 s1 |= TDA8425_S1_STEREO_MONO; in tda8425_setaudmode() 1321 s1 |= TDA8425_S1_ML_STEREO; in tda8425_setaudmode() [all …]
|
/drivers/tty/serial/ |
D | sn_console.c | 863 const char *s1; in puts_raw_fixed() local 866 while ((s1 = memchr(s, '\n', count)) != NULL) { in puts_raw_fixed() 867 puts_raw(s, s1 - s); in puts_raw_fixed() 869 count -= s1 + 1 - s; in puts_raw_fixed() 870 s = s1 + 1; in puts_raw_fixed()
|
/drivers/gpu/drm/radeon/ |
D | cypress_dpm.c | 957 mc_reg_table->address[i].s1 = in cypress_populate_mc_reg_addresses() 958 cpu_to_be16(eg_pi->mc_reg_table.mc_reg_address[j].s1); in cypress_populate_mc_reg_addresses() 972 eg_pi->mc_reg_table.mc_reg_address[i].s1 = MC_SEQ_RAS_TIMING >> 2; in cypress_set_mc_reg_address_table() 976 eg_pi->mc_reg_table.mc_reg_address[i].s1 = MC_SEQ_CAS_TIMING >> 2; in cypress_set_mc_reg_address_table() 980 eg_pi->mc_reg_table.mc_reg_address[i].s1 = MC_SEQ_MISC_TIMING >> 2; in cypress_set_mc_reg_address_table() 984 eg_pi->mc_reg_table.mc_reg_address[i].s1 = MC_SEQ_MISC_TIMING2 >> 2; in cypress_set_mc_reg_address_table() 988 eg_pi->mc_reg_table.mc_reg_address[i].s1 = MC_SEQ_RD_CTL_D0 >> 2; in cypress_set_mc_reg_address_table() 992 eg_pi->mc_reg_table.mc_reg_address[i].s1 = MC_SEQ_RD_CTL_D1 >> 2; in cypress_set_mc_reg_address_table() 996 eg_pi->mc_reg_table.mc_reg_address[i].s1 = MC_SEQ_WR_CTL_D0 >> 2; in cypress_set_mc_reg_address_table() 1000 eg_pi->mc_reg_table.mc_reg_address[i].s1 = MC_SEQ_WR_CTL_D1 >> 2; in cypress_set_mc_reg_address_table() [all …]
|
D | evergreen_smc.h | 35 uint16_t s1; member
|
D | btc_dpm.c | 1923 switch (table->mc_reg_address[i].s1) { in btc_set_mc_special_registers() 1926 table->mc_reg_address[j].s1 = MC_PMG_CMD_EMRS >> 2; in btc_set_mc_special_registers() 1939 table->mc_reg_address[j].s1 = MC_PMG_CMD_MRS >> 2; in btc_set_mc_special_registers() 1955 table->mc_reg_address[j].s1 = MC_PMG_CMD_MRS1 >> 2; in btc_set_mc_special_registers() 1984 btc_check_s0_mc_reg_index(table->mc_reg_address[i].s1, &address) ? in btc_set_s0_mc_reg_index() 1985 address : table->mc_reg_address[i].s1; in btc_set_s0_mc_reg_index() 2001 eg_table->mc_reg_address[i].s1 = table->mc_reg_address[i].s1; in btc_copy_vbios_mc_reg_table()
|
/drivers/staging/speakup/ |
D | speakup_keypc.c | 142 int s1, s2, s3, s4; in oops() local 144 s1 = inb_p(synth_port); in oops() 148 pr_warn("synth timeout %d %d %d %d\n", s1, s2, s3, s4); in oops()
|
/drivers/infiniband/hw/hfi1/ |
D | exp_rcv.h | 162 struct exp_tid_set *s1, in tid_group_move() argument 165 tid_group_remove(group, s1); in tid_group_move()
|
/drivers/media/usb/dvb-usb/ |
D | vp7045-fe.c | 34 s1 = vp7045_read_reg(state->d,0x01), in vp7045_fe_read_status() local 44 if (s1 & (1 << 1)) in vp7045_fe_read_status()
|
/drivers/hwmon/pmbus/ |
D | pmbus_core.c | 77 struct pmbus_sensor *s1; member 747 struct pmbus_sensor *s1 = b->s1; in pmbus_get_boolean() local 759 if (!s1 && !s2) { in pmbus_get_boolean() 761 } else if (!s1 || !s2) { in pmbus_get_boolean() 762 WARN(1, "Bad boolean descriptor %p: s1=%p, s2=%p\n", b, s1, s2); in pmbus_get_boolean() 767 if (s1->data < 0) in pmbus_get_boolean() 768 return s1->data; in pmbus_get_boolean() 772 v1 = pmbus_reg2data(data, s1); in pmbus_get_boolean() 891 struct pmbus_sensor *s1, in pmbus_add_boolean() argument 906 boolean->s1 = s1; in pmbus_add_boolean()
|
/drivers/video/fbdev/aty/ |
D | radeon_monitor.c | 376 char s1[5], s2[5]; in radeon_parse_monitor_layout() local 387 s1[i] = '\0'; in radeon_parse_monitor_layout() 400 s1[i] = *s; in radeon_parse_monitor_layout() 411 s1[i] = 0; in radeon_parse_monitor_layout() 414 if (strcmp(s1, "CRT") == 0) in radeon_parse_monitor_layout() 416 else if (strcmp(s1, "TMDS") == 0) in radeon_parse_monitor_layout() 418 else if (strcmp(s1, "LVDS") == 0) in radeon_parse_monitor_layout()
|
/drivers/video/console/ |
D | newport_con.c | 174 npregs->set.dcbdata0.byshort.s1 = 0xff00; in newport_reset() 176 npregs->set.dcbdata0.byshort.s1 = 0x0000; in newport_reset() 213 linetable[i] = npregs->set.dcbdata0.byshort.s1; in newport_get_screensize() 224 treg = npregs->set.dcbdata0.byshort.s1; in newport_get_screensize() 229 treg = npregs->set.dcbdata0.byshort.s1; in newport_get_screensize()
|
/drivers/media/dvb-frontends/ |
D | mt352.c | 420 int s0, s1, s3; in mt352_read_status() local 436 if ((s1 = mt352_read_register(state, STATUS_1)) < 0) in mt352_read_status() 448 if (s1 & (1 << 1)) in mt352_read_status()
|
/drivers/media/platform/sti/bdisp/ |
D | bdisp-debug.c | 174 bool s1, s2, s3; in bdisp_dbg_dump_sty() local 181 s1 = name[strlen(name) - 1] == '1'; in bdisp_dbg_dump_sty() 215 if ((val & BLT_TTY_MB) && !s1) in bdisp_dbg_dump_sty() 221 if ((val & BLT_S1TY_CHROMA_EXT) && (s1 || s2)) in bdisp_dbg_dump_sty()
|
/drivers/crypto/qat/qat_common/ |
D | icp_qat_fw_init_admin.h | 95 } s1; member
|
/drivers/gpu/drm/amd/powerplay/smumgr/ |
D | iceland_smc.c | 1588 mc_reg_table->address[i].s1 = in iceland_populate_mc_reg_address() 1589 PP_HOST_TO_SMC_US(smu_data->mc_reg_table.mc_reg_address[j].s1); in iceland_populate_mc_reg_address() 2379 iceland_check_s0_mc_reg_index(table->mc_reg_address[i].s1, &address) in iceland_set_s0_mc_reg_index() 2380 ? address : table->mc_reg_address[i].s1; in iceland_set_s0_mc_reg_index() 2396 ni_table->mc_reg_address[i].s1 = table->mc_reg_address[i].s1; in iceland_copy_vbios_smc_reg_table() 2436 switch (table->mc_reg_address[i].s1) { in iceland_set_mc_special_registers() 2440 table->mc_reg_address[j].s1 = mmMC_PMG_CMD_EMRS; in iceland_set_mc_special_registers() 2452 table->mc_reg_address[j].s1 = mmMC_PMG_CMD_MRS; in iceland_set_mc_special_registers() 2468 table->mc_reg_address[j].s1 = mmMC_PMG_AUTO_CMD; in iceland_set_mc_special_registers() 2483 table->mc_reg_address[j].s1 = mmMC_PMG_CMD_MRS1; in iceland_set_mc_special_registers()
|
/drivers/char/ipmi/ |
D | ipmi_ssif.c | 1377 static int strcmp_nospace(char *s1, char *s2) in strcmp_nospace() argument 1379 while (*s1 && *s2) { in strcmp_nospace() 1380 while (isspace(*s1)) in strcmp_nospace() 1381 s1++; in strcmp_nospace() 1384 if (*s1 > *s2) in strcmp_nospace() 1386 if (*s1 < *s2) in strcmp_nospace() 1388 s1++; in strcmp_nospace()
|
/drivers/scsi/ |
D | imm.c | 458 unsigned char s1, s2, s3; in imm_cpp() local 469 s1 = r_str(ppb) & 0xb8; in imm_cpp() 513 if ((s1 == 0xb8) && (s2 == 0x18) && (s3 == 0x30)) in imm_cpp() 515 if ((s1 == 0xb8) && (s2 == 0x18) && (s3 == 0x38)) in imm_cpp()
|
/drivers/net/ethernet/cavium/octeon/ |
D | octeon_mgmt.c | 346 union cvmx_agl_gmx_txx_stat1 s1; in octeon_mgmt_update_tx_stats() local 350 s1.u64 = cvmx_read_csr(p->agl + AGL_GMX_TX_STAT1); in octeon_mgmt_update_tx_stats() 352 if (s0.s.xsdef || s0.s.xscol || s1.s.scol || s1.s.mcol) { in octeon_mgmt_update_tx_stats() 356 netdev->stats.collisions += s1.s.scol + s1.s.mcol; in octeon_mgmt_update_tx_stats()
|
/drivers/net/wireless/ath/ath9k/ |
D | ar9003_mac.c | 267 u32 s0, s1; in ar9003_hw_get_isr() local 270 s1 = REG_READ(ah, AR_ISR_S1); in ar9003_hw_get_isr() 271 REG_WRITE(ah, AR_ISR_S1, s1); in ar9003_hw_get_isr()
|