Searched defs:priv (Results 126 - 150 of 752) sorted by relevance

1234567891011>>

/drivers/media/common/tuners/
H A Dtda18212.c43 static int tda18212_wr_regs(struct tda18212_priv *priv, u8 reg, u8 *val, argument
50 .addr = priv->cfg->i2c_address,
60 ret = i2c_transfer(priv->i2c, msg, 1);
72 static int tda18212_rd_regs(struct tda18212_priv *priv, u8 reg, u8 *val, argument
79 .addr = priv->cfg->i2c_address,
84 .addr = priv->cfg->i2c_address,
91 ret = i2c_transfer(priv->i2c, msg, 2);
105 static int tda18212_wr_reg(struct tda18212_priv *priv, u8 reg, u8 val) argument
107 return tda18212_wr_regs(priv, reg, &val, 1);
111 static int tda18212_rd_reg(struct tda18212_priv *priv, u argument
135 struct tda18212_priv *priv = fe->tuner_priv; local
256 struct tda18212_priv *priv = fe->tuner_priv; local
288 struct tda18212_priv *priv = NULL; local
[all...]
H A Dtda18218.c29 static int tda18218_wr_regs(struct tda18218_priv *priv, u8 reg, u8 *val, u8 len) argument
35 .addr = priv->cfg->i2c_address,
41 msg_len_max = priv->cfg->i2c_wr_max - 1;
53 ret = i2c_transfer(priv->i2c, msg, 1);
69 static int tda18218_rd_regs(struct tda18218_priv *priv, u8 reg, u8 *val, u8 len) argument
75 .addr = priv->cfg->i2c_address,
80 .addr = priv->cfg->i2c_address,
87 ret = i2c_transfer(priv->i2c, msg, 2);
100 static int tda18218_wr_reg(struct tda18218_priv *priv, u8 reg, u8 val) argument
102 return tda18218_wr_regs(priv, re
107 tda18218_rd_reg(struct tda18218_priv *priv, u8 reg, u8 *val) argument
114 struct tda18218_priv *priv = fe->tuner_priv; local
209 struct tda18218_priv *priv = fe->tuner_priv; local
217 struct tda18218_priv *priv = fe->tuner_priv; local
237 struct tda18218_priv *priv = fe->tuner_priv; local
284 struct tda18218_priv *priv = NULL; local
[all...]
/drivers/media/dvb/frontends/
H A Dcxd2820r_c.c26 struct cxd2820r_priv *priv = fe->demodulator_priv; local
46 { 0x1001f, priv->cfg.if_agc_polarity << 7, 0x80 },
47 { 0x10070, priv->cfg.ts_mode, 0xff },
61 if (priv->delivery_system != SYS_DVBC_ANNEX_A) {
63 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg,
70 priv->delivery_system = SYS_DVBC_ANNEX_A;
71 priv->ber_running = 0; /* tune stops BER counter */
89 ret = cxd2820r_wr_regs(priv, 0x10042, buf, 2);
93 ret = cxd2820r_wr_reg(priv, 0x000ff, 0x08);
97 ret = cxd2820r_wr_reg(priv,
109 struct cxd2820r_priv *priv = fe->demodulator_priv; local
159 struct cxd2820r_priv *priv = fe->demodulator_priv; local
194 struct cxd2820r_priv *priv = fe->demodulator_priv; local
223 struct cxd2820r_priv *priv = fe->demodulator_priv; local
267 struct cxd2820r_priv *priv = fe->demodulator_priv; local
296 struct cxd2820r_priv *priv = fe->demodulator_priv; local
311 struct cxd2820r_priv *priv = fe->demodulator_priv; local
[all...]
H A Dcxd2820r_t.c26 struct cxd2820r_priv *priv = fe->demodulator_priv; local
48 { 0x00070, priv->cfg.ts_mode, 0xff },
49 { 0x000cb, priv->cfg.if_agc_polarity << 6, 0x40 },
85 if (priv->delivery_system != SYS_DVBT) {
87 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg,
94 priv->delivery_system = SYS_DVBT;
95 priv->ber_running = 0; /* tune stops BER counter */
114 ret = cxd2820r_wr_regs(priv, 0x000b6, buf, 3);
118 ret = cxd2820r_wr_regs(priv, 0x0009f, bw_params1[bw_i], 5);
122 ret = cxd2820r_wr_reg_mask(priv,
146 struct cxd2820r_priv *priv = fe->demodulator_priv; local
263 struct cxd2820r_priv *priv = fe->demodulator_priv; local
298 struct cxd2820r_priv *priv = fe->demodulator_priv; local
321 struct cxd2820r_priv *priv = fe->demodulator_priv; local
356 struct cxd2820r_priv *priv = fe->demodulator_priv; local
403 struct cxd2820r_priv *priv = fe->demodulator_priv; local
418 struct cxd2820r_priv *priv = fe->demodulator_priv; local
[all...]
H A Dcxd2820r_t2.c26 struct cxd2820r_priv *priv = fe->demodulator_priv; local
48 { 0x020cb, priv->cfg.if_agc_polarity << 6, 0x40 },
49 { 0x02070, priv->cfg.ts_mode, 0xff },
50 { 0x020b5, priv->cfg.spec_inv << 4, 0x10 },
103 if (priv->delivery_system != SYS_DVBT2) {
105 ret = cxd2820r_wr_reg_mask(priv, tab[i].reg,
112 priv->delivery_system = SYS_DVBT2;
131 ret = cxd2820r_wr_regs(priv, 0x020b6, buf, 3);
135 ret = cxd2820r_wr_regs(priv, 0x0209f, bw_params1[bw_i], 5);
139 ret = cxd2820r_wr_reg_mask(priv,
160 struct cxd2820r_priv *priv = fe->demodulator_priv; local
275 struct cxd2820r_priv *priv = fe->demodulator_priv; local
304 struct cxd2820r_priv *priv = fe->demodulator_priv; local
332 struct cxd2820r_priv *priv = fe->demodulator_priv; local
355 struct cxd2820r_priv *priv = fe->demodulator_priv; local
390 struct cxd2820r_priv *priv = fe->demodulator_priv; local
[all...]
H A Dtua6100.c54 struct tua6100_priv *priv = fe->tuner_priv; local
57 struct i2c_msg msg = { .addr = priv->i2c_address, .flags = 0, .buf = reg0, .len = 2 };
61 if ((ret = i2c_transfer (priv->i2c, &msg, 1)) != 1) {
73 struct tua6100_priv *priv = fe->tuner_priv; local
79 struct i2c_msg msg0 = { .addr = priv->i2c_address, .flags = 0, .buf = reg0, .len = 2 };
80 struct i2c_msg msg1 = { .addr = priv->i2c_address, .flags = 0, .buf = reg1, .len = 4 };
81 struct i2c_msg msg2 = { .addr = priv->i2c_address, .flags = 0, .buf = reg2, .len = 3 };
123 priv->frequency = ((div * _P) * (_ri / 1000)) / _R;
134 if (i2c_transfer(priv->i2c, &msg0, 1) != 1)
139 if (i2c_transfer(priv
155 struct tua6100_priv *priv = fe->tuner_priv; local
175 struct tua6100_priv *priv = NULL; local
[all...]
/drivers/media/dvb/ngene/
H A Dngene-dvb.c54 struct ngene_channel *chan = dvbdev->priv;
71 struct ngene_channel *chan = dvbdev->priv;
100 .priv = 0,
131 void *tsin_exchange(void *priv, void *buf, u32 len, u32 clock, u32 flags) argument
133 struct ngene_channel *chan = priv;
174 void *tsout_exchange(void *priv, void *buf, u32 len, u32 clock, u32 flags) argument
176 struct ngene_channel *chan = priv;
199 struct ngene_channel *chan = dvbdmx->priv;
212 struct ngene_channel *chan = dvbdmx->priv;
226 void *priv)
223 my_dvb_dmx_ts_card_init(struct dvb_demux *dvbdemux, char *id, int (*start_feed)(struct dvb_demux_feed *), int (*stop_feed)(struct dvb_demux_feed *), void *priv) argument
[all...]
/drivers/media/radio/
H A Dradio-isa.c45 static int radio_isa_querycap(struct file *file, void *priv, argument
59 static int radio_isa_g_tuner(struct file *file, void *priv, argument
89 static int radio_isa_s_tuner(struct file *file, void *priv, argument
104 static int radio_isa_s_frequency(struct file *file, void *priv, argument
119 static int radio_isa_g_frequency(struct file *file, void *priv, argument
144 static int radio_isa_log_status(struct file *file, void *priv) argument
H A Dradio-timb.c41 static int timbradio_vidioc_querycap(struct file *file, void *priv, argument
51 static int timbradio_vidioc_g_tuner(struct file *file, void *priv, argument
58 static int timbradio_vidioc_s_tuner(struct file *file, void *priv, argument
65 static int timbradio_vidioc_g_input(struct file *filp, void *priv, argument
72 static int timbradio_vidioc_s_input(struct file *filp, void *priv, argument
78 static int timbradio_vidioc_g_audio(struct file *file, void *priv, argument
87 static int timbradio_vidioc_s_audio(struct file *file, void *priv, argument
93 static int timbradio_vidioc_s_frequency(struct file *file, void *priv, argument
100 static int timbradio_vidioc_g_frequency(struct file *file, void *priv, argument
107 static int timbradio_vidioc_queryctrl(struct file *file, void *priv, argument
114 timbradio_vidioc_g_ctrl(struct file *file, void *priv, struct v4l2_control *ctrl) argument
121 timbradio_vidioc_s_ctrl(struct file *file, void *priv, struct v4l2_control *ctrl) argument
[all...]
/drivers/media/video/cx23885/
H A Dcx23885-vbi.c50 int cx23885_vbi_fmt(struct file *file, void *priv, argument
53 struct cx23885_fh *fh = priv;
/drivers/media/video/cx88/
H A Dcx88-vbi.c22 int cx8800_vbi_fmt (struct file *file, void *priv, argument
25 struct cx8800_fh *fh = priv;
/drivers/media/video/gspca/stv06xx/
H A Dstv06xx_vv6410.c43 .priv = 0
175 u32 priv = cam->cam_mode[sd->gspca_dev.curr_mode].priv; local
177 if (priv & VV6410_SUBSAMPLE) {
/drivers/media/video/omap3isp/
H A Disph3a_aewb.c38 static void h3a_aewb_setup_regs(struct ispstat *aewb, void *priv) argument
40 struct omap3isp_h3a_aewb_config *conf = priv;
201 struct omap3isp_h3a_aewb_config *cur_cfg = aewb->priv;
317 aewb->priv = aewb_cfg;
371 kfree(isp->isp_aewb.priv);
/drivers/media/video/
H A Dvideobuf-vmalloc.c91 mem = q->bufs[i]->priv;
147 mem = vb->priv = ((char *)vb) + size;
161 struct videobuf_vmalloc_memory *mem = vb->priv;
252 mem = buf->priv;
307 void *priv,
311 priv, &qops, ext_lock);
317 struct videobuf_vmalloc_memory *mem = buf->priv;
327 struct videobuf_vmalloc_memory *mem = buf->priv;
300 videobuf_queue_vmalloc_init(struct videobuf_queue *q, const struct videobuf_queue_ops *ops, struct device *dev, spinlock_t *irqlock, enum v4l2_buf_type type, enum v4l2_field field, unsigned int msize, void *priv, struct mutex *ext_lock) argument
/drivers/mfd/
H A Djanz-cmodio.c66 static int __devinit cmodio_setup_subdevice(struct cmodio_device *priv, argument
75 pci = priv->pdev;
76 cell = &priv->cells[devno];
77 res = &priv->resources[devno * 3];
78 pdata = &priv->pdata[devno];
123 static int __devinit cmodio_probe_submodules(struct cmodio_device *priv) argument
125 struct pci_dev *pdev = priv->pdev;
135 dev_dbg(&priv->pdev->dev, "MODULbus %d: name %s\n", i, name);
136 cmodio_setup_subdevice(priv, name, num_probed, i);
142 dev_err(&priv
160 struct cmodio_device *priv = dev_get_drvdata(dev); local
183 struct cmodio_device *priv; local
259 struct cmodio_device *priv = pci_get_drvdata(dev); local
[all...]
H A Dmcp-sa11x0.c46 #define priv(mcp) ((struct mcp_sa11x0 *)mcp_priv(mcp)) macro
51 struct mcp_sa11x0 *m = priv(mcp);
63 struct mcp_sa11x0 *m = priv(mcp);
81 struct mcp_sa11x0 *m = priv(mcp);
108 struct mcp_sa11x0 *m = priv(mcp);
130 struct mcp_sa11x0 *m = priv(mcp);
139 struct mcp_sa11x0 *m = priv(mcp);
195 m = priv(mcp);
245 struct mcp_sa11x0 *m = priv(mcp);
269 struct mcp_sa11x0 *m = priv(dev_get_drvdat
[all...]
/drivers/misc/iwmc3200top/
H A Dfw-download.c41 static int iwmct_fw_parser_init(struct iwmct_priv *priv, const u8 *file, argument
44 struct iwmct_parser *parser = &priv->parser;
47 LOG_TRACE(priv, FW_DOWNLOAD, "-->\n");
49 LOG_INFO(priv, FW_DOWNLOAD, "file_size=%zd\n", file_size);
57 LOG_ERROR(priv, FW_DOWNLOAD, "kzalloc error\n");
64 LOG_INFO(priv, FW_DOWNLOAD, "fw versions are:\n"
73 LOG_TRACE(priv, FW_DOWNLOAD, "<--\n");
77 static bool iwmct_checksum(struct iwmct_priv *priv) argument
79 struct iwmct_parser *parser = &priv->parser;
89 LOG_INFO(priv, FW_DOWNLOA
109 iwmct_parse_next_section(struct iwmct_priv *priv, const u8 **p_sec, size_t *sec_size, __le32 *sec_addr) argument
159 iwmct_download_section(struct iwmct_priv *priv, const u8 *p_sec, size_t sec_size, __le32 addr) argument
258 iwmct_kick_fw(struct iwmct_priv *priv, bool jump) argument
292 iwmct_fw_load(struct iwmct_priv *priv) argument
[all...]
H A Dlog.h90 #define priv2dev(priv) (&(priv->func)->dev)
92 #define LOG_CRITICAL(priv, src, fmt, args...) \
95 dev_crit(priv2dev(priv), "%s %d: " fmt, \
99 #define LOG_ERROR(priv, src, fmt, args...) \
102 dev_err(priv2dev(priv), "%s %d: " fmt, \
106 #define LOG_WARNING(priv, src, fmt, args...) \
109 dev_warn(priv2dev(priv), "%s %d: " fmt, \
113 #define LOG_INFO(priv, src, fmt, args...) \
116 dev_info(priv2dev(priv), "
161 iwmct_log_top_message(struct iwmct_priv *priv, u8 *buf, int len) argument
[all...]
/drivers/mmc/host/
H A Dsh_mobile_sdhi.c104 struct sh_mobile_sdhi *priv; local
112 priv = kzalloc(sizeof(struct sh_mobile_sdhi), GFP_KERNEL);
113 if (priv == NULL) {
118 mmc_data = &priv->mmc_data;
128 priv->clk = clk_get(&pdev->dev, clk_name);
129 if (IS_ERR(priv->clk)) {
131 ret = PTR_ERR(priv->clk);
135 mmc_data->hclk = clk_get_rate(priv->clk);
148 priv->param_tx.slave_id = p->dma_slave_tx;
149 priv
262 struct sh_mobile_sdhi *priv = container_of(host->pdata, struct sh_mobile_sdhi, mmc_data); local
[all...]
H A Dtmio_mmc_dma.c219 static void tmio_mmc_issue_tasklet_fn(unsigned long priv) argument
221 struct tmio_mmc_host *host = (struct tmio_mmc_host *)priv;
/drivers/net/can/cc770/
H A Dcc770_isa.c120 static u8 cc770_isa_mem_read_reg(const struct cc770_priv *priv, int reg) argument
122 return readb(priv->reg_base + reg);
125 static void cc770_isa_mem_write_reg(const struct cc770_priv *priv, argument
128 writeb(val, priv->reg_base + reg);
131 static u8 cc770_isa_port_read_reg(const struct cc770_priv *priv, int reg) argument
133 return inb((unsigned long)priv->reg_base + reg);
136 static void cc770_isa_port_write_reg(const struct cc770_priv *priv, argument
139 outb(val, (unsigned long)priv->reg_base + reg);
142 static u8 cc770_isa_port_read_reg_indirect(const struct cc770_priv *priv, argument
145 unsigned long base = (unsigned long)priv
157 cc770_isa_port_write_reg_indirect(const struct cc770_priv *priv, int reg, u8 val) argument
172 struct cc770_priv *priv; local
297 struct cc770_priv *priv = netdev_priv(dev); local
[all...]
/drivers/net/can/sja1000/
H A Dsja1000_isa.c80 static u8 sja1000_isa_mem_read_reg(const struct sja1000_priv *priv, int reg) argument
82 return readb(priv->reg_base + reg);
85 static void sja1000_isa_mem_write_reg(const struct sja1000_priv *priv, argument
88 writeb(val, priv->reg_base + reg);
91 static u8 sja1000_isa_port_read_reg(const struct sja1000_priv *priv, int reg) argument
93 return inb((unsigned long)priv->reg_base + reg);
96 static void sja1000_isa_port_write_reg(const struct sja1000_priv *priv, argument
99 outb(val, (unsigned long)priv->reg_base + reg);
102 static u8 sja1000_isa_port_read_reg_indirect(const struct sja1000_priv *priv, argument
105 unsigned long base = (unsigned long)priv
111 sja1000_isa_port_write_reg_indirect(const struct sja1000_priv *priv, int reg, u8 val) argument
123 struct sja1000_priv *priv; local
229 struct sja1000_priv *priv = netdev_priv(dev); local
[all...]
H A Dtscan1.c79 static u8 tscan1_read(const struct sja1000_priv *priv, int reg) argument
81 return inb((unsigned long)priv->reg_base + reg);
85 static void tscan1_write(const struct sja1000_priv *priv, int reg, u8 val) argument
87 outb(val, (unsigned long)priv->reg_base + reg);
94 struct sja1000_priv *priv; local
136 priv = netdev_priv(netdev);
137 priv->read_reg = tscan1_read;
138 priv->write_reg = tscan1_write;
139 priv->can.clock.freq = TSCAN1_SJA1000_XTAL / 2;
140 priv
177 struct sja1000_priv *priv; local
[all...]
/drivers/net/ethernet/mellanox/mlx4/
H A Dalloc.c314 struct mlx4_priv *priv = mlx4_priv(dev); local
318 mutex_lock(&priv->pgdir_mutex);
320 list_for_each_entry(pgdir, &priv->pgdir_list, list)
330 list_add(&pgdir->list, &priv->pgdir_list);
336 mutex_unlock(&priv->pgdir_mutex);
344 struct mlx4_priv *priv = mlx4_priv(dev); local
348 mutex_lock(&priv->pgdir_mutex);
367 mutex_unlock(&priv->pgdir_mutex);
H A Dprofile.c74 struct mlx4_priv *priv = mlx4_priv(dev); local
192 for (priv->qp_table.rdmarc_shift = 0;
193 request->num_qp << priv->qp_table.rdmarc_shift < profile[i].num;
194 ++priv->qp_table.rdmarc_shift)
196 dev->caps.max_qp_dest_rdma = 1 << priv->qp_table.rdmarc_shift;
197 priv->qp_table.rdmarc_base = (u32) profile[i].start;
199 init_hca->log_rd_per_qp = priv->qp_table.rdmarc_shift;
224 priv->mr_table.mpt_base = profile[i].start;
233 priv->mr_table.mtt_base = profile[i].start;

Completed in 1946 milliseconds

1234567891011>>