Home
last modified time | relevance | path

Searched refs:prescaler (Results 1 – 17 of 17) sorted by relevance

/drivers/i2c/busses/
Di2c-mpc.c76 u32 clock, u32 prescaler);
77 u32 prescaler; member
197 int prescaler, u32 *real_clk) in mpc_i2c_get_fdr_52xx() argument
232 u32 clock, u32 prescaler) in mpc_i2c_setup_52xx() argument
242 ret = mpc_i2c_get_fdr_52xx(node, clock, prescaler, &i2c->real_clk); in mpc_i2c_setup_52xx()
254 u32 clock, u32 prescaler) in mpc_i2c_setup_52xx() argument
262 u32 clock, u32 prescaler) in mpc_i2c_setup_512x() argument
285 mpc_i2c_setup_52xx(node, i2c, clock, prescaler); in mpc_i2c_setup_512x()
290 u32 clock, u32 prescaler) in mpc_i2c_setup_512x() argument
346 u32 prescaler, u32 *real_clk) in mpc_i2c_get_fdr_8xxx() argument
[all …]
/drivers/watchdog/
Dmpc8xxx_wdt.c48 int prescaler; member
221 timeout_sec = (timeout * wdt_type->prescaler) / freq; in mpc8xxx_wdt_probe()
262 .prescaler = 0x10000,
268 .prescaler = 0x10000,
275 .prescaler = 0x800,
/drivers/leds/
Dleds-renesas-tpu.c114 int prescaler[] = { 1, 4, 16, 64 }; in r_tpu_enable() local
136 for (k = 0; k < ARRAY_SIZE(prescaler); k++) in r_tpu_enable()
137 if ((rate / prescaler[k]) < p->min_rate) in r_tpu_enable()
145 rate, prescaler[k - 1]); in r_tpu_enable()
153 rate /= prescaler[k - 1] * p->refresh_rate; in r_tpu_enable()
/drivers/usb/serial/
Dkeyspan.h69 u8 *prescaler, int portnum);
73 u8 *prescaler, int portnum);
77 u8 *prescaler, int portnum);
81 u8 *prescaler, int portnum);
192 u8 *rate_hi, u8 *rate_low, u8 *prescaler, int portnum);
Dkeyspan.c1508 u8 *rate_low, u8 *prescaler, int portnum) in keyspan_usa19_calc_baud() argument
1548 u8 *rate_low, u8 *prescaler, int portnum) in keyspan_usa19hs_calc_baud() argument
1583 u8 *rate_low, u8 *prescaler, int portnum) in keyspan_usa19w_calc_baud() argument
1637 if (prescaler) { in keyspan_usa19w_calc_baud()
1638 *prescaler = best_prescaler; in keyspan_usa19w_calc_baud()
1646 u8 *rate_low, u8 *prescaler, int portnum) in keyspan_usa28_calc_baud() argument
1737 &msg.baudLo, &msg.prescaler, device_port) == KEYSPAN_INVALID_BAUD_RATE) { in keyspan_usa26_send_setup()
1742 msg.prescaler = 10; in keyspan_usa26_send_setup()
2026 &msg.baudLo, &msg.prescaler, device_port) == KEYSPAN_INVALID_BAUD_RATE) { in keyspan_usa49_send_setup()
2031 msg.prescaler = 10; in keyspan_usa49_send_setup()
[all …]
Dkeyspan_usa26msg.h154 prescaler; // BOTH: specified as N/8; values 8-ff are valid member
Dkeyspan_usa49msg.h142 prescaler, // specified as N/8; values 8-ff are valid member
Dkeyspan_usa67msg.h152 prescaler; // specified as N/8; values 8-ff are valid member
/drivers/mmc/host/
Dmxcmmc.c674 int prescaler = 0; in mxcmci_set_clk_rate() local
677 while (prescaler <= 0x800) { in mxcmci_set_clk_rate()
683 if (prescaler) in mxcmci_set_clk_rate()
684 x /= (prescaler * 2); in mxcmci_set_clk_rate()
692 if (prescaler == 0) in mxcmci_set_clk_rate()
693 prescaler = 1; in mxcmci_set_clk_rate()
695 prescaler <<= 1; in mxcmci_set_clk_rate()
698 writew((prescaler << 4) | divider, host->base + MMC_REG_CLK_RATE); in mxcmci_set_clk_rate()
701 prescaler, divider, clk_in, clk_ios); in mxcmci_set_clk_rate()
Dimxmmc.c810 int prescaler; in imxmci_set_ios() local
843 prescaler = (clk + (CLK_RATE * 7) / 8) / CLK_RATE; in imxmci_set_ios()
844 switch (prescaler) { in imxmci_set_ios()
846 case 1: prescaler = 0; in imxmci_set_ios()
848 case 2: prescaler = 1; in imxmci_set_ios()
850 case 3: prescaler = 2; in imxmci_set_ios()
852 case 4: prescaler = 4; in imxmci_set_ios()
855 case 5: prescaler = 5; in imxmci_set_ios()
860 clk, prescaler); in imxmci_set_ios()
875 writew((prescaler << 3) | clk, host->base + MMC_REG_CLK_RATE); in imxmci_set_ios()
Ds3cmci.h34 u8 prescaler; member
Ds3cmci.c368 writel(host->prescaler, host->base + S3C2410_SDIPRE); in do_pio_read()
848 writel(host->prescaler, host->base + S3C2410_SDIPRE); in finalize_request()
1220 host->prescaler = mci_psc; in s3cmci_set_clk()
1221 writel(host->prescaler, host->base + S3C2410_SDIPRE); in s3cmci_set_clk()
1431 seq_printf(seq, "Prescale = %d\n", host->prescaler); in s3cmci_state_show()
/drivers/hwmon/
Dmax6650.c50 static int prescaler; variable
55 module_param(prescaler, int, S_IRUGO);
632 switch (prescaler) { in max6650_init_client()
656 prescaler); in max6650_init_client()
/drivers/media/rc/
Dmceusb.c886 int prescaler = 0, divisor = 0; in mceusb_set_tx_carrier() local
903 for (prescaler = 0; prescaler < 4; ++prescaler) { in mceusb_set_tx_carrier()
904 divisor = (clk >> (2 * prescaler)) / carrier; in mceusb_set_tx_carrier()
907 cmdbuf[2] = prescaler; in mceusb_set_tx_carrier()
/drivers/tty/serial/
Dmpc52xx_uart.c129 u16 prescaler, unsigned int divisor) in mpc52xx_set_divisor() argument
132 out_be16(&psc->mpc52xx_psc_clock_select, prescaler); in mpc52xx_set_divisor()
256 u16 prescaler; in mpc5200b_psc_set_baudrate() local
269 prescaler = 0xdd00; /* /32 */ in mpc5200b_psc_set_baudrate()
271 prescaler = 0xff00; /* /4 */ in mpc5200b_psc_set_baudrate()
272 mpc52xx_set_divisor(PSC(port), prescaler, divisor); in mpc5200b_psc_set_baudrate()
/drivers/atm/
Deni.h42 int prescaler; /* shaping prescaler */ member
Deni.c1149 (aal5 ? MID_SEG_AAL5 : 0) | (tx->prescaler << MID_SEG_PR_SHIFT) | in do_tx()
1362 tx->prescaler = pre; in reserve_or_set_tx()
1983 (tx->prescaler << MID_SEG_PR_SHIFT) | in eni_change_qos()