Searched refs:readval (Results 1 – 2 of 2) sorted by relevance
91 uint32_t readval = 0; in bcm2835_i2c_read() local95 readval = s->c; in bcm2835_i2c_read()98 readval = s->s; in bcm2835_i2c_read()101 readval = s->dlen; in bcm2835_i2c_read()104 readval = s->a; in bcm2835_i2c_read()109 readval = i2c_recv(s->bus); in bcm2835_i2c_read()119 readval = s->div; in bcm2835_i2c_read()122 readval = s->del; in bcm2835_i2c_read()125 readval = s->clkt; in bcm2835_i2c_read()132 return readval; in bcm2835_i2c_read()
105 uint32_t readval = 0; in bcm2835_spi_read() local109 readval = s->cs & 0xffffffff; in bcm2835_spi_read()114 readval = fifo8_pop(&s->rx_fifo); in bcm2835_spi_read()121 readval = s->clk & 0xffff; in bcm2835_spi_read()124 readval = s->dlen & 0xffff; in bcm2835_spi_read()127 readval = s->ltoh & 0xf; in bcm2835_spi_read()130 readval = s->dc & 0xffffffff; in bcm2835_spi_read()136 return readval; in bcm2835_spi_read()