Home
last modified time | relevance | path

Searched refs:wval (Results 1 - 25 of 40) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/scsi/
H A Dam53c974.c311 u16 wval = 0; in dc390_eeprom_get_data() local
315 wval <<= 1; in dc390_eeprom_get_data()
324 wval |= 1; in dc390_eeprom_get_data()
327 return wval; in dc390_eeprom_get_data()
351 u16 *ptr = (u16 *)EEbuf, wval = 0; in dc390_check_eeprom() local
357 wval += *ptr; in dc390_check_eeprom()
360 if (wval != 0x1234) { in dc390_check_eeprom()
H A Dncr53c8xx.c1166 ** SCR_COPY (1), @(wval field of this tcb), @(scntl3 register)
1215 /*0*/ u_char wval; member
1226 /*3*/ u_char wval; member
4354 cp->phys.select.sel_scntl3 = tp->wval; in ncr_queue_command()
4380 cp->wide_status = tp->wval; in ncr_queue_command()
5320 tp->wval = np->rv_scntl3; in ncr_init()
5496 OUTB (nc_scntl3, tp->wval); in ncr_set_sync_wide_status()
5497 np->wide_st = tp->wval; in ncr_set_sync_wide_status()
5507 cp->wide_status = tp->wval; in ncr_set_sync_wide_status()
5509 cp->phys.select.sel_scntl3 = tp->wval; in ncr_set_sync_wide_status()
[all...]
H A Dadvansys.c8874 ushort wval; in AscGetEEPConfig() local
8897 wval = AscReadEEPWord(iop_base, (uchar)s_addr); in AscGetEEPConfig()
8903 *wbuf = le16_to_cpu(wval); in AscGetEEPConfig()
8906 *wbuf = wval; in AscGetEEPConfig()
8908 sum += wval; /* Checksum treats all EEPROM data as words. */ in AscGetEEPConfig()
10008 ushort wval, chksum; in AdvGet3550EEPConfig() local
10019 wval = AdvReadEEPWord(iop_base, eep_addr); in AdvGet3550EEPConfig()
10020 chksum += wval; /* Checksum is calculated from word values. */ in AdvGet3550EEPConfig()
10022 *wbuf = le16_to_cpu(wval); in AdvGet3550EEPConfig()
10024 *wbuf = wval; in AdvGet3550EEPConfig()
10051 ushort wval, chksum; AdvGet38C0800EEPConfig() local
10094 ushort wval, chksum; AdvGet38C1600EEPConfig() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dam53c974.c311 u16 wval = 0; in dc390_eeprom_get_data() local
315 wval <<= 1; in dc390_eeprom_get_data()
324 wval |= 1; in dc390_eeprom_get_data()
327 return wval; in dc390_eeprom_get_data()
351 u16 *ptr = (u16 *)EEbuf, wval = 0; in dc390_check_eeprom() local
357 wval += *ptr; in dc390_check_eeprom()
360 if (wval != 0x1234) { in dc390_check_eeprom()
H A Dncr53c8xx.c1168 ** SCR_COPY (1), @(wval field of this tcb), @(scntl3 register)
1217 /*0*/ u_char wval; member
1228 /*3*/ u_char wval; member
4326 cp->phys.select.sel_scntl3 = tp->wval; in ncr_queue_command()
5179 tp->wval = np->rv_scntl3; in ncr_init()
5334 OUTB (nc_scntl3, tp->wval); in ncr_set_sync_wide_status()
5335 np->wide_st = tp->wval; in ncr_set_sync_wide_status()
5343 cp->phys.select.sel_scntl3 = tp->wval; in ncr_set_sync_wide_status()
5368 scntl3 = (scntl3 & 0xf0) | (tp->wval & EWS) | (np->rv_scntl3 & 0x07); in ncr_setsync()
5382 if (tp->sval == sxfer && tp->wval in ncr_setsync()
[all...]
H A Dadvansys.c8702 ushort wval; in AscGetEEPConfig() local
8725 wval = AscReadEEPWord(iop_base, (uchar)s_addr); in AscGetEEPConfig()
8731 *wbuf = le16_to_cpu(wval); in AscGetEEPConfig()
8734 *wbuf = wval; in AscGetEEPConfig()
8736 sum += wval; /* Checksum treats all EEPROM data as words. */ in AscGetEEPConfig()
9823 ushort wval, chksum; in AdvGet3550EEPConfig() local
9834 wval = AdvReadEEPWord(iop_base, eep_addr); in AdvGet3550EEPConfig()
9835 chksum += wval; /* Checksum is calculated from word values. */ in AdvGet3550EEPConfig()
9837 *wbuf = le16_to_cpu(wval); in AdvGet3550EEPConfig()
9839 *wbuf = wval; in AdvGet3550EEPConfig()
9866 ushort wval, chksum; AdvGet38C0800EEPConfig() local
9909 ushort wval, chksum; AdvGet38C1600EEPConfig() local
[all...]
/kernel/linux/linux-5.10/drivers/power/supply/
H A Dqcom_smbb.c260 unsigned int wval; in smbb_charger_attr_write() local
274 chg->addr + prop->safe_reg, &wval); in smbb_charger_attr_write()
282 wval = prop->hw_fn(wval); in smbb_charger_attr_write()
284 if (val > wval) { in smbb_charger_attr_write()
287 prop->name, wval); in smbb_charger_attr_write()
288 val = wval; in smbb_charger_attr_write()
292 wval = smbb_hw_lookup(val, prop->hw_fn); in smbb_charger_attr_write()
294 rc = regmap_write(chg->regmap, chg->addr + prop->reg, wval); in smbb_charger_attr_write()
299 out = prop->hw_fn(wval); in smbb_charger_attr_write()
[all...]
/kernel/linux/linux-6.6/drivers/power/supply/
H A Dqcom_smbb.c260 unsigned int wval; in smbb_charger_attr_write() local
274 chg->addr + prop->safe_reg, &wval); in smbb_charger_attr_write()
282 wval = prop->hw_fn(wval); in smbb_charger_attr_write()
284 if (val > wval) { in smbb_charger_attr_write()
287 prop->name, wval); in smbb_charger_attr_write()
288 val = wval; in smbb_charger_attr_write()
292 wval = smbb_hw_lookup(val, prop->hw_fn); in smbb_charger_attr_write()
294 rc = regmap_write(chg->regmap, chg->addr + prop->reg, wval); in smbb_charger_attr_write()
299 out = prop->hw_fn(wval); in smbb_charger_attr_write()
[all...]
/kernel/linux/linux-5.10/drivers/media/tuners/
H A Dmc44s803.c44 u32 wval; in mc44s803_readreg() local
52 wval = MC44S803_REG_SM(MC44S803_REG_DATAREG, MC44S803_ADDR) | in mc44s803_readreg()
55 ret = mc44s803_writereg(priv, wval); in mc44s803_readreg()
/kernel/linux/linux-6.6/drivers/media/tuners/
H A Dmc44s803.c44 u32 wval; in mc44s803_readreg() local
52 wval = MC44S803_REG_SM(MC44S803_REG_DATAREG, MC44S803_ADDR) | in mc44s803_readreg()
55 ret = mc44s803_writereg(priv, wval); in mc44s803_readreg()
/kernel/linux/linux-5.10/include/linux/
H A Domap-gpmc.h80 extern int gpmc_configure(int cmd, int wval);
/kernel/linux/linux-6.6/include/linux/
H A Domap-gpmc.h80 extern int gpmc_configure(int cmd, int wval);
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.c1881 tp->head.wval = np->rv_scntl3;
1935 u_char sval, wval, uval; local
1941 wval = tp->head.wval;
1945 printf("XXXX sval=%x wval=%x uval=%x (%x)\n",
1946 sval, wval, uval, np->rv_scntl3);
1960 wval = (wval & ~0x70) | ((div+1) << 4);
1973 wval = wval
[all...]
H A Dsym_hipd.h367 * 'sval', 'wval' and 'uval' are read from SCRIPTS and
373 /*3*/ u_char wval; /* -> SCNTL3 io register */ member
/kernel/linux/linux-6.6/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.c1881 tp->head.wval = np->rv_scntl3;
1935 u_char sval, wval, uval; local
1941 wval = tp->head.wval;
1945 printf("XXXX sval=%x wval=%x uval=%x (%x)\n",
1946 sval, wval, uval, np->rv_scntl3);
1960 wval = (wval & ~0x70) | ((div+1) << 4);
1973 wval = wval
[all...]
/kernel/linux/linux-5.10/sound/pci/ali5451/
H A Dali5451.c632 u16 wval; in snd_ali_detect_spdif_rate() local
668 wval = inw(ALI_REG(codec, ALI_SPDIF_CTRL + 2)); in snd_ali_detect_spdif_rate()
669 wval &= 0xe0f0; in snd_ali_detect_spdif_rate()
670 wval |= (0x09 << 8) | 0x05; in snd_ali_detect_spdif_rate()
671 outw(wval, ALI_REG(codec, ALI_SPDIF_CTRL + 2)); in snd_ali_detect_spdif_rate()
676 wval = inw(ALI_REG(codec, ALI_SPDIF_CTRL + 2)); in snd_ali_detect_spdif_rate()
677 wval &= 0xe0f0; in snd_ali_detect_spdif_rate()
678 wval |= (0x0e << 8) | 0x08; in snd_ali_detect_spdif_rate()
679 outw(wval, ALI_REG(codec, ALI_SPDIF_CTRL + 2)); in snd_ali_detect_spdif_rate()
/kernel/linux/linux-6.6/sound/pci/ali5451/
H A Dali5451.c631 u16 wval; in snd_ali_detect_spdif_rate() local
667 wval = inw(ALI_REG(codec, ALI_SPDIF_CTRL + 2)); in snd_ali_detect_spdif_rate()
668 wval &= 0xe0f0; in snd_ali_detect_spdif_rate()
669 wval |= (0x09 << 8) | 0x05; in snd_ali_detect_spdif_rate()
670 outw(wval, ALI_REG(codec, ALI_SPDIF_CTRL + 2)); in snd_ali_detect_spdif_rate()
675 wval = inw(ALI_REG(codec, ALI_SPDIF_CTRL + 2)); in snd_ali_detect_spdif_rate()
676 wval &= 0xe0f0; in snd_ali_detect_spdif_rate()
677 wval |= (0x0e << 8) | 0x08; in snd_ali_detect_spdif_rate()
678 outw(wval, ALI_REG(codec, ALI_SPDIF_CTRL + 2)); in snd_ali_detect_spdif_rate()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
H A Dqed_iscsi.c276 u16 wval; in qed_sp_iscsi_conn_offload() local
391 wval = p_conn->da_timeout_value; in qed_sp_iscsi_conn_offload()
392 p_tcp->da_timeout_value = cpu_to_le16(wval); in qed_sp_iscsi_conn_offload()
434 wval = p_conn->syn_ip_payload_length; in qed_sp_iscsi_conn_offload()
435 p_tcp2->syn_ip_payload_length = cpu_to_le16(wval); in qed_sp_iscsi_conn_offload()
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
H A Dqed_iscsi.c277 u16 wval; in qed_sp_iscsi_conn_offload() local
392 wval = p_conn->da_timeout_value; in qed_sp_iscsi_conn_offload()
393 p_tcp->da_timeout_value = cpu_to_le16(wval); in qed_sp_iscsi_conn_offload()
435 wval = p_conn->syn_ip_payload_length; in qed_sp_iscsi_conn_offload()
436 p_tcp2->syn_ip_payload_length = cpu_to_le16(wval); in qed_sp_iscsi_conn_offload()
/kernel/linux/linux-5.10/drivers/base/regmap/
H A Dregmap.c2254 void *wval; in regmap_bulk_write() local
2256 wval = kmemdup(val, val_count * val_bytes, map->alloc_flags); in regmap_bulk_write()
2257 if (!wval) in regmap_bulk_write()
2261 map->format.parse_inplace(wval + i); in regmap_bulk_write()
2263 ret = regmap_raw_write(map, reg, wval, val_bytes * val_count); in regmap_bulk_write()
2265 kfree(wval); in regmap_bulk_write()
/kernel/linux/linux-6.6/drivers/base/regmap/
H A Dregmap.c2346 void *wval; in regmap_bulk_write() local
2348 wval = kmemdup(val, val_count * val_bytes, map->alloc_flags); in regmap_bulk_write()
2349 if (!wval) in regmap_bulk_write()
2353 map->format.parse_inplace(wval + i); in regmap_bulk_write()
2355 ret = regmap_raw_write(map, reg, wval, val_bytes * val_count); in regmap_bulk_write()
2357 kfree(wval); in regmap_bulk_write()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dkvm_ppc.h243 u32 wval; member
391 case 4: __u.wval = (reg); break; \
402 case 4: __v = (val).wval; break; \
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dkvm_ppc.h247 u32 wval; member
412 case 4: __u.wval = (reg); break; \
423 case 4: __v = (val).wval; break; \
/kernel/linux/linux-5.10/arch/mips/math-emu/
H A Dcp1emu.c981 u32 wval; in cop1Emulate() local
1093 if (__get_user(wval, wva)) { in cop1Emulate()
1098 SITOREG(wval, MIPSInst_RT(ir)); in cop1Emulate()
1105 SIFROMREG(wval, MIPSInst_RT(ir)); in cop1Emulate()
1111 if (__put_user(wval, wva)) { in cop1Emulate()
/kernel/linux/linux-6.6/arch/mips/math-emu/
H A Dcp1emu.c981 u32 wval; in cop1Emulate() local
1093 if (__get_user(wval, wva)) { in cop1Emulate()
1098 SITOREG(wval, MIPSInst_RT(ir)); in cop1Emulate()
1105 SIFROMREG(wval, MIPSInst_RT(ir)); in cop1Emulate()
1111 if (__put_user(wval, wva)) { in cop1Emulate()

Completed in 84 milliseconds

12