hs_div 58 drivers/clk/clk-si514.c u16 hs_div; /* 1st divider, must be even and 10<=x<=1022 */ hs_div 111 drivers/clk/clk-si514.c settings->hs_div = (reg[6] & 0x03) << 8 | reg[5]; hs_div 151 drivers/clk/clk-si514.c reg[5] = settings->hs_div; hs_div 152 drivers/clk/clk-si514.c reg[6] = (settings->hs_div >> 8) | (settings->ls_div_bits << 4); hs_div 194 drivers/clk/clk-si514.c settings->hs_div = DIV_ROUND_UP(FVCO_MIN >> 1, ls_freq) << 1; hs_div 197 drivers/clk/clk-si514.c m = ((u64)(ls_freq * settings->hs_div) << 29) + (FXO / 2); hs_div 209 drivers/clk/clk-si514.c u32 d = settings->hs_div * BIT(settings->ls_div_bits); hs_div 85 drivers/clk/clk-si544.c u16 hs_div; hs_div 136 drivers/clk/clk-si544.c settings->hs_div = (reg[1] & 0x07) << 8 | reg[0]; hs_div 175 drivers/clk/clk-si544.c reg[0] = settings->hs_div; hs_div 176 drivers/clk/clk-si544.c reg[1] = settings->hs_div >> 8 | settings->ls_div_bits << 4; hs_div 250 drivers/clk/clk-si544.c settings->hs_div = vco; hs_div 253 drivers/clk/clk-si544.c if ((settings->hs_div & 1) && hs_div 254 drivers/clk/clk-si544.c (settings->hs_div > HS_DIV_MAX_ODD || settings->ls_div_bits)) hs_div 255 drivers/clk/clk-si544.c ++settings->hs_div; hs_div 258 drivers/clk/clk-si544.c vco = (u64)ls_freq * settings->hs_div; hs_div 280 drivers/clk/clk-si544.c u32 d = settings->hs_div * BIT(settings->ls_div_bits); hs_div 72 drivers/clk/clk-si570.c unsigned int hs_div; hs_div 95 drivers/clk/clk-si570.c unsigned int *n1, unsigned int *hs_div) hs_div 106 drivers/clk/clk-si570.c *hs_div = ((reg[0] & HS_DIV_MASK) >> HS_DIV_SHIFT) + HS_DIV_OFFSET; hs_div 135 drivers/clk/clk-si570.c err = si570_get_divs(data, &data->rfreq, &data->n1, &data->hs_div); hs_div 143 drivers/clk/clk-si570.c fdco = fout * data->n1 * data->hs_div; hs_div 190 drivers/clk/clk-si570.c unsigned int n1, hs_div; hs_div 195 drivers/clk/clk-si570.c hs_div = si570_hs_div_values[i]; hs_div 197 drivers/clk/clk-si570.c n1 = div_u64(div_u64(FDCO_MIN, hs_div), frequency); hs_div 201 drivers/clk/clk-si570.c fdco = (u64)frequency * (u64)hs_div * (u64)n1; hs_div 206 drivers/clk/clk-si570.c *out_hs_div = hs_div; hs_div 225 drivers/clk/clk-si570.c unsigned int n1, hs_div; hs_div 228 drivers/clk/clk-si570.c err = si570_get_divs(data, &rfreq, &n1, &hs_div); hs_div 234 drivers/clk/clk-si570.c rfreq = div_u64(rfreq, hs_div * n1); hs_div 245 drivers/clk/clk-si570.c unsigned int n1, hs_div; hs_div 256 drivers/clk/clk-si570.c hs_div = data->hs_div; hs_div 259 drivers/clk/clk-si570.c err = si570_calc_divs(rate, data, &rfreq, &n1, &hs_div); hs_div 283 drivers/clk/clk-si570.c &data->hs_div); hs_div 293 drivers/clk/clk-si570.c ((data->hs_div - HS_DIV_OFFSET) << HS_DIV_SHIFT) | hs_div 1670 drivers/i2c/busses/i2c-qup.c int ret, fs_div, hs_div; hs_div 1863 drivers/i2c/busses/i2c-qup.c hs_div = 3; hs_div 1866 drivers/i2c/busses/i2c-qup.c qup->clk_ctl = (hs_div << 8) | (fs_div & 0xff); hs_div 1870 drivers/i2c/busses/i2c-qup.c qup->clk_ctl = ((fs_div / 2) << 16) | (hs_div << 8) | (fs_div & 0xff);