Home
last modified time | relevance | path

Searched defs:adap (Results 1 – 25 of 176) sorted by relevance

12345678

/linux-3.3/drivers/i2c/algos/
Di2c-algo-pca.c40 #define pca_outw(adap, reg, val) adap->write_byte(adap->data, reg, val) argument
41 #define pca_inw(adap, reg) adap->read_byte(adap->data, reg) argument
43 #define pca_status(adap) pca_inw(adap, I2C_PCA_STA) argument
44 #define pca_clock(adap) adap->i2c_clock argument
45 #define pca_set_con(adap, val) pca_outw(adap, I2C_PCA_CON, val) argument
46 #define pca_get_con(adap) pca_inw(adap, I2C_PCA_CON) argument
47 #define pca_wait(adap) adap->wait_for_completion(adap->data) argument
48 #define pca_reset(adap) adap->reset_chip(adap->data) argument
52 struct i2c_algo_pca_data *adap = pd; in pca9665_reset() local
63 static int pca_start(struct i2c_algo_pca_data *adap) in pca_start()
[all …]
Di2c-algo-pcf.c52 #define set_pcf(adap, ctl, val) adap->setpcf(adap->data, ctl, val) argument
53 #define get_pcf(adap, ctl) adap->getpcf(adap->data, ctl) argument
54 #define get_own(adap) adap->getown(adap->data) argument
55 #define get_clock(adap) adap->getclock(adap->data) argument
56 #define i2c_outb(adap, val) adap->setpcf(adap->data, 0, val) argument
57 #define i2c_inb(adap) adap->getpcf(adap->data, 0) argument
61 static void i2c_start(struct i2c_algo_pcf_data *adap) in i2c_start()
67 static void i2c_repstart(struct i2c_algo_pcf_data *adap) in i2c_repstart()
73 static void i2c_stop(struct i2c_algo_pcf_data *adap) in i2c_stop()
79 static void handle_lab(struct i2c_algo_pcf_data *adap, const int *status) in handle_lab()
[all …]
Di2c-algo-bit.c62 #define setsda(adap, val) adap->setsda(adap->data, val) argument
63 #define setscl(adap, val) adap->setscl(adap->data, val) argument
64 #define getsda(adap) adap->getsda(adap->data) argument
65 #define getscl(adap) adap->getscl(adap->data) argument
67 static inline void sdalo(struct i2c_algo_bit_data *adap) in sdalo()
73 static inline void sdahi(struct i2c_algo_bit_data *adap) in sdahi()
79 static inline void scllo(struct i2c_algo_bit_data *adap) in scllo()
89 static int sclhi(struct i2c_algo_bit_data *adap) in sclhi()
129 static void i2c_start(struct i2c_algo_bit_data *adap) in i2c_start()
137 static void i2c_repstart(struct i2c_algo_bit_data *adap) in i2c_repstart()
[all …]
/linux-3.3/drivers/media/video/pvrusb2/
Dpvrusb2-dvb.c34 static int pvr2_dvb_feed_func(struct pvr2_dvb_adapter *adap) in pvr2_dvb_feed_func()
104 static void pvr2_dvb_notify(struct pvr2_dvb_adapter *adap) in pvr2_dvb_notify()
109 static void pvr2_dvb_stream_end(struct pvr2_dvb_adapter *adap) in pvr2_dvb_stream_end()
142 static int pvr2_dvb_stream_do_start(struct pvr2_dvb_adapter *adap) in pvr2_dvb_stream_do_start()
198 static int pvr2_dvb_stream_start(struct pvr2_dvb_adapter *adap) in pvr2_dvb_stream_start()
207 struct pvr2_dvb_adapter *adap = dvbdmxfeed->demux->priv; in pvr2_dvb_ctrl_feed() local
250 struct pvr2_dvb_adapter *adap = fe->dvb->priv; in pvr2_dvb_bus_ctrl() local
256 static int pvr2_dvb_adapter_init(struct pvr2_dvb_adapter *adap) in pvr2_dvb_adapter_init()
311 static int pvr2_dvb_adapter_exit(struct pvr2_dvb_adapter *adap) in pvr2_dvb_adapter_exit()
322 static int pvr2_dvb_frontend_init(struct pvr2_dvb_adapter *adap) in pvr2_dvb_frontend_init()
[all …]
Dpvrusb2-devattr.c192 static int pvr2_lgdt3303_attach(struct pvr2_dvb_adapter *adap) in pvr2_lgdt3303_attach()
202 static int pvr2_lgh06xf_attach(struct pvr2_dvb_adapter *adap) in pvr2_lgh06xf_attach()
252 static int pvr2_lgdt3302_attach(struct pvr2_dvb_adapter *adap) in pvr2_lgdt3302_attach()
262 static int pvr2_fcv1236d_attach(struct pvr2_dvb_adapter *adap) in pvr2_fcv1236d_attach()
328 static int pvr2_tda10048_attach(struct pvr2_dvb_adapter *adap) in pvr2_tda10048_attach()
338 static int pvr2_73xxx_tda18271_8295_attach(struct pvr2_dvb_adapter *adap) in pvr2_73xxx_tda18271_8295_attach()
425 static int pvr2_s5h1409_attach(struct pvr2_dvb_adapter *adap) in pvr2_s5h1409_attach()
435 static int pvr2_s5h1411_attach(struct pvr2_dvb_adapter *adap) in pvr2_s5h1411_attach()
445 static int pvr2_tda18271_8295_attach(struct pvr2_dvb_adapter *adap) in pvr2_tda18271_8295_attach()
/linux-3.3/drivers/media/dvb/dvb-usb/
Ddib0700_devices.c84 static int bristol_frontend_attach(struct dvb_usb_adapter *adap) in bristol_frontend_attach()
108 static int eeprom_read(struct i2c_adapter *adap,u8 adrs,u8 *pval) in eeprom_read()
118 static int bristol_tuner_attach(struct dvb_usb_adapter *adap) in bristol_tuner_attach()
263 static int stk7700P2_frontend_attach(struct dvb_usb_adapter *adap) in stk7700P2_frontend_attach()
291 static int stk7700d_frontend_attach(struct dvb_usb_adapter *adap) in stk7700d_frontend_attach()
320 static int stk7700d_tuner_attach(struct dvb_usb_adapter *adap) in stk7700d_tuner_attach()
399 struct dvb_usb_adapter *adap = ptr; in stk7700ph_xc3028_callback() local
428 static int stk7700ph_frontend_attach(struct dvb_usb_adapter *adap) in stk7700ph_frontend_attach()
461 static int stk7700ph_tuner_attach(struct dvb_usb_adapter *adap) in stk7700ph_tuner_attach()
673 static int stk7700p_frontend_attach(struct dvb_usb_adapter *adap) in stk7700p_frontend_attach()
[all …]
Ddvb-usb-dvb.c14 struct dvb_usb_adapter *adap = dvbdmxfeed->demux->priv; in dvb_usb_ctrl_feed() local
97 int dvb_usb_adapter_dvb_init(struct dvb_usb_adapter *adap, short *adapter_nums) in dvb_usb_adapter_dvb_init()
163 int dvb_usb_adapter_dvb_exit(struct dvb_usb_adapter *adap) in dvb_usb_adapter_dvb_exit()
179 struct dvb_usb_adapter *adap = fe->dvb->priv; in dvb_usb_set_active_fe() local
196 struct dvb_usb_adapter *adap = fe->dvb->priv; in dvb_usb_fe_wakeup() local
210 struct dvb_usb_adapter *adap = fe->dvb->priv; in dvb_usb_fe_sleep() local
220 int dvb_usb_adapter_frontend_init(struct dvb_usb_adapter *adap) in dvb_usb_adapter_frontend_init()
275 int dvb_usb_adapter_frontend_exit(struct dvb_usb_adapter *adap) in dvb_usb_adapter_frontend_exit()
Dcxusb.c138 static int cxusb_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[], in cxusb_i2c_xfer()
304 static int cxusb_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in cxusb_streaming_ctrl()
315 static int cxusb_aver_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in cxusb_aver_streaming_ctrl()
372 struct dvb_usb_adapter *adap, int onoff) in cxusb_d680_dmb_streaming_ctrl()
726 static int cxusb_fmd1216me_tuner_attach(struct dvb_usb_adapter *adap) in cxusb_fmd1216me_tuner_attach()
734 static int cxusb_dee1601_tuner_attach(struct dvb_usb_adapter *adap) in cxusb_dee1601_tuner_attach()
741 static int cxusb_lgz201_tuner_attach(struct dvb_usb_adapter *adap) in cxusb_lgz201_tuner_attach()
747 static int cxusb_dtt7579_tuner_attach(struct dvb_usb_adapter *adap) in cxusb_dtt7579_tuner_attach()
754 static int cxusb_lgh064f_tuner_attach(struct dvb_usb_adapter *adap) in cxusb_lgh064f_tuner_attach()
764 struct dvb_usb_adapter *adap = ptr; in dvico_bluebird_xc2028_callback() local
[all …]
Ddibusb-mb.c21 struct dvb_usb_adapter *adap = fe->dvb->priv; in dib3000mb_i2c_gate_ctrl() local
27 static int dibusb_dib3000mb_frontend_attach(struct dvb_usb_adapter *adap) in dibusb_dib3000mb_frontend_attach()
44 static int dibusb_thomson_tuner_attach(struct dvb_usb_adapter *adap) in dibusb_thomson_tuner_attach()
55 static int dibusb_panasonic_tuner_attach(struct dvb_usb_adapter *adap) in dibusb_panasonic_tuner_attach()
69 static int dibusb_tuner_probe_and_attach(struct dvb_usb_adapter *adap) in dibusb_tuner_probe_and_attach()
Dm920x.c201 static int m920x_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[], int num) in m920x_i2c_xfer()
290 static int m920x_update_filters(struct dvb_usb_adapter *adap) in m920x_update_filters()
325 static int m920x_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff) in m920x_pid_filter_ctrl()
334 static int m920x_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff) in m920x_pid_filter()
500 static int m920x_mt352_frontend_attach(struct dvb_usb_adapter *adap) in m920x_mt352_frontend_attach()
513 static int m920x_tda10046_08_frontend_attach(struct dvb_usb_adapter *adap) in m920x_tda10046_08_frontend_attach()
526 static int m920x_tda10046_0b_frontend_attach(struct dvb_usb_adapter *adap) in m920x_tda10046_0b_frontend_attach()
539 static int m920x_qt1010_tuner_attach(struct dvb_usb_adapter *adap) in m920x_qt1010_tuner_attach()
549 static int m920x_tda8275_60_tuner_attach(struct dvb_usb_adapter *adap) in m920x_tda8275_60_tuner_attach()
559 static int m920x_tda8275_61_tuner_attach(struct dvb_usb_adapter *adap) in m920x_tda8275_61_tuner_attach()
[all …]
Ddibusb-common.c21 int dibusb_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in dibusb_streaming_ctrl()
35 int dibusb_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff) in dibusb_pid_filter()
47 int dibusb_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff) in dibusb_pid_filter_ctrl()
72 int dibusb2_0_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in dibusb2_0_streaming_ctrl()
127 static int dibusb_i2c_xfer(struct i2c_adapter *adap,struct i2c_msg msg[],int num) in dibusb_i2c_xfer()
250 int dibusb_dib3000mc_frontend_attach(struct dvb_usb_adapter *adap) in dibusb_dib3000mc_frontend_attach()
283 int dibusb_dib3000mc_tuner_attach(struct dvb_usb_adapter *adap) in dibusb_dib3000mc_tuner_attach()
Ddvb-usb-urb.c71 struct dvb_usb_adapter *adap = stream->user_priv; in dvb_usb_data_complete() local
78 struct dvb_usb_adapter *adap = stream->user_priv; in dvb_usb_data_complete_204() local
83 int dvb_usb_adapter_stream_init(struct dvb_usb_adapter *adap) in dvb_usb_adapter_stream_init()
103 int dvb_usb_adapter_stream_exit(struct dvb_usb_adapter *adap) in dvb_usb_adapter_stream_exit()
/linux-3.3/drivers/video/mb862xx/
Dmb862xx-i2c.c21 static int mb862xx_i2c_wait_event(struct i2c_adapter *adap) in mb862xx_i2c_wait_event()
36 static int mb862xx_i2c_do_address(struct i2c_adapter *adap, int addr) in mb862xx_i2c_do_address()
49 static int mb862xx_i2c_write_byte(struct i2c_adapter *adap, u8 byte) in mb862xx_i2c_write_byte()
60 static int mb862xx_i2c_read_byte(struct i2c_adapter *adap, u8 *byte, int last) in mb862xx_i2c_read_byte()
71 void mb862xx_i2c_stop(struct i2c_adapter *adap) in mb862xx_i2c_stop()
80 static int mb862xx_i2c_read(struct i2c_adapter *adap, struct i2c_msg *m) in mb862xx_i2c_read()
94 static int mb862xx_i2c_write(struct i2c_adapter *adap, struct i2c_msg *m) in mb862xx_i2c_write()
107 static int mb862xx_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, in mb862xx_xfer()
142 static u32 mb862xx_func(struct i2c_adapter *adap) in mb862xx_func()
/linux-3.3/drivers/staging/media/as102/
Das10x_cmd.c32 int as10x_cmd_turn_on(struct as10x_bus_adapter_t *adap) in as10x_cmd_turn_on()
78 int as10x_cmd_turn_off(struct as10x_bus_adapter_t *adap) in as10x_cmd_turn_off()
124 int as10x_cmd_set_tune(struct as10x_bus_adapter_t *adap, in as10x_cmd_set_tune()
184 int as10x_cmd_get_tune_status(struct as10x_bus_adapter_t *adap, in as10x_cmd_get_tune_status()
242 int as10x_cmd_get_tps(struct as10x_bus_adapter_t *adap, struct as10x_tps *ptps) in as10x_cmd_get_tps()
305 int as10x_cmd_get_demod_stats(struct as10x_bus_adapter_t *adap, in as10x_cmd_get_demod_stats()
370 int as10x_cmd_get_impulse_resp(struct as10x_bus_adapter_t *adap, in as10x_cmd_get_impulse_resp()
Das10x_cmd_stream.c31 int as10x_cmd_add_PID_filter(struct as10x_bus_adapter_t *adap, in as10x_cmd_add_PID_filter()
91 int as10x_cmd_del_PID_filter(struct as10x_bus_adapter_t *adap, in as10x_cmd_del_PID_filter()
139 int as10x_cmd_start_streaming(struct as10x_bus_adapter_t *adap) in as10x_cmd_start_streaming()
185 int as10x_cmd_stop_streaming(struct as10x_bus_adapter_t *adap) in as10x_cmd_stop_streaming()
/linux-3.3/drivers/i2c/busses/
Di2c-au1550.c55 struct i2c_adapter adap; member
70 static int wait_xfer_done(struct i2c_au1550_data *adap) in wait_xfer_done()
85 static int wait_ack(struct i2c_au1550_data *adap) in wait_ack()
99 static int wait_master_done(struct i2c_au1550_data *adap) in wait_master_done()
114 do_address(struct i2c_au1550_data *adap, unsigned int addr, int rd, int q) in do_address()
146 static int wait_for_rx_byte(struct i2c_au1550_data *adap, unsigned char *out) in wait_for_rx_byte()
170 static int i2c_read(struct i2c_au1550_data *adap, unsigned char *buf, in i2c_read()
200 static int i2c_write(struct i2c_au1550_data *adap, unsigned char *buf, in i2c_write()
230 struct i2c_au1550_data *adap = i2c_adap->algo_data; in au1550_xfer() local
258 static u32 au1550_func(struct i2c_adapter *adap) in au1550_func()
Di2c-nforce2-s4985.c49 static s32 nforce2_access_virt0(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt0()
75 static inline s32 nforce2_access_channel(struct i2c_adapter *adap, u16 addr, in nforce2_access_channel()
108 static s32 nforce2_access_virt1(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt1()
118 static s32 nforce2_access_virt2(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt2()
128 static s32 nforce2_access_virt3(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt3()
138 static s32 nforce2_access_virt4(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt4()
Di2c-amd756-s4882.c51 static s32 amd756_access_virt0(struct i2c_adapter * adap, u16 addr, in amd756_access_virt0()
79 static inline s32 amd756_access_channel(struct i2c_adapter * adap, u16 addr, in amd756_access_channel()
113 static s32 amd756_access_virt1(struct i2c_adapter * adap, u16 addr, in amd756_access_virt1()
123 static s32 amd756_access_virt2(struct i2c_adapter * adap, u16 addr, in amd756_access_virt2()
133 static s32 amd756_access_virt3(struct i2c_adapter * adap, u16 addr, in amd756_access_virt3()
143 static s32 amd756_access_virt4(struct i2c_adapter * adap, u16 addr, in amd756_access_virt4()
Di2c-eg20t.c124 #define pch_dbg(adap, fmt, arg...) \ argument
127 #define pch_err(adap, fmt, arg...) \ argument
220 static void pch_i2c_init(struct i2c_algo_pch_data *adap) in pch_i2c_init()
276 static s32 pch_i2c_wait_for_bus_idle(struct i2c_algo_pch_data *adap, in pch_i2c_wait_for_bus_idle()
306 static void pch_i2c_start(struct i2c_algo_pch_data *adap) in pch_i2c_start()
317 static s32 pch_i2c_wait_for_xfer_complete(struct i2c_algo_pch_data *adap) in pch_i2c_wait_for_xfer_complete()
344 static s32 pch_i2c_getack(struct i2c_algo_pch_data *adap) in pch_i2c_getack()
362 static void pch_i2c_stop(struct i2c_algo_pch_data *adap) in pch_i2c_stop()
374 static void pch_i2c_repstart(struct i2c_algo_pch_data *adap) in pch_i2c_repstart()
393 struct i2c_algo_pch_data *adap = i2c_adap->algo_data; in pch_i2c_writebytes() local
[all …]
/linux-3.3/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c112 static void t4_read_indirect(struct adapter *adap, unsigned int addr_reg, in t4_read_indirect()
126 static void get_mbox_rpl(struct adapter *adap, __be64 *rpl, int nflit, in get_mbox_rpl()
136 static void fw_asrt(struct adapter *adap, u32 mbox_addr) in fw_asrt()
147 static void dump_mbox(struct adapter *adap, int mbox, u32 data_reg) in dump_mbox()
183 int t4_wr_mbox_meat(struct adapter *adap, int mbox, const void *cmd, int size, in t4_wr_mbox_meat()
270 int t4_mc_read(struct adapter *adap, u32 addr, __be32 *data, u64 *ecc) in t4_mc_read()
307 int t4_edc_read(struct adapter *adap, int idx, u32 addr, __be32 *data, u64 *ecc) in t4_edc_read()
728 int t4_load_fw(struct adapter *adap, const u8 *fw_data, unsigned int size) in t4_load_fw()
820 int t4_link_start(struct adapter *adap, unsigned int mbox, unsigned int port, in t4_link_start()
858 int t4_restart_aneg(struct adapter *adap, unsigned int mbox, unsigned int port) in t4_restart_aneg()
[all …]
Dcxgb4_main.c309 void t4_os_portmod_changed(const struct adapter *adap, int port_id) in t4_os_portmod_changed()
512 struct adapter *adap = cookie; in t4_nondata_intr() local
526 static void name_msix_vecs(struct adapter *adap) in name_msix_vecs()
557 static int request_msix_queue_irqs(struct adapter *adap) in request_msix_queue_irqs()
606 static void free_msix_queue_irqs(struct adapter *adap) in free_msix_queue_irqs()
654 static int setup_rss(struct adapter *adap) in setup_rss()
680 static void quiesce_rx(struct adapter *adap) in quiesce_rx()
695 static void enable_rx(struct adapter *adap) in enable_rx()
721 static int setup_sge_queues(struct adapter *adap) in setup_sge_queues()
826 static int upgrade_fw(struct adapter *adap) in upgrade_fw()
[all …]
Dsge.c333 static void free_tx_desc(struct adapter *adap, struct sge_txq *q, in free_tx_desc()
377 static inline void reclaim_completed_tx(struct adapter *adap, struct sge_txq *q, in reclaim_completed_tx()
414 static void free_rx_bufs(struct adapter *adap, struct sge_fl *q, int n) in free_rx_bufs()
441 static void unmap_rx_buf(struct adapter *adap, struct sge_fl *q) in unmap_rx_buf()
454 static inline void ring_fl_db(struct adapter *adap, struct sge_fl *q) in ring_fl_db()
485 static unsigned int refill_fl(struct adapter *adap, struct sge_fl *q, int n, in refill_fl()
569 static inline void __refill_fl(struct adapter *adap, struct sge_fl *fl) in __refill_fl()
767 static inline void ring_tx_db(struct adapter *adap, struct sge_txq *q, int n) in ring_tx_db()
883 struct adapter *adap; in t4_eth_xmit() local
1163 int t4_mgmt_tx(struct adapter *adap, struct sk_buff *skb) in t4_mgmt_tx()
[all …]
/linux-3.3/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c480 static inline void ring_fl_db(struct adapter *adap, struct sge_fl *q) in ring_fl_db()
500 static int refill_fl(struct adapter *adap, struct sge_fl *q, int n, gfp_t gfp) in refill_fl()
558 static inline void __refill_fl(struct adapter *adap, struct sge_fl *fl) in __refill_fl()
573 static void recycle_rx_buf(struct adapter *adap, struct sge_fl *q, in recycle_rx_buf()
779 static struct sk_buff *get_packet(struct adapter *adap, struct sge_fl *fl, in get_packet()
838 static struct sk_buff *get_packet_pg(struct adapter *adap, struct sge_fl *fl, in get_packet_pg()
1007 static inline void check_ring_tx_db(struct adapter *adap, struct sge_txq *q) in check_ring_tx_db()
1137 static void write_tx_pkt_wr(struct adapter *adap, struct sk_buff *skb, in write_tx_pkt_wr()
1226 struct adapter *adap = pi->adapter; in t3_eth_xmit() local
1370 static inline int check_desc_avail(struct adapter *adap, struct sge_txq *q, in check_desc_avail()
[all …]
Dxgmac.c54 struct adapter *adap = mac->adapter; in xaui_serdes_reset() local
99 struct adapter *adap = mac->adapter; in t3_mac_reset() local
152 struct adapter *adap = mac->adapter; in t3b2_mac_reset() local
303 struct adapter *adap = mac->adapter; in t3_mac_set_rx_mode() local
350 struct adapter *adap = mac->adapter; in t3_mac_set_mtu() local
431 struct adapter *adap = mac->adapter; in t3_mac_set_speed_duplex_fc() local
470 struct adapter *adap = mac->adapter; in t3_mac_enable() local
508 struct adapter *adap = mac->adapter; in t3_mac_disable() local
534 struct adapter *adap = mac->adapter; in t3b2_mac_watchdog_task() local
/linux-3.3/sound/soc/codecs/
Dl3.c30 static void sendbyte(struct l3_pins *adap, unsigned int byte) in sendbyte()
50 static void sendbytes(struct l3_pins *adap, const u8 *buf, in sendbytes()
67 int l3_write(struct l3_pins *adap, u8 addr, u8 *data, int len) in l3_write()

12345678