Searched refs:sbsf (Results 1 – 1 of 1) sorted by relevance
109 struct sandbox_spi_flash *sbsf = dev_get_priv(dev); in sandbox_sf_set_block_protect() local111 sbsf->status &= ~STAT_BP_MASK; in sandbox_sf_set_block_protect()112 sbsf->status |= bp_mask << STAT_BP_SHIFT; in sandbox_sf_set_block_protect()123 struct sandbox_spi_flash *sbsf = dev_get_priv(dev); in sandbox_sf_probe() local175 sbsf->fd = os_open(pdata->filename, 02); in sandbox_sf_probe()176 if (sbsf->fd == -1) { in sandbox_sf_probe()183 sbsf->data = data; in sandbox_sf_probe()184 sbsf->cs = cs; in sandbox_sf_probe()195 struct sandbox_spi_flash *sbsf = dev_get_priv(dev); in sandbox_sf_remove() local197 os_close(sbsf->fd); in sandbox_sf_remove()[all …]