/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/dvb/firewire/ |
H A D | firedtv-dvb.c | 33 static int alloc_channel(struct firedtv *fdtv) argument 38 if (!__test_and_set_bit(i, &fdtv->channel_active)) 43 static void collect_channels(struct firedtv *fdtv, int *pidc, u16 pid[]) argument 48 if (test_bit(i, &fdtv->channel_active)) 49 pid[n++] = fdtv->channel_pid[i]; 53 static inline void dealloc_channel(struct firedtv *fdtv, int i) argument 55 __clear_bit(i, &fdtv->channel_active); 60 struct firedtv *fdtv = dvbdmxfeed->demux->priv; local 69 dev_err(fdtv->device, "can't start dmx feed: invalid type %u\n", 74 if (mutex_lock_interruptible(&fdtv 131 struct firedtv *fdtv = demux->priv; local 169 fdtv_dvb_register(struct firedtv *fdtv) argument 240 fdtv_dvb_unregister(struct firedtv *fdtv) argument 264 struct firedtv *fdtv; local [all...] |
H A D | firedtv.h | 76 int (*lock)(struct firedtv *fdtv, u64 addr, void *data); 77 int (*read)(struct firedtv *fdtv, u64 addr, void *data); 78 int (*write)(struct firedtv *fdtv, u64 addr, void *data, size_t len); 79 int (*start_iso)(struct firedtv *fdtv); 80 void (*stop_iso)(struct firedtv *fdtv); 131 int avc_recv(struct firedtv *fdtv, void *data, size_t length); 132 int avc_tuner_status(struct firedtv *fdtv, struct firedtv_tuner_status *stat); 134 int avc_tuner_dsd(struct firedtv *fdtv, struct dvb_frontend_parameters *params); 135 int avc_tuner_set_pids(struct firedtv *fdtv, unsigned char pidc, u16 pid[]); 136 int avc_tuner_get_ts(struct firedtv *fdtv); 187 fdtv_register_rc(struct firedtv *fdtv, struct device *dev) argument 189 fdtv_unregister_rc(struct firedtv *fdtv) argument 190 fdtv_handle_rc(struct firedtv *fdtv, unsigned int code) argument [all...] |
H A D | firedtv-1394.c | 43 struct firedtv *f, *fdtv = NULL; local 52 fdtv = f; 60 if (!fdtv) { 77 dvb_dmx_swfilter_packets(&fdtv->demux, 80 dev_err(fdtv->device, 89 static inline struct node_entry *node_of(struct firedtv *fdtv) argument 91 return container_of(fdtv->device, struct unit_directory, device)->ne; 94 static int node_lock(struct firedtv *fdtv, u64 addr, void *data) argument 99 ret = hpsb_node_lock(node_of(fdtv), addr, 106 static int node_read(struct firedtv *fdtv, u6 argument 111 node_write(struct firedtv *fdtv, u64 addr, void *data, size_t len) argument 119 start_iso(struct firedtv *fdtv) argument 144 stop_iso(struct firedtv *fdtv) argument 166 struct firedtv *f, *fdtv = NULL; local 193 struct firedtv *fdtv; local 240 struct firedtv *fdtv = dev_get_drvdata(dev); local 256 struct firedtv *fdtv = dev_get_drvdata(&ud->device); local [all...] |
H A D | firedtv-ci.c | 48 static int fdtv_ca_reset(struct firedtv *fdtv) argument 50 return avc_ca_reset(fdtv) ? -EFAULT : 0; 64 static int fdtv_ca_get_slot_info(struct firedtv *fdtv, void *arg) argument 69 if (avc_tuner_status(fdtv, &stat)) 80 static int fdtv_ca_app_info(struct firedtv *fdtv, void *arg) argument 84 return avc_ca_app_info(fdtv, reply->msg, &reply->length) ? -EFAULT : 0; 87 static int fdtv_ca_info(struct firedtv *fdtv, void *arg) argument 91 return avc_ca_info(fdtv, reply->msg, &reply->length) ? -EFAULT : 0; 94 static int fdtv_ca_get_mmi(struct firedtv *fdtv, void *arg) argument 98 return avc_ca_get_mmi(fdtv, repl 101 fdtv_ca_get_msg(struct firedtv *fdtv, void *arg) argument 128 fdtv_ca_pmt(struct firedtv *fdtv, void *arg) argument 147 fdtv_ca_send_msg(struct firedtv *fdtv, void *arg) argument 181 struct firedtv *fdtv = dvbdev->priv; local 232 fdtv_ca_register(struct firedtv *fdtv) argument 254 fdtv_ca_release(struct firedtv *fdtv) argument [all...] |
H A D | firedtv-fe.c | 25 struct firedtv *fdtv = fe->sec_priv; local 28 fdtv->isochannel = fdtv->adapter.num; 30 err = cmp_establish_pp_connection(fdtv, fdtv->subunit, 31 fdtv->isochannel); 33 dev_err(fdtv->device, 38 return fdtv->backend->start_iso(fdtv); 43 struct firedtv *fdtv local 56 struct firedtv *fdtv = fe->sec_priv; local 70 struct firedtv *fdtv = fe->sec_priv; local 79 struct firedtv *fdtv = fe->sec_priv; local 87 struct firedtv *fdtv = fe->sec_priv; local 103 struct firedtv *fdtv = fe->sec_priv; local 115 struct firedtv *fdtv = fe->sec_priv; local 127 struct firedtv *fdtv = fe->sec_priv; local 146 struct firedtv *fdtv = fe->sec_priv; local 157 fdtv_frontend_init(struct firedtv *fdtv) argument [all...] |
H A D | firedtv-fw.c | 25 static inline struct fw_device *device_of(struct firedtv *fdtv) argument 27 return fw_device(fdtv->device->parent); 30 static int node_req(struct firedtv *fdtv, u64 addr, void *data, size_t len, argument 33 struct fw_device *device = device_of(fdtv); 44 static int node_lock(struct firedtv *fdtv, u64 addr, void *data) argument 46 return node_req(fdtv, addr, data, 8, TCODE_LOCK_COMPARE_SWAP); 49 static int node_read(struct firedtv *fdtv, u64 addr, void *data) argument 51 return node_req(fdtv, addr, data, 4, TCODE_READ_QUADLET_REQUEST); 54 static int node_write(struct firedtv *fdtv, u64 addr, void *data, size_t len) argument 56 return node_req(fdtv, add 94 struct firedtv *fdtv = data; local 124 start_iso(struct firedtv *fdtv) argument 177 stop_iso(struct firedtv *fdtv) argument 200 struct firedtv *f, *fdtv = NULL; local 246 struct firedtv *fdtv; local 289 struct firedtv *fdtv = dev_get_drvdata(dev); local 305 struct firedtv *fdtv = dev_get_drvdata(&unit->device); local [all...] |
H A D | firedtv-avc.c | 218 static int avc_write(struct firedtv *fdtv) argument 222 fdtv->avc_reply_received = false; 226 debug_fcp(fdtv->avc_data, fdtv->avc_data_length); 228 err = fdtv->backend->write(fdtv, FCP_COMMAND_REGISTER, 229 fdtv->avc_data, fdtv->avc_data_length); 231 dev_err(fdtv->device, "FCP command write failed\n"); 240 if (wait_event_timeout(fdtv 259 avc_recv(struct firedtv *fdtv, void *data, size_t length) argument 297 add_pid_filter(struct firedtv *fdtv, u8 *operand) argument 321 avc_tuner_tuneqpsk(struct firedtv *fdtv, struct dvb_frontend_parameters *params) argument 381 avc_tuner_dsd_dvb_c(struct firedtv *fdtv, struct dvb_frontend_parameters *params) argument 449 avc_tuner_dsd_dvb_t(struct firedtv *fdtv, struct dvb_frontend_parameters *params) argument 551 avc_tuner_dsd(struct firedtv *fdtv, struct dvb_frontend_parameters *params) argument 582 avc_tuner_set_pids(struct firedtv *fdtv, unsigned char pidc, u16 pid[]) argument 627 avc_tuner_get_ts(struct firedtv *fdtv) argument 666 avc_identify_subunit(struct firedtv *fdtv) argument 706 avc_tuner_status(struct firedtv *fdtv, struct firedtv_tuner_status *stat) argument 785 avc_lnb_control(struct firedtv *fdtv, char voltage, char burst, char conttone, char nrdiseq, struct dvb_diseqc_master_cmd *diseqcmd) argument 832 avc_register_remote_control(struct firedtv *fdtv) argument 860 struct firedtv *fdtv = local 883 avc_ca_app_info(struct firedtv *fdtv, char *app_info, unsigned int *len) argument 923 avc_ca_info(struct firedtv *fdtv, char *app_info, unsigned int *len) argument 963 avc_ca_reset(struct firedtv *fdtv) argument 993 avc_ca_pmt(struct firedtv *fdtv, char *msg, int length) argument 1119 avc_ca_get_time_date(struct firedtv *fdtv, int *interval) argument 1152 avc_ca_enter_menu(struct firedtv *fdtv) argument 1180 avc_ca_get_mmi(struct firedtv *fdtv, char *mmi_object, unsigned int *len) argument 1216 cmp_read(struct firedtv *fdtv, u64 addr, __be32 *data) argument 1231 cmp_lock(struct firedtv *fdtv, u64 addr, __be32 data[]) argument 1271 cmp_establish_pp_connection(struct firedtv *fdtv, int plug, int channel) argument 1325 cmp_break_pp_connection(struct firedtv *fdtv, int plug, int channel) argument [all...] |
H A D | firedtv-rc.c | 129 int fdtv_register_rc(struct firedtv *fdtv, struct device *dev) argument 138 fdtv->remote_ctrl_dev = idev; 166 void fdtv_unregister_rc(struct firedtv *fdtv) argument 168 cancel_work_sync(&fdtv->remote_ctrl_work); 169 kfree(fdtv->remote_ctrl_dev->keycode); 170 input_unregister_device(fdtv->remote_ctrl_dev); 173 void fdtv_handle_rc(struct firedtv *fdtv, unsigned int code) argument 175 u16 *keycode = fdtv->remote_ctrl_dev->keycode; 191 input_report_key(fdtv->remote_ctrl_dev, code, 1); 192 input_report_key(fdtv [all...] |