Searched refs:sbsf (Results 1 – 1 of 1) sorted by relevance
111 struct sandbox_spi_flash *sbsf = dev_get_priv(dev); in sandbox_sf_set_block_protect() local113 sbsf->status &= ~STAT_BP_MASK; in sandbox_sf_set_block_protect()114 sbsf->status |= bp_mask << STAT_BP_SHIFT; in sandbox_sf_set_block_protect()125 struct sandbox_spi_flash *sbsf = dev_get_priv(dev); in sandbox_sf_probe() local177 sbsf->fd = os_open(pdata->filename, 02); in sandbox_sf_probe()178 if (sbsf->fd == -1) { in sandbox_sf_probe()185 sbsf->data = data; in sandbox_sf_probe()186 sbsf->cs = cs; in sandbox_sf_probe()197 struct sandbox_spi_flash *sbsf = dev_get_priv(dev); in sandbox_sf_remove() local199 os_close(sbsf->fd); in sandbox_sf_remove()[all …]