Home
last modified time | relevance | path

Searched refs:nsecs (Results 1 – 9 of 9) sorted by relevance

/drivers/spi/
Dspi_bitbang.c51 unsigned nsecs; /* (clock cycle time)/2 */ member
52 u32 (*txrx_word)(struct spi_device *spi, unsigned nsecs,
57 unsigned nsecs,
65 unsigned nsecs, in bitbang_txrx_8() argument
91 unsigned nsecs, in bitbang_txrx_16() argument
117 unsigned nsecs, in bitbang_txrx_32() argument
170 cs->nsecs = (1000000000/2) / hz; in spi_bitbang_setup_transfer()
171 if (cs->nsecs > (MAX_UDELAY_MS * 1000 * 1000)) in spi_bitbang_setup_transfer()
218 spi->bits_per_word, 2 * cs->nsecs); in spi_bitbang_setup()
229 ndelay(cs->nsecs); in spi_bitbang_setup()
[all …]
Dspi_s3c24xx_gpio.c65 unsigned nsecs, u32 word, u8 bits) in s3c2410_spigpio_txrx_mode0() argument
67 return bitbang_txrx_be_cpha0(spi, nsecs, 0, word, bits); in s3c2410_spigpio_txrx_mode0()
71 unsigned nsecs, u32 word, u8 bits) in s3c2410_spigpio_txrx_mode1() argument
73 return bitbang_txrx_be_cpha1(spi, nsecs, 0, word, bits); in s3c2410_spigpio_txrx_mode1()
77 unsigned nsecs, u32 word, u8 bits) in s3c2410_spigpio_txrx_mode2() argument
79 return bitbang_txrx_be_cpha0(spi, nsecs, 1, word, bits); in s3c2410_spigpio_txrx_mode2()
83 unsigned nsecs, u32 word, u8 bits) in s3c2410_spigpio_txrx_mode3() argument
85 return bitbang_txrx_be_cpha1(spi, nsecs, 1, word, bits); in s3c2410_spigpio_txrx_mode3()
Dspi_sh_sci.c85 unsigned nsecs, u32 word, u8 bits) in sh_sci_spi_txrx_mode0() argument
87 return bitbang_txrx_be_cpha0(spi, nsecs, 0, word, bits); in sh_sci_spi_txrx_mode0()
91 unsigned nsecs, u32 word, u8 bits) in sh_sci_spi_txrx_mode1() argument
93 return bitbang_txrx_be_cpha1(spi, nsecs, 0, word, bits); in sh_sci_spi_txrx_mode1()
97 unsigned nsecs, u32 word, u8 bits) in sh_sci_spi_txrx_mode2() argument
99 return bitbang_txrx_be_cpha0(spi, nsecs, 1, word, bits); in sh_sci_spi_txrx_mode2()
103 unsigned nsecs, u32 word, u8 bits) in sh_sci_spi_txrx_mode3() argument
105 return bitbang_txrx_be_cpha1(spi, nsecs, 1, word, bits); in sh_sci_spi_txrx_mode3()
Dspi_gpio.c128 #define spidelay(nsecs) do {} while (0) argument
148 unsigned nsecs, u32 word, u8 bits) in spi_gpio_txrx_word_mode0() argument
150 return bitbang_txrx_be_cpha0(spi, nsecs, 0, word, bits); in spi_gpio_txrx_word_mode0()
154 unsigned nsecs, u32 word, u8 bits) in spi_gpio_txrx_word_mode1() argument
156 return bitbang_txrx_be_cpha1(spi, nsecs, 0, word, bits); in spi_gpio_txrx_word_mode1()
160 unsigned nsecs, u32 word, u8 bits) in spi_gpio_txrx_word_mode2() argument
162 return bitbang_txrx_be_cpha0(spi, nsecs, 1, word, bits); in spi_gpio_txrx_word_mode2()
166 unsigned nsecs, u32 word, u8 bits) in spi_gpio_txrx_word_mode3() argument
168 return bitbang_txrx_be_cpha1(spi, nsecs, 1, word, bits); in spi_gpio_txrx_word_mode3()
Dspi_mpc83xx.c84 unsigned nsecs; /* (clock cycle time)/2 */ member
358 int status, nsecs = 50; in mpc83xx_spi_work() local
394 ndelay(nsecs); in mpc83xx_spi_work()
396 ndelay(nsecs); in mpc83xx_spi_work()
404 ndelay(nsecs); in mpc83xx_spi_work()
Dspi_lm70llp.c193 static u32 lm70_txrx(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) in lm70_txrx() argument
195 return bitbang_txrx_be_cpha0(spi, nsecs, 0, word, bits); in lm70_txrx()
Dspi_butterfly.c157 unsigned nsecs, in butterfly_txrx_word_mode0() argument
160 return bitbang_txrx_be_cpha0(spi, nsecs, 0, word, bits); in butterfly_txrx_word_mode0()
/drivers/ide/
Dide-floppy.c71 static int ide_floppy_end_request(ide_drive_t *drive, int uptodate, int nsecs) in ide_floppy_end_request() argument
99 ide_end_request(drive, uptodate, nsecs); in ide_floppy_end_request()
/drivers/ata/
Dpata_octeon_cf.c54 static unsigned int ns_to_tim_reg(unsigned int tim_mult, unsigned int nsecs) in ns_to_tim_reg() argument
62 val = DIV_ROUND_UP(nsecs * (octeon_get_clock_rate() / 1000000), in ns_to_tim_reg()