/drivers/spi/ |
D | spi-bitbang.c | 51 u32 (*txrx_word)(struct spi_device *spi, unsigned nsecs, 53 unsigned (*txrx_bufs)(struct spi_device *, 55 struct spi_device *spi, 62 struct spi_device *spi, in bitbang_txrx_8() 63 u32 (*txrx_word)(struct spi_device *spi, in bitbang_txrx_8() 88 struct spi_device *spi, in bitbang_txrx_16() 89 u32 (*txrx_word)(struct spi_device *spi, in bitbang_txrx_16() 114 struct spi_device *spi, in bitbang_txrx_32() 115 u32 (*txrx_word)(struct spi_device *spi, in bitbang_txrx_32() 139 int spi_bitbang_setup_transfer(struct spi_device *spi, struct spi_transfer *t) in spi_bitbang_setup_transfer() [all …]
|
D | spi-gpio.c | 92 spi_to_spi_gpio(const struct spi_device *spi) in spi_to_spi_gpio() 103 spi_to_pdata(const struct spi_device *spi) in spi_to_pdata() 111 static inline void setsck(const struct spi_device *spi, int is_on) in setsck() 116 static inline void setmosi(const struct spi_device *spi, int is_on) in setmosi() 121 static inline int getmiso(const struct spi_device *spi) in getmiso() 152 static u32 spi_gpio_txrx_word_mode0(struct spi_device *spi, in spi_gpio_txrx_word_mode0() 158 static u32 spi_gpio_txrx_word_mode1(struct spi_device *spi, in spi_gpio_txrx_word_mode1() 164 static u32 spi_gpio_txrx_word_mode2(struct spi_device *spi, in spi_gpio_txrx_word_mode2() 170 static u32 spi_gpio_txrx_word_mode3(struct spi_device *spi, in spi_gpio_txrx_word_mode3() 186 static u32 spi_gpio_spec_txrx_word_mode0(struct spi_device *spi, in spi_gpio_spec_txrx_word_mode0() [all …]
|
D | spi-sh-sci.c | 61 static inline void setsck(struct spi_device *dev, int on) in setsck() 66 static inline void setmosi(struct spi_device *dev, int on) in setmosi() 71 static inline u32 getmiso(struct spi_device *dev) in getmiso() 82 static u32 sh_sci_spi_txrx_mode0(struct spi_device *spi, in sh_sci_spi_txrx_mode0() 88 static u32 sh_sci_spi_txrx_mode1(struct spi_device *spi, in sh_sci_spi_txrx_mode1() 94 static u32 sh_sci_spi_txrx_mode2(struct spi_device *spi, in sh_sci_spi_txrx_mode2() 100 static u32 sh_sci_spi_txrx_mode3(struct spi_device *spi, in sh_sci_spi_txrx_mode3() 106 static void sh_sci_spi_chipselect(struct spi_device *dev, int value) in sh_sci_spi_chipselect()
|
D | spi-butterfly.c | 57 static inline struct butterfly *spidev_to_pp(struct spi_device *spi) in spidev_to_pp() 72 struct spi_device *dataflash; 73 struct spi_device *butterfly; 81 setsck(struct spi_device *spi, int is_on) in setsck() 97 setmosi(struct spi_device *spi, int is_on) in setmosi() 112 static inline int getmiso(struct spi_device *spi) in getmiso() 125 static void butterfly_chipselect(struct spi_device *spi, int value) in butterfly_chipselect() 152 butterfly_txrx_word_mode0(struct spi_device *spi, in butterfly_txrx_word_mode0()
|
D | spi-lm70llp.c | 83 struct spi_device *spidev_lm70; 94 static inline struct spi_lm70llp *spidev_to_pp(struct spi_device *spi) in spidev_to_pp() 141 static inline void setsck(struct spi_device *s, int is_on) in setsck() 151 static inline void setmosi(struct spi_device *s, int is_on) in setmosi() 166 static inline int getmiso(struct spi_device *s) in getmiso() 175 static void lm70_chipselect(struct spi_device *spi, int value) in lm70_chipselect() 188 static u32 lm70_txrx(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) in lm70_txrx()
|
/drivers/char/tpm/st33zp24/ |
D | spi.c | 68 struct spi_device *spi_device; member 116 struct spi_device *dev = phy->spi_device; in st33zp24_spi_send() 162 struct spi_device *dev = phy->spi_device; in read8_reg() 235 struct spi_device *dev = phy->spi_device; in tpm_stm_spi_of_request_resources() 276 static int tpm_stm_spi_request_resources(struct spi_device *dev, in tpm_stm_spi_request_resources() 312 tpm_st33_spi_probe(struct spi_device *dev) in tpm_st33_spi_probe() 330 phy->spi_device = dev; in tpm_st33_spi_probe() 358 static int tpm_st33_spi_remove(struct spi_device *dev) in tpm_st33_spi_remove()
|
/drivers/input/misc/ |
D | adxl34x-spi.c | 28 struct spi_device *spi = to_spi_device(dev); in adxl34x_spi_read() 39 struct spi_device *spi = to_spi_device(dev); in adxl34x_spi_write() 52 struct spi_device *spi = to_spi_device(dev); in adxl34x_spi_read_block() 68 static int adxl34x_spi_probe(struct spi_device *spi) in adxl34x_spi_probe() 90 static int adxl34x_spi_remove(struct spi_device *spi) in adxl34x_spi_remove() 99 struct spi_device *spi = to_spi_device(dev); in adxl34x_spi_suspend() 109 struct spi_device *spi = to_spi_device(dev); in adxl34x_spi_resume()
|
/drivers/staging/mt29f_spinand/ |
D | mt29f_spinand.c | 73 static int spinand_cmd(struct spi_device *spi, struct spinand_cmd *cmd) in spinand_cmd() 118 static int spinand_read_id(struct spi_device *spi_nand, u8 *id) in spinand_read_id() 148 static int spinand_read_status(struct spi_device *spi_nand, u8 *status) in spinand_read_status() 167 static int wait_till_ready(struct spi_device *spi_nand) in wait_till_ready() 197 static int spinand_get_otp(struct spi_device *spi_nand, u8 *otp) in spinand_get_otp() 221 static int spinand_set_otp(struct spi_device *spi_nand, u8 *otp) in spinand_set_otp() 247 static int spinand_enable_ecc(struct spi_device *spi_nand) in spinand_enable_ecc() 266 static int spinand_disable_ecc(struct spi_device *spi_nand) in spinand_disable_ecc() 294 static int spinand_write_enable(struct spi_device *spi_nand) in spinand_write_enable() 302 static int spinand_read_page_to_cache(struct spi_device *spi_nand, u16 page_id) in spinand_read_page_to_cache() [all …]
|
/drivers/hwmon/ |
D | adt7310.c | 44 struct spi_device *spi = to_spi_device(dev); in adt7310_spi_read_word() 51 struct spi_device *spi = to_spi_device(dev); in adt7310_spi_write_word() 62 struct spi_device *spi = to_spi_device(dev); in adt7310_spi_read_byte() 70 struct spi_device *spi = to_spi_device(dev); in adt7310_spi_write_byte() 86 static int adt7310_spi_probe(struct spi_device *spi) in adt7310_spi_probe() 92 static int adt7310_spi_remove(struct spi_device *spi) in adt7310_spi_remove()
|
D | ads7871.c | 79 static int ads7871_read_reg8(struct spi_device *spi, int reg) in ads7871_read_reg8() 87 static int ads7871_read_reg16(struct spi_device *spi, int reg) in ads7871_read_reg16() 95 static int ads7871_write_reg8(struct spi_device *spi, int reg, u8 val) in ads7871_write_reg8() 104 struct spi_device *spi = to_spi_device(dev); in show_voltage() 176 static int ads7871_probe(struct spi_device *spi) in ads7871_probe() 228 static int ads7871_remove(struct spi_device *spi) in ads7871_remove()
|
/drivers/net/can/spi/ |
D | mcp251x.c | 247 struct spi_device *spi; 277 static inline int mcp251x_is_##_model(struct spi_device *spi) \ 312 static int mcp251x_spi_trans(struct spi_device *spi, int len) in mcp251x_spi_trans() 340 static u8 mcp251x_read_reg(struct spi_device *spi, uint8_t reg) in mcp251x_read_reg() 354 static void mcp251x_read_2regs(struct spi_device *spi, uint8_t reg, in mcp251x_read_2regs() 368 static void mcp251x_write_reg(struct spi_device *spi, u8 reg, uint8_t val) in mcp251x_write_reg() 379 static void mcp251x_write_bits(struct spi_device *spi, u8 reg, in mcp251x_write_bits() 392 static void mcp251x_hw_tx_frame(struct spi_device *spi, u8 *buf, in mcp251x_hw_tx_frame() 409 static void mcp251x_hw_tx(struct spi_device *spi, struct can_frame *frame, in mcp251x_hw_tx() 440 static void mcp251x_hw_rx_frame(struct spi_device *spi, u8 *buf, in mcp251x_hw_rx_frame() [all …]
|
/drivers/misc/lis3lv02d/ |
D | lis3lv02d_spi.c | 30 struct spi_device *spi = lis3->bus_priv; in lis3_spi_read() 42 struct spi_device *spi = lis3->bus_priv; in lis3_spi_write() 71 static int lis302dl_spi_probe(struct spi_device *spi) in lis302dl_spi_probe() 102 static int lis302dl_spi_remove(struct spi_device *spi) in lis302dl_spi_remove() 114 struct spi_device *spi = to_spi_device(dev); in lis3lv02d_spi_suspend() 125 struct spi_device *spi = to_spi_device(dev); in lis3lv02d_spi_resume()
|
/drivers/base/regmap/ |
D | regmap-spi.c | 35 struct spi_device *spi = to_spi_device(dev); in regmap_spi_write() 45 struct spi_device *spi = to_spi_device(dev); in regmap_spi_gather_write() 66 struct spi_device *spi = to_spi_device(dev); in regmap_spi_async_write() 100 struct spi_device *spi = to_spi_device(dev); in regmap_spi_read() 116 struct regmap *__regmap_init_spi(struct spi_device *spi, in __regmap_init_spi() 126 struct regmap *__devm_regmap_init_spi(struct spi_device *spi, in __devm_regmap_init_spi()
|
/drivers/video/backlight/ |
D | ili922x.c | 141 struct spi_device *spi; 151 static int ili922x_read_status(struct spi_device *spi, u16 *rs) in ili922x_read_status() 194 static int ili922x_read(struct spi_device *spi, u8 reg, u16 *rx) in ili922x_read() 248 static int ili922x_write(struct spi_device *spi, u8 reg, u16 value) in ili922x_write() 302 static void ili922x_reg_dump(struct spi_device *spi) in ili922x_reg_dump() 315 static inline void ili922x_reg_dump(struct spi_device *spi) {} in ili922x_reg_dump() 322 static void set_write_to_gram_reg(struct spi_device *spi) in set_write_to_gram_reg() 353 static int ili922x_poweron(struct spi_device *spi) in ili922x_poweron() 382 static int ili922x_poweroff(struct spi_device *spi) in ili922x_poweroff() 403 static void ili922x_display_init(struct spi_device *spi) in ili922x_display_init() [all …]
|
D | tosa_lcd.c | 38 struct spi_device *spi; 46 static int tosa_tg_send(struct spi_device *spi, int adrs, uint8_t data) in tosa_tg_send() 63 int tosa_bl_enable(struct spi_device *spi, int enable) in tosa_bl_enable() 85 struct spi_device *spi = data->spi; in tosa_lcd_tg_on() 117 struct spi_device *spi = data->spi; in tosa_lcd_tg_off() 174 static int tosa_lcd_probe(struct spi_device *spi) in tosa_lcd_probe() 225 static int tosa_lcd_remove(struct spi_device *spi) in tosa_lcd_remove()
|
D | l4f00242t03.c | 29 struct spi_device *spi; 49 static void l4f00242t03_lcd_init(struct spi_device *spi) in l4f00242t03_lcd_init() 89 static void l4f00242t03_lcd_powerdown(struct spi_device *spi) in l4f00242t03_lcd_powerdown() 112 struct spi_device *spi = priv->spi; in l4f00242t03_lcd_power_set() 171 static int l4f00242t03_probe(struct spi_device *spi) in l4f00242t03_probe() 238 static int l4f00242t03_remove(struct spi_device *spi) in l4f00242t03_remove() 246 static void l4f00242t03_shutdown(struct spi_device *spi) in l4f00242t03_shutdown()
|
/drivers/input/touchscreen/ |
D | ad7879-spi.c | 30 static int ad7879_spi_xfer(struct spi_device *spi, in ad7879_spi_xfer() 85 struct spi_device *spi = to_spi_device(dev); in ad7879_spi_multi_read() 92 struct spi_device *spi = to_spi_device(dev); in ad7879_spi_read() 100 struct spi_device *spi = to_spi_device(dev); in ad7879_spi_write() 113 static int ad7879_spi_probe(struct spi_device *spi) in ad7879_spi_probe() 140 static int ad7879_spi_remove(struct spi_device *spi) in ad7879_spi_remove()
|
/drivers/nfc/st-nci/ |
D | spi.c | 51 struct spi_device *spi_dev; 96 struct spi_device *dev = phy->spi_dev; in st_nci_spi_write() 144 struct spi_device *dev = phy->spi_dev; in st_nci_spi_read() 193 struct spi_device *dev; in st_nci_irq_thread_fn() 229 static int st_nci_spi_of_request_resources(struct spi_device *dev) in st_nci_spi_of_request_resources() 267 static int st_nci_spi_of_request_resources(struct spi_device *dev) in st_nci_spi_of_request_resources() 273 static int st_nci_spi_request_resources(struct spi_device *dev) in st_nci_spi_request_resources() 302 static int st_nci_spi_probe(struct spi_device *dev) in st_nci_spi_probe() 366 static int st_nci_spi_remove(struct spi_device *dev) in st_nci_spi_remove()
|
/drivers/media/tuners/ |
D | msi001.c | 40 struct spi_device *spi; 68 struct spi_device *spi = dev->spi; in msi001_set_gain() 94 struct spi_device *spi = dev->spi; in msi001_set_tuner() 297 struct spi_device *spi = dev->spi; in msi001_s_power() 317 struct spi_device *spi = dev->spi; in msi001_g_tuner() 333 struct spi_device *spi = dev->spi; in msi001_s_tuner() 342 struct spi_device *spi = dev->spi; in msi001_g_frequency() 353 struct spi_device *spi = dev->spi; in msi001_s_frequency() 373 struct spi_device *spi = dev->spi; in msi001_enum_freq_bands() 404 struct spi_device *spi = dev->spi; in msi001_s_ctrl() [all …]
|
/drivers/video/fbdev/omap2/displays-new/ |
D | panel-nec-nl8048hl11.c | 35 struct spi_device *spi; 90 static int nec_8048_spi_send(struct spi_device *spi, unsigned char reg_addr, in nec_8048_spi_send() 107 static int init_nec_8048_wvga_lcd(struct spi_device *spi) in init_nec_8048_wvga_lcd() 236 static int nec_8048_probe_pdata(struct spi_device *spi) in nec_8048_probe_pdata() 263 static int nec_8048_probe_of(struct spi_device *spi) in nec_8048_probe_of() 291 static int nec_8048_probe(struct spi_device *spi) in nec_8048_probe() 367 static int nec_8048_remove(struct spi_device *spi) in nec_8048_remove() 388 struct spi_device *spi = to_spi_device(dev); in nec_8048_suspend() 398 struct spi_device *spi = to_spi_device(dev); in nec_8048_resume()
|
/drivers/mfd/ |
D | stmpe-spi.c | 22 struct spi_device *spi = stmpe->client; in spi_reg_read() 30 struct spi_device *spi = stmpe->client; in spi_reg_write() 66 struct spi_device *spi = stmpe->client; in spi_init() 87 stmpe_spi_probe(struct spi_device *spi) in stmpe_spi_probe() 105 static int stmpe_spi_remove(struct spi_device *spi) in stmpe_spi_remove()
|
/drivers/mtd/devices/ |
D | m25p80.c | 32 struct spi_device *spi; 40 struct spi_device *spi = flash->spi; in m25p80_read_reg() 67 struct spi_device *spi = flash->spi; in m25p80_write_reg() 80 struct spi_device *spi = flash->spi; in m25p80_write() 126 struct spi_device *spi = flash->spi; in m25p80_read() 176 static int m25p_probe(struct spi_device *spi) in m25p_probe() 238 static int m25p_remove(struct spi_device *spi) in m25p_remove()
|
/drivers/rtc/ |
D | rtc-ds1390.c | 59 struct spi_device *spi = to_spi_device(dev); in ds1390_set_reg() 72 struct spi_device *spi = to_spi_device(dev); in ds1390_get_reg() 91 static void ds1390_trickle_of_init(struct spi_device *spi) in ds1390_trickle_of_init() 132 struct spi_device *spi = to_spi_device(dev); in ds1390_read_time() 161 struct spi_device *spi = to_spi_device(dev); in ds1390_set_time() 184 static int ds1390_probe(struct spi_device *spi) in ds1390_probe()
|
/drivers/gpio/ |
D | gpio-max7301.c | 25 struct spi_device *spi = to_spi_device(dev); in max7301_spi_write() 37 struct spi_device *spi = to_spi_device(dev); in max7301_spi_read() 47 static int max7301_probe(struct spi_device *spi) in max7301_probe() 70 static int max7301_remove(struct spi_device *spi) in max7301_remove()
|
/drivers/media/i2c/s5c73m3/ |
D | s5c73m3-spi.c | 41 static int spi_xmit(struct spi_device *spi_dev, void *addr, const int len, in spi_xmit() 73 struct spi_device *spi_dev = state->spi_dev; in s5c73m3_spi_write() 101 struct spi_device *spi_dev = state->spi_dev; in s5c73m3_spi_read() 120 static int s5c73m3_spi_probe(struct spi_device *spi) in s5c73m3_spi_probe() 141 static int s5c73m3_spi_remove(struct spi_device *spi) in s5c73m3_spi_remove()
|