for (i = 1; i < NUM_CS5530_FREQUENCIES; i++) { 
for (i = 1; i < ARRAY_SIZE(cs5530_pll_table); i++) { 
static void cs5530_set_dclk_frequency(struct fb_info *info){	struct geodefb_par *par = info->par;	int i;	u32 value;	long min, diff;	/* Search the table for the closest pixclock. */	value = cs5530_pll_table[0].pll_value;	min = cs5530_pll_table[0].pixclock - info->var.pixclock;	if (min < 0) min = -min;	for (i = 1; i < NUM_CS5530_FREQUENCIES; i++) {		diff = cs5530_pll_table[i].pixclock - info->var.pixclock;		if (diff < 0L) diff = -diff;		if (diff < min) {			min = diff;			value = cs5530_pll_table[i].pll_value;		}	}	writel(value, par->vid_regs + CS5530_DOT_CLK_CONFIG);	writel(value | 0x80000100, par->vid_regs + CS5530_DOT_CLK_CONFIG); /* set reset and bypass */	udelay(500); /* wait for PLL to settle */	writel(value & 0x7FFFFFFF, par->vid_regs + CS5530_DOT_CLK_CONFIG); /* clear reset */	writel(value & 0x7FFFFEFF, par->vid_regs + CS5530_DOT_CLK_CONFIG); /* clear bypass */}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/53eed4ec8bcd8701b9135859ec46b10a0d88ba25/video_cs5530.c/clean/drivers/video/geode/video_cs5530.c