Searched refs:spi_flags (Results 1 – 4 of 4) sorted by relevance
131 return (spi_flags(SDp->sdev_target) & flag) == flag; in NCR_700_is_flag_set()136 return (spi_flags(SDp->sdev_target) & flag) == 0; in NCR_700_is_flag_clear()141 spi_flags(SDp->sdev_target) |= flag; in NCR_700_set_flag()146 spi_flags(SDp->sdev_target) &= ~flag; in NCR_700_clear_flag()158 return (enum NCR_700_tag_neg_state)((spi_flags(SDp->sdev_target)>>20) & 0x3); in NCR_700_get_tag_neg_state()166 spi_flags(SDp->sdev_target) &= ~(0x3 << 20); in NCR_700_set_tag_neg_state()167 spi_flags(SDp->sdev_target) |= ((__u32)state) << 20; in NCR_700_set_tag_neg_state()
1988 spi_flags(STp) &= ~(NCR_700_DEV_NEGOTIATED_SYNC | in NCR_700_set_period()1990 spi_flags(STp) |= NCR_700_DEV_PRINT_SYNC_NEGOTIATION; in NCR_700_set_period()2014 spi_flags(STp) &= ~(NCR_700_DEV_NEGOTIATED_SYNC | in NCR_700_set_offset()2016 spi_flags(STp) |= NCR_700_DEV_PRINT_SYNC_NEGOTIATION; in NCR_700_set_offset()
359 unsigned long spi_flags; in falcon_sflash_xfer_one() local366 spi_flags = FALCON_SPI_XFER_BEGIN; in falcon_sflash_xfer_one()369 spi_flags |= FALCON_SPI_XFER_END; in falcon_sflash_xfer_one()372 ret = falcon_sflash_xfer(m->spi, t, spi_flags); in falcon_sflash_xfer_one()381 spi_flags = 0; in falcon_sflash_xfer_one()
88 #define spi_flags(x) (((struct spi_transport_attrs *)&(x)->starget_data)->flags) macro