Home
last modified time | relevance | path

Searched refs:fdtv (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/firewire/
H A Dfiredtv-dvb.c24 static int alloc_channel(struct firedtv *fdtv) in alloc_channel() argument
29 if (!__test_and_set_bit(i, &fdtv->channel_active)) in alloc_channel()
34 static void collect_channels(struct firedtv *fdtv, int *pidc, u16 pid[]) in collect_channels() argument
39 if (test_bit(i, &fdtv->channel_active)) in collect_channels()
40 pid[n++] = fdtv->channel_pid[i]; in collect_channels()
44 static inline void dealloc_channel(struct firedtv *fdtv, int i) in dealloc_channel() argument
46 __clear_bit(i, &fdtv->channel_active); in dealloc_channel()
51 struct firedtv *fdtv = dvbdmxfeed->demux->priv; in fdtv_start_feed() local
60 dev_err(fdtv->device, "can't start dmx feed: invalid type %u\n", in fdtv_start_feed()
65 if (mutex_lock_interruptible(&fdtv in fdtv_start_feed()
122 struct firedtv *fdtv = demux->priv; fdtv_stop_feed() local
160 fdtv_dvb_register(struct firedtv *fdtv, const char *name) fdtv_dvb_register() argument
234 fdtv_dvb_unregister(struct firedtv *fdtv) fdtv_dvb_unregister() argument
[all...]
H A Dfiredtv-ci.c55 static int fdtv_ca_get_slot_info(struct firedtv *fdtv, void *arg) in fdtv_ca_get_slot_info() argument
61 err = avc_tuner_status(fdtv, &stat); in fdtv_ca_get_slot_info()
73 static int fdtv_ca_app_info(struct firedtv *fdtv, void *arg) in fdtv_ca_app_info() argument
77 return avc_ca_app_info(fdtv, reply->msg, &reply->length); in fdtv_ca_app_info()
80 static int fdtv_ca_info(struct firedtv *fdtv, void *arg) in fdtv_ca_info() argument
84 return avc_ca_info(fdtv, reply->msg, &reply->length); in fdtv_ca_info()
87 static int fdtv_ca_get_mmi(struct firedtv *fdtv, void *arg) in fdtv_ca_get_mmi() argument
91 return avc_ca_get_mmi(fdtv, reply->msg, &reply->length); in fdtv_ca_get_mmi()
94 static int fdtv_ca_get_msg(struct firedtv *fdtv, void *arg) in fdtv_ca_get_msg() argument
99 switch (fdtv in fdtv_ca_get_msg()
122 fdtv_ca_pmt(struct firedtv *fdtv, void *arg) fdtv_ca_pmt() argument
143 fdtv_ca_send_msg(struct firedtv *fdtv, void *arg) fdtv_ca_send_msg() argument
177 struct firedtv *fdtv = dvbdev->priv; fdtv_ca_ioctl() local
230 fdtv_ca_register(struct firedtv *fdtv) fdtv_ca_register() argument
252 fdtv_ca_release(struct firedtv *fdtv) fdtv_ca_release() argument
[all...]
H A Dfiredtv.h110 int avc_recv(struct firedtv *fdtv, void *data, size_t length);
111 int avc_tuner_status(struct firedtv *fdtv, struct firedtv_tuner_status *stat);
113 int avc_tuner_dsd(struct firedtv *fdtv, struct dtv_frontend_properties *params);
114 int avc_tuner_set_pids(struct firedtv *fdtv, unsigned char pidc, u16 pid[]);
115 int avc_tuner_get_ts(struct firedtv *fdtv);
116 int avc_identify_subunit(struct firedtv *fdtv);
118 int avc_lnb_control(struct firedtv *fdtv, char voltage, char burst,
122 int avc_register_remote_control(struct firedtv *fdtv);
123 int avc_ca_app_info(struct firedtv *fdtv, unsigned char *app_info,
125 int avc_ca_info(struct firedtv *fdtv, unsigne
161 fdtv_register_rc(struct firedtv *fdtv, struct device *dev) fdtv_register_rc() argument
163 fdtv_unregister_rc(struct firedtv *fdtv) fdtv_unregister_rc() argument
164 fdtv_handle_rc(struct firedtv *fdtv, unsigned int code) fdtv_handle_rc() argument
[all...]
H A Dfiredtv-fe.c21 struct firedtv *fdtv = fe->sec_priv; in fdtv_dvb_init() local
25 fdtv->isochannel = fdtv->adapter.num; in fdtv_dvb_init()
27 err = cmp_establish_pp_connection(fdtv, fdtv->subunit, in fdtv_dvb_init()
28 fdtv->isochannel); in fdtv_dvb_init()
30 dev_err(fdtv->device, in fdtv_dvb_init()
35 return fdtv_start_iso(fdtv); in fdtv_dvb_init()
40 struct firedtv *fdtv = fe->sec_priv; in fdtv_sleep() local
42 fdtv_stop_iso(fdtv); in fdtv_sleep()
53 struct firedtv *fdtv = fe->sec_priv; fdtv_diseqc_send_master_cmd() local
67 struct firedtv *fdtv = fe->sec_priv; fdtv_set_tone() local
76 struct firedtv *fdtv = fe->sec_priv; fdtv_set_voltage() local
84 struct firedtv *fdtv = fe->sec_priv; fdtv_read_status() local
100 struct firedtv *fdtv = fe->sec_priv; fdtv_read_ber() local
112 struct firedtv *fdtv = fe->sec_priv; fdtv_read_signal_strength() local
124 struct firedtv *fdtv = fe->sec_priv; fdtv_read_snr() local
143 struct firedtv *fdtv = fe->sec_priv; fdtv_set_frontend() local
148 fdtv_frontend_init(struct firedtv *fdtv, const char *name) fdtv_frontend_init() argument
[all...]
H A Dfiredtv-fw.c32 static inline struct fw_device *device_of(struct firedtv *fdtv) in device_of() argument
34 return fw_device(fdtv->device->parent); in device_of()
37 static int node_req(struct firedtv *fdtv, u64 addr, void *data, size_t len, in node_req() argument
40 struct fw_device *device = device_of(fdtv); in node_req()
51 int fdtv_lock(struct firedtv *fdtv, u64 addr, void *data) in fdtv_lock() argument
53 return node_req(fdtv, addr, data, 8, TCODE_LOCK_COMPARE_SWAP); in fdtv_lock()
56 int fdtv_read(struct firedtv *fdtv, u64 addr, void *data) in fdtv_read() argument
58 return node_req(fdtv, addr, data, 4, TCODE_READ_QUADLET_REQUEST); in fdtv_read()
61 int fdtv_write(struct firedtv *fdtv, u64 addr, void *data, size_t len) in fdtv_write() argument
63 return node_req(fdtv, add in fdtv_write()
101 struct firedtv *fdtv = data; handle_iso() local
132 fdtv_start_iso(struct firedtv *fdtv) fdtv_start_iso() argument
185 fdtv_stop_iso(struct firedtv *fdtv) fdtv_stop_iso() argument
200 struct firedtv *f, *fdtv = NULL; handle_fcp() local
254 struct firedtv *fdtv; node_probe() local
317 struct firedtv *fdtv = dev_get_drvdata(&unit->device); node_remove() local
332 struct firedtv *fdtv = dev_get_drvdata(&unit->device); node_update() local
[all...]
H A Dfiredtv-avc.c230 static int avc_write(struct firedtv *fdtv) in avc_write() argument
234 fdtv->avc_reply_received = false; in avc_write()
238 debug_fcp(fdtv->avc_data, fdtv->avc_data_length); in avc_write()
240 err = fdtv_write(fdtv, FCP_COMMAND_REGISTER, in avc_write()
241 fdtv->avc_data, fdtv->avc_data_length); in avc_write()
243 dev_err(fdtv->device, "FCP command write failed\n"); in avc_write()
252 if (wait_event_timeout(fdtv->avc_wait, in avc_write()
253 fdtv in avc_write()
271 avc_recv(struct firedtv *fdtv, void *data, size_t length) avc_recv() argument
309 add_pid_filter(struct firedtv *fdtv, u8 *operand) add_pid_filter() argument
333 avc_tuner_tuneqpsk(struct firedtv *fdtv, struct dtv_frontend_properties *p) avc_tuner_tuneqpsk() argument
414 avc_tuner_dsd_dvb_c(struct firedtv *fdtv, struct dtv_frontend_properties *p) avc_tuner_dsd_dvb_c() argument
482 avc_tuner_dsd_dvb_t(struct firedtv *fdtv, struct dtv_frontend_properties *p) avc_tuner_dsd_dvb_t() argument
583 avc_tuner_dsd(struct firedtv *fdtv, struct dtv_frontend_properties *p) avc_tuner_dsd() argument
623 avc_tuner_set_pids(struct firedtv *fdtv, unsigned char pidc, u16 pid[]) avc_tuner_set_pids() argument
669 avc_tuner_get_ts(struct firedtv *fdtv) avc_tuner_get_ts() argument
709 avc_identify_subunit(struct firedtv *fdtv) avc_identify_subunit() argument
749 avc_tuner_status(struct firedtv *fdtv, struct firedtv_tuner_status *stat) avc_tuner_status() argument
828 avc_lnb_control(struct firedtv *fdtv, char voltage, char burst, char conttone, char nrdiseq, struct dvb_diseqc_master_cmd *diseqcmd) avc_lnb_control() argument
875 avc_register_remote_control(struct firedtv *fdtv) avc_register_remote_control() argument
904 struct firedtv *fdtv = avc_remote_ctrl_work() local
967 avc_ca_app_info(struct firedtv *fdtv, unsigned char *app_info, unsigned int *len) avc_ca_app_info() argument
1009 avc_ca_info(struct firedtv *fdtv, unsigned char *app_info, unsigned int *len) avc_ca_info() argument
1060 avc_ca_reset(struct firedtv *fdtv) avc_ca_reset() argument
1091 avc_ca_pmt(struct firedtv *fdtv, char *msg, int length) avc_ca_pmt() argument
1235 avc_ca_get_time_date(struct firedtv *fdtv, int *interval) avc_ca_get_time_date() argument
1269 avc_ca_enter_menu(struct firedtv *fdtv) avc_ca_enter_menu() argument
1298 avc_ca_get_mmi(struct firedtv *fdtv, char *mmi_object, unsigned int *len) avc_ca_get_mmi() argument
1335 cmp_read(struct firedtv *fdtv, u64 addr, __be32 *data) cmp_read() argument
1346 cmp_lock(struct firedtv *fdtv, u64 addr, __be32 data[]) cmp_lock() argument
1377 cmp_establish_pp_connection(struct firedtv *fdtv, int plug, int channel) cmp_establish_pp_connection() argument
1437 cmp_break_pp_connection(struct firedtv *fdtv, int plug, int channel) cmp_break_pp_connection() argument
[all...]
H A Dfiredtv-rc.c125 int fdtv_register_rc(struct firedtv *fdtv, struct device *dev) in fdtv_register_rc() argument
134 fdtv->remote_ctrl_dev = idev; in fdtv_register_rc()
162 void fdtv_unregister_rc(struct firedtv *fdtv) in fdtv_unregister_rc() argument
164 cancel_work_sync(&fdtv->remote_ctrl_work); in fdtv_unregister_rc()
165 kfree(fdtv->remote_ctrl_dev->keycode); in fdtv_unregister_rc()
166 input_unregister_device(fdtv->remote_ctrl_dev); in fdtv_unregister_rc()
169 void fdtv_handle_rc(struct firedtv *fdtv, unsigned int code) in fdtv_handle_rc() argument
171 struct input_dev *idev = fdtv->remote_ctrl_dev; in fdtv_handle_rc()
183 dev_dbg(fdtv->device, in fdtv_handle_rc()
/kernel/linux/linux-6.6/drivers/media/firewire/
H A Dfiredtv-dvb.c24 static int alloc_channel(struct firedtv *fdtv) in alloc_channel() argument
29 if (!__test_and_set_bit(i, &fdtv->channel_active)) in alloc_channel()
34 static void collect_channels(struct firedtv *fdtv, int *pidc, u16 pid[]) in collect_channels() argument
39 if (test_bit(i, &fdtv->channel_active)) in collect_channels()
40 pid[n++] = fdtv->channel_pid[i]; in collect_channels()
44 static inline void dealloc_channel(struct firedtv *fdtv, int i) in dealloc_channel() argument
46 __clear_bit(i, &fdtv->channel_active); in dealloc_channel()
51 struct firedtv *fdtv = dvbdmxfeed->demux->priv; in fdtv_start_feed() local
60 dev_err(fdtv->device, "can't start dmx feed: invalid type %u\n", in fdtv_start_feed()
65 if (mutex_lock_interruptible(&fdtv in fdtv_start_feed()
122 struct firedtv *fdtv = demux->priv; fdtv_stop_feed() local
160 fdtv_dvb_register(struct firedtv *fdtv, const char *name) fdtv_dvb_register() argument
234 fdtv_dvb_unregister(struct firedtv *fdtv) fdtv_dvb_unregister() argument
[all...]
H A Dfiredtv-ci.c55 static int fdtv_ca_get_slot_info(struct firedtv *fdtv, void *arg) in fdtv_ca_get_slot_info() argument
61 err = avc_tuner_status(fdtv, &stat); in fdtv_ca_get_slot_info()
73 static int fdtv_ca_app_info(struct firedtv *fdtv, void *arg) in fdtv_ca_app_info() argument
77 return avc_ca_app_info(fdtv, reply->msg, &reply->length); in fdtv_ca_app_info()
80 static int fdtv_ca_info(struct firedtv *fdtv, void *arg) in fdtv_ca_info() argument
84 return avc_ca_info(fdtv, reply->msg, &reply->length); in fdtv_ca_info()
87 static int fdtv_ca_get_mmi(struct firedtv *fdtv, void *arg) in fdtv_ca_get_mmi() argument
91 return avc_ca_get_mmi(fdtv, reply->msg, &reply->length); in fdtv_ca_get_mmi()
94 static int fdtv_ca_get_msg(struct firedtv *fdtv, void *arg) in fdtv_ca_get_msg() argument
99 switch (fdtv in fdtv_ca_get_msg()
122 fdtv_ca_pmt(struct firedtv *fdtv, void *arg) fdtv_ca_pmt() argument
143 fdtv_ca_send_msg(struct firedtv *fdtv, void *arg) fdtv_ca_send_msg() argument
177 struct firedtv *fdtv = dvbdev->priv; fdtv_ca_ioctl() local
230 fdtv_ca_register(struct firedtv *fdtv) fdtv_ca_register() argument
252 fdtv_ca_release(struct firedtv *fdtv) fdtv_ca_release() argument
[all...]
H A Dfiredtv.h110 int avc_recv(struct firedtv *fdtv, void *data, size_t length);
111 int avc_tuner_status(struct firedtv *fdtv, struct firedtv_tuner_status *stat);
113 int avc_tuner_dsd(struct firedtv *fdtv, struct dtv_frontend_properties *params);
114 int avc_tuner_set_pids(struct firedtv *fdtv, unsigned char pidc, u16 pid[]);
115 int avc_tuner_get_ts(struct firedtv *fdtv);
116 int avc_identify_subunit(struct firedtv *fdtv);
118 int avc_lnb_control(struct firedtv *fdtv, char voltage, char burst,
122 int avc_register_remote_control(struct firedtv *fdtv);
123 int avc_ca_app_info(struct firedtv *fdtv, unsigned char *app_info,
125 int avc_ca_info(struct firedtv *fdtv, unsigne
161 fdtv_register_rc(struct firedtv *fdtv, struct device *dev) fdtv_register_rc() argument
163 fdtv_unregister_rc(struct firedtv *fdtv) fdtv_unregister_rc() argument
164 fdtv_handle_rc(struct firedtv *fdtv, unsigned int code) fdtv_handle_rc() argument
[all...]
H A Dfiredtv-fe.c21 struct firedtv *fdtv = fe->sec_priv; in fdtv_dvb_init() local
25 fdtv->isochannel = fdtv->adapter.num; in fdtv_dvb_init()
27 err = cmp_establish_pp_connection(fdtv, fdtv->subunit, in fdtv_dvb_init()
28 fdtv->isochannel); in fdtv_dvb_init()
30 dev_err(fdtv->device, in fdtv_dvb_init()
35 return fdtv_start_iso(fdtv); in fdtv_dvb_init()
40 struct firedtv *fdtv = fe->sec_priv; in fdtv_sleep() local
42 fdtv_stop_iso(fdtv); in fdtv_sleep()
53 struct firedtv *fdtv = fe->sec_priv; fdtv_diseqc_send_master_cmd() local
67 struct firedtv *fdtv = fe->sec_priv; fdtv_set_tone() local
76 struct firedtv *fdtv = fe->sec_priv; fdtv_set_voltage() local
84 struct firedtv *fdtv = fe->sec_priv; fdtv_read_status() local
100 struct firedtv *fdtv = fe->sec_priv; fdtv_read_ber() local
112 struct firedtv *fdtv = fe->sec_priv; fdtv_read_signal_strength() local
124 struct firedtv *fdtv = fe->sec_priv; fdtv_read_snr() local
143 struct firedtv *fdtv = fe->sec_priv; fdtv_set_frontend() local
148 fdtv_frontend_init(struct firedtv *fdtv, const char *name) fdtv_frontend_init() argument
[all...]
H A Dfiredtv-fw.c32 static inline struct fw_device *device_of(struct firedtv *fdtv) in device_of() argument
34 return fw_device(fdtv->device->parent); in device_of()
37 static int node_req(struct firedtv *fdtv, u64 addr, void *data, size_t len, in node_req() argument
40 struct fw_device *device = device_of(fdtv); in node_req()
51 int fdtv_lock(struct firedtv *fdtv, u64 addr, void *data) in fdtv_lock() argument
53 return node_req(fdtv, addr, data, 8, TCODE_LOCK_COMPARE_SWAP); in fdtv_lock()
56 int fdtv_read(struct firedtv *fdtv, u64 addr, void *data) in fdtv_read() argument
58 return node_req(fdtv, addr, data, 4, TCODE_READ_QUADLET_REQUEST); in fdtv_read()
61 int fdtv_write(struct firedtv *fdtv, u64 addr, void *data, size_t len) in fdtv_write() argument
63 return node_req(fdtv, add in fdtv_write()
101 struct firedtv *fdtv = data; handle_iso() local
132 fdtv_start_iso(struct firedtv *fdtv) fdtv_start_iso() argument
185 fdtv_stop_iso(struct firedtv *fdtv) fdtv_stop_iso() argument
200 struct firedtv *f, *fdtv = NULL; handle_fcp() local
254 struct firedtv *fdtv; node_probe() local
317 struct firedtv *fdtv = dev_get_drvdata(&unit->device); node_remove() local
332 struct firedtv *fdtv = dev_get_drvdata(&unit->device); node_update() local
[all...]
H A Dfiredtv-avc.c230 static int avc_write(struct firedtv *fdtv) in avc_write() argument
234 fdtv->avc_reply_received = false; in avc_write()
238 debug_fcp(fdtv->avc_data, fdtv->avc_data_length); in avc_write()
240 err = fdtv_write(fdtv, FCP_COMMAND_REGISTER, in avc_write()
241 fdtv->avc_data, fdtv->avc_data_length); in avc_write()
243 dev_err(fdtv->device, "FCP command write failed\n"); in avc_write()
252 if (wait_event_timeout(fdtv->avc_wait, in avc_write()
253 fdtv in avc_write()
271 avc_recv(struct firedtv *fdtv, void *data, size_t length) avc_recv() argument
309 add_pid_filter(struct firedtv *fdtv, u8 *operand) add_pid_filter() argument
333 avc_tuner_tuneqpsk(struct firedtv *fdtv, struct dtv_frontend_properties *p) avc_tuner_tuneqpsk() argument
414 avc_tuner_dsd_dvb_c(struct firedtv *fdtv, struct dtv_frontend_properties *p) avc_tuner_dsd_dvb_c() argument
482 avc_tuner_dsd_dvb_t(struct firedtv *fdtv, struct dtv_frontend_properties *p) avc_tuner_dsd_dvb_t() argument
583 avc_tuner_dsd(struct firedtv *fdtv, struct dtv_frontend_properties *p) avc_tuner_dsd() argument
625 avc_tuner_set_pids(struct firedtv *fdtv, unsigned char pidc, u16 pid[]) avc_tuner_set_pids() argument
671 avc_tuner_get_ts(struct firedtv *fdtv) avc_tuner_get_ts() argument
711 avc_identify_subunit(struct firedtv *fdtv) avc_identify_subunit() argument
751 avc_tuner_status(struct firedtv *fdtv, struct firedtv_tuner_status *stat) avc_tuner_status() argument
830 avc_lnb_control(struct firedtv *fdtv, char voltage, char burst, char conttone, char nrdiseq, struct dvb_diseqc_master_cmd *diseqcmd) avc_lnb_control() argument
877 avc_register_remote_control(struct firedtv *fdtv) avc_register_remote_control() argument
906 struct firedtv *fdtv = avc_remote_ctrl_work() local
969 avc_ca_app_info(struct firedtv *fdtv, unsigned char *app_info, unsigned int *len) avc_ca_app_info() argument
1011 avc_ca_info(struct firedtv *fdtv, unsigned char *app_info, unsigned int *len) avc_ca_info() argument
1062 avc_ca_reset(struct firedtv *fdtv) avc_ca_reset() argument
1093 avc_ca_pmt(struct firedtv *fdtv, char *msg, int length) avc_ca_pmt() argument
1237 avc_ca_get_time_date(struct firedtv *fdtv, int *interval) avc_ca_get_time_date() argument
1271 avc_ca_enter_menu(struct firedtv *fdtv) avc_ca_enter_menu() argument
1300 avc_ca_get_mmi(struct firedtv *fdtv, char *mmi_object, unsigned int *len) avc_ca_get_mmi() argument
1337 cmp_read(struct firedtv *fdtv, u64 addr, __be32 *data) cmp_read() argument
1348 cmp_lock(struct firedtv *fdtv, u64 addr, __be32 data[]) cmp_lock() argument
1379 cmp_establish_pp_connection(struct firedtv *fdtv, int plug, int channel) cmp_establish_pp_connection() argument
1439 cmp_break_pp_connection(struct firedtv *fdtv, int plug, int channel) cmp_break_pp_connection() argument
[all...]
H A Dfiredtv-rc.c125 int fdtv_register_rc(struct firedtv *fdtv, struct device *dev) in fdtv_register_rc() argument
134 fdtv->remote_ctrl_dev = idev; in fdtv_register_rc()
162 void fdtv_unregister_rc(struct firedtv *fdtv) in fdtv_unregister_rc() argument
164 cancel_work_sync(&fdtv->remote_ctrl_work); in fdtv_unregister_rc()
165 kfree(fdtv->remote_ctrl_dev->keycode); in fdtv_unregister_rc()
166 input_unregister_device(fdtv->remote_ctrl_dev); in fdtv_unregister_rc()
169 void fdtv_handle_rc(struct firedtv *fdtv, unsigned int code) in fdtv_handle_rc() argument
171 struct input_dev *idev = fdtv->remote_ctrl_dev; in fdtv_handle_rc()
183 dev_dbg(fdtv->device, in fdtv_handle_rc()

Completed in 7 milliseconds