static void bfin_spi_disable(struct driver_data *drv_data) { u16 cr; cr = read_CTRL(drv_data); write_CTRL(drv_data, (cr & (~BIT_CTL_ENABLE))); }
static void bfin_spi_enable(struct bfin_spi_master_data *drv_data) { u16 cr; cr = read_CTRL(drv_data); write_CTRL(drv_data, (cr | BIT_CTL_ENABLE)); }