Home
last modified time | relevance | path

Searched refs:clks (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/ide/pci/
Dopti621.c219 static void compute_clocks(int pio, pio_clocks_t *clks) in compute_clocks() argument
227 clks->address_time = cmpt_clk(adr_setup, bus_speed); in compute_clocks()
228 clks->data_time = cmpt_clk(data_pls, bus_speed); in compute_clocks()
229 clks->recovery_time = cmpt_clk(ide_pio_timings[pio].cycle_time in compute_clocks()
231 if (clks->address_time<1) clks->address_time = 1; in compute_clocks()
232 if (clks->address_time>4) clks->address_time = 4; in compute_clocks()
233 if (clks->data_time<1) clks->data_time = 1; in compute_clocks()
234 if (clks->data_time>16) clks->data_time = 16; in compute_clocks()
235 if (clks->recovery_time<2) clks->recovery_time = 2; in compute_clocks()
236 if (clks->recovery_time>17) clks->recovery_time = 17; in compute_clocks()
[all …]
/linux-2.4.37.9/arch/ppc/platforms/
Docotea.c212 ocotea_early_serial_map(const struct ibm44x_clocks* clks) in ocotea_early_serial_map() argument
219 serial_req.baud_base = clks->uart0 / 16; in ocotea_early_serial_map()
238 serial_req.baud_base = clks->uart1 / 16; in ocotea_early_serial_map()
/linux-2.4.37.9/drivers/net/
Dsky2.c2788 u32 clks = sky2_read32(hw, STAT_TX_TIMER_INI); in sky2_get_coalesce() local
2789 ecmd->tx_coalesce_usecs = sky2_clk2us(hw, clks); in sky2_get_coalesce()
2796 u32 clks = sky2_read32(hw, STAT_LEV_TIMER_INI); in sky2_get_coalesce() local
2797 ecmd->rx_coalesce_usecs = sky2_clk2us(hw, clks); in sky2_get_coalesce()
2804 u32 clks = sky2_read32(hw, STAT_ISR_TIMER_INI); in sky2_get_coalesce() local
2805 ecmd->rx_coalesce_usecs_irq = sky2_clk2us(hw, clks); in sky2_get_coalesce()