/openbmc/linux/drivers/media/cec/platform/cec-gpio/ |
H A D | cec-gpio.c | 15 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()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_flower.c | 155 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 D | cxgb4_debugfs.c | 202 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 D | sge.c | 313 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 D | cxgb4_ethtool.c | 187 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 951 struct adapter *adap = pi->adapter; in set_rx_intr_params() local 966 struct adapter *adap = pi->adapter; in set_adaptive_rx_setting() local 978 struct adapter *adap = pi->adapter; in get_adaptive_rx_setting() local 990 struct adapter *adap = pi->adapter; in get_dbqtimer_tick() local 1004 struct adapter *adap = pi->adapter; in get_dbqtimer() local [all …]
|
H A D | cxgb4_dcb.c | 62 struct adapter *adap = pi->adapter; in cxgb4_dcb_cleanup_apps() local 130 struct adapter *adap = pi->adapter; in cxgb4_dcb_state_fsm() local 273 void cxgb4_dcb_handle_fw_update(struct adapter *adap, in cxgb4_dcb_handle_fw_update() 444 struct adapter *adap = pi->adapter; in cxgb4_getpgtccfg() local 507 struct adapter *adap = pi->adapter; in cxgb4_setpgtccfg_tx() local 569 struct adapter *adap = pi->adapter; in cxgb4_getpgbwgcfg() local 603 struct adapter *adap = pi->adapter; in cxgb4_setpgbwgcfg_tx() local 651 struct adapter *adap = pi->adapter; in cxgb4_setpfccfg() local 787 struct adapter *adap = pi->adapter; in __cxgb4_getapp() local 840 struct adapter *adap = pi->adapter; in __cxgb4_setapp() local [all …]
|
H A D | cxgb4_fcoe.c | 41 bool cxgb_fcoe_sof_eof_supported(struct adapter *adap, struct sk_buff *skb) in cxgb_fcoe_sof_eof_supported() 71 struct adapter *adap = pi->adapter; in cxgb_fcoe_enable() local 103 struct adapter *adap = pi->adapter; in cxgb_fcoe_disable() local
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | sge.c | 481 static inline void ring_fl_db(struct adapter *adap, struct sge_fl *q) in ring_fl_db() 501 static int refill_fl(struct adapter *adap, struct sge_fl *q, int n, gfp_t gfp) in refill_fl() 559 static inline void __refill_fl(struct adapter *adap, struct sge_fl *fl) in __refill_fl() 574 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() 839 static struct sk_buff *get_packet_pg(struct adapter *adap, struct sge_fl *fl, in get_packet_pg() 1045 static inline void check_ring_tx_db(struct adapter *adap, struct sge_txq *q) in check_ring_tx_db() 1176 static void write_tx_pkt_wr(struct adapter *adap, struct sk_buff *skb, in write_tx_pkt_wr() 1265 struct adapter *adap = pi->adapter; in t3_eth_xmit() local 1418 static inline int check_desc_avail(struct adapter *adap, struct sge_txq *q, in check_desc_avail() [all …]
|
H A 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 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
|
/openbmc/linux/drivers/media/cec/core/ |
H A D | cec-core.c | 169 static void cec_devnode_unregister(struct cec_adapter *adap) in cec_devnode_unregister() 207 struct cec_adapter *adap = sf->private; in cec_error_inj_write() local 232 struct cec_adapter *adap = sf->private; in cec_error_inj_show() local 255 struct cec_adapter *adap; in cec_allocate_adapter() local 335 int cec_register_adapter(struct cec_adapter *adap, in cec_register_adapter() 396 void cec_unregister_adapter(struct cec_adapter *adap) in cec_unregister_adapter() 414 void cec_delete_adapter(struct cec_adapter *adap) in cec_delete_adapter()
|
H A D | cec-pin.c | 845 struct cec_adapter *adap = pin->adap; in cec_pin_timer() local 1034 struct cec_adapter *adap = _adap; in cec_pin_thread_func() local 1131 static int cec_pin_adap_enable(struct cec_adapter *adap, bool enable) in cec_pin_adap_enable() 1166 static int cec_pin_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in cec_pin_adap_log_addr() 1186 static int cec_pin_adap_transmit(struct cec_adapter *adap, u8 attempts, in cec_pin_adap_transmit() 1217 static void cec_pin_adap_status(struct cec_adapter *adap, in cec_pin_adap_status() 1283 static int cec_pin_adap_monitor_all_enable(struct cec_adapter *adap, in cec_pin_adap_monitor_all_enable() 1292 static void cec_pin_adap_free(struct cec_adapter *adap) in cec_pin_adap_free() 1305 static int cec_pin_received(struct cec_adapter *adap, struct cec_msg *msg) in cec_pin_received() 1314 void cec_pin_changed(struct cec_adapter *adap, bool value) in cec_pin_changed() [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | dvb-usb-urb.c | 72 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()
|
H A D | m920x.c | 249 static int m920x_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[], int num) in m920x_i2c_xfer() 346 static int m920x_update_filters(struct dvb_usb_adapter *adap) in m920x_update_filters() 381 static int m920x_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff) in m920x_pid_filter_ctrl() 390 static int m920x_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff) in m920x_pid_filter() 562 static int m920x_mt352_frontend_attach(struct dvb_usb_adapter *adap) in m920x_mt352_frontend_attach() 575 static int m920x_mt352_frontend_attach_vp7049(struct dvb_usb_adapter *adap) in m920x_mt352_frontend_attach_vp7049() 606 static int m920x_tda10046_08_frontend_attach(struct dvb_usb_adapter *adap) in m920x_tda10046_08_frontend_attach() 619 static int m920x_tda10046_0b_frontend_attach(struct dvb_usb_adapter *adap) in m920x_tda10046_0b_frontend_attach() 632 static int m920x_qt1010_tuner_attach(struct dvb_usb_adapter *adap) in m920x_qt1010_tuner_attach() 642 static int m920x_tda8275_60_tuner_attach(struct dvb_usb_adapter *adap) in m920x_tda8275_60_tuner_attach() [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-powermac.c | 28 static s32 i2c_powermac_smbus_xfer( struct i2c_adapter* adap, in i2c_powermac_smbus_xfer() 134 static int i2c_powermac_master_xfer( struct i2c_adapter *adap, in i2c_powermac_master_xfer() 199 static u32 i2c_powermac_get_addr(struct i2c_adapter *adap, in i2c_powermac_get_addr() 227 static void i2c_powermac_create_one(struct i2c_adapter *adap, in i2c_powermac_create_one() 243 static void i2c_powermac_add_missing(struct i2c_adapter *adap, in i2c_powermac_add_missing() 269 static bool i2c_powermac_get_type(struct i2c_adapter *adap, in i2c_powermac_get_type() 306 static void i2c_powermac_register_devices(struct i2c_adapter *adap, in i2c_powermac_register_devices()
|
H A D | i2c-eg20t.c | 111 #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() 371 struct i2c_algo_pch_data *adap = i2c_adap->algo_data; in pch_i2c_writebytes() local 447 static void pch_i2c_sendack(struct i2c_algo_pch_data *adap) in pch_i2c_sendack() [all …]
|
H A D | i2c-nforce2-s4985.c | 36 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()
|
H A D | i2c-amd756-s4882.c | 38 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 D | i2c-cht-wc.c | 59 struct cht_wc_i2c_adap *adap = data; in cht_wc_i2c_adap_thread_handler() local 109 static u32 cht_wc_i2c_adap_master_func(struct i2c_adapter *adap) in cht_wc_i2c_adap_master_func() 120 struct cht_wc_i2c_adap *adap = i2c_get_adapdata(_adap); in cht_wc_i2c_adap_smbus_xfer() local 223 struct cht_wc_i2c_adap *adap = irq_data_get_irq_chip_data(data); in cht_wc_i2c_irq_lock() local 230 struct cht_wc_i2c_adap *adap = irq_data_get_irq_chip_data(data); in cht_wc_i2c_irq_sync_unlock() local 247 struct cht_wc_i2c_adap *adap = irq_data_get_irq_chip_data(data); in cht_wc_i2c_irq_enable() local 254 struct cht_wc_i2c_adap *adap = irq_data_get_irq_chip_data(data); in cht_wc_i2c_irq_disable() local 430 struct cht_wc_i2c_adap *adap; in cht_wc_i2c_adap_i2c_probe() local 534 struct cht_wc_i2c_adap *adap = platform_get_drvdata(pdev); in cht_wc_i2c_adap_i2c_remove() local
|
H A D | i2c-designware-master.c | 313 static int amd_i2c_dw_xfer_quirk(struct i2c_adapter *adap, struct i2c_msg *msgs, int num_msgs) in amd_i2c_dw_xfer_quirk() 404 static int txgbe_i2c_dw_xfer_quirk(struct i2c_adapter *adap, struct i2c_msg *msgs, in txgbe_i2c_dw_xfer_quirk() 668 i2c_dw_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num) in i2c_dw_xfer() 937 static void i2c_dw_prepare_recovery(struct i2c_adapter *adap) in i2c_dw_prepare_recovery() 946 static void i2c_dw_unprepare_recovery(struct i2c_adapter *adap) in i2c_dw_unprepare_recovery() 958 struct i2c_adapter *adap = &dev->adapter; in i2c_dw_init_recovery_info() local 996 struct i2c_adapter *adap = &dev->adapter; in i2c_dw_poll_adap_quirk() local 1021 struct i2c_adapter *adap = &dev->adapter; in i2c_dw_probe_master() local
|
/openbmc/linux/drivers/gpu/drm/display/ |
H A D | drm_dp_cec.c | 92 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
|
/openbmc/linux/drivers/media/usb/as102/ |
H A D | as10x_cmd_stream.c | 18 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()
|
/openbmc/linux/include/media/ |
H A D | cec.h | 67 struct cec_adapter *adap; member 93 struct cec_adapter *adap; member 282 static inline void *cec_get_drvdata(const struct cec_adapter *adap) in cec_get_drvdata() 287 static inline bool cec_has_log_addr(const struct cec_adapter *adap, u8 log_addr) in cec_has_log_addr() 292 static inline bool cec_is_sink(const struct cec_adapter *adap) in cec_is_sink() 304 static inline bool cec_is_registered(const struct cec_adapter *adap) in cec_is_registered() 338 static inline void cec_transmit_done(struct cec_adapter *adap, u8 status, in cec_transmit_done() 353 static inline void cec_transmit_attempt_done(struct cec_adapter *adap, in cec_transmit_attempt_done() 362 static inline void cec_received_msg(struct cec_adapter *adap, in cec_received_msg() 419 static inline int cec_register_adapter(struct cec_adapter *adap, in cec_register_adapter() [all …]
|
/openbmc/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-cec.c | 19 struct cec_adapter *adap; member 24 struct cec_adapter *adap, u8 dest) in find_dest_adap() 230 static int vivid_cec_adap_enable(struct cec_adapter *adap, bool enable) in vivid_cec_adap_enable() 236 static int vivid_cec_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in vivid_cec_adap_log_addr() 241 static int vivid_cec_adap_transmit(struct cec_adapter *adap, u8 attempts, in vivid_cec_adap_transmit() 264 static int vivid_received(struct cec_adapter *adap, struct cec_msg *msg) in vivid_received()
|
/openbmc/u-boot/drivers/i2c/ |
H A D | davinci_i2c.c | 342 static struct i2c_regs *davinci_get_base(struct i2c_adapter *adap) in davinci_get_base() 363 static uint davinci_i2c_setspeed(struct i2c_adapter *adap, uint speed) in davinci_i2c_setspeed() 374 static void davinci_i2c_init(struct i2c_adapter *adap, int speed, in davinci_i2c_init() 385 static int davinci_i2c_read(struct i2c_adapter *adap, uint8_t chip, in davinci_i2c_read() 392 static int davinci_i2c_write(struct i2c_adapter *adap, uint8_t chip, in davinci_i2c_write() 400 static int davinci_i2c_probe_chip(struct i2c_adapter *adap, uint8_t chip) in davinci_i2c_probe_chip()
|
/openbmc/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf.c | 425 static int mxl111sf_lgdt3305_frontend_attach(struct dvb_usb_adapter *adap, u8 fe_id) in mxl111sf_lgdt3305_frontend_attach() 496 static int mxl111sf_lg2160_frontend_attach(struct dvb_usb_adapter *adap, u8 fe_id) in mxl111sf_lg2160_frontend_attach() 581 static int mxl111sf_lg2161_frontend_attach(struct dvb_usb_adapter *adap, u8 fe_id) in mxl111sf_lg2161_frontend_attach() 668 static int mxl111sf_lg2161_ep6_frontend_attach(struct dvb_usb_adapter *adap, u8 fe_id) in mxl111sf_lg2161_ep6_frontend_attach() 743 static int mxl111sf_attach_demod(struct dvb_usb_adapter *adap, u8 fe_id) in mxl111sf_attach_demod() 871 static int mxl111sf_attach_tuner(struct dvb_usb_adapter *adap) in mxl111sf_attach_tuner() 962 static int mxl111sf_frontend_attach_dvbt(struct dvb_usb_adapter *adap) in mxl111sf_frontend_attach_dvbt() 967 static int mxl111sf_frontend_attach_atsc(struct dvb_usb_adapter *adap) in mxl111sf_frontend_attach_atsc() 972 static int mxl111sf_frontend_attach_mh(struct dvb_usb_adapter *adap) in mxl111sf_frontend_attach_mh() 977 static int mxl111sf_frontend_attach_atsc_mh(struct dvb_usb_adapter *adap) in mxl111sf_frontend_attach_atsc_mh() [all …]
|