Searched refs:mode_tb (Results 1 – 2 of 2) sorted by relevance
627 static u8 mode_tb[][3] = { in sd_start() local662 reg_write(gspca_dev, SPCA50X_REG_COMPRESS, 0x00, mode_tb[mode][0]); in sd_start()663 reg_write(gspca_dev, SPCA50X_REG_COMPRESS, 0x06, mode_tb[mode][1]); in sd_start()664 reg_write(gspca_dev, SPCA50X_REG_COMPRESS, 0x07, mode_tb[mode][2]); in sd_start()
6485 static const u8 mode_tb[SENSOR_MAX] = { in sd_init() local6641 switch (mode_tb[sd->sensor]) { in sd_init()