Home
last modified time | relevance | path

Searched refs:hdw (Results 1 – 22 of 22) sorted by relevance

/linux/drivers/media/usb/pvrusb2/
A Dpvrusb2-hdw.c346 struct pvr2_hdw *hdw = cptr->hdw; in ctrl_channelfreq_get() local
357 struct pvr2_hdw *hdw = cptr->hdw; in ctrl_channelfreq_set() local
385 struct pvr2_hdw *hdw = cptr->hdw; in ctrl_channelprog_set() local
394 struct pvr2_hdw *hdw = cptr->hdw; in ctrl_channel_get() local
402 struct pvr2_hdw *hdw = cptr->hdw; in ctrl_channel_set() local
685 struct pvr2_hdw *hdw = cptr->hdw; in ctrl_freq_max_get() local
707 struct pvr2_hdw *hdw = cptr->hdw; in ctrl_freq_min_get() local
2264 hdw,pvr2_hdw_dev_ok(hdw),hdw->flag_init_ok); in pvr2_hdw_setup()
2434 cptr->hdw = hdw; in pvr2_hdw_create()
2698 return (hdw && hdw->flag_ok); in pvr2_hdw_dev_ok()
[all …]
A Dpvrusb2-i2c-core.c60 memset(hdw->cmd_buffer, 0, sizeof(hdw->cmd_buffer)); in pvr2_i2c_write()
70 hdw->cmd_buffer, in pvr2_i2c_write()
72 hdw->cmd_buffer, in pvr2_i2c_write()
119 memset(hdw->cmd_buffer, 0, sizeof(hdw->cmd_buffer)); in pvr2_i2c_read()
131 hdw->cmd_buffer, in pvr2_i2c_read()
133 hdw->cmd_buffer, in pvr2_i2c_read()
622 strscpy(hdw->i2c_adap.name, hdw->name, sizeof(hdw->i2c_adap.name)); in pvr2_i2c_core_init()
623 hdw->i2c_adap.dev.parent = &hdw->usb_dev->dev; in pvr2_i2c_core_init()
624 hdw->i2c_adap.algo = &hdw->i2c_algo; in pvr2_i2c_core_init()
625 hdw->i2c_adap.algo_data = hdw; in pvr2_i2c_core_init()
[all …]
A Dpvrusb2-encoder.c48 memset(hdw->cmd_buffer,0,sizeof(hdw->cmd_buffer)); in pvr2_encoder_write_words()
94 hdw->cmd_buffer[0] = in pvr2_encoder_read_words()
97 hdw->cmd_buffer[1] = 0; in pvr2_encoder_read_words()
98 hdw->cmd_buffer[2] = 0; in pvr2_encoder_read_words()
105 hdw->cmd_buffer,8, in pvr2_encoder_read_words()
106 hdw->cmd_buffer, in pvr2_encoder_read_words()
393 (hdw->enc_cur_valid ? &hdw->enc_cur_state : NULL), in pvr2_encoder_adjust()
399 hdw->enc_cur_state = hdw->enc_ctl_state; in pvr2_encoder_adjust()
412 hdw->enc_ctl_state.width = hdw->res_hor_val; in pvr2_encoder_configure()
413 hdw->enc_ctl_state.height = hdw->res_ver_val; in pvr2_encoder_configure()
[all …]
A Dpvrusb2-v4l2.c112 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_querycap() local
127 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_g_std() local
140 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_s_std() local
152 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_querystd() local
165 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_enum_input() local
213 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_g_input() local
235 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_s_input() local
290 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_g_tuner() local
959 hdw = vp->channel.hdw; in pvr2_v4l2_open()
1068 hdw = fh->channel.mc_head->hdw; in pvr2_v4l2_iosetup()
[all …]
A Dpvrusb2-debugifc.c121 pvr2_hdw_get_desc(hdw)); in pvr2_debugifc_print_info()
142 ret = pvr2_hdw_is_hsm(hdw); in pvr2_debugifc_print_status()
148 pvr2_hdw_gpio_get_dir(hdw,&gpio_dir); in pvr2_debugifc_print_status()
150 pvr2_hdw_gpio_get_in(hdw,&gpio_in); in pvr2_debugifc_print_status()
160 sp = pvr2_hdw_get_video_stream(hdw); in pvr2_debugifc_print_status()
198 pvr2_hdw_cpureset_assert(hdw,!0); in pvr2_debugifc_do1cmd()
199 pvr2_hdw_cpureset_assert(hdw,0); in pvr2_debugifc_do1cmd()
202 pvr2_hdw_device_reset(hdw); in pvr2_debugifc_do1cmd()
204 return pvr2_hdw_cmd_powerup(hdw); in pvr2_debugifc_do1cmd()
208 return pvr2_upload_firmware2(hdw); in pvr2_debugifc_do1cmd()
[all …]
A Dpvrusb2-cs53l32a.c47 void pvr2_cs53l32a_subdev_update(struct pvr2_hdw *hdw, struct v4l2_subdev *sd) in pvr2_cs53l32a_subdev_update() argument
49 if (hdw->input_dirty || hdw->force_dirty) { in pvr2_cs53l32a_subdev_update()
51 unsigned int sid = hdw->hdw_desc->signal_routing_scheme; in pvr2_cs53l32a_subdev_update()
54 hdw->input_val); in pvr2_cs53l32a_subdev_update()
58 (hdw->input_val < 0) || in pvr2_cs53l32a_subdev_update()
59 (hdw->input_val >= sp->cnt)) { in pvr2_cs53l32a_subdev_update()
62 sid, hdw->input_val); in pvr2_cs53l32a_subdev_update()
65 input = sp->def[hdw->input_val]; in pvr2_cs53l32a_subdev_update()
A Dpvrusb2-video-v4l.c64 void pvr2_saa7115_subdev_update(struct pvr2_hdw *hdw, struct v4l2_subdev *sd) in pvr2_saa7115_subdev_update() argument
66 if (hdw->input_dirty || hdw->force_dirty) { in pvr2_saa7115_subdev_update()
68 unsigned int sid = hdw->hdw_desc->signal_routing_scheme; in pvr2_saa7115_subdev_update()
72 hdw->input_val); in pvr2_saa7115_subdev_update()
77 (hdw->input_val < 0) || in pvr2_saa7115_subdev_update()
78 (hdw->input_val >= sp->cnt)) { in pvr2_saa7115_subdev_update()
81 sid, hdw->input_val); in pvr2_saa7115_subdev_update()
84 input = sp->def[hdw->input_val]; in pvr2_saa7115_subdev_update()
A Dpvrusb2-context.c70 pvr2_hdw_destroy(mp->hdw); in pvr2_context_destroy()
109 if (pvr2_hdw_initialize(mp->hdw, in pvr2_context_check()
113 pvr2_hdw_get_video_stream(mp->hdw); in pvr2_context_check()
223 if (!mp->hdw) { in pvr2_context_create()
238 struct pvr2_hdw *hdw = mp->hdw; in pvr2_context_reset_input_limits() local
246 pvr2_hdw_commit_ctl(hdw); in pvr2_context_reset_input_limits()
269 pvr2_hdw_disconnect(mp->hdw); in pvr2_context_disconnect()
278 cp->hdw = mp->hdw; in pvr2_channel_init()
318 cp->hdw = NULL; in pvr2_channel_done()
328 struct pvr2_hdw *hdw = cp->hdw; in pvr2_channel_limit_inputs() local
[all …]
A Dpvrusb2-eeprom.c31 static u8 *pvr2_eeprom_fetch(struct pvr2_hdw *hdw) in pvr2_eeprom_fetch() argument
50 hdw->eeprom_addr); in pvr2_eeprom_fetch()
51 addr = hdw->eeprom_addr; in pvr2_eeprom_fetch()
89 if ((ret = i2c_transfer(&hdw->i2c_adap, in pvr2_eeprom_fetch()
102 int pvr2_eeprom_analyze(struct pvr2_hdw *hdw) in pvr2_eeprom_analyze() argument
109 eeprom = pvr2_eeprom_fetch(hdw); in pvr2_eeprom_analyze()
125 hdw->tuner_type = tvdata.tuner_type; in pvr2_eeprom_analyze()
126 hdw->tuner_updated = !0; in pvr2_eeprom_analyze()
127 hdw->serial_number = tvdata.serial_number; in pvr2_eeprom_analyze()
128 hdw->std_mask_eeprom = tvdata.tuner_formats; in pvr2_eeprom_analyze()
A Dpvrusb2-audio.c46 void pvr2_msp3400_subdev_update(struct pvr2_hdw *hdw, struct v4l2_subdev *sd) in pvr2_msp3400_subdev_update() argument
48 if (hdw->input_dirty || hdw->force_dirty) { in pvr2_msp3400_subdev_update()
50 unsigned int sid = hdw->hdw_desc->signal_routing_scheme; in pvr2_msp3400_subdev_update()
58 (hdw->input_val >= 0) && in pvr2_msp3400_subdev_update()
59 (hdw->input_val < sp->cnt)) { in pvr2_msp3400_subdev_update()
60 input = sp->def[hdw->input_val]; in pvr2_msp3400_subdev_update()
64 sid, hdw->input_val); in pvr2_msp3400_subdev_update()
A Dpvrusb2-hdw.h265 int pvr2_hdw_gpio_get_dir(struct pvr2_hdw *hdw,u32 *);
266 int pvr2_hdw_gpio_get_out(struct pvr2_hdw *hdw,u32 *);
267 int pvr2_hdw_gpio_get_in(struct pvr2_hdw *hdw,u32 *);
268 int pvr2_hdw_gpio_chg_dir(struct pvr2_hdw *hdw,u32 msk,u32 val);
269 int pvr2_hdw_gpio_chg_out(struct pvr2_hdw *hdw,u32 msk,u32 val);
306 void pvr2_hdw_get_debug_info_unlocked(const struct pvr2_hdw *hdw,
313 void pvr2_hdw_get_debug_info_locked(struct pvr2_hdw *hdw,
318 unsigned int pvr2_hdw_state_report(struct pvr2_hdw *hdw,
322 void pvr2_hdw_trigger_module_log(struct pvr2_hdw *hdw);
327 int pvr2_upload_firmware2(struct pvr2_hdw *hdw);
A Dpvrusb2-cx2584x-v4l.c135 void pvr2_cx25840_subdev_update(struct pvr2_hdw *hdw, struct v4l2_subdev *sd) in pvr2_cx25840_subdev_update() argument
138 if (hdw->input_dirty || hdw->force_dirty) { in pvr2_cx25840_subdev_update()
142 unsigned int sid = hdw->hdw_desc->signal_routing_scheme; in pvr2_cx25840_subdev_update()
147 (hdw->input_val < 0) || in pvr2_cx25840_subdev_update()
148 (hdw->input_val >= sp->cnt)) { in pvr2_cx25840_subdev_update()
151 sid, hdw->input_val); in pvr2_cx25840_subdev_update()
154 vid_input = sp->def[hdw->input_val].vid; in pvr2_cx25840_subdev_update()
155 aud_input = sp->def[hdw->input_val].aud; in pvr2_cx25840_subdev_update()
A Dpvrusb2-ctrl.c50 LOCK_TAKE(cptr->hdw->big_lock); do { in pvr2_ctrl_set_mask_value()
65 } while(0); LOCK_GIVE(cptr->hdw->big_lock); in pvr2_ctrl_set_mask_value()
75 LOCK_TAKE(cptr->hdw->big_lock); do { in pvr2_ctrl_get_value()
95 LOCK_TAKE(cptr->hdw->big_lock); do { in pvr2_ctrl_get_max()
111 LOCK_TAKE(cptr->hdw->big_lock); do { in pvr2_ctrl_get_min()
127 LOCK_TAKE(cptr->hdw->big_lock); do { in pvr2_ctrl_get_def()
143 LOCK_TAKE(cptr->hdw->big_lock); do { in pvr2_ctrl_get_cnt()
157 LOCK_TAKE(cptr->hdw->big_lock); do { in pvr2_ctrl_get_mask()
190 LOCK_TAKE(cptr->hdw->big_lock); do { in pvr2_ctrl_get_valname()
475 LOCK_TAKE(cptr->hdw->big_lock); do { in pvr2_ctrl_sym_to_value()
[all …]
A Dpvrusb2-wm8775.c24 void pvr2_wm8775_subdev_update(struct pvr2_hdw *hdw, struct v4l2_subdev *sd) in pvr2_wm8775_subdev_update() argument
26 if (hdw->input_dirty || hdw->force_dirty) { in pvr2_wm8775_subdev_update()
29 switch (hdw->input_val) { in pvr2_wm8775_subdev_update()
39 hdw->input_val, input); in pvr2_wm8775_subdev_update()
A Dpvrusb2-devattr.c186 &adap->channel.hdw->i2c_adap); in pvr2_lgdt3303_attach()
196 &adap->channel.hdw->i2c_adap, 0x61, in pvr2_lgh06xf_attach()
246 &adap->channel.hdw->i2c_adap); in pvr2_lgdt3302_attach()
256 &adap->channel.hdw->i2c_adap, 0x61, in pvr2_fcv1236d_attach()
332 &adap->channel.hdw->i2c_adap); in pvr2_tda10048_attach()
342 &adap->channel.hdw->i2c_adap, 0x42, in pvr2_73xxx_tda18271_8295_attach()
345 &adap->channel.hdw->i2c_adap, in pvr2_73xxx_tda18271_8295_attach()
430 &adap->channel.hdw->i2c_adap); in pvr2_s5h1409_attach()
440 &adap->channel.hdw->i2c_adap); in pvr2_s5h1411_attach()
453 &adap->channel.hdw->i2c_adap, in pvr2_tda18271_8295_attach()
[all …]
A Dpvrusb2-sysfs.c254 pvr2_hdw_commit_ctl(cip->chptr->channel.hdw); in store_val_any()
469 cnt = pvr2_hdw_get_ctrl_count(sfp->channel.hdw); in pvr2_sysfs_add_controls()
555 pvr2_hdw_v4l_get_minor_number(sfp->channel.hdw, in v4l_minor_number_show()
567 pvr2_hdw_get_bus_info(sfp->channel.hdw)); in bus_info_show()
578 pvr2_hdw_get_type(sfp->channel.hdw)); in hdw_name_show()
589 pvr2_hdw_get_desc(sfp->channel.hdw)); in hdw_desc_show()
601 pvr2_hdw_v4l_get_minor_number(sfp->channel.hdw, in v4l_radio_minor_number_show()
613 pvr2_hdw_get_unit_number(sfp->channel.hdw)); in unit_number_show()
624 usb_dev = pvr2_hdw_get_dev(sfp->channel.hdw); in class_dev_create()
807 pvr2_hdw_trigger_module_log(sfp->channel.hdw); in debuginfo_show()
[all …]
A Dpvrusb2-dvb.c112 pvr2_hdw_set_streaming(adap->channel.hdw, 0); in pvr2_dvb_stream_end()
164 ret = pvr2_hdw_set_streaming(adap->channel.hdw, 1); in pvr2_dvb_stream_do_start()
249 &adap->channel.hdw->usb_dev->dev, in pvr2_dvb_adapter_init()
311 struct pvr2_hdw *hdw = adap->channel.hdw; in pvr2_dvb_frontend_init() local
312 const struct pvr2_dvb_props *dvb_props = hdw->hdw_desc->dvb_props; in pvr2_dvb_frontend_init()
449 if (!pvr->hdw->hdw_desc->dvb_props) { in pvr2_dvb_create()
A Dpvrusb2-context.h33 struct pvr2_hdw *hdw; member
50 struct pvr2_hdw *hdw; member
A DMakefile10 pvrusb2-main.o pvrusb2-hdw.o pvrusb2-v4l2.o \
A Dpvrusb2-hdw-internal.h124 struct pvr2_hdw *hdw; member
/linux/Documentation/driver-api/media/drivers/
A Dpvrusb2.rst112 pvrusb2-hdw-internal.h - This header defines the core data structure
119 pvrusb2-hdw.h and NOT this header.
121 pvrusb2-hdw.h - This header defines the full internal API for
125 pvrusb2-hdw.c - This module implements all the various bits of logic
156 glue logic which is coordinated by pvrusb2-hdw, doled out by
/linux/drivers/scsi/lpfc/
A Dlpfc_attr.c102 lpfc_jedec_to_ascii(int incr, char hdw[]) in lpfc_jedec_to_ascii() argument
108 hdw[7 - i] = 0x30 + j; in lpfc_jedec_to_ascii()
110 hdw[7 - i] = 0x61 + j - 10; in lpfc_jedec_to_ascii()
113 hdw[8] = 0; in lpfc_jedec_to_ascii()
1007 char hdw[9]; in lpfc_hdw_show() local
1013 lpfc_jedec_to_ascii(vp->rev.biuRev, hdw); in lpfc_hdw_show()
1014 return scnprintf(buf, PAGE_SIZE, "%s %08x %08x\n", hdw, in lpfc_hdw_show()
2792 static DEVICE_ATTR(hdw, S_IRUGO, lpfc_hdw_show, NULL);

Completed in 75 milliseconds