Searched refs:adap (Results 1 - 25 of 411) sorted by relevance

1234567891011>>

/linux-master/include/media/
H A Dcec-pin.h37 int (*read)(struct cec_adapter *adap);
38 void (*low)(struct cec_adapter *adap);
39 void (*high)(struct cec_adapter *adap);
40 bool (*enable_irq)(struct cec_adapter *adap);
41 void (*disable_irq)(struct cec_adapter *adap);
42 void (*free)(struct cec_adapter *adap);
43 void (*status)(struct cec_adapter *adap, struct seq_file *file);
44 int (*read_hpd)(struct cec_adapter *adap);
45 int (*read_5v)(struct cec_adapter *adap);
48 int (*received)(struct cec_adapter *adap, struc
[all...]
H A Dcec.h67 struct cec_adapter *adap; member in struct:cec_data
93 struct cec_adapter *adap; member in struct:cec_fh
116 /* Low-level callbacks, called with adap->lock held */
117 int (*adap_enable)(struct cec_adapter *adap, bool enable);
118 int (*adap_monitor_all_enable)(struct cec_adapter *adap, bool enable);
119 int (*adap_monitor_pin_enable)(struct cec_adapter *adap, bool enable);
120 int (*adap_log_addr)(struct cec_adapter *adap, u8 logical_addr);
121 void (*adap_unconfigured)(struct cec_adapter *adap);
122 int (*adap_transmit)(struct cec_adapter *adap, u8 attempts,
124 void (*adap_nb_transmit_canceled)(struct cec_adapter *adap,
297 cec_get_drvdata(const struct cec_adapter *adap) argument
302 cec_has_log_addr(const struct cec_adapter *adap, u8 log_addr) argument
307 cec_is_sink(const struct cec_adapter *adap) argument
319 cec_is_registered(const struct cec_adapter *adap) argument
353 cec_transmit_done(struct cec_adapter *adap, u8 status, u8 arb_lost_cnt, u8 nack_cnt, u8 low_drive_cnt, u8 error_cnt) argument
368 cec_transmit_attempt_done(struct cec_adapter *adap, u8 status) argument
377 cec_received_msg(struct cec_adapter *adap, struct cec_msg *msg) argument
434 cec_register_adapter(struct cec_adapter *adap, struct device *parent) argument
440 cec_unregister_adapter(struct cec_adapter *adap) argument
444 cec_delete_adapter(struct cec_adapter *adap) argument
448 cec_s_phys_addr(struct cec_adapter *adap, u16 phys_addr, bool block) argument
453 cec_s_phys_addr_from_edid(struct cec_adapter *adap, const struct edid *edid) argument
466 cec_s_conn_info(struct cec_adapter *adap, const struct cec_connector_info *conn_info) argument
488 cec_phys_addr_invalidate(struct cec_adapter *adap) argument
[all...]
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-dvb.c21 static int pvr2_dvb_feed_func(struct pvr2_dvb_adapter *adap) argument
31 stream = adap->channel.stream->stream;
41 &adap->demux,
42 adap->buffer_storage[
62 ret = wait_event_freezable(adap->buffer_wait_data,
89 struct pvr2_dvb_adapter *adap = ptr; local
91 wake_up(&adap->buffer_wait_data);
94 static void pvr2_dvb_stream_end(struct pvr2_dvb_adapter *adap) argument
99 if (adap->thread) {
100 kthread_stop(adap
127 pvr2_dvb_stream_do_start(struct pvr2_dvb_adapter *adap) argument
183 pvr2_dvb_stream_start(struct pvr2_dvb_adapter *adap) argument
192 struct pvr2_dvb_adapter *adap = dvbdmxfeed->demux->priv; local
235 struct pvr2_dvb_adapter *adap = fe->dvb->priv; local
241 pvr2_dvb_adapter_init(struct pvr2_dvb_adapter *adap) argument
296 pvr2_dvb_adapter_exit(struct pvr2_dvb_adapter *adap) argument
307 pvr2_dvb_frontend_init(struct pvr2_dvb_adapter *adap) argument
403 pvr2_dvb_frontend_exit(struct pvr2_dvb_adapter *adap) argument
426 pvr2_dvb_destroy(struct pvr2_dvb_adapter *adap) argument
437 struct pvr2_dvb_adapter *adap; local
446 struct pvr2_dvb_adapter *adap; local
[all...]
/linux-master/drivers/media/usb/dvb-usb/
H A Ddvb-usb-dvb.c16 struct dvb_usb_adapter *adap = dvbdmxfeed->demux->priv; local
19 if (adap == NULL)
22 if ((adap->active_fe < 0) ||
23 (adap->active_fe >= adap->num_frontends_initialized)) {
27 newfeedcount = adap->feedcount + (onoff ? 1 : -1);
32 usb_urb_kill(&adap->fe_adap[adap->active_fe].stream);
34 if (adap->props.fe[adap
99 dvb_usb_media_device_init(struct dvb_usb_adapter *adap) argument
119 dvb_usb_media_device_register(struct dvb_usb_adapter *adap) argument
128 dvb_usb_media_device_unregister(struct dvb_usb_adapter *adap) argument
145 dvb_usb_adapter_dvb_init(struct dvb_usb_adapter *adap, short *adapter_nums) argument
218 dvb_usb_adapter_dvb_exit(struct dvb_usb_adapter *adap) argument
235 struct dvb_usb_adapter *adap = fe->dvb->priv; local
252 struct dvb_usb_adapter *adap = fe->dvb->priv; local
266 struct dvb_usb_adapter *adap = fe->dvb->priv; local
276 dvb_usb_adapter_frontend_init(struct dvb_usb_adapter *adap) argument
336 dvb_usb_adapter_frontend_exit(struct dvb_usb_adapter *adap) argument
[all...]
H A Ddvb-usb-urb.c72 struct dvb_usb_adapter *adap = stream->user_priv; local
73 if (adap->feedcount > 0 && adap->state & DVB_USB_ADAP_STATE_DVB)
74 dvb_dmx_swfilter(&adap->demux, buffer, length);
79 struct dvb_usb_adapter *adap = stream->user_priv; local
80 if (adap->feedcount > 0 && adap->state & DVB_USB_ADAP_STATE_DVB)
81 dvb_dmx_swfilter_204(&adap->demux, buffer, length);
87 struct dvb_usb_adapter *adap = stream->user_priv; local
88 if (adap
92 dvb_usb_adapter_stream_init(struct dvb_usb_adapter *adap) argument
116 dvb_usb_adapter_stream_exit(struct dvb_usb_adapter *adap) argument
[all...]
H A Ddibusb-mc-common.c83 int dibusb_dib3000mc_frontend_attach(struct dvb_usb_adapter *adap) argument
85 if (le16_to_cpu(adap->dev->udev->descriptor.idVendor) == USB_VID_LITEON &&
86 le16_to_cpu(adap->dev->udev->descriptor.idProduct) ==
91 adap->fe_adap[0].fe = dvb_attach(dib3000mc_attach,
92 &adap->dev->i2c_adap,
95 if ((adap->fe_adap[0].fe) == NULL)
96 adap->fe_adap[0].fe = dvb_attach(dib3000mc_attach,
97 &adap->dev->i2c_adap,
100 if ((adap->fe_adap[0].fe) != NULL) {
101 if (adap
116 dibusb_dib3000mc_tuner_attach(struct dvb_usb_adapter *adap) argument
[all...]
/linux-master/drivers/media/cec/core/
H A Dcec-priv.h17 pr_info("cec-%s: " fmt, adap->name, ## arg); \
20 #define call_op(adap, op, arg...) \
21 ((adap->ops->op && !adap->devnode.unregistered) ? \
22 adap->ops->op(adap, ## arg) : 0)
24 #define call_void_op(adap, op, arg...) \
26 if (adap->ops->op && !adap->devnode.unregistered) \
27 adap
[all...]
H A Dcec-core.c169 static void cec_devnode_unregister(struct cec_adapter *adap) argument
171 struct cec_devnode *devnode = &adap->devnode;
191 mutex_lock(&adap->lock);
192 __cec_s_phys_addr(adap, CEC_PHYS_ADDR_INVALID, false);
193 __cec_s_log_addrs(adap, NULL, false);
194 // Disable the adapter (since adap->devnode.unregistered is true)
195 cec_adap_enable(adap);
196 mutex_unlock(&adap->lock);
207 struct cec_adapter *adap = sf->private; local
221 if (!call_op(adap, error_inj_parse_lin
232 struct cec_adapter *adap = sf->private; local
255 struct cec_adapter *adap; local
335 cec_register_adapter(struct cec_adapter *adap, struct device *parent) argument
396 cec_unregister_adapter(struct cec_adapter *adap) argument
414 cec_delete_adapter(struct cec_adapter *adap) argument
[all...]
H A Dcec-adap.c3 * cec-adap.c - HDMI Consumer Electronics Control framework - CEC adapter
26 static void cec_fill_msg_report_features(struct cec_adapter *adap,
30 static int cec_log_addr2idx(const struct cec_adapter *adap, u8 log_addr) argument
34 for (i = 0; i < adap->log_addrs.num_log_addrs; i++)
35 if (adap->log_addrs.log_addr[i] == log_addr)
40 static unsigned int cec_log_addr2dev(const struct cec_adapter *adap, u8 log_addr) argument
42 int i = cec_log_addr2idx(adap, log_addr);
44 return adap->log_addrs.primary_device_type[i < 0 ? 0 : i];
137 static void cec_queue_event(struct cec_adapter *adap, argument
143 mutex_lock(&adap
150 cec_queue_pin_cec_event(struct cec_adapter *adap, bool is_high, bool dropped_events, ktime_t ts) argument
170 cec_queue_pin_hpd_event(struct cec_adapter *adap, bool is_high, ktime_t ts) argument
186 cec_queue_pin_5v_event(struct cec_adapter *adap, bool is_high, ktime_t ts) argument
261 cec_queue_msg_monitor(struct cec_adapter *adap, const struct cec_msg *msg, bool valid_la) argument
280 cec_queue_msg_followers(struct cec_adapter *adap, const struct cec_msg *msg) argument
294 cec_post_state_event(struct cec_adapter *adap) argument
354 struct cec_adapter *adap = data->adap; local
399 cec_flush(struct cec_adapter *adap) argument
450 struct cec_adapter *adap = _adap; local
585 cec_transmit_done_ts(struct cec_adapter *adap, u8 status, u8 arb_lost_cnt, u8 nack_cnt, u8 low_drive_cnt, u8 error_cnt, ktime_t ts) argument
713 cec_transmit_attempt_done_ts(struct cec_adapter *adap, u8 status, ktime_t ts) argument
746 struct cec_adapter *adap = data->adap; local
769 cec_transmit_msg_fh(struct cec_adapter *adap, struct cec_msg *msg, struct cec_fh *fh, bool block) argument
962 cec_transmit_msg(struct cec_adapter *adap, struct cec_msg *msg, bool block) argument
1073 cec_received_msg_ts(struct cec_adapter *adap, struct cec_msg *msg, ktime_t ts) argument
1272 cec_config_log_addr(struct cec_adapter *adap, unsigned int idx, unsigned int log_addr) argument
1355 cec_adap_unconfigure(struct cec_adapter *adap) argument
1420 struct cec_adapter *adap = arg; local
1576 cec_claim_log_addrs(struct cec_adapter *adap, bool block) argument
1602 cec_adap_enable(struct cec_adapter *adap) argument
1660 __cec_s_phys_addr(struct cec_adapter *adap, u16 phys_addr, bool block) argument
1695 cec_s_phys_addr(struct cec_adapter *adap, u16 phys_addr, bool block) argument
1711 cec_s_phys_addr_from_edid(struct cec_adapter *adap, const struct edid *edid) argument
1723 cec_s_conn_info(struct cec_adapter *adap, const struct cec_connector_info *conn_info) argument
1747 __cec_s_log_addrs(struct cec_adapter *adap, struct cec_log_addrs *log_addrs, bool block) argument
1910 cec_s_log_addrs(struct cec_adapter *adap, struct cec_log_addrs *log_addrs, bool block) argument
1925 cec_fill_msg_report_features(struct cec_adapter *adap, struct cec_msg *msg, unsigned int la_idx) argument
1953 cec_feature_abort_reason(struct cec_adapter *adap, struct cec_msg *msg, u8 reason) argument
1972 cec_feature_abort(struct cec_adapter *adap, struct cec_msg *msg) argument
1978 cec_feature_refused(struct cec_adapter *adap, struct cec_msg *msg) argument
1991 cec_receive_notify(struct cec_adapter *adap, struct cec_msg *msg, bool is_reply) argument
2203 cec_monitor_all_cnt_inc(struct cec_adapter *adap) argument
2216 cec_monitor_all_cnt_dec(struct cec_adapter *adap) argument
2231 cec_monitor_pin_cnt_inc(struct cec_adapter *adap) argument
2244 cec_monitor_pin_cnt_dec(struct cec_adapter *adap) argument
2261 struct cec_adapter *adap = dev_get_drvdata(file->private); local
[all...]
H A Dcec-api.c29 return &fh->adap->devnode;
38 struct cec_adapter *adap = fh->adap; local
42 if (!cec_is_registered(adap))
44 mutex_lock(&adap->lock);
45 if (adap->is_configured &&
46 adap->transmit_queue_sz < CEC_MAX_MSG_TX_QUEUE_SZ)
52 mutex_unlock(&adap->lock);
56 static bool cec_is_busy(const struct cec_adapter *adap, argument
59 bool valid_initiator = adap
75 cec_adap_g_caps(struct cec_adapter *adap, struct cec_caps __user *parg) argument
91 cec_adap_g_phys_addr(struct cec_adapter *adap, __u16 __user *parg) argument
121 cec_adap_s_phys_addr(struct cec_adapter *adap, struct cec_fh *fh, bool block, __u16 __user *parg) argument
144 cec_adap_g_log_addrs(struct cec_adapter *adap, struct cec_log_addrs __user *parg) argument
167 cec_adap_s_log_addrs(struct cec_adapter *adap, struct cec_fh *fh, bool block, struct cec_log_addrs __user *parg) argument
196 cec_adap_g_connector_info(struct cec_adapter *adap, struct cec_log_addrs __user *parg) argument
211 cec_transmit(struct cec_adapter *adap, struct cec_fh *fh, bool block, struct cec_msg __user *parg) argument
290 cec_receive(struct cec_adapter *adap, struct cec_fh *fh, bool block, struct cec_msg __user *parg) argument
308 cec_dqevent(struct cec_adapter *adap, struct cec_fh *fh, bool block, struct cec_event __user *parg) argument
358 cec_g_mode(struct cec_adapter *adap, struct cec_fh *fh, u32 __user *parg) argument
368 cec_s_mode(struct cec_adapter *adap, struct cec_fh *fh, u32 __user *parg) argument
507 struct cec_adapter *adap = fh->adap; local
557 struct cec_adapter *adap = to_cec_adapter(devnode); local
631 struct cec_adapter *adap = to_cec_adapter(devnode); local
[all...]
/linux-master/drivers/i2c/algos/
H A Di2c-algo-bit.c48 #define setsda(adap, val) adap->setsda(adap->data, val)
49 #define setscl(adap, val) adap->setscl(adap->data, val)
50 #define getsda(adap) adap->getsda(adap->data)
51 #define getscl(adap) ada
53 sdalo(struct i2c_algo_bit_data *adap) argument
59 sdahi(struct i2c_algo_bit_data *adap) argument
65 scllo(struct i2c_algo_bit_data *adap) argument
75 sclhi(struct i2c_algo_bit_data *adap) argument
115 i2c_start(struct i2c_algo_bit_data *adap) argument
123 i2c_repstart(struct i2c_algo_bit_data *adap) argument
134 i2c_stop(struct i2c_algo_bit_data *adap) argument
157 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; local
205 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; local
232 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; local
322 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; local
387 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; local
408 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; local
470 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; local
524 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; local
604 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; local
612 bit_func(struct i2c_adapter *adap) argument
635 __i2c_bit_add_bus(struct i2c_adapter *adap, int (*add_adapter)(struct i2c_adapter *)) argument
674 i2c_bit_add_bus(struct i2c_adapter *adap) argument
680 i2c_bit_add_numbered_bus(struct i2c_adapter *adap) argument
[all...]
H A Di2c-algo-pcf.c38 #define set_pcf(adap, ctl, val) adap->setpcf(adap->data, ctl, val)
39 #define get_pcf(adap, ctl) adap->getpcf(adap->data, ctl)
40 #define get_own(adap) adap->getown(adap->data)
41 #define get_clock(adap) ada
47 i2c_start(struct i2c_algo_pcf_data *adap) argument
53 i2c_repstart(struct i2c_algo_pcf_data *adap) argument
59 i2c_stop(struct i2c_algo_pcf_data *adap) argument
65 handle_lab(struct i2c_algo_pcf_data *adap, const int *status) argument
95 wait_for_bb(struct i2c_algo_pcf_data *adap) argument
116 wait_for_pin(struct i2c_algo_pcf_data *adap, int *status) argument
149 pcf_init_8584(struct i2c_algo_pcf_data *adap) argument
208 struct i2c_algo_pcf_data *adap = i2c_adap->algo_data; local
242 struct i2c_algo_pcf_data *adap = i2c_adap->algo_data; local
282 pcf_doAddress(struct i2c_algo_pcf_data *adap, struct i2c_msg *msg) argument
298 struct i2c_algo_pcf_data *adap = i2c_adap->algo_data; local
383 pcf_func(struct i2c_adapter *adap) argument
398 i2c_pcf_add_bus(struct i2c_adapter *adap) argument
[all...]
H A Di2c-algo-pca.c26 #define pca_outw(adap, reg, val) adap->write_byte(adap->data, reg, val)
27 #define pca_inw(adap, reg) adap->read_byte(adap->data, reg)
29 #define pca_status(adap) pca_inw(adap, I2C_PCA_STA)
30 #define pca_clock(adap) adap
35 pca_reset(struct i2c_algo_pca_data *adap) argument
68 pca_start(struct i2c_algo_pca_data *adap) argument
83 pca_repeated_start(struct i2c_algo_pca_data *adap) argument
102 pca_stop(struct i2c_algo_pca_data *adap) argument
116 pca_address(struct i2c_algo_pca_data *adap, struct i2c_msg *msg) argument
138 pca_tx_byte(struct i2c_algo_pca_data *adap, __u8 b) argument
156 pca_rx_byte(struct i2c_algo_pca_data *adap, __u8 *b, int ack) argument
168 pca_rx_ack(struct i2c_algo_pca_data *adap, int ack) argument
186 struct i2c_algo_pca_data *adap = i2c_adap->algo_data; local
358 pca_func(struct i2c_adapter *adap) argument
368 pca_probe_chip(struct i2c_adapter *adap) argument
391 pca_init(struct i2c_adapter *adap) argument
532 i2c_pca_add_bus(struct i2c_adapter *adap) argument
544 i2c_pca_add_numbered_bus(struct i2c_adapter *adap) argument
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_filter.h42 void filter_rpl(struct adapter *adap, const struct cpl_set_tcb_rpl *rpl);
43 void hash_filter_rpl(struct adapter *adap, const struct cpl_act_open_rpl *rpl);
44 void hash_del_filter_rpl(struct adapter *adap,
46 void clear_filter(struct adapter *adap, struct filter_entry *f);
53 void init_hash_filter(struct adapter *adap);
54 bool is_filter_exact_match(struct adapter *adap,
56 void cxgb4_cleanup_ethtool_filters(struct adapter *adap);
57 int cxgb4_init_ethtool_filters(struct adapter *adap);
H A Dcxgb4_uld.c59 struct adapter *adap = q->adap; local
61 if (adap->uld[q->uld].lro_flush)
62 adap->uld[q->uld].lro_flush(&q->lro_mgr);
77 struct adapter *adap = q->adap; local
87 ret = adap->uld[q->uld].lro_rx_handler(adap->uld[q->uld].handle,
91 ret = adap->uld[q->uld].rx_handler(adap
108 alloc_uld_rxqs(struct adapter *adap, struct sge_uld_rxq_info *rxq_info, bool lro) argument
174 setup_sge_queues_uld(struct adapter *adap, unsigned int uld_type, bool lro) argument
202 t4_free_uld_rxqs(struct adapter *adap, int n, struct sge_ofld_rxq *q) argument
212 free_sge_queues_uld(struct adapter *adap, unsigned int uld_type) argument
237 cfg_queues_uld(struct adapter *adap, unsigned int uld_type, const struct cxgb4_uld_info *uld_info) argument
313 free_queues_uld(struct adapter *adap, unsigned int uld_type) argument
324 request_msix_queue_irqs_uld(struct adapter *adap, unsigned int uld_type) argument
356 free_msix_queue_irqs_uld(struct adapter *adap, unsigned int uld_type) argument
370 enable_rx_uld(struct adapter *adap, unsigned int uld_type) argument
385 quiesce_rx_uld(struct adapter *adap, unsigned int uld_type) argument
401 free_sge_txq_uld(struct adapter *adap, struct sge_uld_txq_info *txq_info) argument
422 alloc_sge_txq_uld(struct adapter *adap, struct sge_uld_txq_info *txq_info, unsigned int uld_type) argument
446 release_sge_txq_uld(struct adapter *adap, unsigned int uld_type) argument
462 setup_sge_txq_uld(struct adapter *adap, unsigned int uld_type, const struct cxgb4_uld_info *uld_info) argument
510 uld_queue_init(struct adapter *adap, unsigned int uld_type, struct cxgb4_lld_info *lli) argument
524 t4_uld_mem_alloc(struct adapter *adap) argument
552 t4_uld_mem_free(struct adapter *adap) argument
562 cxgb4_shutdown_uld_adapter(struct adapter *adap, enum cxgb4_uld type) argument
580 t4_uld_clean_up(struct adapter *adap) argument
597 uld_init(struct adapter *adap, struct cxgb4_lld_info *lld) argument
644 uld_attach(struct adapter *adap, unsigned int uld) argument
670 cxgb4_uld_in_use(struct adapter *adap) argument
681 cxgb4_set_ktls_feature(struct adapter *adap, bool enable) argument
730 cxgb4_uld_alloc_resources(struct adapter *adap, enum cxgb4_uld type, const struct cxgb4_uld_info *p) argument
780 cxgb4_uld_enable(struct adapter *adap) argument
803 struct adapter *adap; local
833 struct adapter *adap; local
[all...]
H A Dcxgb4_thermal.c15 struct adapter *adap = thermal_zone_device_priv(tzdev); local
23 ret = t4_query_params(adap, adap->mbox, adap->pf, 0, 1,
38 int cxgb4_thermal_init(struct adapter *adap) argument
40 struct ch_thermal *ch_thermal = &adap->ch_thermal;
53 ret = t4_query_params(adap, adap->mbox, adap->pf, 0, 1,
61 snprintf(ch_tz_name, sizeof(ch_tz_name), "cxgb4_%s", adap
83 cxgb4_thermal_remove(struct adapter *adap) argument
[all...]
H A Dcxgb4_mps.c6 static int cxgb4_mps_ref_dec_by_mac(struct adapter *adap, argument
13 spin_lock_bh(&adap->mps_ref_lock);
14 list_for_each_entry_safe(mps_entry, tmp, &adap->mps_ref, list) {
18 spin_unlock_bh(&adap->mps_ref_lock);
27 spin_unlock_bh(&adap->mps_ref_lock);
31 static int cxgb4_mps_ref_dec(struct adapter *adap, u16 idx) argument
36 spin_lock(&adap->mps_ref_lock);
37 list_for_each_entry_safe(mps_entry, tmp, &adap->mps_ref, list) {
40 spin_unlock(&adap->mps_ref_lock);
49 spin_unlock(&adap
53 cxgb4_mps_ref_inc(struct adapter *adap, const u8 *mac_addr, u16 idx, const u8 *mask) argument
82 cxgb4_free_mac_filt(struct adapter *adap, unsigned int viid, unsigned int naddr, const u8 **addr, bool sleep_ok) argument
100 cxgb4_alloc_mac_filt(struct adapter *adap, unsigned int viid, bool free, unsigned int naddr, const u8 **addr, u16 *idx, u64 *hash, bool sleep_ok) argument
144 cxgb4_free_raw_mac_filt(struct adapter *adap, unsigned int viid, const u8 *addr, const u8 *mask, unsigned int idx, u8 lookup_type, u8 port_id, bool sleep_ok) argument
163 cxgb4_alloc_raw_mac_filt(struct adapter *adap, unsigned int viid, const u8 *addr, const u8 *mask, unsigned int idx, u8 lookup_type, u8 port_id, bool sleep_ok) argument
190 cxgb4_free_encap_mac_filt(struct adapter *adap, unsigned int viid, int idx, bool sleep_ok) argument
201 cxgb4_alloc_encap_mac_filt(struct adapter *adap, unsigned int viid, const u8 *addr, const u8 *mask, unsigned int vni, unsigned int vni_mask, u8 dip_hit, u8 lookup_type, bool sleep_ok) argument
220 cxgb4_init_mps_ref_entries(struct adapter *adap) argument
228 cxgb4_free_mps_ref_entries(struct adapter *adap) argument
[all...]
/linux-master/drivers/i2c/
H A Di2c-core.h37 static inline int __i2c_lock_bus_helper(struct i2c_adapter *adap) argument
42 WARN(!adap->algo->master_xfer_atomic && !adap->algo->smbus_xfer_atomic,
43 "No atomic I2C transfer handler for '%s'\n", dev_name(&adap->dev));
44 ret = i2c_trylock_bus(adap, I2C_LOCK_SEGMENT) ? 0 : -EAGAIN;
46 i2c_lock_bus(adap, I2C_LOCK_SEGMENT);
52 static inline int __i2c_check_suspended(struct i2c_adapter *adap) argument
54 if (test_bit(I2C_ALF_IS_SUSPENDED, &adap->locked_flags)) {
55 if (!test_and_set_bit(I2C_ALF_SUSPEND_REPORTED, &adap->locked_flags))
56 dev_WARN(&adap
68 i2c_acpi_register_devices(struct i2c_adapter *adap) argument
88 of_i2c_register_devices(struct i2c_adapter *adap) argument
95 i2c_setup_smbus_alert(struct i2c_adapter *adap) argument
[all...]
/linux-master/drivers/media/pci/pt3/
H A Dpt3_dma.c24 int pt3_stop_dma(struct pt3_adapter *adap) argument
26 struct pt3_board *pt3 = adap->dvb_adap.priv;
31 base = get_dma_base(adap->adap_idx);
46 int pt3_start_dma(struct pt3_adapter *adap) argument
48 struct pt3_board *pt3 = adap->dvb_adap.priv;
49 u32 base = get_dma_base(adap->adap_idx);
52 iowrite32(lower_32_bits(adap->desc_buf[0].b_addr),
54 iowrite32(upper_32_bits(adap->desc_buf[0].b_addr),
61 static u8 *next_unit(struct pt3_adapter *adap, int *idx, int *ofs) argument
67 if (*idx == adap
73 pt3_proc_dma(struct pt3_adapter *adap) argument
105 pt3_init_dmabuf(struct pt3_adapter *adap) argument
127 pt3_free_dmabuf(struct pt3_adapter *adap) argument
145 pt3_alloc_dmabuf(struct pt3_adapter *adap) argument
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb3/
H A Dmc5.c128 struct adapter *adap = mc5->adapter; local
135 unsigned int server_base = t3_read_reg(adap, A_MC5_DB_SERVER_INDEX);
143 dbgi_wr_data3(adap, 0, 0, 0);
145 if (mc5_write(adap, data_array_base + (i << addr_shift),
150 dbgi_wr_data3(adap, 0xffffffff, 0xffffffff, 0xff);
153 t3_write_reg(adap, A_MC5_DB_DBGI_REQ_DATA0,
156 if (mc5_write(adap, mask_array_base + (i << addr_shift),
166 struct adapter *adap = mc5->adapter; local
168 t3_write_reg(adap, A_MC5_DB_RSP_LATENCY,
170 t3_write_reg(adap, A_MC5_DB_PART_ID_INDE
230 struct adapter *adap = mc5->adapter; local
313 struct adapter *adap = mc5->adapter; local
369 struct adapter *adap = mc5->adapter; local
[all...]
/linux-master/drivers/i2c/busses/
H A Di2c-cht-wc.c59 struct cht_wc_i2c_adap *adap = data; local
62 mutex_lock(&adap->adap_lock);
65 ret = regmap_read(adap->regmap, CHT_WC_EXTCHGRIRQ, &reg);
67 dev_err(&adap->adapter.dev, "Error reading extchgrirq reg\n");
68 mutex_unlock(&adap->adap_lock);
72 reg &= ~adap->irq_mask;
75 ret = regmap_read(adap->regmap, CHT_WC_I2C_RDDATA, &adap->read_data);
77 adap->io_error = true;
83 ret = regmap_write(adap
109 cht_wc_i2c_adap_master_func(struct i2c_adapter *adap) argument
120 struct cht_wc_i2c_adap *adap = i2c_get_adapdata(_adap); local
223 struct cht_wc_i2c_adap *adap = irq_data_get_irq_chip_data(data); local
230 struct cht_wc_i2c_adap *adap = irq_data_get_irq_chip_data(data); local
247 struct cht_wc_i2c_adap *adap = irq_data_get_irq_chip_data(data); local
254 struct cht_wc_i2c_adap *adap = irq_data_get_irq_chip_data(data); local
430 struct cht_wc_i2c_adap *adap; local
534 struct cht_wc_i2c_adap *adap = platform_get_drvdata(pdev); local
[all...]
H A Di2c-au1550.c41 struct i2c_adapter adap; member in struct:i2c_au1550_data
55 static int wait_xfer_done(struct i2c_au1550_data *adap) argument
60 for (i = 0; i < adap->xfer_timeout; i++) {
61 if (RD(adap, PSC_SMBSTAT) & PSC_SMBSTAT_TE)
70 static int wait_ack(struct i2c_au1550_data *adap) argument
74 if (wait_xfer_done(adap))
77 stat = RD(adap, PSC_SMBEVNT);
84 static int wait_master_done(struct i2c_au1550_data *adap) argument
89 for (i = 0; i < 2 * adap->xfer_timeout; i++) {
90 if ((RD(adap, PSC_SMBEVN
99 do_address(struct i2c_au1550_data *adap, unsigned int addr, int rd, int q) argument
131 wait_for_rx_byte(struct i2c_au1550_data *adap, unsigned char *out) argument
155 i2c_read(struct i2c_au1550_data *adap, unsigned char *buf, unsigned int len) argument
185 i2c_write(struct i2c_au1550_data *adap, unsigned char *buf, unsigned int len) argument
215 struct i2c_au1550_data *adap = i2c_adap->algo_data; local
243 au1550_func(struct i2c_adapter *adap) argument
[all...]
/linux-master/drivers/video/fbdev/mb862xx/
H A Dmb862xx-i2c.c17 static int mb862xx_i2c_wait_event(struct i2c_adapter *adap) argument
19 struct mb862xxfb_par *par = adap->algo_data;
32 static int mb862xx_i2c_do_address(struct i2c_adapter *adap, int addr) argument
34 struct mb862xxfb_par *par = adap->algo_data;
39 if (!mb862xx_i2c_wait_event(adap))
45 static int mb862xx_i2c_write_byte(struct i2c_adapter *adap, u8 byte) argument
47 struct mb862xxfb_par *par = adap->algo_data;
51 if (!mb862xx_i2c_wait_event(adap))
56 static int mb862xx_i2c_read_byte(struct i2c_adapter *adap, u8 *byte, int last) argument
58 struct mb862xxfb_par *par = adap
67 mb862xx_i2c_stop(struct i2c_adapter *adap) argument
76 mb862xx_i2c_read(struct i2c_adapter *adap, struct i2c_msg *m) argument
90 mb862xx_i2c_write(struct i2c_adapter *adap, struct i2c_msg *m) argument
103 mb862xx_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num) argument
138 mb862xx_func(struct i2c_adapter *adap) argument
[all...]
/linux-master/drivers/media/usb/as102/
H A Das10x_cmd_stream.c13 * @adap: pointer to AS10x bus adapter
18 int as10x_cmd_add_PID_filter(struct as10x_bus_adapter_t *adap, argument
24 pcmd = adap->cmd;
25 prsp = adap->rsp;
28 as10x_cmd_build(pcmd, (++adap->cmd_xid),
43 if (adap->ops->xfer_cmd) {
44 error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd,
70 * @adap: pointer to AS10x bus adapte
75 int as10x_cmd_del_PID_filter(struct as10x_bus_adapter_t *adap, argument
120 as10x_cmd_start_streaming(struct as10x_bus_adapter_t *adap) argument
163 as10x_cmd_stop_streaming(struct as10x_bus_adapter_t *adap) argument
[all...]
/linux-master/drivers/media/usb/dvb-usb-v2/
H A Ddvb_usb_core.c203 struct dvb_usb_adapter *adap = stream->user_priv; local
204 dvb_dmx_swfilter(&adap->demux, buf, len);
210 struct dvb_usb_adapter *adap = stream->user_priv; local
211 dvb_dmx_swfilter_204(&adap->demux, buf, len);
217 struct dvb_usb_adapter *adap = stream->user_priv; local
218 dvb_dmx_swfilter_raw(&adap->demux, buf, len);
221 static int dvb_usbv2_adapter_stream_init(struct dvb_usb_adapter *adap) argument
223 dev_dbg(&adap_to_d(adap)->udev->dev, "%s: adap=%d\n", __func__,
224 adap
233 dvb_usbv2_adapter_stream_exit(struct dvb_usb_adapter *adap) argument
243 struct dvb_usb_adapter *adap = dvbdmxfeed->demux->priv; local
331 struct dvb_usb_adapter *adap = dvbdmxfeed->demux->priv; local
388 dvb_usbv2_media_device_init(struct dvb_usb_adapter *adap) argument
408 dvb_usbv2_media_device_register(struct dvb_usb_adapter *adap) argument
417 dvb_usbv2_media_device_unregister(struct dvb_usb_adapter *adap) argument
432 dvb_usbv2_adapter_dvb_init(struct dvb_usb_adapter *adap) argument
512 dvb_usbv2_adapter_dvb_exit(struct dvb_usb_adapter *adap) argument
556 struct dvb_usb_adapter *adap = fe->dvb->priv; local
595 struct dvb_usb_adapter *adap = fe->dvb->priv; local
632 dvb_usbv2_adapter_frontend_init(struct dvb_usb_adapter *adap) argument
709 dvb_usbv2_adapter_frontend_exit(struct dvb_usb_adapter *adap) argument
745 struct dvb_usb_adapter *adap; local
[all...]

Completed in 1034 milliseconds

1234567891011>>