/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() 687 struct adapter *adap = netdev2adap(dev); in cxgb4_validate_flow_actions() local 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 1055 struct adapter *adap = from_timer(adap, t, flower_stats_timer); in ch_flower_stats_cb() local 1063 struct adapter *adap = netdev2adap(dev); in cxgb4_tc_flower_stats() local 1113 int cxgb4_init_tc_flower(struct adapter *adap) in cxgb4_init_tc_flower() [all …]
|
H A D | cxgb4_debugfs.c | 335 struct adapter *adap = seq->private; in cim_qcfg_show() local 754 struct adapter *adap = seq->private; in pm_stats_show() local 824 struct adapter *adap = seq->private; in tx_rate_show() local 861 struct adapter *adap = seq->private; in cctrl_tbl_show() local 906 struct adapter *adap = seq->private; in clk_show() local 1286 struct adapter *adap; in mbox_write() local 1420 struct adapter *adap; in mps_trc_write() local 1674 struct adapter *adap = seq->private; in mps_tcam_show() local 1889 struct adapter *adap = seq->private; in mps_tcam_get_idx() local 1942 struct adapter *adap = seq->private; in sensors_show() local [all …]
|
H A D | sge.c | 1518 struct adapter *adap; in cxgb4_eth_xmit() local 2266 struct adapter *adap = netdev2adap(dev); in ethofld_hard_xmit() local 2437 struct adapter *adap = netdev2adap(dev); in cxgb4_ethofld_xmit() local 2668 struct adapter *adap = pi->adapter; in cxgb4_selftest_lb_pkt() local 3265 struct adapter *adap; in cxgb4_immdata_send() local 3644 struct adapter *adap = pi->adapter; in cxgb4_validate_lb_pkt() local 4206 struct adapter *adap = cookie; in t4_intr_msi() local 4221 struct adapter *adap = cookie; in t4_intr_intx() local 5008 void t4_sge_start(struct adapter *adap) in t4_sge_start() 5023 void t4_sge_stop(struct adapter *adap) in t4_sge_stop() [all …]
|
H A D | cxgb4_ethtool.c | 187 struct adapter *adap = netdev2adap(dev); in get_regs_len() local 383 struct adapter *adap = netdev2adap(dev); in get_regs() 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 1026 struct adapter *adap = pi->adapter; in set_dbqtimer_tick() local 1061 struct adapter *adap = pi->adapter; in set_dbqtimer() local 1124 struct adapter *adap = pi->adapter; in set_dbqtimer_tickval() 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
|
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 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 945 struct adapter *adap = pi->adapter; in cxgb4_ieee_read_ets() local [all …]
|
/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/net/ethernet/chelsio/cxgb3/ |
H A D | sge.c | 1265 struct adapter *adap = pi->adapter; in t3_eth_xmit() local 1747 struct adapter *adap = pi->adapter; in restart_offloadq() local 2477 struct adapter *adap = qs->adap; in napi_rx_handler() local 2607 struct adapter *adap = qs->adap; in t3_sge_intr_msix() local 2645 struct adapter *adap = cookie; in t3_intr_msi() local 2695 struct adapter *adap = cookie; in t3_intr_msi_napi() local 2733 struct adapter *adap = cookie; in t3_intr() local 2771 struct adapter *adap = cookie; in t3b_intr() local 2805 struct adapter *adap = cookie; in t3b_intr_napi() local 2924 struct adapter *adap = pi->adapter; in sge_timer_tx() local [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/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 | 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() 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() 652 static int m920x_tda8275_61_tuner_attach(struct dvb_usb_adapter *adap) in m920x_tda8275_61_tuner_attach() 662 static int m920x_fmd1216me_tuner_attach(struct dvb_usb_adapter *adap) in m920x_fmd1216me_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() 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() 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() 488 struct i2c_algo_pch_data *adap = i2c_adap->algo_data; in pch_i2c_readbytes() local 594 static void pch_i2c_cb(struct i2c_algo_pch_data *adap) in pch_i2c_cb() 662 struct i2c_algo_pch_data *adap = i2c_adap->algo_data; in pch_i2c_xfer() local [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/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/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() 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() 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() 425 static inline void cec_unregister_adapter(struct cec_adapter *adap) in cec_unregister_adapter() 429 static inline void cec_delete_adapter(struct cec_adapter *adap) in cec_delete_adapter() 451 static inline void cec_s_conn_info(struct cec_adapter *adap, in cec_s_conn_info() [all …]
|
/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() 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() 997 static int mxl111sf_frontend_attach_mercury(struct dvb_usb_adapter *adap) in mxl111sf_frontend_attach_mercury() [all …]
|