Home
last modified time | relevance | path

Searched refs:val3 (Results 1 – 12 of 12) sorted by relevance

/drivers/input/joystick/
Dwalkera0701.c69 int val1, val2, val3, val4, val5, val6, val7, val8; in walkera0701_parse_frame() local
92 val3 = ((w->buf[5] & 7) * 256 + w->buf[6] * 16 + w->buf[7]) >> 2; in walkera0701_parse_frame()
93 val3 *= ((w->buf[5] >> 2) & 2) - 1; /* sign */ in walkera0701_parse_frame()
112 val1, val2, val3, val4, val5, val6, val7, val8, magic, in walkera0701_parse_frame()
119 input_report_abs(w->input_dev, ABS_THROTTLE, val3); in walkera0701_parse_frame()
/drivers/media/video/gspca/
Dov534_9.c1214 u8 val1, val2, val3; in setsatur() local
1227 val3 = val1 + val2; in setsatur()
1228 sccb_write(gspca_dev, 0x4f, val3); /* matrix coeff */ in setsatur()
1229 sccb_write(gspca_dev, 0x50, val3); in setsatur()
1233 sccb_write(gspca_dev, 0x54, val3); in setsatur()
/drivers/media/dvb/dvb-usb/
Dmxl111sf-demod.c390 u8 val1, val2, val3; in mxl111sf_demod_read_ber() local
401 ret = mxl111sf_demod_read_reg(state, V6_N_ACCUMULATE_REG, &val3); in mxl111sf_demod_read_ber()
405 *ber = CALCULATE_BER((val1 | (val2 << 8)), val3); in mxl111sf_demod_read_ber()
/drivers/net/ethernet/chelsio/cxgb/
Dpm3393.c453 u32 val0, val1, val2, val3; in pm3393_update_statistics() local
463 pmread(mac, SUNI1x10GEXP_REG_MSTAT_COUNTER_ROLLOVER_3, &val3); in pm3393_update_statistics()
465 (((u64)val2 & 0xffff) << 32) | (((u64)val3 & 0xffff) << 48); in pm3393_update_statistics()
/drivers/gpu/drm/mga/
Dmga_drv.h319 #define DMA_BLOCK(reg0, val0, reg1, val1, reg2, val2, reg3, val3) \ argument
328 DMA_WRITE(4, val3); \
/drivers/staging/tidspbridge/include/dspbridge/
Ddbdefs.h374 u32 val3; member
/drivers/net/wireless/hostap/
Dhostap_hw.c1902 u16 val, val2, val3; in prism2_read_fid_reg() local
1908 val3 = HFA384X_INW(reg); in prism2_read_fid_reg()
1910 if (val == val2 && val == val3) in prism2_read_fid_reg()
1915 dev->name, i, reg, val, val2, val3); in prism2_read_fid_reg()
1916 if ((val == val2 || val == val3) && val != 0) in prism2_read_fid_reg()
1918 if (val2 == val3 && val2 != 0) in prism2_read_fid_reg()
1922 "%04x (%04x %04x %04x)\n", dev->name, reg, val, val2, val3); in prism2_read_fid_reg()
/drivers/net/wireless/b43/
Dphy_lp.c2525 u32 freqref, vco_freq, val1, val2, val3, timeout, timeoutref, count; in lpphy_b2063_tune() local
2564 val3 = lpphy_qdiv_roundup(vco_freq, 3, 16); in lpphy_b2063_tune()
2576 count = lpphy_qdiv_roundup(val3, val2 + 16, 16); in lpphy_b2063_tune()
2583 tmp1 = ((val3 * 62500) / freqref) << 4; in lpphy_b2063_tune()
2584 tmp2 = ((val3 * 62500) % freqref) << 4; in lpphy_b2063_tune()
2600 tmp3 = ((41 * (val3 - 3000)) /1200) + 27; in lpphy_b2063_tune()
2613 tmp6 = lpphy_qdiv_roundup(100 * val1, val3, 16); in lpphy_b2063_tune()
/drivers/infiniband/hw/qib/
Dqib_sd7220.c1000 #define RXEQ_VAL(elt, adr, val0, val1, val2, val3) \ argument
1001 {RXEQ_INIT_RDESC((elt), (adr)), {(val0), (val1), (val2), (val3)} }
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.c1381 (data | ctr->val3)); in qlcnic_dump_ctrl()
1418 data |= ctr->val3; in qlcnic_dump_ctrl()
Dqlcnic.h1246 __le32 val3; member
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c9213 u32 val, val2, val3, val4, id, boot_mode; in bnx2x_get_common_hwinfo() local
9353 val3 = SHMEM_RD(bp, dev_info.shared_hw_config.part_num[8]); in bnx2x_get_common_hwinfo()
9357 val, val2, val3, val4); in bnx2x_get_common_hwinfo()