Searched refs:sgpio_clk_div (Results 1 – 1 of 1) sorted by relevance
513 u32 nr_gpios, sgpio_freq, sgpio_clk_div, gpio_cnt_regval, pin_mask; in aspeed_sgpio_probe() local569 sgpio_clk_div = (apb_freq / (sgpio_freq * 2)) - 1; in aspeed_sgpio_probe()571 if (sgpio_clk_div > (1 << 16) - 1) in aspeed_sgpio_probe()575 iowrite32(FIELD_PREP(ASPEED_SGPIO_CLK_DIV_MASK, sgpio_clk_div) | gpio_cnt_regval | in aspeed_sgpio_probe()