Searched refs:mcp3564_state (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/iio/adc/ |
H A D | mcp3564.c | 367 struct mcp3564_state { struct 400 static int mcp3564_read_8bits(struct mcp3564_state *adc, u8 reg, u8 *val) in mcp3564_read_8bits() argument 415 static int mcp3564_read_16bits(struct mcp3564_state *adc, u8 reg, u16 *val) in mcp3564_read_16bits() 430 static int mcp3564_read_32bits(struct mcp3564_state *adc, u8 reg, u32 *val) in mcp3564_read_32bits() 445 static int mcp3564_write_8bits(struct mcp3564_state *adc, u8 reg, u8 val) in mcp3564_write_8bits() 455 static int mcp3564_write_24bits(struct mcp3564_state *adc, u8 reg, u32 val) in mcp3564_write_24bits() 465 static int mcp3564_fast_cmd(struct mcp3564_state *adc, u8 fast_cmd) in mcp3564_fast_cmd() 475 static int mcp3564_update_8bits(struct mcp3564_state *adc, u8 reg, u32 mask, u8 val) in mcp3564_update_8bits() 496 struct mcp3564_state *adc = iio_priv(indio_dev); in mcp3564_set_current_boost_mode() 518 struct mcp3564_state *adc = iio_priv(indio_dev); in mcp3564_get_current_boost_mode() [all …]
|