/drivers/misc/lis3lv02d/ |
D | lis3lv02d.c | 959 s32 sval; in lis3lv02d_init_dt() local 1081 if (of_property_read_s32(np, "st,axis-x", &sval) == 0) in lis3lv02d_init_dt() 1082 pdata->axis_x = sval; in lis3lv02d_init_dt() 1083 if (of_property_read_s32(np, "st,axis-y", &sval) == 0) in lis3lv02d_init_dt() 1084 pdata->axis_y = sval; in lis3lv02d_init_dt() 1085 if (of_property_read_s32(np, "st,axis-z", &sval) == 0) in lis3lv02d_init_dt() 1086 pdata->axis_z = sval; in lis3lv02d_init_dt() 1091 if (of_property_read_s32(np, "st,min-limit-x", &sval) == 0) in lis3lv02d_init_dt() 1092 pdata->st_min_limits[0] = sval; in lis3lv02d_init_dt() 1093 if (of_property_read_s32(np, "st,min-limit-y", &sval) == 0) in lis3lv02d_init_dt() [all …]
|
/drivers/macintosh/ |
D | windfarm_pid.c | 91 s32 error, target, sval, adj; in wf_cpu_pid_run() local 119 sval = st->param.tmax - (s32)(integ >> 20); in wf_cpu_pid_run() 120 adj = min(st->param.ttarget, sval); in wf_cpu_pid_run() 122 DBG("integ: %lx, sval: %lx, adj: %lx\n", integ, sval, adj); in wf_cpu_pid_run()
|
/drivers/media/pci/solo6x10/ |
D | solo6x10-tw28.c | 682 char sval; in tw28_set_ctrl_val() local 711 sval = val - 128; in tw28_set_ctrl_val() 713 sval = (char)val; in tw28_set_ctrl_val() 715 TW_HUE_ADDR(ch), sval); in tw28_set_ctrl_val() 738 sval = val - 128; in tw28_set_ctrl_val() 740 sval = (char)val; in tw28_set_ctrl_val() 742 TW_BRIGHTNESS_ADDR(ch), sval); in tw28_set_ctrl_val()
|
/drivers/isdn/hardware/mISDN/ |
D | avmfritz.c | 624 u8 sval; in avm_fritz_interrupt() local 627 sval = inb(fc->addr + 2); in avm_fritz_interrupt() 628 pr_debug("%s: irq stat0 %x\n", fc->name, sval); in avm_fritz_interrupt() 629 if ((sval & AVM_STATUS0_IRQ_MASK) == AVM_STATUS0_IRQ_MASK) { in avm_fritz_interrupt() 636 if (!(sval & AVM_STATUS0_IRQ_ISAC)) { in avm_fritz_interrupt() 640 if (!(sval & AVM_STATUS0_IRQ_HDLC)) in avm_fritz_interrupt() 651 u8 sval; in avm_fritzv2_interrupt() local 654 sval = inb(fc->addr + 2); in avm_fritzv2_interrupt() 655 pr_debug("%s: irq stat0 %x\n", fc->name, sval); in avm_fritzv2_interrupt() 656 if (!(sval & AVM_STATUS0_IRQ_MASK)) { in avm_fritzv2_interrupt() [all …]
|
/drivers/pinctrl/qcom/ |
D | pinctrl-lpass-lpi.c | 196 unsigned long sval; in lpi_config_set() local 241 sval = ioread32(pctrl->slew_base + LPI_SLEW_RATE_CTL_REG); in lpi_config_set() 242 sval &= ~(LPI_SLEW_RATE_MASK << slew_offset); in lpi_config_set() 243 sval |= arg << slew_offset; in lpi_config_set() 244 iowrite32(sval, pctrl->slew_base + LPI_SLEW_RATE_CTL_REG); in lpi_config_set()
|
/drivers/media/usb/gspca/ |
D | ov534_9.c | 1259 s8 sval; in setbrightness() local 1262 sval = brightness; in setbrightness() 1264 val += sval; in setbrightness() 1267 val += sval; in setbrightness() 1269 if (sval < -40) in setbrightness() 1271 else if (sval < 20) in setbrightness()
|
/drivers/scsi/sym53c8xx_2/ |
D | sym_hipd.c | 1880 tp->head.sval = 0; 1935 u_char sval, wval, uval; local 1940 sval = tp->head.sval; 1946 sval, wval, uval, np->rv_scntl3); 1952 sval = (sval & ~0x1f) | ofs; 1954 sval = (sval & ~0x3f) | ofs; 1962 sval = (sval & ~0xe0) | (fak << 5); 1994 if (tp->head.sval == sval && 1998 tp->head.sval = sval; 2012 OUTB(np, nc_sxfer, tp->head.sval); [all …]
|
D | sym_hipd.h | 371 /*1*/ u_char sval; /* -> SXFER io register */ member
|
D | sym_fw1.h | 938 HADDR_1 (tcb_head.sval),
|
D | sym_fw2.h | 881 offsetof(struct sym_tcb, head.sval),
|
D | sym_glue.c | 838 tp->head.sval = 0; in sym53c8xx_slave_destroy()
|
/drivers/net/ethernet/natsemi/ |
D | natsemi.c | 2772 u16 *sval = (u16 *)newval; in netdev_set_sopass() local 2786 writew(sval[0], ioaddr + RxFilterData); in netdev_set_sopass() 2789 writew(sval[1], ioaddr + RxFilterData); in netdev_set_sopass() 2792 writew(sval[2], ioaddr + RxFilterData); in netdev_set_sopass() 2804 u16 *sval = (u16 *)data; in netdev_get_sopass() local 2808 sval[0] = sval[1] = sval[2] = 0; in netdev_get_sopass() 2816 sval[0] = readw(ioaddr + RxFilterData); in netdev_get_sopass() 2819 sval[1] = readw(ioaddr + RxFilterData); in netdev_get_sopass() 2822 sval[2] = readw(ioaddr + RxFilterData); in netdev_get_sopass()
|
/drivers/media/pci/bt8xx/ |
D | dst.c | 429 u64 sval; in dst_set_symbolrate() local 439 sval = srate; in dst_set_symbolrate() 440 sval <<= 20; in dst_set_symbolrate() 441 do_div(sval, 88000); in dst_set_symbolrate() 442 symcalc = (u32) sval; in dst_set_symbolrate()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_x550.c | 1956 u32 lval, sval, flx_val; in ixgbe_setup_sgmii() local 1978 IXGBE_SB_IOSF_TARGET_KR_PHY, &sval); in ixgbe_setup_sgmii() 1982 sval |= IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_10_D; in ixgbe_setup_sgmii() 1983 sval |= IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_100_D; in ixgbe_setup_sgmii() 1986 IXGBE_SB_IOSF_TARGET_KR_PHY, sval); in ixgbe_setup_sgmii() 2028 u32 lval, sval, flx_val; in ixgbe_setup_sgmii_fw() local 2050 IXGBE_SB_IOSF_TARGET_KR_PHY, &sval); in ixgbe_setup_sgmii_fw() 2054 sval &= ~IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_10_D; in ixgbe_setup_sgmii_fw() 2055 sval &= ~IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_100_D; in ixgbe_setup_sgmii_fw() 2058 IXGBE_SB_IOSF_TARGET_KR_PHY, sval); in ixgbe_setup_sgmii_fw()
|
/drivers/scsi/ |
D | ncr53c8xx.c | 1215 /*2*/ u_char sval; member 1223 /*1*/ u_char sval; member 4327 cp->phys.select.sel_sxfer = tp->sval; in ncr_queue_command() 5178 tp->sval = 0; in ncr_init() 5332 OUTB (nc_sxfer, tp->sval); in ncr_set_sync_wide_status() 5333 np->sync_st = tp->sval; in ncr_set_sync_wide_status() 5344 cp->phys.select.sel_sxfer = tp->sval; in ncr_set_sync_wide_status() 5382 if (tp->sval == sxfer && tp->wval == scntl3) in ncr_setsync() 5384 tp->sval = sxfer; in ncr_setsync() 5426 sxfer = ack ? 0 : tp->sval; in ncr_setwide() [all …]
|
/drivers/infiniband/hw/hfi1/ |
D | chip.c | 12344 u64 sval = *psval; in read_dev_port_cntr() local 12357 if (sval == CNTR_MAX) { in read_dev_port_cntr() 12364 u64 upper = sval >> 32; in read_dev_port_cntr() 12365 u64 lower = (sval << 32) >> 32; in read_dev_port_cntr() 12379 if ((val < sval) || (val > CNTR_MAX)) in read_dev_port_cntr() 12428 u64 *sval; in read_dev_cntr() local 12431 sval = dd->scntrs + entry->offset; in read_dev_cntr() 12434 sval += vl; in read_dev_cntr() 12436 return read_dev_port_cntr(dd, entry, sval, dd, vl); in read_dev_cntr() 12442 u64 *sval; in write_dev_cntr() local [all …]
|
/drivers/infiniband/hw/qib/ |
D | qib_iba7220.c | 3904 u64 sval, tval; /* Shadowed, transient */ in sendctrl_hook() local 3910 sval = (dd->sendctrl & ~mask); in sendctrl_hook() 3911 sval |= *data & SENDCTRL_SHADOWED & mask; in sendctrl_hook() 3912 dd->sendctrl = sval; in sendctrl_hook() 3913 tval = sval | (*data & ~SENDCTRL_SHADOWED & mask); in sendctrl_hook() 3915 (u32)tval, (u32)sval); in sendctrl_hook()
|
D | qib_iba7322.c | 5874 u64 sval, tval; /* Shadowed, transient */ in sendctrl_hook() local 5881 sval = ppd->p_sendctrl & ~mask; in sendctrl_hook() 5882 sval |= *data & SENDCTRL_SHADOWED & mask; in sendctrl_hook() 5883 ppd->p_sendctrl = sval; in sendctrl_hook() 5885 sval = *data & SENDCTRL_SHADOWED & mask; in sendctrl_hook() 5886 tval = sval | (*data & ~SENDCTRL_SHADOWED & mask); in sendctrl_hook()
|
/drivers/md/ |
D | dm-crypt.c | 3144 const char *opt_string, *sval; in crypt_ctr_optional() local 3181 sval = strchr(opt_string + strlen("integrity:"), ':') + 1; in crypt_ctr_optional() 3182 if (!strcasecmp(sval, "aead")) { in crypt_ctr_optional() 3184 } else if (strcasecmp(sval, "none")) { in crypt_ctr_optional() 3189 cc->cipher_auth = kstrdup(sval, GFP_KERNEL); in crypt_ctr_optional()
|