Searched refs:val (Results 276 - 300 of 10962) sorted by path

<<11121314151617181920>>

/linux-master/drivers/media/dvb-frontends/
H A Ddib9000.h36 extern int dib9000_set_gpio(struct dvb_frontend *fe, u8 num, u8 dir, u8 val);
70 static inline int dib9000_set_gpio(struct dvb_frontend *fe, u8 num, u8 dir, u8 val) argument
H A Ddibx000_common.c20 static int dibx000_write_word(struct dibx000_i2c_master *mst, u16 reg, u16 val) argument
31 mst->i2c_write_buffer[2] = (val >> 8) & 0xff;
32 mst->i2c_write_buffer[3] = val & 0xff;
266 u16 val; local
270 val = addr << 8; // bit 7 = use master or not, if 0, the gate is open
272 val = 1 << 7;
275 val <<= 1;
279 tx[2] = val >> 8;
280 tx[3] = val & 0xff;
H A Dlgs8gl5.c73 dprintk("%s: error (reg=0x%02x, val=0x%02x, ret=%i)\n",
156 u8 val; local
160 val = lgs8gl5_read_reg(state, REG_RESET);
161 lgs8gl5_write_reg(state, REG_RESET, val & ~REG_RESET_OFF);
162 lgs8gl5_write_reg(state, REG_RESET, val | REG_RESET_OFF);
171 u8 val; local
194 val = lgs8gl5_read_reg(state, REG_STRENGTH);
195 dprintk("Wait for carrier[%d] 0x%02X\n", n, val);
196 if (val & REG_STRENGTH_CARRIER)
200 if (!(val
[all...]
H A Dsi21xx.h28 static inline int si21xx_writeregister(struct dvb_frontend *fe, u8 reg, u8 val) argument
31 u8 buf[] = {reg, val};
H A Dstb0899_priv.h38 #define INRANGE(val, x, y) (((x <= val) && (val <= y)) || \
39 ((y <= val) && (val <= x)) ? 1 : 0)
54 #define STB0899_GETFIELD(bitf, val) ((val >> STB0899_OFFST_##bitf) & ((1 << STB0899_WIDTH_##bitf) - 1))
57 #define STB0899_SETFIELD(mask, val, width, offset) (mask & (~(((1 << width) - 1) << \
58 offset))) | ((val & \
61 #define STB0899_SETFIELD_VAL(bitf, mask, val) (mas
[all...]
H A Dstb6100.h61 #define INRANGE(val, x, y) (((x <= val) && (val <= y)) || \
62 ((y <= val) && (val <= x)) ? 1 : 0)
64 #define CHKRANGE(val, x, y) (((val >= x) && (val < y)) ? 1 : 0)
H A Dstv0288.h45 static inline int stv0288_writereg(struct dvb_frontend *fe, u8 reg, u8 val) argument
48 u8 buf[] = { reg, val };
H A Dstv0299.h98 static inline int stv0299_writereg(struct dvb_frontend *fe, u8 reg, u8 val) { argument
100 u8 buf[] = {reg, val};
H A Dstv0900.h20 u8 val; member in struct:stv0900_reg
H A Dstv0900_priv.h346 u32 label, u8 val);
H A Dstv090x_priv.h53 #define STV090x_SETFIELD(mask, bitf, val) (mask = (mask & (~(((1 << STV090x_WIDTH_##bitf) - 1) <<\
55 (val << STV090x_OFFST_##bitf))
57 #define STV090x_GETFIELD(val, bitf) ((val >> STV090x_OFFST_##bitf) & ((1 << STV090x_WIDTH_##bitf) - 1))
60 #define STV090x_SETFIELD_Px(mask, bitf, val) (mask = (mask & (~(((1 << STV090x_WIDTH_Px_##bitf) - 1) <<\
62 (val << STV090x_OFFST_Px_##bitf))
64 #define STV090x_GETFIELD_Px(val, bitf) ((val >> STV090x_OFFST_Px_##bitf) & ((1 << STV090x_WIDTH_Px_##bitf) - 1))
H A Dtda1004x.h128 static inline int tda1004x_writereg(struct dvb_frontend *fe, u8 reg, u8 val) { argument
130 u8 buf[] = {reg, val};
H A Dtda10071_priv.h41 u8 val; member in struct:tda10071_modcod
72 u8 val; member in struct:tda10071_reg_val_mask
/linux-master/drivers/media/i2c/cx25840/
H A Dcx25840-audio.c532 if (state->mute->val)
535 set_volume(client, state->volume->val);
540 48 - (ctrl->val * 48 / 0xffff));
545 48 - (ctrl->val * 48 / 0xffff));
548 set_balance(client, ctrl->val);
/linux-master/drivers/media/i2c/et8ek8/
H A Det8ek8_reg.h54 u32 val; /* 8/16/32-bit value */ member in struct:et8ek8_reg
/linux-master/drivers/media/pci/cx18/
H A Dcx18-controls.c22 int type = cxhdl->stream_type->val;
75 static int cx18_s_video_encoding(struct cx2341x_handler *cxhdl, u32 val) argument
78 int is_mpeg1 = val == V4L2_MPEG_VIDEO_ENCODING_MPEG_1;
104 static int cx18_s_audio_mode(struct cx2341x_handler *cxhdl, u32 val) argument
108 cx->dualwatch_stereo_mode = val;
H A Dcx18-io.c13 void cx18_memset_io(struct cx18 *cx, void __iomem *addr, int val, size_t count) argument
16 u16 val2 = val | (val << 8);
21 cx18_writeb(cx, (u8) val, dst);
41 cx18_writeb(cx, (u8) val, dst);
44 void cx18_sw1_irq_enable(struct cx18 *cx, u32 val) argument
46 cx18_write_reg_expect(cx, val, SW1_INT_STATUS, ~val, val);
47 cx->sw1_irq_mask = cx18_read_reg(cx, SW1_INT_ENABLE_PCI) | val;
51 cx18_sw1_irq_disable(struct cx18 *cx, u32 val) argument
57 cx18_sw2_irq_enable(struct cx18 *cx, u32 val) argument
64 cx18_sw2_irq_disable(struct cx18 *cx, u32 val) argument
70 cx18_sw2_irq_disable_cpu(struct cx18 *cx, u32 val) argument
79 u32 val; local
[all...]
H A Dcx18-io.h30 void cx18_raw_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) argument
32 __raw_writel(val, addr);
35 static inline void cx18_raw_writel(struct cx18 *cx, u32 val, void __iomem *addr) argument
39 cx18_raw_writel_noretry(cx, val, addr);
40 if (val == cx18_raw_readl(cx, addr))
52 void cx18_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) argument
54 writel(val, addr);
57 static inline void cx18_writel(struct cx18 *cx, u32 val, void __iomem *addr) argument
61 cx18_writel_noretry(cx, val, addr);
62 if (val
68 cx18_writel_expect(struct cx18 *cx, u32 val, void __iomem *addr, u32 eval, u32 mask) argument
90 cx18_writew_noretry(struct cx18 *cx, u16 val, void __iomem *addr) argument
95 cx18_writew(struct cx18 *cx, u16 val, void __iomem *addr) argument
111 cx18_writeb_noretry(struct cx18 *cx, u8 val, void __iomem *addr) argument
116 cx18_writeb(struct cx18 *cx, u8 val, void __iomem *addr) argument
137 cx18_write_reg_noretry(struct cx18 *cx, u32 val, u32 reg) argument
142 cx18_write_reg(struct cx18 *cx, u32 val, u32 reg) argument
147 cx18_write_reg_expect(struct cx18 *cx, u32 val, u32 reg, u32 eval, u32 mask) argument
160 cx18_write_enc(struct cx18 *cx, u32 val, u32 addr) argument
[all...]
/linux-master/drivers/media/pci/cx23885/
H A Daltera-ci.c250 u8 val, u8 read)
253 return inter->fpga_rw(inter->dev, 0, val, read);
258 u8 flag, u8 read, int addr, u8 val)
280 mem = netup_fpga_op_rw(inter, NETUP_CI_DATA, val, read);
287 (read) ? mem : val);
249 netup_fpga_op_rw(struct fpga_internal *inter, int addr, u8 val, u8 read) argument
257 altera_ci_op_cam(struct dvb_ca_en50221 *en50221, int slot, u8 flag, u8 read, int addr, u8 val) argument
H A Daltera-ci.h27 int (*fpga_rw) (void *dev, int ad_rg, int val, int rw);
H A Dcx23885-ioctl.c46 reg->val = value;
64 reg->val = cx_read(reg->reg);
77 if (mc417_register_write(dev, (u16) reg->reg, (u32) reg->val))
95 cx_write(reg->reg, reg->val);
H A Dnetup-init.c15 static void i2c_av_write(struct i2c_adapter *i2c, u16 reg, u8 val) argument
28 buf[2] = val;
36 static void i2c_av_write4(struct i2c_adapter *i2c, u16 reg, u32 val) argument
49 buf[2] = val & 0xff;
50 buf[3] = (val >> 8) & 0xff;
51 buf[4] = (val >> 16) & 0xff;
52 buf[5] = val >> 24;
/linux-master/drivers/media/pci/cx25821/
H A Dcx25821-medusa-video.c555 u32 val = 0, tmp = 0; local
564 val = cx25821_i2c_read(&dev->i2c_bus[0],
566 val &= 0xFFFFFF00;
568 VDEC_A_BRITE_CTRL + (0x200 * decoder), val | value);
576 u32 val = 0, tmp = 0; local
584 val = cx25821_i2c_read(&dev->i2c_bus[0],
586 val &= 0xFFFFFF00;
588 VDEC_A_CNTRST_CTRL + (0x200 * decoder), val | value);
597 u32 val = 0, tmp = 0; local
607 val
621 u32 val = 0, tmp = 0; local
[all...]
/linux-master/drivers/media/pci/cx88/
H A Dcx88-tvaudio.c89 u32 val; member in struct:rlist
104 cx_writeb(l[i].reg, l[i].val);
107 cx_write(l[i].reg, l[i].val);
/linux-master/drivers/media/pci/ivtv/
H A Divtv-controls.c51 static int ivtv_s_video_encoding(struct cx2341x_handler *cxhdl, u32 val) argument
54 int is_mpeg1 = val == V4L2_MPEG_VIDEO_ENCODING_MPEG_1;
79 static int ivtv_s_audio_mode(struct cx2341x_handler *cxhdl, u32 val) argument
83 itv->dualwatch_stereo_mode = val;
142 itv->audio_stereo_mode = itv->ctrl_audio_playback->val - 1;
143 itv->audio_bilingual_mode = itv->ctrl_audio_multilingual_playback->val - 1;

Completed in 596 milliseconds

<<11121314151617181920>>