Home
last modified time | relevance | path

Searched refs:state (Results 1 – 25 of 3252) sorted by relevance

12345678910>>...131

/drivers/media/tuners/
Dmxl5005s.c298 static u16 MXL_GetMasterControl(u8 *MasterReg, int state);
339 struct mxl5005s_state *state = fe->tuner_priv; in mxl5005s_SetRfFreqHz() local
354 ByteTable[0] |= state->config->AgcMasterByte; in mxl5005s_SetRfFreqHz()
371 state->config->AgcMasterByte; in mxl5005s_SetRfFreqHz()
387 state->config->AgcMasterByte ; in mxl5005s_SetRfFreqHz()
404 struct mxl5005s_state *state = fe->tuner_priv; in MXL5005_RegisterInit() local
405 state->TunerRegs_Num = TUNER_REGS_NUM ; in MXL5005_RegisterInit()
407 state->TunerRegs[0].Reg_Num = 9 ; in MXL5005_RegisterInit()
408 state->TunerRegs[0].Reg_Val = 0x40 ; in MXL5005_RegisterInit()
410 state->TunerRegs[1].Reg_Num = 11 ; in MXL5005_RegisterInit()
[all …]
Dqm1d1c0042.c64 static int reg_write(struct qm1d1c0042_state *state, u8 reg, u8 val) in reg_write() argument
69 ret = i2c_master_send(state->i2c, wbuf, sizeof(wbuf)); in reg_write()
75 static int reg_read(struct qm1d1c0042_state *state, u8 reg, u8 *val) in reg_read() argument
79 .addr = state->i2c->addr, in reg_read()
85 .addr = state->i2c->addr, in reg_read()
93 ret = i2c_transfer(state->i2c->adapter, msgs, ARRAY_SIZE(msgs)); in reg_read()
100 static int qm1d1c0042_set_srch_mode(struct qm1d1c0042_state *state, bool fast) in qm1d1c0042_set_srch_mode() argument
103 state->regs[0x03] |= 0x01; /* set fast search mode */ in qm1d1c0042_set_srch_mode()
105 state->regs[0x03] &= ~0x01 & 0xff; in qm1d1c0042_set_srch_mode()
107 return reg_write(state, 0x03, state->regs[0x03]); in qm1d1c0042_set_srch_mode()
[all …]
/drivers/media/dvb-frontends/
Dstv0910.c141 static int write_reg(struct stv *state, u16 reg, u8 val) in write_reg() argument
143 struct i2c_adapter *adap = state->base->i2c; in write_reg()
145 struct i2c_msg msg = {.addr = state->base->adr, .flags = 0, in write_reg()
150 state->base->adr, reg, val); in write_reg()
173 static int read_reg(struct stv *state, u16 reg, u8 *val) in read_reg() argument
175 return i2c_read_regs16(state->base->i2c, state->base->adr, in read_reg()
179 static int read_regs(struct stv *state, u16 reg, u8 *val, int len) in read_regs() argument
181 return i2c_read_regs16(state->base->i2c, state->base->adr, in read_regs()
185 static int write_shared_reg(struct stv *state, u16 reg, u8 mask, u8 val) in write_shared_reg() argument
190 mutex_lock(&state->base->reg_lock); in write_shared_reg()
[all …]
Ddib0090.c200 static u16 dib0090_read_reg(struct dib0090_state *state, u8 reg) in dib0090_read_reg() argument
204 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib0090_read_reg()
209 state->i2c_write_buffer[0] = reg; in dib0090_read_reg()
211 memset(state->msg, 0, 2 * sizeof(struct i2c_msg)); in dib0090_read_reg()
212 state->msg[0].addr = state->config->i2c_address; in dib0090_read_reg()
213 state->msg[0].flags = 0; in dib0090_read_reg()
214 state->msg[0].buf = state->i2c_write_buffer; in dib0090_read_reg()
215 state->msg[0].len = 1; in dib0090_read_reg()
216 state->msg[1].addr = state->config->i2c_address; in dib0090_read_reg()
217 state->msg[1].flags = I2C_M_RD; in dib0090_read_reg()
[all …]
Ddib8000.c171 static u16 __dib8000_read_word(struct dib8000_state *state, u16 reg) in __dib8000_read_word() argument
175 state->i2c_write_buffer[0] = reg >> 8; in __dib8000_read_word()
176 state->i2c_write_buffer[1] = reg & 0xff; in __dib8000_read_word()
178 memset(state->msg, 0, 2 * sizeof(struct i2c_msg)); in __dib8000_read_word()
179 state->msg[0].addr = state->i2c.addr >> 1; in __dib8000_read_word()
180 state->msg[0].flags = 0; in __dib8000_read_word()
181 state->msg[0].buf = state->i2c_write_buffer; in __dib8000_read_word()
182 state->msg[0].len = 2; in __dib8000_read_word()
183 state->msg[1].addr = state->i2c.addr >> 1; in __dib8000_read_word()
184 state->msg[1].flags = I2C_M_RD; in __dib8000_read_word()
[all …]
Dstv090x.c683 static int stv090x_read_reg(struct stv090x_state *state, unsigned int reg) in stv090x_read_reg() argument
685 const struct stv090x_config *config = state->config; in stv090x_read_reg()
696 ret = i2c_transfer(state->i2c, msg, 2); in stv090x_read_reg()
705 if (unlikely(*state->verbose >= FE_DEBUGREG)) in stv090x_read_reg()
712 static int stv090x_write_regs(struct stv090x_state *state, unsigned int reg, u8 *data, u32 count) in stv090x_write_regs() argument
714 const struct stv090x_config *config = state->config; in stv090x_write_regs()
733 ret = i2c_transfer(state->i2c, &i2c_msg, 1); in stv090x_write_regs()
744 static int stv090x_write_reg(struct stv090x_state *state, unsigned int reg, u8 data) in stv090x_write_reg() argument
748 return stv090x_write_regs(state, reg, &tmp, 1); in stv090x_write_reg()
751 static int stv090x_i2c_gate_ctrl(struct stv090x_state *state, int enable) in stv090x_i2c_gate_ctrl() argument
[all …]
Ddib0070.c69 static u16 dib0070_read_reg(struct dib0070_state *state, u8 reg) in dib0070_read_reg() argument
73 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib0070_read_reg()
78 state->i2c_write_buffer[0] = reg; in dib0070_read_reg()
80 memset(state->msg, 0, 2 * sizeof(struct i2c_msg)); in dib0070_read_reg()
81 state->msg[0].addr = state->cfg->i2c_address; in dib0070_read_reg()
82 state->msg[0].flags = 0; in dib0070_read_reg()
83 state->msg[0].buf = state->i2c_write_buffer; in dib0070_read_reg()
84 state->msg[0].len = 1; in dib0070_read_reg()
85 state->msg[1].addr = state->cfg->i2c_address; in dib0070_read_reg()
86 state->msg[1].flags = I2C_M_RD; in dib0070_read_reg()
[all …]
Ddib7000m.c76 static u16 dib7000m_read_word(struct dib7000m_state *state, u16 reg) in dib7000m_read_word() argument
80 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib7000m_read_word()
85 state->i2c_write_buffer[0] = (reg >> 8) | 0x80; in dib7000m_read_word()
86 state->i2c_write_buffer[1] = reg & 0xff; in dib7000m_read_word()
88 memset(state->msg, 0, 2 * sizeof(struct i2c_msg)); in dib7000m_read_word()
89 state->msg[0].addr = state->i2c_addr >> 1; in dib7000m_read_word()
90 state->msg[0].flags = 0; in dib7000m_read_word()
91 state->msg[0].buf = state->i2c_write_buffer; in dib7000m_read_word()
92 state->msg[0].len = 2; in dib7000m_read_word()
93 state->msg[1].addr = state->i2c_addr >> 1; in dib7000m_read_word()
[all …]
Ddrxk_hard.c25 static int power_down_dvbt(struct drxk_state *state, bool set_power_mode);
26 static int power_down_qam(struct drxk_state *state);
27 static int set_dvbt_standard(struct drxk_state *state,
29 static int set_qam_standard(struct drxk_state *state,
31 static int set_qam(struct drxk_state *state, u16 intermediate_freqk_hz,
33 static int set_dvbt_standard(struct drxk_state *state,
35 static int dvbt_start(struct drxk_state *state);
36 static int set_dvbt(struct drxk_state *state, u16 intermediate_freqk_hz,
38 static int get_qam_lock_status(struct drxk_state *state, u32 *p_lock_status);
39 static int get_dvbt_lock_status(struct drxk_state *state, u32 *p_lock_status);
[all …]
Ddrxd_hard.c225 static int Read16(struct drxd_state *state, u32 reg, u16 *data, u8 flags) in Read16() argument
227 u8 adr = state->config.demod_address; in Read16()
232 if (i2c_read(state->i2c, adr, mm1, 4, mm2, 2) < 0) in Read16()
239 static int Read32(struct drxd_state *state, u32 reg, u32 *data, u8 flags) in Read32() argument
241 u8 adr = state->config.demod_address; in Read32()
247 if (i2c_read(state->i2c, adr, mm1, 4, mm2, 4) < 0) in Read32()
255 static int Write16(struct drxd_state *state, u32 reg, u16 data, u8 flags) in Write16() argument
257 u8 adr = state->config.demod_address; in Write16()
263 if (i2c_write(state->i2c, adr, mm, 6) < 0) in Write16()
268 static int Write32(struct drxd_state *state, u32 reg, u32 data, u8 flags) in Write32() argument
[all …]
Dcx24110.c103 static int cx24110_writereg (struct cx24110_state* state, int reg, int data) in cx24110_writereg() argument
106 struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf, .len = 2 }; in cx24110_writereg()
109 if ((err = i2c_transfer(state->i2c, &msg, 1)) != 1) { in cx24110_writereg()
118 static int cx24110_readreg (struct cx24110_state* state, u8 reg) in cx24110_readreg() argument
123 …struct i2c_msg msg [] = { { .addr = state->config->demod_address, .flags = 0, .buf = b0, .len = 1 … in cx24110_readreg()
124 { .addr = state->config->demod_address, .flags = I2C_M_RD, .buf = b1, .len = 1 } }; in cx24110_readreg()
126 ret = i2c_transfer(state->i2c, msg, 2); in cx24110_readreg()
133 static int cx24110_set_inversion(struct cx24110_state *state, in cx24110_set_inversion() argument
140 cx24110_writereg(state,0x37,cx24110_readreg(state,0x37)|0x1); in cx24110_set_inversion()
142 cx24110_writereg(state,0x5,cx24110_readreg(state,0x5)&0xf7); in cx24110_set_inversion()
[all …]
Dcx24113.c90 static int cx24113_writereg(struct cx24113_state *state, int reg, int data) in cx24113_writereg() argument
93 struct i2c_msg msg = { .addr = state->config->i2c_addr, in cx24113_writereg()
95 int err = i2c_transfer(state->i2c, &msg, 1); in cx24113_writereg()
105 static int cx24113_readreg(struct cx24113_state *state, u8 reg) in cx24113_readreg() argument
110 { .addr = state->config->i2c_addr, in cx24113_readreg()
112 { .addr = state->config->i2c_addr, in cx24113_readreg()
116 ret = i2c_transfer(state->i2c, msg, 2); in cx24113_readreg()
127 static void cx24113_set_parameters(struct cx24113_state *state) in cx24113_set_parameters() argument
131 r = cx24113_readreg(state, 0x10) & 0x82; in cx24113_set_parameters()
132 r |= state->icp_mode; in cx24113_set_parameters()
[all …]
Dtda18271c2dd.c101 static int PowerScan(struct tda_state *state,
124 static int WriteRegs(struct tda_state *state, in WriteRegs() argument
138 return i2c_write(state->i2c, state->adr, data, nRegs + 1); in WriteRegs()
141 static int WriteReg(struct tda_state *state, u8 SubAddr, u8 Reg) in WriteReg() argument
145 return i2c_write(state->i2c, state->adr, msg, 2); in WriteReg()
148 static int Read(struct tda_state *state, u8 * Regs) in Read() argument
150 return i2c_readn(state->i2c, state->adr, Regs, 16); in Read()
153 static int ReadExtented(struct tda_state *state, u8 * Regs) in ReadExtented() argument
155 return i2c_readn(state->i2c, state->adr, Regs, NUM_REGS); in ReadExtented()
158 static int UpdateRegs(struct tda_state *state, u8 RegFrom, u8 RegTo) in UpdateRegs() argument
[all …]
Dstv0367.c44 enum stv0367_cab_signal_type state; member
59 enum stv0367_ter_signal_type state; member
122 int stv0367_writeregs(struct stv0367_state *state, u16 reg, u8 *data, int len) in stv0367_writeregs() argument
126 .addr = state->config->demod_address, in stv0367_writeregs()
147 state->config->demod_address, reg, buf[2]); in stv0367_writeregs()
149 ret = i2c_transfer(state->i2c, &msg, 1); in stv0367_writeregs()
152 __func__, state->config->demod_address, reg, buf[2]); in stv0367_writeregs()
157 static int stv0367_writereg(struct stv0367_state *state, u16 reg, u8 data) in stv0367_writereg() argument
161 return stv0367_writeregs(state, reg, &tmp, 1); in stv0367_writereg()
164 static u8 stv0367_readreg(struct stv0367_state *state, u16 reg) in stv0367_readreg() argument
[all …]
Dau8522_decoder.c172 static void setup_decoder_defaults(struct au8522_state *state, bool is_svideo) in setup_decoder_defaults() argument
178 au8522_writereg(state, AU8522_TVDEC_SHARPNESSREG009H, 0x07); in setup_decoder_defaults()
179 au8522_writereg(state, AU8522_TVDEC_BRIGHTNESS_REG00AH, 0xed); in setup_decoder_defaults()
180 au8522_writereg(state, AU8522_TVDEC_CONTRAST_REG00BH, 0x79); in setup_decoder_defaults()
181 au8522_writereg(state, AU8522_TVDEC_SATURATION_CB_REG00CH, 0x80); in setup_decoder_defaults()
182 au8522_writereg(state, AU8522_TVDEC_SATURATION_CR_REG00DH, 0x80); in setup_decoder_defaults()
183 au8522_writereg(state, AU8522_TVDEC_HUE_H_REG00EH, 0x00); in setup_decoder_defaults()
184 au8522_writereg(state, AU8522_TVDEC_HUE_L_REG00FH, 0x00); in setup_decoder_defaults()
187 au8522_writereg(state, AU8522_TVDEC_INT_MASK_REG010H, 0x00); in setup_decoder_defaults()
190 au8522_writereg(state, AU8522_VIDEO_MODE_REG011H, 0x04); in setup_decoder_defaults()
[all …]
Ds5h1420.c51 static u32 s5h1420_getsymbolrate(struct s5h1420_state* state);
65 static u8 s5h1420_readreg(struct s5h1420_state *state, u8 reg) in s5h1420_readreg() argument
70 { .addr = state->config->demod_address, .flags = 0, .buf = b, .len = 2 }, in s5h1420_readreg()
71 { .addr = state->config->demod_address, .flags = 0, .buf = &reg, .len = 1 }, in s5h1420_readreg()
72 { .addr = state->config->demod_address, .flags = I2C_M_RD, .buf = b, .len = 1 }, in s5h1420_readreg()
76 b[1] = state->shadow[(reg - 1) & 0xff]; in s5h1420_readreg()
78 if (state->config->repeated_start_workaround) { in s5h1420_readreg()
79 ret = i2c_transfer(state->i2c, msg, 3); in s5h1420_readreg()
83 ret = i2c_transfer(state->i2c, &msg[1], 1); in s5h1420_readreg()
86 ret = i2c_transfer(state->i2c, &msg[2], 1); in s5h1420_readreg()
[all …]
Dmxl5xx.c147 static int i2cread(struct mxl *state, u8 *data, int len) in i2cread() argument
149 return i2c_read(state->base->i2c, state->base->adr, data, len); in i2cread()
152 static int i2cwrite(struct mxl *state, u8 *data, int len) in i2cwrite() argument
154 return i2c_write(state->base->i2c, state->base->adr, data, len); in i2cwrite()
157 static int read_register_unlocked(struct mxl *state, u32 reg, u32 *val) in read_register_unlocked() argument
166 stat = i2cwrite(state, data, in read_register_unlocked()
169 dev_err(state->i2cdev, "i2c read error 1\n"); in read_register_unlocked()
171 stat = i2cread(state, (u8 *) val, in read_register_unlocked()
175 dev_err(state->i2cdev, "i2c read error 2\n"); in read_register_unlocked()
182 static int send_command(struct mxl *state, u32 size, u8 *buf) in send_command() argument
[all …]
Dstv0297.c39 static int stv0297_writereg(struct stv0297_state *state, u8 reg, u8 data) in stv0297_writereg() argument
43 struct i2c_msg msg = {.addr = state->config->demod_address,.flags = 0,.buf = buf,.len = 2 }; in stv0297_writereg()
45 ret = i2c_transfer(state->i2c, &msg, 1); in stv0297_writereg()
54 static int stv0297_readreg(struct stv0297_state *state, u8 reg) in stv0297_readreg() argument
59 struct i2c_msg msg[] = { {.addr = state->config->demod_address,.flags = 0,.buf = b0,.len = 1}, in stv0297_readreg()
60 {.addr = state->config->demod_address,.flags = I2C_M_RD,.buf = b1,.len = 1} in stv0297_readreg()
64 if (state->config->stop_during_read) { in stv0297_readreg()
65 if ((ret = i2c_transfer(state->i2c, &msg[0], 1)) != 1) { in stv0297_readreg()
69 if ((ret = i2c_transfer(state->i2c, &msg[1], 1)) != 1) { in stv0297_readreg()
74 if ((ret = i2c_transfer(state->i2c, msg, 2)) != 2) { in stv0297_readreg()
[all …]
Dtda1004x.c115 static int tda1004x_write_byteI(struct tda1004x_state *state, int reg, int data) in tda1004x_write_byteI() argument
123 msg.addr = state->config->demod_address; in tda1004x_write_byteI()
124 ret = i2c_transfer(state->i2c, &msg, 1); in tda1004x_write_byteI()
135 static int tda1004x_read_byte(struct tda1004x_state *state, int reg) in tda1004x_read_byte() argument
145 msg[0].addr = state->config->demod_address; in tda1004x_read_byte()
146 msg[1].addr = state->config->demod_address; in tda1004x_read_byte()
147 ret = i2c_transfer(state->i2c, msg, 2); in tda1004x_read_byte()
160 static int tda1004x_write_mask(struct tda1004x_state *state, int reg, int mask, int data) in tda1004x_write_mask() argument
167 val = tda1004x_read_byte(state, reg); in tda1004x_write_mask()
176 return tda1004x_write_byteI(state, reg, val); in tda1004x_write_mask()
[all …]
Dnxt200x.c58 static int i2c_writebytes (struct nxt200x_state* state, u8 addr, u8 *buf, u8 len) in i2c_writebytes() argument
63 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { in i2c_writebytes()
71 static int i2c_readbytes(struct nxt200x_state *state, u8 addr, u8 *buf, u8 len) in i2c_readbytes() argument
76 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { in i2c_readbytes()
84 static int nxt200x_writebytes (struct nxt200x_state* state, u8 reg, in nxt200x_writebytes() argument
89 …struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf2, .len = len +… in nxt200x_writebytes()
100 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { in nxt200x_writebytes()
102 __func__, state->config->demod_address, err); in nxt200x_writebytes()
108 static int nxt200x_readbytes(struct nxt200x_state *state, u8 reg, u8 *buf, u8 len) in nxt200x_readbytes() argument
112 …struct i2c_msg msg [] = { { .addr = state->config->demod_address, .flags = 0, .buf = reg2, .len = … in nxt200x_readbytes()
[all …]
/drivers/gpu/drm/
Ddrm_atomic_state_helper.c100 crtc->state = crtc_state; in __drm_atomic_helper_crtc_reset()
114 kzalloc(sizeof(*crtc->state), GFP_KERNEL); in drm_atomic_helper_crtc_reset()
116 if (crtc->state) in drm_atomic_helper_crtc_reset()
117 crtc->funcs->atomic_destroy_state(crtc, crtc->state); in drm_atomic_helper_crtc_reset()
132 struct drm_crtc_state *state) in __drm_atomic_helper_crtc_duplicate_state() argument
134 memcpy(state, crtc->state, sizeof(*state)); in __drm_atomic_helper_crtc_duplicate_state()
136 if (state->mode_blob) in __drm_atomic_helper_crtc_duplicate_state()
137 drm_property_blob_get(state->mode_blob); in __drm_atomic_helper_crtc_duplicate_state()
138 if (state->degamma_lut) in __drm_atomic_helper_crtc_duplicate_state()
139 drm_property_blob_get(state->degamma_lut); in __drm_atomic_helper_crtc_duplicate_state()
[all …]
/drivers/media/pci/bt8xx/
Ddst.c45 static int dst_command(struct dst_state *state, u8 *data, u8 len);
47 static void dst_packsize(struct dst_state *state, int psize) in dst_packsize() argument
52 bt878_device_control(state->bt, DST_IG_TS, &bits); in dst_packsize()
55 static int dst_gpio_outb(struct dst_state *state, u32 mask, u32 enbb, in dst_gpio_outb() argument
67 if ((err = bt878_device_control(state->bt, DST_IG_ENABLE, &enb)) < 0) { in dst_gpio_outb()
80 if ((err = bt878_device_control(state->bt, DST_IG_WRITE, &bits)) < 0) { in dst_gpio_outb()
89 static int dst_gpio_inb(struct dst_state *state, u8 *result) in dst_gpio_inb() argument
95 if ((err = bt878_device_control(state->bt, DST_IG_READ, &rd_packet)) < 0) { in dst_gpio_inb()
104 int rdc_reset_state(struct dst_state *state) in rdc_reset_state() argument
107 if (dst_gpio_outb(state, RDC_8820_INT, RDC_8820_INT, 0, NO_DELAY) < 0) { in rdc_reset_state()
[all …]
/drivers/video/
Dvgastate.c48 static void save_vga_text(struct vgastate *state, void __iomem *fbbase) in save_vga_text() argument
50 struct regstate *saved = (struct regstate *) state->vidstate; in save_vga_text()
56 misc = vga_r(state->vgabase, VGA_MIS_R); in save_vga_text()
59 vga_r(state->vgabase, iobase + 0xa); in save_vga_text()
60 vga_w(state->vgabase, VGA_ATT_W, 0x00); in save_vga_text()
61 attr10 = vga_rattr(state->vgabase, 0x10); in save_vga_text()
62 vga_r(state->vgabase, iobase + 0xa); in save_vga_text()
63 vga_w(state->vgabase, VGA_ATT_W, 0x20); in save_vga_text()
69 gr4 = vga_rgfx(state->vgabase, VGA_GFX_PLANE_READ); in save_vga_text()
70 gr5 = vga_rgfx(state->vgabase, VGA_GFX_MODE); in save_vga_text()
[all …]
/drivers/net/ppp/
Dppp_mppe.c131 static void get_new_key_from_sha(struct ppp_mppe_state * state) in get_new_key_from_sha() argument
133 crypto_shash_init(state->sha1); in get_new_key_from_sha()
134 crypto_shash_update(state->sha1, state->master_key, in get_new_key_from_sha()
135 state->keylen); in get_new_key_from_sha()
136 crypto_shash_update(state->sha1, sha_pad->sha_pad1, in get_new_key_from_sha()
138 crypto_shash_update(state->sha1, state->session_key, in get_new_key_from_sha()
139 state->keylen); in get_new_key_from_sha()
140 crypto_shash_update(state->sha1, sha_pad->sha_pad2, in get_new_key_from_sha()
142 crypto_shash_final(state->sha1, state->sha1_digest); in get_new_key_from_sha()
149 static void mppe_rekey(struct ppp_mppe_state * state, int initial_key) in mppe_rekey() argument
[all …]
/drivers/media/i2c/adv748x/
Dadv748x-core.c59 static int adv748x_configure_regmap(struct adv748x_state *state, int region) in adv748x_configure_regmap() argument
63 if (!state->i2c_clients[region]) in adv748x_configure_regmap()
66 state->regmap[region] = in adv748x_configure_regmap()
67 devm_regmap_init_i2c(state->i2c_clients[region], in adv748x_configure_regmap()
70 if (IS_ERR(state->regmap[region])) { in adv748x_configure_regmap()
71 err = PTR_ERR(state->regmap[region]); in adv748x_configure_regmap()
72 adv_err(state, in adv748x_configure_regmap()
100 static int adv748x_read_check(struct adv748x_state *state, in adv748x_read_check() argument
103 struct i2c_client *client = state->i2c_clients[client_page]; in adv748x_read_check()
107 err = regmap_read(state->regmap[client_page], reg, &val); in adv748x_read_check()
[all …]

12345678910>>...131