Searched refs:ucb (Results 1 – 6 of 6) sorted by relevance
/linux-4.19.296/drivers/gpio/ |
D | gpio-ucb1400.c | 49 struct ucb1400_gpio *ucb = dev_get_platdata(&dev->dev); in ucb1400_gpio_probe() local 52 if (!(ucb && ucb->gpio_offset)) { in ucb1400_gpio_probe() 57 platform_set_drvdata(dev, ucb); in ucb1400_gpio_probe() 59 ucb->gc.label = "ucb1400_gpio"; in ucb1400_gpio_probe() 60 ucb->gc.base = ucb->gpio_offset; in ucb1400_gpio_probe() 61 ucb->gc.ngpio = 10; in ucb1400_gpio_probe() 62 ucb->gc.owner = THIS_MODULE; in ucb1400_gpio_probe() 64 ucb->gc.direction_input = ucb1400_gpio_dir_in; in ucb1400_gpio_probe() 65 ucb->gc.direction_output = ucb1400_gpio_dir_out; in ucb1400_gpio_probe() 66 ucb->gc.get = ucb1400_gpio_get; in ucb1400_gpio_probe() [all …]
|
/linux-4.19.296/include/linux/mfd/ |
D | ucb1x00.h | 149 struct ucb1x00 *ucb; member 174 static inline unsigned int ucb1x00_clkrate(struct ucb1x00 *ucb) in ucb1x00_clkrate() argument 176 return mcp_get_sclk_rate(ucb->mcp); in ucb1x00_clkrate() 185 static inline void ucb1x00_enable(struct ucb1x00 *ucb) in ucb1x00_enable() argument 187 mcp_enable(ucb->mcp); in ucb1x00_enable() 198 static inline void ucb1x00_disable(struct ucb1x00 *ucb) in ucb1x00_disable() argument 200 mcp_disable(ucb->mcp); in ucb1x00_disable() 212 static inline void ucb1x00_reg_write(struct ucb1x00 *ucb, unsigned int reg, unsigned int val) in ucb1x00_reg_write() argument 214 mcp_reg_write(ucb->mcp, reg, val); in ucb1x00_reg_write() 225 static inline unsigned int ucb1x00_reg_read(struct ucb1x00 *ucb, unsigned int reg) in ucb1x00_reg_read() argument [all …]
|
/linux-4.19.296/drivers/media/dvb-frontends/ |
D | cx24120.c | 618 u16 sig, ucb; in cx24120_get_stats() local 697 ucb = cx24120_readreg(state, CX24120_REG_UCB_H) << 8; in cx24120_get_stats() 698 ucb |= cx24120_readreg(state, CX24120_REG_UCB_L); in cx24120_get_stats() 699 dev_dbg(&state->i2c->dev, "ucblocks = %d\n", ucb); in cx24120_get_stats() 702 if (ucb < state->ucb_offset) in cx24120_get_stats() 706 c->block_error.stat[0].uvalue = ucb + state->ucb_offset; in cx24120_get_stats()
|
D | dib7000p.c | 1671 u32 ucb; in dib7000p_reset_stats() local 1695 dib7000p_read_unc_blocks(demod, &ucb); in dib7000p_reset_stats() 1697 state->old_ucb = ucb; in dib7000p_reset_stats() 1902 u64 blocks, ucb; in dib7000p_get_stats() local 1944 ucb = val - state->old_ucb; in dib7000p_get_stats() 1946 ucb += 0x100000000LL; in dib7000p_get_stats() 1949 c->block_error.stat[0].uvalue = ucb; in dib7000p_get_stats()
|
D | dib8000.c | 1002 u32 ucb; in dib8000_reset_stats() local 1026 dib8000_read_unc_blocks(fe, &ucb); in dib8000_reset_stats() 1028 state->init_ucb = -ucb; in dib8000_reset_stats()
|
/linux-4.19.296/drivers/media/dvb-frontends/drx39xyj/ |
D | drxj.c | 12058 static int drx39xxj_read_ucblocks(struct dvb_frontend *fe, u32 *ucb) in drx39xxj_read_ucblocks() argument 12063 *ucb = 0; in drx39xxj_read_ucblocks() 12067 *ucb = p->block_error.stat[0].uvalue; in drx39xxj_read_ucblocks()
|