Home
last modified time | relevance | path

Searched refs:reg_io_width (Results 1 – 5 of 5) sorted by relevance

/drivers/mfd/
Dsyscon.c49 u32 reg_io_width; in of_syscon_register() local
82 ret = of_property_read_u32(np, "reg-io-width", &reg_io_width); in of_syscon_register()
84 reg_io_width = 4; in of_syscon_register()
110 syscon_config.reg_stride = reg_io_width; in of_syscon_register()
111 syscon_config.val_bits = reg_io_width * 8; in of_syscon_register()
112 syscon_config.max_register = resource_size(&res) - reg_io_width; in of_syscon_register()
/drivers/i2c/busses/
Di2c-ocores.c37 u32 reg_io_width; member
593 &i2c->reg_io_width); in ocores_i2c_of_probe()
647 i2c->reg_io_width = pdata->reg_io_width; in ocores_i2c_probe()
659 if (i2c->reg_io_width == 0) in ocores_i2c_probe()
660 i2c->reg_io_width = 1; /* Set to default value */ in ocores_i2c_probe()
666 switch (i2c->reg_io_width) { in ocores_i2c_probe()
684 i2c->reg_io_width); in ocores_i2c_probe()
/drivers/spi/
Dspi-dw.h156 u32 reg_io_width; /* DR I/O width in bytes */ member
206 switch (dws->reg_io_width) { in dw_read_io_reg()
217 switch (dws->reg_io_width) { in dw_write_io_reg()
Dspi-dw-bt1.c281 dws->reg_io_width = 4; in dw_spi_bt1_probe()
Dspi-dw-mmio.c282 device_property_read_u32(&pdev->dev, "reg-io-width", &dws->reg_io_width); in dw_spi_mmio_probe()