Searched refs:NPCM7xxClockDividerState (Results 1 – 2 of 2) sorted by relevance
139 typedef struct NPCM7xxClockDividerState { struct147 uint32_t (*divide)(struct NPCM7xxClockDividerState *s); argument156 } NPCM7xxClockDividerState; argument166 NPCM7xxClockDividerState dividers[NPCM7XX_CLOCK_NR_DIVIDERS];
118 #define NPCM7XX_CLOCK_DIVIDER(obj) OBJECT_CHECK(NPCM7xxClockDividerState, \156 NPCM7xxClockDividerState *s = opaque; in npcm7xx_clk_update_divider()163 static uint32_t divide_by_constant(NPCM7xxClockDividerState *s) in divide_by_constant()168 static uint32_t divide_by_reg_divisor(NPCM7xxClockDividerState *s) in divide_by_reg_divisor()174 static uint32_t divide_by_reg_divisor_times_2(NPCM7xxClockDividerState *s) in divide_by_reg_divisor_times_2()179 static uint32_t shift_by_reg_divisor(NPCM7xxClockDividerState *s) in shift_by_reg_divisor()266 uint32_t (*divide)(NPCM7xxClockDividerState *s);629 NPCM7xxClockDividerState *div = NPCM7XX_CLOCK_DIVIDER(obj); in npcm7xx_clk_divider_init()666 static void npcm7xx_init_clock_divider(NPCM7xxClockDividerState *div, in npcm7xx_init_clock_divider()994 VMSTATE_CLOCK(clock_in, NPCM7xxClockDividerState),[all …]