Home
last modified time | relevance | path

Searched defs:adap (Results 26 – 50 of 382) sorted by relevance

12345678910>>...16

/OK3568_Linux_fs/kernel/drivers/media/cec/platform/cec-gpio/
H A Dcec-gpio.c15 struct cec_adapter *adap; member
34 static int cec_gpio_read(struct cec_adapter *adap) in cec_gpio_read()
43 static void cec_gpio_high(struct cec_adapter *adap) in cec_gpio_high()
53 static void cec_gpio_low(struct cec_adapter *adap) in cec_gpio_low()
115 static bool cec_gpio_enable_irq(struct cec_adapter *adap) in cec_gpio_enable_irq()
123 static void cec_gpio_disable_irq(struct cec_adapter *adap) in cec_gpio_disable_irq()
130 static void cec_gpio_status(struct cec_adapter *adap, struct seq_file *file) in cec_gpio_status()
144 static int cec_gpio_read_hpd(struct cec_adapter *adap) in cec_gpio_read_hpd()
153 static int cec_gpio_read_5v(struct cec_adapter *adap) in cec_gpio_read_5v()
162 static void cec_gpio_free(struct cec_adapter *adap) in cec_gpio_free()
/OK3568_Linux_fs/kernel/drivers/media/usb/as102/
H A Das10x_cmd.c18 int as10x_cmd_turn_on(struct as10x_bus_adapter_t *adap) in as10x_cmd_turn_on()
59 int as10x_cmd_turn_off(struct as10x_bus_adapter_t *adap) in as10x_cmd_turn_off()
100 int as10x_cmd_set_tune(struct as10x_bus_adapter_t *adap, in as10x_cmd_set_tune()
155 int as10x_cmd_get_tune_status(struct as10x_bus_adapter_t *adap, in as10x_cmd_get_tune_status()
208 int as10x_cmd_get_tps(struct as10x_bus_adapter_t *adap, struct as10x_tps *ptps) in as10x_cmd_get_tps()
266 int as10x_cmd_get_demod_stats(struct as10x_bus_adapter_t *adap, in as10x_cmd_get_demod_stats()
326 int as10x_cmd_get_impulse_resp(struct as10x_bus_adapter_t *adap, in as10x_cmd_get_impulse_resp()
H A Das10x_cmd_stream.c18 int as10x_cmd_add_PID_filter(struct as10x_bus_adapter_t *adap, in as10x_cmd_add_PID_filter()
75 int as10x_cmd_del_PID_filter(struct as10x_bus_adapter_t *adap, in as10x_cmd_del_PID_filter()
120 int as10x_cmd_start_streaming(struct as10x_bus_adapter_t *adap) in as10x_cmd_start_streaming()
163 int as10x_cmd_stop_streaming(struct as10x_bus_adapter_t *adap) in as10x_cmd_stop_streaming()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_debugfs.c202 struct adapter *adap = inode->i_private; in cim_la_open() local
260 struct adapter *adap = inode->i_private; in cim_pif_la_open() local
306 struct adapter *adap = inode->i_private; in cim_ma_la_open() local
335 struct adapter *adap = seq->private; in cim_qcfg_show() local
397 struct adapter *adap = inode->i_private - qid; in cim_ibq_open() local
424 struct adapter *adap = inode->i_private - qid; in cim_obq_open() local
642 struct adapter *adap = inode->i_private; in tp_la_open() local
670 struct adapter *adap = file_inode(file)->i_private; in tp_la_write() local
711 struct adapter *adap = inode->i_private; in ulprx_la_open() local
754 struct adapter *adap = seq->private; in pm_stats_show() local
[all …]
H A Dcxgb4_tc_flower.c155 static struct ch_tc_flower_entry *ch_flower_lookup(struct adapter *adap, in ch_flower_lookup()
470 static int cxgb4_action_natmode_validate(struct adapter *adap, u8 natmode_flags, in cxgb4_action_natmode_validate()
687 struct adapter *adap = netdev2adap(dev); in cxgb4_validate_flow_actions() local
797 static void cxgb4_tc_flower_hash_prio_add(struct adapter *adap, u32 tc_prio) in cxgb4_tc_flower_hash_prio_add()
805 static void cxgb4_tc_flower_hash_prio_del(struct adapter *adap, u32 tc_prio) in cxgb4_tc_flower_hash_prio_del()
859 struct adapter *adap = netdev2adap(dev); in cxgb4_flow_rule_replace() local
931 struct adapter *adap = netdev2adap(dev); in cxgb4_tc_flower_replace() local
973 struct adapter *adap = netdev2adap(dev); in cxgb4_flow_rule_destroy() local
992 struct adapter *adap = netdev2adap(dev); in cxgb4_tc_flower_destroy() local
1015 struct adapter *adap = container_of(work, struct adapter, in ch_flower_stats_handler() local
[all …]
H A Dcxgb4_thermal.c15 struct adapter *adap = tzdev->devdata; in cxgb4_thermal_get_temp() local
35 struct adapter *adap = tzdev->devdata; in cxgb4_thermal_get_trip_type() local
47 struct adapter *adap = tzdev->devdata; in cxgb4_thermal_get_trip_temp() local
62 int cxgb4_thermal_init(struct adapter *adap) in cxgb4_thermal_init()
108 int cxgb4_thermal_remove(struct adapter *adap) in cxgb4_thermal_remove()
H A Dsge.c313 void free_tx_desc(struct adapter *adap, struct sge_txq *q, in free_tx_desc()
359 static inline int reclaim_completed_tx(struct adapter *adap, struct sge_txq *q, in reclaim_completed_tx()
391 void cxgb4_reclaim_completed_tx(struct adapter *adap, struct sge_txq *q, in cxgb4_reclaim_completed_tx()
438 static void free_rx_bufs(struct adapter *adap, struct sge_fl *q, int n) in free_rx_bufs()
466 static void unmap_rx_buf(struct adapter *adap, struct sge_fl *q) in unmap_rx_buf()
479 static inline void ring_fl_db(struct adapter *adap, struct sge_fl *q) in ring_fl_db()
535 static unsigned int refill_fl(struct adapter *adap, struct sge_fl *q, int n, in refill_fl()
632 static inline void __refill_fl(struct adapter *adap, struct sge_fl *fl) in __refill_fl()
1025 inline void cxgb4_ring_tx_db(struct adapter *adap, struct sge_txq *q, int n) in cxgb4_ring_tx_db()
1248 cxgb_fcoe_offload(struct sk_buff *skb, struct adapter *adap, in cxgb_fcoe_offload()
[all …]
H A Dcxgb4_ethtool.c187 struct adapter *adap = netdev2adap(dev); in get_regs_len() local
279 static void collect_sge_port_stats(const struct adapter *adap, in collect_sge_port_stats()
329 static void collect_adapter_stats(struct adapter *adap, struct adapter_stats *s) in collect_adapter_stats()
383 struct adapter *adap = netdev2adap(dev); in get_regs() local
407 struct adapter *adap = netdev2adap(dev); in identify_port() local
947 struct adapter *adap = pi->adapter; in set_rx_intr_params() local
962 struct adapter *adap = pi->adapter; in set_adaptive_rx_setting() local
974 struct adapter *adap = pi->adapter; in get_adaptive_rx_setting() local
986 struct adapter *adap = pi->adapter; in get_dbqtimer_tick() local
1000 struct adapter *adap = pi->adapter; in get_dbqtimer() local
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/dvb-usb/
H A Dm920x.c249 static int m920x_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[], int num) in m920x_i2c_xfer()
345 static int m920x_update_filters(struct dvb_usb_adapter *adap) in m920x_update_filters()
380 static int m920x_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff) in m920x_pid_filter_ctrl()
389 static int m920x_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff) in m920x_pid_filter()
561 static int m920x_mt352_frontend_attach(struct dvb_usb_adapter *adap) in m920x_mt352_frontend_attach()
574 static int m920x_mt352_frontend_attach_vp7049(struct dvb_usb_adapter *adap) in m920x_mt352_frontend_attach_vp7049()
605 static int m920x_tda10046_08_frontend_attach(struct dvb_usb_adapter *adap) in m920x_tda10046_08_frontend_attach()
618 static int m920x_tda10046_0b_frontend_attach(struct dvb_usb_adapter *adap) in m920x_tda10046_0b_frontend_attach()
631 static int m920x_qt1010_tuner_attach(struct dvb_usb_adapter *adap) in m920x_qt1010_tuner_attach()
641 static int m920x_tda8275_60_tuner_attach(struct dvb_usb_adapter *adap) in m920x_tda8275_60_tuner_attach()
[all …]
H A Ddibusb-mb.c18 struct dvb_usb_adapter *adap = fe->dvb->priv; in dib3000mb_i2c_gate_ctrl() local
24 static int dibusb_dib3000mb_frontend_attach(struct dvb_usb_adapter *adap) in dibusb_dib3000mb_frontend_attach()
41 static int dibusb_thomson_tuner_attach(struct dvb_usb_adapter *adap) in dibusb_thomson_tuner_attach()
52 static int dibusb_panasonic_tuner_attach(struct dvb_usb_adapter *adap) in dibusb_panasonic_tuner_attach()
66 static int dibusb_tuner_probe_and_attach(struct dvb_usb_adapter *adap) in dibusb_tuner_probe_and_attach()
H A Ddvb-usb-urb.c72 struct dvb_usb_adapter *adap = stream->user_priv; in dvb_usb_data_complete() local
79 struct dvb_usb_adapter *adap = stream->user_priv; in dvb_usb_data_complete_204() local
87 struct dvb_usb_adapter *adap = stream->user_priv; in dvb_usb_data_complete_raw() local
92 int dvb_usb_adapter_stream_init(struct dvb_usb_adapter *adap) in dvb_usb_adapter_stream_init()
116 int dvb_usb_adapter_stream_exit(struct dvb_usb_adapter *adap) in dvb_usb_adapter_stream_exit()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb3/
H A Dsge.c485 static inline void ring_fl_db(struct adapter *adap, struct sge_fl *q) in ring_fl_db()
505 static int refill_fl(struct adapter *adap, struct sge_fl *q, int n, gfp_t gfp) in refill_fl()
563 static inline void __refill_fl(struct adapter *adap, struct sge_fl *fl) in __refill_fl()
578 static void recycle_rx_buf(struct adapter *adap, struct sge_fl *q, in recycle_rx_buf()
783 static struct sk_buff *get_packet(struct adapter *adap, struct sge_fl *fl, in get_packet()
843 static struct sk_buff *get_packet_pg(struct adapter *adap, struct sge_fl *fl, in get_packet_pg()
1050 static inline void check_ring_tx_db(struct adapter *adap, struct sge_txq *q) in check_ring_tx_db()
1181 static void write_tx_pkt_wr(struct adapter *adap, struct sk_buff *skb, in write_tx_pkt_wr()
1270 struct adapter *adap = pi->adapter; in t3_eth_xmit() local
1423 static inline int check_desc_avail(struct adapter *adap, struct sge_txq *q, in check_desc_avail()
[all …]
H A 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
/OK3568_Linux_fs/kernel/drivers/media/cec/core/
H A Dcec-core.c157 static void cec_devnode_unregister(struct cec_adapter *adap) in cec_devnode_unregister()
191 struct cec_adapter *adap = sf->private; in cec_error_inj_write() local
216 struct cec_adapter *adap = sf->private; in cec_error_inj_show() local
239 struct cec_adapter *adap; in cec_allocate_adapter() local
318 int cec_register_adapter(struct cec_adapter *adap, in cec_register_adapter()
377 void cec_unregister_adapter(struct cec_adapter *adap) in cec_unregister_adapter()
395 void cec_delete_adapter(struct cec_adapter *adap) in cec_delete_adapter()
H A Dcec-pin.c845 struct cec_adapter *adap = pin->adap; in cec_pin_timer() local
1034 struct cec_adapter *adap = _adap; in cec_pin_thread_func() local
1124 static int cec_pin_adap_enable(struct cec_adapter *adap, bool enable) in cec_pin_adap_enable()
1152 static int cec_pin_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in cec_pin_adap_log_addr()
1172 static int cec_pin_adap_transmit(struct cec_adapter *adap, u8 attempts, in cec_pin_adap_transmit()
1203 static void cec_pin_adap_status(struct cec_adapter *adap, in cec_pin_adap_status()
1268 static int cec_pin_adap_monitor_all_enable(struct cec_adapter *adap, in cec_pin_adap_monitor_all_enable()
1277 static void cec_pin_adap_free(struct cec_adapter *adap) in cec_pin_adap_free()
1287 static int cec_pin_received(struct cec_adapter *adap, struct cec_msg *msg) in cec_pin_received()
1296 void cec_pin_changed(struct cec_adapter *adap, bool value) in cec_pin_changed()
[all …]
/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-cht-wc.c58 struct cht_wc_i2c_adap *adap = data; in cht_wc_i2c_adap_thread_handler() local
115 static u32 cht_wc_i2c_adap_master_func(struct i2c_adapter *adap) in cht_wc_i2c_adap_master_func()
126 struct cht_wc_i2c_adap *adap = i2c_get_adapdata(_adap); in cht_wc_i2c_adap_smbus_xfer() local
229 struct cht_wc_i2c_adap *adap = irq_data_get_irq_chip_data(data); in cht_wc_i2c_irq_lock() local
236 struct cht_wc_i2c_adap *adap = irq_data_get_irq_chip_data(data); in cht_wc_i2c_irq_sync_unlock() local
253 struct cht_wc_i2c_adap *adap = irq_data_get_irq_chip_data(data); in cht_wc_i2c_irq_enable() local
260 struct cht_wc_i2c_adap *adap = irq_data_get_irq_chip_data(data); in cht_wc_i2c_irq_disable() local
306 struct cht_wc_i2c_adap *adap; in cht_wc_i2c_adap_i2c_probe() local
408 struct cht_wc_i2c_adap *adap = platform_get_drvdata(pdev); in cht_wc_i2c_adap_i2c_remove() local
H A Di2c-eg20t.c111 #define pch_dbg(adap, fmt, arg...) \ argument
114 #define pch_err(adap, fmt, arg...) \ argument
207 static void pch_i2c_init(struct i2c_algo_pch_data *adap) in pch_i2c_init()
258 static s32 pch_i2c_wait_for_bus_idle(struct i2c_algo_pch_data *adap, in pch_i2c_wait_for_bus_idle()
294 static void pch_i2c_start(struct i2c_algo_pch_data *adap) in pch_i2c_start()
305 static void pch_i2c_stop(struct i2c_algo_pch_data *adap) in pch_i2c_stop()
313 static int pch_i2c_wait_for_check_xfer(struct i2c_algo_pch_data *adap) in pch_i2c_wait_for_check_xfer()
351 static void pch_i2c_repstart(struct i2c_algo_pch_data *adap) in pch_i2c_repstart()
370 struct i2c_algo_pch_data *adap = i2c_adap->algo_data; in pch_i2c_writebytes() local
446 static void pch_i2c_sendack(struct i2c_algo_pch_data *adap) in pch_i2c_sendack()
[all …]
H A Di2c-powermac.c28 static s32 i2c_powermac_smbus_xfer( struct i2c_adapter* adap, in i2c_powermac_smbus_xfer()
139 static int i2c_powermac_master_xfer( struct i2c_adapter *adap, in i2c_powermac_master_xfer()
206 static u32 i2c_powermac_get_addr(struct i2c_adapter *adap, in i2c_powermac_get_addr()
234 static void i2c_powermac_create_one(struct i2c_adapter *adap, in i2c_powermac_create_one()
250 static void i2c_powermac_add_missing(struct i2c_adapter *adap, in i2c_powermac_add_missing()
276 static bool i2c_powermac_get_type(struct i2c_adapter *adap, in i2c_powermac_get_type()
313 static void i2c_powermac_register_devices(struct i2c_adapter *adap, in i2c_powermac_register_devices()
H A Di2c-amd756-s4882.c38 static s32 amd756_access_virt0(struct i2c_adapter * adap, u16 addr, in amd756_access_virt0()
66 static inline s32 amd756_access_channel(struct i2c_adapter * adap, u16 addr, in amd756_access_channel()
100 static s32 amd756_access_virt1(struct i2c_adapter * adap, u16 addr, in amd756_access_virt1()
110 static s32 amd756_access_virt2(struct i2c_adapter * adap, u16 addr, in amd756_access_virt2()
120 static s32 amd756_access_virt3(struct i2c_adapter * adap, u16 addr, in amd756_access_virt3()
130 static s32 amd756_access_virt4(struct i2c_adapter * adap, u16 addr, in amd756_access_virt4()
H A Di2c-nforce2-s4985.c36 static s32 nforce2_access_virt0(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt0()
62 static inline s32 nforce2_access_channel(struct i2c_adapter *adap, u16 addr, in nforce2_access_channel()
95 static s32 nforce2_access_virt1(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt1()
105 static s32 nforce2_access_virt2(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt2()
115 static s32 nforce2_access_virt3(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt3()
125 static s32 nforce2_access_virt4(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt4()
/OK3568_Linux_fs/kernel/include/media/
H A Dcec.h60 struct cec_adapter *adap; member
86 struct cec_adapter *adap; member
257 static inline void *cec_get_drvdata(const struct cec_adapter *adap) in cec_get_drvdata()
262 static inline bool cec_has_log_addr(const struct cec_adapter *adap, u8 log_addr) in cec_has_log_addr()
267 static inline bool cec_is_sink(const struct cec_adapter *adap) in cec_is_sink()
279 static inline bool cec_is_registered(const struct cec_adapter *adap) in cec_is_registered()
313 static inline void cec_transmit_done(struct cec_adapter *adap, u8 status, in cec_transmit_done()
328 static inline void cec_transmit_attempt_done(struct cec_adapter *adap, in cec_transmit_attempt_done()
337 static inline void cec_received_msg(struct cec_adapter *adap, in cec_received_msg()
394 static inline int cec_register_adapter(struct cec_adapter *adap, in cec_register_adapter()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/test-drivers/vivid/
H A Dvivid-cec.c41 struct cec_adapter *adap, u8 dest) in vivid_cec_find_dest_adap()
64 static void vivid_cec_pin_adap_events(struct cec_adapter *adap, ktime_t ts, in vivid_cec_pin_adap_events()
128 struct cec_adapter *adap = cw->adap; in vivid_cec_xfer_done_worker() local
176 static int vivid_cec_adap_enable(struct cec_adapter *adap, bool enable) in vivid_cec_adap_enable()
182 static int vivid_cec_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in vivid_cec_adap_log_addr()
193 static int vivid_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in vivid_cec_adap_transmit()
225 static int vivid_received(struct cec_adapter *adap, struct cec_msg *msg) in vivid_received()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_dp_cec.c92 static int drm_dp_cec_adap_enable(struct cec_adapter *adap, bool enable) in drm_dp_cec_adap_enable()
102 static int drm_dp_cec_adap_log_addr(struct cec_adapter *adap, u8 addr) in drm_dp_cec_adap_log_addr()
118 static int drm_dp_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in drm_dp_cec_adap_transmit()
136 static int drm_dp_cec_adap_monitor_all_enable(struct cec_adapter *adap, in drm_dp_cec_adap_monitor_all_enable()
157 static void drm_dp_cec_adap_status(struct cec_adapter *adap, in drm_dp_cec_adap_status()
191 struct cec_adapter *adap = aux->cec.adap; in drm_dp_cec_received() local
214 struct cec_adapter *adap = aux->cec.adap; in drm_dp_cec_handle_irq() local
/OK3568_Linux_fs/u-boot/drivers/i2c/
H A Dadi_i2c.c147 static int i2c_transfer(struct i2c_adapter *adap, uint8_t chip, uint addr, in i2c_transfer()
214 static uint adi_i2c_setspeed(struct i2c_adapter *adap, uint speed) in adi_i2c_setspeed()
231 static void adi_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in adi_i2c_init()
246 static int adi_i2c_read(struct i2c_adapter *adap, uint8_t chip, in adi_i2c_read()
253 static int adi_i2c_write(struct i2c_adapter *adap, uint8_t chip, in adi_i2c_write()
259 static int adi_i2c_probe(struct i2c_adapter *adap, uint8_t chip) in adi_i2c_probe()
265 static struct twi_regs *i2c_get_base(struct i2c_adapter *adap) in i2c_get_base()
/OK3568_Linux_fs/kernel/drivers/i2c/
H A Di2c-core.h35 static inline int __i2c_lock_bus_helper(struct i2c_adapter *adap) in __i2c_lock_bus_helper()
50 static inline int __i2c_check_suspended(struct i2c_adapter *adap) in __i2c_check_suspended()
66 static inline void i2c_acpi_register_devices(struct i2c_adapter *adap) { } in i2c_acpi_register_devices()
86 static inline void of_i2c_register_devices(struct i2c_adapter *adap) { } in of_i2c_register_devices()

12345678910>>...16