| /openbmc/u-boot/drivers/spi/ |
| H A D | soft_spi_legacy.c | 26 struct spi_slave slave; member 30 static inline struct soft_spi_slave *to_soft_spi(struct spi_slave *slave) in to_soft_spi() 58 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() 65 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 84 void spi_release_bus(struct spi_slave *slave) in spi_release_bus() 101 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer()
|
| H A D | mpc8xxx_spi.c | 26 struct spi_slave *slave; in spi_setup_slave() local 43 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() 64 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 69 void spi_release_bus(struct spi_slave *slave) in spi_release_bus() 74 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, in spi_xfer()
|
| H A D | mxs_spi.c | 31 struct spi_slave slave; member 37 static inline struct mxs_spi_slave *to_mxs_slave(struct spi_slave *slave) in to_mxs_slave() 79 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() 85 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 109 void spi_release_bus(struct spi_slave *slave) in spi_release_bus() 125 static int mxs_spi_xfer_pio(struct mxs_spi_slave *slave, in mxs_spi_xfer_pio() 184 static int mxs_spi_xfer_dma(struct mxs_spi_slave *slave, in mxs_spi_xfer_dma() 305 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer()
|
| H A D | lpc32xx_ssp.c | 40 struct spi_slave slave; member 45 struct spi_slave *slave) in to_lpc32xx_spi_slave() 95 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() 103 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 109 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer() 131 void spi_release_bus(struct spi_slave *slave) in spi_release_bus()
|
| H A D | kirkwood_spi.c | 108 struct spi_slave *slave; in spi_setup_slave() local 146 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() 158 __attribute__((weak)) int board_spi_claim_bus(struct spi_slave *slave) in board_spi_claim_bus() 163 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 196 __attribute__((weak)) void board_spi_release_bus(struct spi_slave *slave) in board_spi_release_bus() 200 void spi_release_bus(struct spi_slave *slave) in spi_release_bus() 225 void spi_cs_activate(struct spi_slave *slave) in spi_cs_activate() 230 void spi_cs_deactivate(struct spi_slave *slave) in spi_cs_deactivate() 235 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer()
|
| H A D | cf_spi.c | 17 struct spi_slave slave; member 41 static inline struct cf_spi_slave *to_cf_spi_slave(struct spi_slave *slave) in to_cf_spi_slave() 102 static int cfspi_xfer(struct spi_slave *slave, uint bitlen, const void *dout, in cfspi_xfer() 313 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() 320 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 325 void spi_release_bus(struct spi_slave *slave) in spi_release_bus() 330 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, in spi_xfer()
|
| H A D | spi-uclass.c | 52 struct spi_slave *slave = dev_get_parent_priv(dev); in dm_spi_claim_bus() local 115 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 120 void spi_release_bus(struct spi_slave *slave) in spi_release_bus() 125 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer() 131 int spi_nor_ctrl_wlock(struct spi_slave *slave, u32 offset, size_t len) in spi_nor_ctrl_wlock() 136 int spi_nor_ctrl_wunlock(struct spi_slave *slave, u32 offset, size_t len) in spi_nor_ctrl_wunlock() 185 struct spi_slave *slave = dev_get_parent_priv(dev); in spi_child_pre_probe() local 351 struct spi_slave *slave; in spi_get_bus_and_cs() local 390 struct spi_slave *slave; in spi_setup_slave() local 402 void spi_free_slave(struct spi_slave *slave) in spi_free_slave()
|
| H A D | sh_spi.c | 113 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() 120 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 125 void spi_release_bus(struct spi_slave *slave) in spi_release_bus() 202 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, in spi_xfer() 241 void spi_cs_activate(struct spi_slave *slave) in spi_cs_activate() 246 void spi_cs_deactivate(struct spi_slave *slave) in spi_cs_deactivate()
|
| H A D | spi-mem.c | 105 static int spi_check_buswidth_req(struct spi_slave *slave, u8 buswidth, bool tx) in spi_check_buswidth_req() 134 bool spi_mem_default_supports_op(struct spi_slave *slave, in spi_mem_default_supports_op() 172 bool spi_mem_supports_op(struct spi_slave *slave, in spi_mem_supports_op() 197 int spi_mem_exec_op(struct spi_slave *slave, const struct spi_mem_op *op) in spi_mem_exec_op() 410 int spi_mem_adjust_op_size(struct spi_slave *slave, struct spi_mem_op *op) in spi_mem_adjust_op_size()
|
| H A D | spi.c | 11 int spi_set_wordlen(struct spi_slave *slave, unsigned int wordlen) in spi_set_wordlen() 30 struct spi_slave *slave; in spi_do_alloc_slave() local
|
| H A D | ti_qspi.c | 102 struct spi_slave slave; member 321 static inline struct ti_qspi_priv *to_ti_qspi_priv(struct spi_slave *slave) in to_ti_qspi_priv() 331 void spi_cs_activate(struct spi_slave *slave) in spi_cs_activate() 337 void spi_cs_deactivate(struct spi_slave *slave) in spi_cs_deactivate() 353 struct spi_slave *slave = &priv->slave; in ti_spi_setup_spi_register() local 405 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() 411 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 419 void spi_release_bus(struct spi_slave *slave) in spi_release_bus() 427 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, in spi_xfer() 440 struct spi_slave *slave, in __ti_qspi_setup_memorymap() [all …]
|
| H A D | spi-mem-nodm.c | 9 int spi_mem_exec_op(struct spi_slave *slave, in spi_mem_exec_op() 85 int spi_mem_adjust_op_size(struct spi_slave *slave, in spi_mem_adjust_op_size()
|
| H A D | sh_qspi.c | 71 struct spi_slave slave; member 226 static inline struct sh_qspi_slave *to_sh_qspi(struct spi_slave *slave) in to_sh_qspi() 236 void spi_cs_activate(struct spi_slave *slave) in spi_cs_activate() 243 void spi_cs_deactivate(struct spi_slave *slave) in spi_cs_deactivate() 272 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() 279 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 284 void spi_release_bus(struct spi_slave *slave) in spi_release_bus() 288 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer()
|
| H A D | fsl_espi.c | 16 struct spi_slave slave; member 115 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() 121 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 172 void spi_release_bus(struct spi_slave *slave) in spi_release_bus() 239 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *data_out, in spi_xfer() 362 void spi_cs_activate(struct spi_slave *slave) in spi_cs_activate() 375 void spi_cs_deactivate(struct spi_slave *slave) in spi_cs_deactivate()
|
| H A D | davinci_spi.c | 123 struct spi_slave slave; member 348 static inline struct davinci_spi_slave *to_davinci_spi(struct spi_slave *slave) in to_davinci_spi() 381 void spi_cs_activate(struct spi_slave *slave) in spi_cs_activate() 386 void spi_cs_deactivate(struct spi_slave *slave) in spi_cs_deactivate() 427 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() 434 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer() 444 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 456 void spi_release_bus(struct spi_slave *slave) in spi_release_bus() 514 struct dm_spi_slave_platdata *slave = in davinci_spi_xfer() local
|
| H A D | atmel_spi.c | 28 static int spi_has_wdrbt(struct atmel_spi_slave *slave) in spi_has_wdrbt() 101 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() 108 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 124 void spi_release_bus(struct spi_slave *slave) in spi_release_bus() 132 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer()
|
| H A D | mxc_spi.c | 42 struct spi_slave slave; member 55 static inline struct mxc_spi_slave *to_mxc_spi_slave(struct spi_slave *slave) in to_mxc_spi_slave() 395 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, in spi_xfer() 469 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() 476 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() 483 void spi_release_bus(struct spi_slave *slave) in spi_release_bus()
|
| /openbmc/u-boot/examples/standalone/ |
| H A D | atmel_df_pow2.c | 17 static int flash_cmd(struct spi_slave *slave, uchar cmd, uchar *buf, int len) in flash_cmd() 23 static int flash_status(struct spi_slave *slave) in flash_status() 31 static int flash_set_pow2(struct spi_slave *slave) in flash_set_pow2() 54 static int flash_check(struct spi_slave *slave) in flash_check() 130 struct spi_slave *slave; in atmel_df_pow2() local
|
| /openbmc/u-boot/drivers/net/ti/ |
| H A D | cpsw-common.c | 20 int slave, u8 *mac_addr) in davinci_emac_3517_get_macid() 59 static int cpsw_am33xx_cm_get_macid(struct udevice *dev, u16 offset, int slave, in cpsw_am33xx_cm_get_macid() 99 int ti_cm_get_macid(struct udevice *dev, int slave, u8 *mac_addr) in ti_cm_get_macid()
|
| /openbmc/u-boot/test/dm/ |
| H A D | spi.c | 22 struct spi_slave *slave; in dm_test_spi_find() local 99 struct spi_slave *slave; in dm_test_spi_xfer() local
|
| /openbmc/u-boot/board/l+g/vinco/ |
| H A D | vinco.c | 42 void spi_cs_activate(struct spi_slave *slave) in spi_cs_activate() 47 void spi_cs_deactivate(struct spi_slave *slave) in spi_cs_deactivate()
|
| /openbmc/u-boot/drivers/misc/ |
| H A D | cros_ec_spi.c | 24 struct spi_slave *slave = dev_get_parent_priv(dev->dev); in cros_ec_spi_packet() local 84 struct spi_slave *slave = dev_get_parent_priv(dev->dev); in cros_ec_spi_command() local
|
| /openbmc/u-boot/board/gdsys/common/ |
| H A D | mclink.c | 60 int mclink_send(u8 slave, u16 addr, u16 data) in mclink_send() 95 int mclink_receive(u8 slave, u16 addr, u16 *data) in mclink_receive()
|
| /openbmc/u-boot/board/freescale/mpc8349emds/ |
| H A D | mpc8349emds.c | 263 void spi_cs_activate(struct spi_slave *slave) in spi_cs_activate() 270 void spi_cs_deactivate(struct spi_slave *slave) in spi_cs_deactivate()
|
| /openbmc/u-boot/board/freescale/mpc8308rdb/ |
| H A D | mpc8308rdb.c | 34 void spi_cs_activate(struct spi_slave *slave) in spi_cs_activate() 42 void spi_cs_deactivate(struct spi_slave *slave) in spi_cs_deactivate()
|