Lines Matching refs:reg01
55 u8 reg01; member
2174 u8 reg01, reg17; in sd_start() local
2209 reg01 = sn9c1xx[1]; in sd_start()
2211 reg01 ^= S_PDN_INV; /* power down inverted */ in sd_start()
2212 reg_w1(gspca_dev, 0x01, reg01); in sd_start()
2215 reg0102[0] = reg01; in sd_start()
2253 reg01 = SCL_SEL_OD | S_PDN_INV; in sd_start()
2258 reg01 |= SYS_SEL_48M; in sd_start()
2259 reg_w1(gspca_dev, 0x01, reg01); in sd_start()
2262 reg01 &= ~S_PWR_DN; /* sensor power on */ in sd_start()
2263 reg_w1(gspca_dev, 0x01, reg01); in sd_start()
2264 reg01 &= ~SCL_SEL_OD; /* remove open-drain mode */ in sd_start()
2265 reg_w1(gspca_dev, 0x01, reg01); in sd_start()
2273 reg_w1(gspca_dev, 0x01, reg01); in sd_start()
2363 reg01 |= SYS_SEL_48M | V_TX_EN; in sd_start()
2376 reg01 &= ~SYS_SEL_48M; /* 640x480: clk 24Mhz */ in sd_start()
2385 reg01 &= ~SYS_SEL_48M; /* clk 24Mz */ in sd_start()
2399 reg01 &= ~SYS_SEL_48M; /* clk 24Mz */ in sd_start()
2475 reg_w1(gspca_dev, 0x01, reg01); in sd_start()
2476 sd->reg01 = reg01; in sd_start()
2496 u8 reg01; in sd_stopN() local
2499 reg01 = sd->reg01; in sd_stopN()
2506 reg01 |= LED; in sd_stopN()
2507 reg_w1(gspca_dev, 0x01, reg01); in sd_stopN()
2508 reg01 &= ~(LED | V_TX_EN); in sd_stopN()
2509 reg_w1(gspca_dev, 0x01, reg01); in sd_stopN()
2513 reg01 &= ~V_TX_EN; in sd_stopN()
2514 reg_w1(gspca_dev, 0x01, reg01); in sd_stopN()
2519 reg01 &= ~V_TX_EN; in sd_stopN()
2520 reg_w1(gspca_dev, 0x01, reg01); in sd_stopN()
2527 reg01 &= ~V_TX_EN; in sd_stopN()
2528 reg_w1(gspca_dev, 0x01, reg01); in sd_stopN()
2532 reg01 &= ~V_TX_EN; in sd_stopN()
2533 reg_w1(gspca_dev, 0x01, reg01); in sd_stopN()
2537 reg01 &= ~V_TX_EN; in sd_stopN()
2538 reg_w1(gspca_dev, 0x01, reg01); in sd_stopN()
2545 reg01 |= SCL_SEL_OD; in sd_stopN()
2546 reg_w1(gspca_dev, 0x01, reg01); in sd_stopN()
2547 reg01 |= S_PWR_DN; /* sensor power down */ in sd_stopN()
2548 reg_w1(gspca_dev, 0x01, reg01); in sd_stopN()
2550 reg01 &= ~SYS_SEL_48M; /* clock 24MHz */ in sd_stopN()
2551 reg_w1(gspca_dev, 0x01, reg01); in sd_stopN()
2552 reg01 |= LED; in sd_stopN()
2553 reg_w1(gspca_dev, 0x01, reg01); in sd_stopN()