Home
last modified time | relevance | path

Searched refs:spi_flags (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/scsi/
D53c700.h132 return (spi_flags(SDp->sdev_target) & flag) == flag; in NCR_700_is_flag_set()
137 return (spi_flags(SDp->sdev_target) & flag) == 0; in NCR_700_is_flag_clear()
142 spi_flags(SDp->sdev_target) |= flag; in NCR_700_set_flag()
147 spi_flags(SDp->sdev_target) &= ~flag; in NCR_700_clear_flag()
159 return (enum NCR_700_tag_neg_state)((spi_flags(SDp->sdev_target)>>20) & 0x3); in NCR_700_get_tag_neg_state()
167 spi_flags(SDp->sdev_target) &= ~(0x3 << 20); in NCR_700_set_tag_neg_state()
168 spi_flags(SDp->sdev_target) |= ((__u32)state) << 20; in NCR_700_set_tag_neg_state()
D53c700.c1977 spi_flags(STp) &= ~(NCR_700_DEV_NEGOTIATED_SYNC | in NCR_700_set_period()
1979 spi_flags(STp) |= NCR_700_DEV_PRINT_SYNC_NEGOTIATION; in NCR_700_set_period()
2003 spi_flags(STp) &= ~(NCR_700_DEV_NEGOTIATED_SYNC | in NCR_700_set_offset()
2005 spi_flags(STp) |= NCR_700_DEV_PRINT_SYNC_NEGOTIATION; in NCR_700_set_offset()
/Linux-v5.4/drivers/spi/
Dspi-falcon.c359 unsigned long spi_flags; in falcon_sflash_xfer_one() local
366 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()
/Linux-v5.4/include/scsi/
Dscsi_transport_spi.h88 #define spi_flags(x) (((struct spi_transport_attrs *)&(x)->starget_data)->flags) macro