Home
last modified time | relevance | path

Searched refs:sf_get_ops (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/mtd/spi/
H A Dsf-uclass.c17 return log_ret(sf_get_ops(dev)->read(dev, offset, len, buf)); in spi_flash_read_dm()
23 return log_ret(sf_get_ops(dev)->write(dev, offset, len, buf)); in spi_flash_write_dm()
28 return log_ret(sf_get_ops(dev)->erase(dev, offset, len)); in spi_flash_erase_dm()
33 return log_ret(sf_get_ops(dev)->flash_ctrl_wlock(dev, offset, len)); in spi_flash_ctrl_wlock_dm()
38 return log_ret(sf_get_ops(dev)->flash_ctrl_wunlock(dev, offset, len)); in spi_flash_ctrl_wunlock_dm()
43 struct dm_spi_flash_ops *ops = sf_get_ops(dev); in spl_flash_get_sw_write_prot()
99 struct dm_spi_flash_ops *ops = sf_get_ops(dev); in spi_flash_post_bind()
/openbmc/u-boot/include/
H A Dspi_flash.h55 #define sf_get_ops(dev) ((struct dm_spi_flash_ops *)(dev)->driver->ops) macro