/drivers/spi/ |
H A D | spi-bitbang-txrx.h | 47 unsigned nsecs, unsigned cpol, unsigned flags, 58 spidelay(nsecs); /* T(setup) */ 61 spidelay(nsecs); 74 unsigned nsecs, unsigned cpol, unsigned flags, 86 spidelay(nsecs); /* T(setup) */ 89 spidelay(nsecs); 46 bitbang_txrx_be_cpha0(struct spi_device *spi, unsigned nsecs, unsigned cpol, unsigned flags, u32 word, u8 bits) argument 73 bitbang_txrx_be_cpha1(struct spi_device *spi, unsigned nsecs, unsigned cpol, unsigned flags, u32 word, u8 bits) argument
|
H A D | spi-gpio.c | 129 #define spidelay(nsecs) do {} while (0) 148 unsigned nsecs, u32 word, u8 bits) 150 return bitbang_txrx_be_cpha0(spi, nsecs, 0, 0, word, bits); 154 unsigned nsecs, u32 word, u8 bits) 156 return bitbang_txrx_be_cpha1(spi, nsecs, 0, 0, word, bits); 160 unsigned nsecs, u32 word, u8 bits) 162 return bitbang_txrx_be_cpha0(spi, nsecs, 1, 0, word, bits); 166 unsigned nsecs, u32 word, u8 bits) 168 return bitbang_txrx_be_cpha1(spi, nsecs, 1, 0, word, bits); 182 unsigned nsecs, u3 147 spi_gpio_txrx_word_mode0(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) argument 153 spi_gpio_txrx_word_mode1(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) argument 159 spi_gpio_txrx_word_mode2(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) argument 165 spi_gpio_txrx_word_mode3(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) argument 181 spi_gpio_spec_txrx_word_mode0(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) argument 188 spi_gpio_spec_txrx_word_mode1(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) argument 195 spi_gpio_spec_txrx_word_mode2(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) argument 202 spi_gpio_spec_txrx_word_mode3(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) argument [all...] |
H A D | spi-bitbang.c | 53 unsigned nsecs; /* (clock cycle time)/2 */ member in struct:spi_bitbang_cs 54 u32 (*txrx_word)(struct spi_device *spi, unsigned nsecs, 59 unsigned nsecs, 67 unsigned nsecs, 93 unsigned nsecs, 119 unsigned nsecs, 168 /* nsecs = (clock period)/2 */ 172 cs->nsecs = (1000000000/2) / hz; 173 if (cs->nsecs > (MAX_UDELAY_MS * 1000 * 1000)) 209 dev_dbg(&spi->dev, "%s, %u nsec/bit\n", __func__, 2 * cs->nsecs); 64 bitbang_txrx_8( struct spi_device *spi, u32 (*txrx_word)(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits), unsigned ns, struct spi_transfer *t ) argument 90 bitbang_txrx_16( struct spi_device *spi, u32 (*txrx_word)(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits), unsigned ns, struct spi_transfer *t ) argument 116 bitbang_txrx_32( struct spi_device *spi, u32 (*txrx_word)(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits), unsigned ns, struct spi_transfer *t ) argument 240 unsigned nsecs = cs->nsecs; local 269 unsigned nsecs; local [all...] |
H A D | spi-sh-sci.c | 85 unsigned nsecs, u32 word, u8 bits) 87 return bitbang_txrx_be_cpha0(spi, nsecs, 0, 0, word, bits); 91 unsigned nsecs, u32 word, u8 bits) 93 return bitbang_txrx_be_cpha1(spi, nsecs, 0, 0, word, bits); 97 unsigned nsecs, u32 word, u8 bits) 99 return bitbang_txrx_be_cpha0(spi, nsecs, 1, 0, word, bits); 103 unsigned nsecs, u32 word, u8 bits) 105 return bitbang_txrx_be_cpha1(spi, nsecs, 1, 0, word, bits); 84 sh_sci_spi_txrx_mode0(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) argument 90 sh_sci_spi_txrx_mode1(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) argument 96 sh_sci_spi_txrx_mode2(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) argument 102 sh_sci_spi_txrx_mode3(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) argument
|
H A D | spi-fsl-lib.h | 62 unsigned nsecs; /* (clock cycle time)/2 */ member in struct:mpc8xxx_spi
|
H A D | spi-butterfly.c | 157 unsigned nsecs, 160 return bitbang_txrx_be_cpha0(spi, nsecs, 0, 0, word, bits); 156 butterfly_txrx_word_mode0(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) argument
|
H A D | spi-lm70llp.c | 192 static u32 lm70_txrx(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) argument 194 return bitbang_txrx_be_cpha0(spi, nsecs, 0, 0, word, bits);
|
H A D | spi-fsl-spi.c | 475 const int nsecs = 50; local 493 ndelay(nsecs); 508 ndelay(nsecs); 510 ndelay(nsecs); 518 ndelay(nsecs);
|
H A D | spi-ath79.c | 170 static u32 ath79_spi_txrx_mode0(struct spi_device *spi, unsigned nsecs, argument
|
H A D | spi-sh-msiof.c | 588 static u32 sh_msiof_spi_txrx_word(struct spi_device *spi, unsigned nsecs, argument
|
/drivers/net/wireless/ath/ath9k/ |
H A D | dfs.c | 49 u32 nsecs; local 52 nsecs = dur * AR93X_NSECS_PER_DUR_FAST; 54 nsecs = dur * AR93X_NSECS_PER_DUR; 56 return (nsecs + 500) / 1000;
|
/drivers/staging/tidspbridge/dynload/ |
H A D | cload.c | 430 unsigned nsecs = dlthis->dfile_hdr.df_no_scns; local 433 siz = nsecs * sizeof(struct doff_scnhdr_t); 473 u16 curr_sect, nsecs, siz; local 477 nsecs = dlthis->dfile_hdr.df_no_scns; 478 if (!nsecs) 510 for (curr_sect = 0; curr_sect < nsecs; curr_sect++) {
|
/drivers/ata/ |
H A D | pata_octeon_cf.c | 55 static unsigned int ns_to_tim_reg(unsigned int tim_mult, unsigned int nsecs) argument 63 val = DIV_ROUND_UP(nsecs * (octeon_get_io_clock_rate() / 1000000),
|