Home
last modified time | relevance | path

Searched refs:data_be (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/spi/
Dspi-fsi.c132 __be32 data_be; in fsi_spi_read_reg() local
149 rc = fsi_device_read(ctx->fsi, FSI2SPI_DATA0, &data_be, in fsi_spi_read_reg()
150 sizeof(data_be)); in fsi_spi_read_reg()
154 *value |= (u64)be32_to_cpu(data_be) << 32; in fsi_spi_read_reg()
156 rc = fsi_device_read(ctx->fsi, FSI2SPI_DATA1, &data_be, in fsi_spi_read_reg()
157 sizeof(data_be)); in fsi_spi_read_reg()
161 *value |= (u64)be32_to_cpu(data_be); in fsi_spi_read_reg()
171 __be32 data_be; in fsi_spi_write_reg() local
179 data_be = cpu_to_be32(upper_32_bits(value)); in fsi_spi_write_reg()
180 rc = fsi_device_write(ctx->fsi, FSI2SPI_DATA0, &data_be, in fsi_spi_write_reg()
[all …]
/Linux-v5.10/drivers/i2c/busses/
Di2c-fsi.c167 __be32 data_be; in fsi_i2c_read_reg() local
169 rc = fsi_device_read(fsi, reg, &data_be, sizeof(data_be)); in fsi_i2c_read_reg()
173 *data = be32_to_cpu(data_be); in fsi_i2c_read_reg()
181 __be32 data_be = cpu_to_be32p(data); in fsi_i2c_write_reg() local
183 return fsi_device_write(fsi, reg, &data_be, sizeof(data_be)); in fsi_i2c_write_reg()
/Linux-v5.10/arch/powerpc/platforms/pseries/
Dpapr_scm.c414 __be64 data_be; in papr_scm_meta_set() local
427 data_be = cpu_to_be64(data); in papr_scm_meta_set()
432 data_be = cpu_to_be32(data); in papr_scm_meta_set()
437 data_be = cpu_to_be16(data); in papr_scm_meta_set()
440 data_be = *(uint8_t *)(hdr->in_buf + data_offset); in papr_scm_meta_set()
441 data_be &= 0xff; in papr_scm_meta_set()
446 offset, data_be, wrote); in papr_scm_meta_set()
/Linux-v5.10/drivers/crypto/cavium/zip/
Dzip_regs.h156 u64 data_be : 1; member
158 u64 data_be : 1;
309 u64 data_be : 1; member
311 u64 data_be : 1; member
/Linux-v5.10/drivers/media/i2c/
Dov2685.c292 __be32 data_be = 0; in ov2685_read_reg() local
299 data_be_p = (u8 *)&data_be; in ov2685_read_reg()
316 *val = be32_to_cpu(data_be); in ov2685_read_reg()
Dov5670.c1846 __be32 data_be = 0; in ov5670_read_reg() local
1853 data_be_p = (u8 *)&data_be; in ov5670_read_reg()
1870 *val = be32_to_cpu(data_be); in ov5670_read_reg()
Dov5695.c752 __be32 data_be = 0; in ov5695_read_reg() local
759 data_be_p = (u8 *)&data_be; in ov5695_read_reg()
776 *val = be32_to_cpu(data_be); in ov5695_read_reg()
Dov13858.c1061 __be32 data_be = 0; in ov13858_read_reg() local
1067 data_be_p = (u8 *)&data_be; in ov13858_read_reg()
1084 *val = be32_to_cpu(data_be); in ov13858_read_reg()