/drivers/i2c/algos/ |
D | i2c-algo-pca.c | 36 #define pca_outw(adap, reg, val) adap->write_byte(adap->data, reg, val) argument 37 #define pca_inw(adap, reg) adap->read_byte(adap->data, reg) argument 39 #define pca_status(adap) pca_inw(adap, I2C_PCA_STA) argument 40 #define pca_clock(adap) adap->i2c_clock argument 41 #define pca_set_con(adap, val) pca_outw(adap, I2C_PCA_CON, val) argument 42 #define pca_get_con(adap) pca_inw(adap, I2C_PCA_CON) argument 43 #define pca_wait(adap) adap->wait_for_completion(adap->data) argument 44 #define pca_reset(adap) adap->reset_chip(adap->data) argument 51 static void pca_start(struct i2c_algo_pca_data *adap) in pca_start() 66 static void pca_repeated_start(struct i2c_algo_pca_data *adap) in pca_repeated_start() [all …]
|
D | i2c-algo-pcf.c | 53 #define set_pcf(adap, ctl, val) adap->setpcf(adap->data, ctl, val) argument 54 #define get_pcf(adap, ctl) adap->getpcf(adap->data, ctl) argument 55 #define get_own(adap) adap->getown(adap->data) argument 56 #define get_clock(adap) adap->getclock(adap->data) argument 57 #define i2c_outb(adap, val) adap->setpcf(adap->data, 0, val) argument 58 #define i2c_inb(adap) adap->getpcf(adap->data, 0) argument 62 static void i2c_start(struct i2c_algo_pcf_data *adap) in i2c_start() 68 static void i2c_repstart(struct i2c_algo_pcf_data *adap) in i2c_repstart() 75 static void i2c_stop(struct i2c_algo_pcf_data *adap) in i2c_stop() 81 static void handle_lab(struct i2c_algo_pcf_data *adap, const int *status) in handle_lab() [all …]
|
D | i2c-algo-bit.c | 63 #define setsda(adap, val) adap->setsda(adap->data, val) argument 64 #define setscl(adap, val) adap->setscl(adap->data, val) argument 65 #define getsda(adap) adap->getsda(adap->data) argument 66 #define getscl(adap) adap->getscl(adap->data) argument 68 static inline void sdalo(struct i2c_algo_bit_data *adap) in sdalo() 74 static inline void sdahi(struct i2c_algo_bit_data *adap) in sdahi() 80 static inline void scllo(struct i2c_algo_bit_data *adap) in scllo() 90 static int sclhi(struct i2c_algo_bit_data *adap) in sclhi() 124 static void i2c_start(struct i2c_algo_bit_data *adap) in i2c_start() 132 static void i2c_repstart(struct i2c_algo_bit_data *adap) in i2c_repstart() [all …]
|
D | i2c-algo-sgi.c | 40 static int wait_xfer_done(struct i2c_algo_sgi_data *adap) in wait_xfer_done() 53 static int wait_ack(struct i2c_algo_sgi_data *adap) in wait_ack() 68 static int force_idle(struct i2c_algo_sgi_data *adap) in force_idle() 85 static int do_address(struct i2c_algo_sgi_data *adap, unsigned int addr, in do_address() 104 static int i2c_read(struct i2c_algo_sgi_data *adap, unsigned char *buf, in i2c_read() 121 static int i2c_write(struct i2c_algo_sgi_data *adap, unsigned char *buf, in i2c_write() 138 struct i2c_algo_sgi_data *adap = i2c_adap->algo_data; in sgi_xfer() local 156 static u32 sgi_func(struct i2c_adapter *adap) in sgi_func() 169 int i2c_sgi_add_bus(struct i2c_adapter *adap) in i2c_sgi_add_bus()
|
/drivers/media/video/pvrusb2/ |
D | pvrusb2-dvb.c | 33 static int pvr2_dvb_feed_func(struct pvr2_dvb_adapter *adap) in pvr2_dvb_feed_func() 103 static void pvr2_dvb_notify(struct pvr2_dvb_adapter *adap) in pvr2_dvb_notify() 108 static void pvr2_dvb_stream_end(struct pvr2_dvb_adapter *adap) in pvr2_dvb_stream_end() 141 static int pvr2_dvb_stream_do_start(struct pvr2_dvb_adapter *adap) in pvr2_dvb_stream_do_start() 197 static int pvr2_dvb_stream_start(struct pvr2_dvb_adapter *adap) in pvr2_dvb_stream_start() 206 struct pvr2_dvb_adapter *adap = dvbdmxfeed->demux->priv; in pvr2_dvb_ctrl_feed() local 249 struct pvr2_dvb_adapter *adap = fe->dvb->priv; in pvr2_dvb_bus_ctrl() local 255 static int pvr2_dvb_adapter_init(struct pvr2_dvb_adapter *adap) in pvr2_dvb_adapter_init() 310 static int pvr2_dvb_adapter_exit(struct pvr2_dvb_adapter *adap) in pvr2_dvb_adapter_exit() 321 static int pvr2_dvb_frontend_init(struct pvr2_dvb_adapter *adap) in pvr2_dvb_frontend_init() [all …]
|
D | pvrusb2-devattr.c | 165 static int pvr2_lgdt3303_attach(struct pvr2_dvb_adapter *adap) in pvr2_lgdt3303_attach() 175 static int pvr2_lgh06xf_attach(struct pvr2_dvb_adapter *adap) in pvr2_lgh06xf_attach() 225 static int pvr2_lgdt3302_attach(struct pvr2_dvb_adapter *adap) in pvr2_lgdt3302_attach() 235 static int pvr2_fcv1236d_attach(struct pvr2_dvb_adapter *adap) in pvr2_fcv1236d_attach() 295 static int pvr2_tda10048_attach(struct pvr2_dvb_adapter *adap) in pvr2_tda10048_attach() 305 static int pvr2_73xxx_tda18271_8295_attach(struct pvr2_dvb_adapter *adap) in pvr2_73xxx_tda18271_8295_attach() 389 static int pvr2_s5h1409_attach(struct pvr2_dvb_adapter *adap) in pvr2_s5h1409_attach() 399 static int pvr2_s5h1411_attach(struct pvr2_dvb_adapter *adap) in pvr2_s5h1411_attach() 409 static int pvr2_tda18271_8295_attach(struct pvr2_dvb_adapter *adap) in pvr2_tda18271_8295_attach()
|
/drivers/media/dvb/dvb-usb/ |
D | dib0700_devices.c | 77 static int bristol_frontend_attach(struct dvb_usb_adapter *adap) in bristol_frontend_attach() 101 static int eeprom_read(struct i2c_adapter *adap,u8 adrs,u8 *pval) in eeprom_read() 111 static int bristol_tuner_attach(struct dvb_usb_adapter *adap) in bristol_tuner_attach() 253 static int stk7700P2_frontend_attach(struct dvb_usb_adapter *adap) in stk7700P2_frontend_attach() 274 static int stk7700d_frontend_attach(struct dvb_usb_adapter *adap) in stk7700d_frontend_attach() 296 static int stk7700d_tuner_attach(struct dvb_usb_adapter *adap) in stk7700d_tuner_attach() 375 struct dvb_usb_adapter *adap = ptr; in stk7700ph_xc3028_callback() local 404 static int stk7700ph_frontend_attach(struct dvb_usb_adapter *adap) in stk7700ph_frontend_attach() 433 static int stk7700ph_tuner_attach(struct dvb_usb_adapter *adap) in stk7700ph_tuner_attach() 987 static int stk7700p_frontend_attach(struct dvb_usb_adapter *adap) in stk7700p_frontend_attach() [all …]
|
D | dvb-usb-dvb.c | 14 struct dvb_usb_adapter *adap = dvbdmxfeed->demux->priv; in dvb_usb_ctrl_feed() local 80 int dvb_usb_adapter_dvb_init(struct dvb_usb_adapter *adap, short *adapter_nums) in dvb_usb_adapter_dvb_init() 133 int dvb_usb_adapter_dvb_exit(struct dvb_usb_adapter *adap) in dvb_usb_adapter_dvb_exit() 149 struct dvb_usb_adapter *adap = fe->dvb->priv; in dvb_usb_fe_wakeup() local 161 struct dvb_usb_adapter *adap = fe->dvb->priv; in dvb_usb_fe_sleep() local 169 int dvb_usb_adapter_frontend_init(struct dvb_usb_adapter *adap) in dvb_usb_adapter_frontend_init() 197 int dvb_usb_adapter_frontend_exit(struct dvb_usb_adapter *adap) in dvb_usb_adapter_frontend_exit()
|
D | cxusb.c | 135 static int cxusb_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[], in cxusb_i2c_xfer() 301 static int cxusb_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in cxusb_streaming_ctrl() 312 static int cxusb_aver_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in cxusb_aver_streaming_ctrl() 369 struct dvb_usb_adapter *adap, int onoff) in cxusb_d680_dmb_streaming_ctrl() 710 static int cxusb_fmd1216me_tuner_attach(struct dvb_usb_adapter *adap) in cxusb_fmd1216me_tuner_attach() 718 static int cxusb_dee1601_tuner_attach(struct dvb_usb_adapter *adap) in cxusb_dee1601_tuner_attach() 725 static int cxusb_lgz201_tuner_attach(struct dvb_usb_adapter *adap) in cxusb_lgz201_tuner_attach() 731 static int cxusb_dtt7579_tuner_attach(struct dvb_usb_adapter *adap) in cxusb_dtt7579_tuner_attach() 738 static int cxusb_lgh064f_tuner_attach(struct dvb_usb_adapter *adap) in cxusb_lgh064f_tuner_attach() 748 struct dvb_usb_adapter *adap = ptr; in dvico_bluebird_xc2028_callback() local [all …]
|
D | dibusb-common.c | 21 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() 46 int dibusb_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff) in dibusb_pid_filter_ctrl() 71 int dibusb2_0_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in dibusb2_0_streaming_ctrl() 126 static int dibusb_i2c_xfer(struct i2c_adapter *adap,struct i2c_msg msg[],int num) in dibusb_i2c_xfer() 241 int dibusb_dib3000mc_frontend_attach(struct dvb_usb_adapter *adap) in dibusb_dib3000mc_frontend_attach() 260 int dibusb_dib3000mc_tuner_attach(struct dvb_usb_adapter *adap) in dibusb_dib3000mc_tuner_attach()
|
D | dibusb-mb.c | 21 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() 43 static int dibusb_thomson_tuner_attach(struct dvb_usb_adapter *adap) in dibusb_thomson_tuner_attach() 54 static int dibusb_panasonic_tuner_attach(struct dvb_usb_adapter *adap) in dibusb_panasonic_tuner_attach() 68 static int dibusb_tuner_probe_and_attach(struct dvb_usb_adapter *adap) in dibusb_tuner_probe_and_attach()
|
D | m920x.c | 191 static int m920x_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[], int num) in m920x_i2c_xfer() 280 static int m920x_update_filters(struct dvb_usb_adapter *adap) in m920x_update_filters() 315 static int m920x_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff) in m920x_pid_filter_ctrl() 324 static int m920x_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff) in m920x_pid_filter() 481 static int m920x_mt352_frontend_attach(struct dvb_usb_adapter *adap) in m920x_mt352_frontend_attach() 493 static int m920x_tda10046_08_frontend_attach(struct dvb_usb_adapter *adap) in m920x_tda10046_08_frontend_attach() 505 static int m920x_tda10046_0b_frontend_attach(struct dvb_usb_adapter *adap) in m920x_tda10046_0b_frontend_attach() 517 static int m920x_qt1010_tuner_attach(struct dvb_usb_adapter *adap) in m920x_qt1010_tuner_attach() 527 static int m920x_tda8275_60_tuner_attach(struct dvb_usb_adapter *adap) in m920x_tda8275_60_tuner_attach() 537 static int m920x_tda8275_61_tuner_attach(struct dvb_usb_adapter *adap) in m920x_tda8275_61_tuner_attach()
|
D | dvb-usb-urb.c | 69 struct dvb_usb_adapter *adap = stream->user_priv; in dvb_usb_data_complete() local 76 struct dvb_usb_adapter *adap = stream->user_priv; in dvb_usb_data_complete_204() local 81 int dvb_usb_adapter_stream_init(struct dvb_usb_adapter *adap) in dvb_usb_adapter_stream_init() 92 int dvb_usb_adapter_stream_exit(struct dvb_usb_adapter *adap) in dvb_usb_adapter_stream_exit()
|
D | vp702x.c | 115 static int vp702x_set_pld_mode(struct dvb_usb_adapter *adap, u8 bypass) in vp702x_set_pld_mode() 121 static int vp702x_set_pld_state(struct dvb_usb_adapter *adap, u8 state) in vp702x_set_pld_state() 127 static int vp702x_set_pid(struct dvb_usb_adapter *adap, u16 pid, u8 id, int onoff) in vp702x_set_pid() 148 static int vp702x_init_pid_filter(struct dvb_usb_adapter *adap) in vp702x_init_pid_filter() 171 static int vp702x_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) in vp702x_streaming_ctrl() 218 static int vp702x_frontend_attach(struct dvb_usb_adapter *adap) in vp702x_frontend_attach()
|
/drivers/i2c/busses/ |
D | i2c-pnx.c | 51 static inline void i2c_pnx_arm_timer(struct i2c_adapter *adap) in i2c_pnx_arm_timer() 75 static int i2c_pnx_start(unsigned char slave_addr, struct i2c_adapter *adap) in i2c_pnx_start() 131 static void i2c_pnx_stop(struct i2c_adapter *adap) in i2c_pnx_stop() 161 static int i2c_pnx_master_xmit(struct i2c_adapter *adap) in i2c_pnx_master_xmit() 233 static int i2c_pnx_master_rcv(struct i2c_adapter *adap) in i2c_pnx_master_rcv() 311 struct i2c_adapter *adap = dev_id; in i2c_pnx_interrupt() local 386 struct i2c_adapter *adap = (struct i2c_adapter *)data; in i2c_pnx_timeout() local 407 static inline void bus_reset_if_active(struct i2c_adapter *adap) in bus_reset_if_active() 442 i2c_pnx_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num) in i2c_pnx_xfer() 663 struct i2c_adapter *adap = i2c_pnx->adapter; in i2c_pnx_remove() local
|
D | i2c-au1550.c | 46 struct i2c_adapter adap; member 51 wait_xfer_done(struct i2c_au1550_data *adap) in wait_xfer_done() 74 wait_ack(struct i2c_au1550_data *adap) in wait_ack() 94 wait_master_done(struct i2c_au1550_data *adap) in wait_master_done() 116 do_address(struct i2c_au1550_data *adap, unsigned int addr, int rd, int q) in do_address() 161 wait_for_rx_byte(struct i2c_au1550_data *adap, u32 *ret_data) in wait_for_rx_byte() 193 i2c_read(struct i2c_au1550_data *adap, unsigned char *buf, in i2c_read() 235 i2c_write(struct i2c_au1550_data *adap, unsigned char *buf, in i2c_write() 271 struct i2c_au1550_data *adap = i2c_adap->algo_data; in au1550_xfer() local 303 au1550_func(struct i2c_adapter *adap) in au1550_func()
|
D | i2c-nforce2-s4985.c | 49 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()
|
D | i2c-amd756-s4882.c | 51 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()
|
D | i2c-sis630.c | 123 static int sis630_transaction_start(struct i2c_adapter *adap, int size, u8 *oldclock) in sis630_transaction_start() 162 static int sis630_transaction_wait(struct i2c_adapter *adap, int size) in sis630_transaction_wait() 199 static void sis630_transaction_end(struct i2c_adapter *adap, u8 oldclock) in sis630_transaction_end() 218 static int sis630_transaction(struct i2c_adapter *adap, int size) in sis630_transaction() 232 static int sis630_block_data(struct i2c_adapter *adap, union i2c_smbus_data *data, int read_write) in sis630_block_data() 317 static s32 sis630_access(struct i2c_adapter *adap, u16 addr, in sis630_access()
|
/drivers/net/cxgb3/ |
D | sge.c | 437 static int refill_fl(struct adapter *adap, struct sge_fl *q, int n, gfp_t gfp) in refill_fl() 491 static inline void __refill_fl(struct adapter *adap, struct sge_fl *fl) in __refill_fl() 506 static void recycle_rx_buf(struct adapter *adap, struct sge_fl *q, in recycle_rx_buf() 709 static struct sk_buff *get_packet(struct adapter *adap, struct sge_fl *fl, in get_packet() 766 static struct sk_buff *get_packet_pg(struct adapter *adap, struct sge_fl *fl, in get_packet_pg() 925 static inline void check_ring_tx_db(struct adapter *adap, struct sge_txq *q) in check_ring_tx_db() 1055 static void write_tx_pkt_wr(struct adapter *adap, struct sk_buff *skb, in write_tx_pkt_wr() 1144 struct adapter *adap = pi->adapter; in t3_eth_xmit() local 1293 static inline int check_desc_avail(struct adapter *adap, struct sge_txq *q, in check_desc_avail() 1348 static int ctrl_xmit(struct adapter *adap, struct sge_txq *q, in ctrl_xmit() [all …]
|
D | xgmac.c | 54 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 278 struct adapter *adap = mac->adapter; in t3_mac_set_rx_mode() local 324 struct adapter *adap = mac->adapter; in t3_mac_set_mtu() local 411 struct adapter *adap = mac->adapter; in t3_mac_set_speed_duplex_fc() local 449 struct adapter *adap = mac->adapter; in t3_mac_enable() local 484 struct adapter *adap = mac->adapter; in t3_mac_disable() local 510 struct adapter *adap = mac->adapter; in t3b2_mac_watchdog_task() local
|
D | mc5.c | 144 struct adapter *adap = mc5->adapter; in init_mask_data_array() local 182 struct adapter *adap = mc5->adapter; in init_idt52100() local 246 struct adapter *adap = mc5->adapter; in init_idt43102() local 329 struct adapter *adap = mc5->adapter; in t3_mc5_init() local 391 struct adapter *adap = mc5->adapter; in t3_read_mc5_range() local 423 struct adapter *adap = mc5->adapter; in t3_mc5_intr_handler() local
|
D | t3_hw.c | 122 static void t3_read_indirect(struct adapter *adap, unsigned int addr_reg, in t3_read_indirect() 150 struct adapter *adap = mc7->adapter; in t3_mc7_bd_read() local 194 static void mi1_init(struct adapter *adap, const struct adapter_info *ai) in mi1_init() 1138 int t3_cim_ctl_blk_read(struct adapter *adap, unsigned int addr, in t3_cim_ctl_blk_read() 1695 static int mac_intr_handler(struct adapter *adap, unsigned int idx) in mac_intr_handler() 1809 static unsigned int calc_gpio_intr(struct adapter *adap) in calc_gpio_intr() 2002 static int clear_sge_ctxt(struct adapter *adap, unsigned int id, in clear_sge_ctxt() 2485 void t3_tp_set_offload_mode(struct adapter *adap, int enable) in t3_tp_set_offload_mode() 2509 #define mem_region(adap, start, size, reg) \ argument 2521 static void partition_mem(struct adapter *adap, const struct tp_params *p) in partition_mem() [all …]
|
D | cxgb3_main.c | 221 void t3_os_phymod_changed(struct adapter *adap, int port_id) in t3_os_phymod_changed() 290 static void name_msix_vecs(struct adapter *adap) in name_msix_vecs() 309 static int request_msix_data_irqs(struct adapter *adap) in request_msix_data_irqs() 351 static int await_mgmt_replies(struct adapter *adap, unsigned long init_cnt, in await_mgmt_replies() 364 static int init_tp_parity(struct adapter *adap) in init_tp_parity() 433 static void setup_rss(struct adapter *adap) in setup_rss() 455 static void init_napi(struct adapter *adap) in init_napi() 480 static void quiesce_rx(struct adapter *adap) in quiesce_rx() 489 static void enable_all_napi(struct adapter *adap) in enable_all_napi() 535 static int setup_sge_qsets(struct adapter *adap) in setup_sge_qsets() [all …]
|
/drivers/i2c/ |
D | i2c-dev.c | 54 struct i2c_adapter *adap; member 77 static struct i2c_dev *get_free_i2c_dev(struct i2c_adapter *adap) in get_free_i2c_dev() 446 struct i2c_adapter *adap; in i2cdev_open() local 518 static int i2cdev_attach_adapter(struct i2c_adapter *adap) in i2cdev_attach_adapter() 549 static int i2cdev_detach_adapter(struct i2c_adapter *adap) in i2cdev_detach_adapter()
|