Lines Matching +full:non +full:- +full:descriptive
1 /* SPDX-License-Identifier: GPL-2.0-only */
49 * struct reg_default - Default value for a register.
63 * struct reg_sequence - An individual write from a sequence of writes.
86 * regmap_read_poll_timeout - Poll until a condition is met or a timeout occurs
93 * tight-loops). Should be less than ~20ms since usleep_range
94 * is used (see Documentation/timers/timers-howto.rst).
97 * Returns 0 on success and -ETIMEDOUT upon a timeout or the regmap_read
113 * regmap_read_poll_timeout_atomic - Poll until a condition is met or a timeout occurs
119 * @delay_us: Time to udelay between reads in us (0 tight-loops).
121 * (see Documentation/timers/timers-howto.rst).
124 * Returns 0 on success and -ETIMEDOUT upon a timeout or the regmap_read
154 __ret ?: ((cond) ? 0 : -ETIMEDOUT); \
158 * regmap_field_read_poll_timeout - Poll until a condition is met or timeout
164 * tight-loops). Should be less than ~20ms since usleep_range
165 * is used (see Documentation/timers/timers-howto.rst).
168 * Returns 0 on success and -ETIMEDOUT upon a timeout or the regmap_field_read
186 /* Unspecified -> 0 -> Backwards compatible default */
194 * struct regmap_range - A register range, used for access related checks
208 * struct regmap_access_table - A table of register ranges for access checks
231 * struct regmap_config - Configuration for the register map of a device.
313 * Use it only for "no-bus" cases.
443 * struct regmap_range_cfg - Configuration for indirectly accessed or paged
446 * @name: Descriptive name for diagnostics
507 * struct regmap_bus - Description of a hardware bus for the register map
515 * @gather_write: Write operation with split register/value, return -ENOTSUPP
518 * must serialise with respect to non-async I/O.
698 * for each call. No-op if CONFIG_LOCKDEP is not set.
711 "(" name ")->lock"); \
719 * regmap_init() - Initialise register map
722 * @bus: Bus-specific callbacks to use with device
723 * @bus_context: Data passed to bus-specific callbacks
728 * directly, it should be called by bus-specific init functions.
737 * regmap_init_i2c() - Initialise register map
750 * regmap_init_mdio() - Initialise register map
763 * regmap_init_sccb() - Initialise register map
776 * regmap_init_slimbus() - Initialise register map
789 * regmap_init_spi() - Initialise register map
802 * regmap_init_spmi_base() - Create regmap for the Base register space
815 * regmap_init_spmi_ext() - Create regmap for Ext register space
828 * regmap_init_w1() - Initialise register map
841 * regmap_init_mmio_clk() - Initialise register map with register clock
845 * @regs: Pointer to memory-mapped IO region
856 * regmap_init_mmio() - Initialise register map
859 * @regs: Pointer to memory-mapped IO region
869 * regmap_init_ac97() - Initialise AC'97 register map
883 * regmap_init_sdw() - Initialise register map
896 * regmap_init_sdw_mbq() - Initialise register map
909 * regmap_init_spi_avmm() - Initialize register map for Intel SPI Slave
923 * devm_regmap_init() - Initialise managed register map
926 * @bus: Bus-specific callbacks to use with device
927 * @bus_context: Data passed to bus-specific callbacks
932 * directly, it should be called by bus-specific init functions. The
940 * devm_regmap_init_i2c() - Initialise managed register map
954 * devm_regmap_init_mdio() - Initialise managed register map
968 * devm_regmap_init_sccb() - Initialise managed register map
982 * devm_regmap_init_spi() - Initialise register map
996 * devm_regmap_init_spmi_base() - Create managed regmap for Base register space
1010 * devm_regmap_init_spmi_ext() - Create managed regmap for Ext register space
1024 * devm_regmap_init_w1() - Initialise managed register map
1037 * devm_regmap_init_mmio_clk() - Initialise managed register map with clock
1041 * @regs: Pointer to memory-mapped IO region
1053 * devm_regmap_init_mmio() - Initialise managed register map
1056 * @regs: Pointer to memory-mapped IO region
1067 * devm_regmap_init_ac97() - Initialise AC'97 register map
1081 * devm_regmap_init_sdw() - Initialise managed register map
1095 * devm_regmap_init_sdw_mbq() - Initialise managed register map
1109 * devm_regmap_init_slimbus() - Initialise managed register map
1123 * devm_regmap_init_i3c() - Initialise managed register map
1137 * devm_regmap_init_spi_avmm() - Initialize register map for Intel SPI Slave
1247 return reg >= range->range_min && reg <= range->range_max; in regmap_reg_in_range()
1270 * struct reg_field - Description of an register field
1405 * struct regmap_irq_type - IRQ type definitions.
1425 * struct regmap_irq - Description of an IRQ for the generic regmap irq_chip.
1457 * struct regmap_irq_chip - Description of a generic regmap irq_chip.
1459 * @name: Descriptive name for IRQ controller.
1462 * interrupts arranged in separate sub-irq blocks with own IRQ
1464 * sub-irq blocks with unhandled interrupts. For such chips fill
1465 * sub-irq register information in status_base, mask_base and
1475 * 1.st bit to 1.st sub-reg, 2.nd bit to 2.nd sub-reg, ...
1476 * When used with not_fixed_stride, each one-element array
1510 * @clear_ack: Use this to set 1 and 0 or vice-versa to clear interrupts.
1536 * @num_virt_regs: Number of non-standard irq configuration registers.
1660 return -EINVAL; in regmap_write()
1667 return -EINVAL; in regmap_write_async()
1674 return -EINVAL; in regmap_raw_write()
1681 return -EINVAL; in regmap_raw_write_async()
1688 return -EINVAL; in regmap_noinc_write()
1695 return -EINVAL; in regmap_bulk_write()
1702 return -EINVAL; in regmap_read()
1709 return -EINVAL; in regmap_raw_read()
1716 return -EINVAL; in regmap_noinc_read()
1723 return -EINVAL; in regmap_bulk_read()
1731 return -EINVAL; in regmap_update_bits_base()
1738 return -EINVAL; in regmap_set_bits()
1745 return -EINVAL; in regmap_clear_bits()
1752 return -EINVAL; in regmap_test_bits()
1760 return -EINVAL; in regmap_field_update_bits_base()
1769 return -EINVAL; in regmap_fields_update_bits_base()
1776 return -EINVAL; in regmap_update_bits()
1783 return -EINVAL; in regmap_update_bits_async()
1791 return -EINVAL; in regmap_update_bits_check()
1800 return -EINVAL; in regmap_update_bits_check_async()
1807 return -EINVAL; in regmap_write_bits()
1814 return -EINVAL; in regmap_field_write()
1821 return -EINVAL; in regmap_field_force_write()
1828 return -EINVAL; in regmap_field_update_bits()
1836 return -EINVAL; in regmap_field_force_update_bits()
1843 return -EINVAL; in regmap_field_set_bits()
1850 return -EINVAL; in regmap_field_clear_bits()
1857 return -EINVAL; in regmap_field_test_bits()
1864 return -EINVAL; in regmap_fields_write()
1871 return -EINVAL; in regmap_fields_force_write()
1879 return -EINVAL; in regmap_fields_update_bits()
1887 return -EINVAL; in regmap_fields_force_update_bits()
1893 return -EINVAL; in regmap_get_val_bytes()
1899 return -EINVAL; in regmap_get_max_register()
1905 return -EINVAL; in regmap_get_reg_stride()
1911 return -EINVAL; in regcache_sync()
1918 return -EINVAL; in regcache_sync_region()
1925 return -EINVAL; in regcache_drop_region()
1953 return -EINVAL; in regmap_register_patch()
1960 return -EINVAL; in regmap_parse_val()