/linux-master/drivers/staging/vt6655/ |
H A D | channel.h | 13 void vnt_init_bands(struct vnt_private *priv); 15 bool set_channel(struct vnt_private *priv, struct ieee80211_channel *ch);
|
H A D | device_main.c | 122 static void device_free_info(struct vnt_private *priv); 123 static void device_print_info(struct vnt_private *priv); 128 static int device_init_rd0_ring(struct vnt_private *priv); 129 static int device_init_rd1_ring(struct vnt_private *priv); 130 static int device_init_td0_ring(struct vnt_private *priv); 131 static int device_init_td1_ring(struct vnt_private *priv); 133 static int device_rx_srv(struct vnt_private *priv, unsigned int idx); 134 static int device_tx_srv(struct vnt_private *priv, unsigned int idx); 136 static void device_free_rx_buf(struct vnt_private *priv, 138 static void device_init_registers(struct vnt_private *priv); 152 struct vnt_private *priv = pci_get_drvdata(pcid); local 159 device_get_options(struct vnt_private *priv) argument 175 device_set_options(struct vnt_private *priv) argument 261 device_init_registers(struct vnt_private *priv) argument 479 device_print_info(struct vnt_private *priv) argument 486 device_free_info(struct vnt_private *priv) argument 504 device_init_rings(struct vnt_private *priv) argument 580 device_free_rings(struct vnt_private *priv) argument 597 device_init_rd0_ring(struct vnt_private *priv) argument 643 device_init_rd1_ring(struct vnt_private *priv) argument 689 device_free_rd0_ring(struct vnt_private *priv) argument 701 device_free_rd1_ring(struct vnt_private *priv) argument 713 device_init_td0_ring(struct vnt_private *priv) argument 753 device_init_td1_ring(struct vnt_private *priv) argument 793 device_free_td0_ring(struct vnt_private *priv) argument 806 device_free_td1_ring(struct vnt_private *priv) argument 821 device_rx_srv(struct vnt_private *priv, unsigned int idx) argument 850 device_alloc_rx_buf(struct vnt_private *priv, struct vnt_rx_desc *rd) argument 879 device_free_rx_buf(struct vnt_private *priv, struct vnt_rx_desc *rd) argument 905 vnt_int_report_rate(struct vnt_private *priv, struct vnt_td_info *context, u8 tsr0, u8 tsr1) argument 965 device_tx_srv(struct vnt_private *priv, unsigned int idx) argument 1015 device_error(struct vnt_private *priv, unsigned short status) argument 1025 device_free_tx_buf(struct vnt_private *priv, struct vnt_tx_desc *desc) argument 1038 vnt_check_bb_vga(struct vnt_private *priv) argument 1090 vnt_interrupt_process(struct vnt_private *priv) argument 1198 struct vnt_private *priv = local 1209 struct vnt_private *priv = arg; local 1218 vnt_tx_packet(struct vnt_private *priv, struct sk_buff *skb) argument 1284 struct vnt_private *priv = hw->priv; local 1292 struct vnt_private *priv = hw->priv; local 1344 struct vnt_private *priv = hw->priv; local 1365 struct vnt_private *priv = hw->priv; local 1396 struct vnt_private *priv = hw->priv; local 1422 struct vnt_private *priv = hw->priv; local 1466 struct vnt_private *priv = hw->priv; local 1553 struct vnt_private *priv = hw->priv; local 1573 struct vnt_private *priv = hw->priv; local 1632 struct vnt_private *priv = hw->priv; local 1653 struct vnt_private *priv = hw->priv; local 1662 struct vnt_private *priv = hw->priv; local 1673 struct vnt_private *priv = hw->priv; local 1680 struct vnt_private *priv = hw->priv; local 1708 vnt_init(struct vnt_private *priv) argument 1727 struct vnt_private *priv; local 1837 struct vnt_private *priv = dev_get_drvdata(dev_d); local [all...] |
H A D | channel.c | 52 static void vnt_init_band(struct vnt_private *priv, argument 64 priv->hw->wiphy->bands[band] = supported_band; 67 void vnt_init_bands(struct vnt_private *priv) argument 69 vnt_init_band(priv, &vnt_supported_2ghz_band, NL80211_BAND_2GHZ); 75 * @priv: The adapter to be set 81 bool set_channel(struct vnt_private *priv, struct ieee80211_channel *ch) argument 85 if (priv->current_ch == ch->hw_value) 89 if (priv->update_bbvga && 90 priv->bbvga_current != priv [all...] |
/linux-master/drivers/net/dsa/qca/ |
H A D | qca8k_leds.h | 8 int qca8k_setup_led_ctrl(struct qca8k_priv *priv); 10 static inline int qca8k_setup_led_ctrl(struct qca8k_priv *priv) argument
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-hix5hd2.c | 95 static u32 hix5hd2_i2c_clr_pend_irq(struct hix5hd2_i2c_priv *priv) argument 97 u32 val = readl_relaxed(priv->regs + HIX5I2C_SR); 99 writel_relaxed(val, priv->regs + HIX5I2C_ICR); 104 static void hix5hd2_i2c_clr_all_irq(struct hix5hd2_i2c_priv *priv) argument 106 writel_relaxed(I2C_CLEAR_ALL, priv->regs + HIX5I2C_ICR); 109 static void hix5hd2_i2c_disable_irq(struct hix5hd2_i2c_priv *priv) argument 111 writel_relaxed(0, priv->regs + HIX5I2C_CTRL); 114 static void hix5hd2_i2c_enable_irq(struct hix5hd2_i2c_priv *priv) argument 117 priv->regs + HIX5I2C_CTRL); 120 static void hix5hd2_i2c_drv_setrate(struct hix5hd2_i2c_priv *priv) argument 142 hix5hd2_i2c_init(struct hix5hd2_i2c_priv *priv) argument 150 hix5hd2_i2c_reset(struct hix5hd2_i2c_priv *priv) argument 158 hix5hd2_i2c_wait_bus_idle(struct hix5hd2_i2c_priv *priv) argument 176 hix5hd2_rw_over(struct hix5hd2_i2c_priv *priv) argument 187 hix5hd2_rw_handle_stop(struct hix5hd2_i2c_priv *priv) argument 197 hix5hd2_read_handle(struct hix5hd2_i2c_priv *priv) argument 210 hix5hd2_write_handle(struct hix5hd2_i2c_priv *priv) argument 223 hix5hd2_rw_preprocess(struct hix5hd2_i2c_priv *priv) argument 245 struct hix5hd2_i2c_priv *priv = dev_id; local 299 hix5hd2_i2c_message_start(struct hix5hd2_i2c_priv *priv, int stop) argument 314 hix5hd2_i2c_xfer_msg(struct hix5hd2_i2c_priv *priv, struct i2c_msg *msgs, int stop) argument 357 struct hix5hd2_i2c_priv *priv = i2c_get_adapdata(adap); local 394 struct hix5hd2_i2c_priv *priv; local 471 struct hix5hd2_i2c_priv *priv = platform_get_drvdata(pdev); local 480 struct hix5hd2_i2c_priv *priv = dev_get_drvdata(dev); local 489 struct hix5hd2_i2c_priv *priv = dev_get_drvdata(dev); local [all...] |
/linux-master/drivers/media/dvb-frontends/ |
H A D | as102_fe.h | 10 int (*set_tune)(void *priv, struct as10x_tune_args *tune_args); 11 int (*get_tps)(void *priv, struct as10x_tps *tps); 12 int (*get_status)(void *priv, struct as10x_tune_status *tstate); 13 int (*get_stats)(void *priv, struct as10x_demod_stats *demod_stats); 14 int (*stream_ctrl)(void *priv, int acquire, uint32_t elna_cfg); 19 void *priv,
|
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | led.h | 20 void iwlagn_led_enable(struct iwl_priv *priv); 21 void iwl_leds_init(struct iwl_priv *priv); 22 void iwl_leds_exit(struct iwl_priv *priv); 24 static inline void iwlagn_led_enable(struct iwl_priv *priv) argument 27 static inline void iwl_leds_init(struct iwl_priv *priv) argument 30 static inline void iwl_leds_exit(struct iwl_priv *priv) argument
|
H A D | main.c | 142 void iwl_update_chain_flags(struct iwl_priv *priv) argument 146 for_each_context(priv, ctx) { 147 iwlagn_set_rxon_chain(priv, ctx); 149 iwlagn_commit_rxon(priv, ctx); 154 static void iwl_set_beacon_tim(struct iwl_priv *priv, argument 177 IWL_WARN(priv, "Unable to find TIM Element in beacon\n"); 180 int iwlagn_send_beacon_cmd(struct iwl_priv *priv) argument 196 lockdep_assert_held(&priv->mutex); 198 if (!priv->beacon_ctx) { 199 IWL_ERR(priv, "tryin 266 struct iwl_priv *priv = local 305 struct iwl_priv *priv = local 323 struct iwl_priv *priv = local 354 iwl_send_statistics_request(struct iwl_priv *priv, u8 flags, bool clear) argument 384 struct iwl_priv *priv = from_timer(priv, t, statistics_periodic); local 397 iwl_print_cont_event_trace(struct iwl_priv *priv, u32 base, u32 start_idx, u32 num_events, u32 capacity, u32 mode) argument 446 iwl_continuous_event_trace(struct iwl_priv *priv) argument 540 struct iwl_priv *priv = from_timer(priv, t, ucode_trace); local 555 struct iwl_priv *priv = local 595 iwl_init_context(struct iwl_priv *priv, u32 ucode_flags) argument 657 iwl_rf_kill_ct_config(struct iwl_priv *priv) argument 702 iwlagn_send_calib_cfg_rt(struct iwl_priv *priv, u32 cfg) argument 719 iwlagn_send_tx_ant_config(struct iwl_priv *priv, u8 valid_tx_ant) argument 736 iwl_send_bt_config(struct iwl_priv *priv) argument 764 iwl_alive_start(struct iwl_priv *priv) argument 870 iwl_clear_driver_stations(struct iwl_priv *priv) argument 895 iwl_down(struct iwl_priv *priv) argument 958 struct iwl_priv *priv = container_of(work, struct iwl_priv, local 977 iwlagn_prepare_restart(struct iwl_priv *priv) argument 1025 struct iwl_priv *priv = container_of(data, struct iwl_priv, restart); local 1051 iwl_setup_deferred_work(struct iwl_priv *priv) argument 1072 iwl_cancel_deferred_work(struct iwl_priv *priv) argument 1089 iwl_init_drv(struct iwl_priv *priv) argument 1127 iwl_uninit_drv(struct iwl_priv *priv) argument 1138 iwl_set_hw_params(struct iwl_priv *priv) argument 1151 iwl_option_config(struct iwl_priv *priv) argument 1172 iwl_eeprom_init_hw_params(struct iwl_priv *priv) argument 1231 struct iwl_priv *priv; local 1511 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); local 1607 iwl_dump_nic_error_log(struct iwl_priv *priv) argument 1681 iwl_print_event_log(struct iwl_priv *priv, u32 start_idx, u32 num_events, u32 mode, int pos, char **buf, size_t bufsz) argument 1759 iwl_print_last_event_logs(struct iwl_priv *priv, u32 capacity, u32 num_wraps, u32 next_entry, u32 size, u32 mode, int pos, char **buf, size_t bufsz) argument 1794 iwl_dump_nic_event_log(struct iwl_priv *priv, bool full_log, char **buf) argument 1895 iwlagn_fw_error(struct iwl_priv *priv, bool ondemand) argument 1949 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); local 1962 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); local 1974 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); local 2024 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); local 2032 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); local 2051 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); local 2070 iwlagn_lift_passive_no_rx(struct iwl_priv *priv) argument 2091 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); local 2101 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlxbf_gige/ |
H A D | mlxbf_gige_tx.c | 17 int mlxbf_gige_tx_init(struct mlxbf_gige *priv) argument 21 size = MLXBF_GIGE_TX_WQE_SZ * priv->tx_q_entries; 22 priv->tx_wqe_base = dma_alloc_coherent(priv->dev, size, 23 &priv->tx_wqe_base_dma, 25 if (!priv->tx_wqe_base) 28 priv->tx_wqe_next = priv->tx_wqe_base; 31 writeq(priv->tx_wqe_base_dma, priv 58 mlxbf_gige_tx_deinit(struct mlxbf_gige *priv) argument 108 mlxbf_gige_tx_buffs_avail(struct mlxbf_gige *priv) argument 126 mlxbf_gige_handle_tx_complete(struct mlxbf_gige *priv) argument 179 mlxbf_gige_update_tx_wqe_next(struct mlxbf_gige *priv) argument 194 struct mlxbf_gige *priv = netdev_priv(netdev); local [all...] |
/linux-master/drivers/spi/ |
H A D | spi-slave-time.c | 41 static int spi_slave_time_submit(struct spi_slave_time_priv *priv); 45 struct spi_slave_time_priv *priv = arg; local 48 ret = priv->msg.status; 52 ret = spi_slave_time_submit(priv); 59 dev_info(&priv->spi->dev, "Terminating\n"); 60 complete(&priv->finished); 63 static int spi_slave_time_submit(struct spi_slave_time_priv *priv) argument 72 priv->buf[0] = cpu_to_be32(ts); 73 priv->buf[1] = cpu_to_be32(rem_us); 75 spi_message_init_with_transfers(&priv 89 struct spi_slave_time_priv *priv; local 111 struct spi_slave_time_priv *priv = spi_get_drvdata(spi); local [all...] |
/linux-master/drivers/net/wireless/marvell/libertas/ |
H A D | cmdresp.c | 22 * @priv: A pointer to struct lbs_private structure 28 void lbs_mac_event_disconnected(struct lbs_private *priv, argument 33 if (priv->connect_status != LBS_CONNECTED) 42 if (priv->wdev->iftype == NL80211_IFTYPE_STATION) 43 lbs_send_disconnect_notification(priv, locally_generated); 46 netif_stop_queue(priv->dev); 47 netif_carrier_off(priv->dev); 50 spin_lock_irqsave(&priv->driver_lock, flags); 51 dev_kfree_skb_irq(priv->currenttxskb); 52 priv 65 lbs_process_command_response(struct lbs_private *priv, u8 *data, u32 len) argument 223 lbs_process_event(struct lbs_private *priv, u32 event) argument [all...] |
H A D | main.c | 102 int lbs_set_iface_type(struct lbs_private *priv, enum nl80211_iftype type) argument 108 ret = lbs_set_monitor_mode(priv, 1); 111 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) 112 ret = lbs_set_monitor_mode(priv, 0); 114 ret = lbs_set_snmp_mib(priv, SNMP_MIB_OID_BSS_TYPE, 1); 117 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) 118 ret = lbs_set_monitor_mode(priv, 0); 120 ret = lbs_set_snmp_mib(priv, SNMP_MIB_OID_BSS_TYPE, 2); 128 int lbs_start_iface(struct lbs_private *priv) argument 133 if (priv 180 struct lbs_private *priv = dev->ml_priv; local 202 lbs_command_queue_empty(struct lbs_private *priv) argument 212 lbs_stop_iface(struct lbs_private *priv) argument 246 struct lbs_private *priv = dev->ml_priv; local 268 lbs_host_to_card_done(struct lbs_private *priv) argument 290 struct lbs_private *priv = dev->ml_priv; local 360 lbs_update_mcast(struct lbs_private *priv) argument 415 struct lbs_private *priv = container_of(work, struct lbs_private, mcast_work); local 421 struct lbs_private *priv = dev->ml_priv; local 437 struct lbs_private *priv = dev->ml_priv; local 641 lbs_setup_firmware(struct lbs_private *priv) argument 670 lbs_suspend(struct lbs_private *priv) argument 694 lbs_resume(struct lbs_private *priv) argument 727 struct lbs_private *priv = from_timer(priv, t, command_timer); local 761 struct lbs_private *priv = from_timer(priv, t, tx_lockup_timer); local 784 struct lbs_private *priv = from_timer(priv, t, auto_deepsleep_timer); local 805 lbs_enter_auto_deep_sleep(struct lbs_private *priv) argument 816 lbs_exit_auto_deep_sleep(struct lbs_private *priv) argument 825 lbs_init_adapter(struct lbs_private *priv) argument 880 lbs_free_adapter(struct lbs_private *priv) argument 910 struct lbs_private *priv = NULL; local 987 lbs_remove_card(struct lbs_private *priv) argument 1035 lbs_rtap_supported(struct lbs_private *priv) argument 1046 lbs_start_card(struct lbs_private *priv) argument 1082 lbs_stop_card(struct lbs_private *priv) argument 1105 lbs_queue_event(struct lbs_private *priv, u32 event) argument 1122 lbs_notify_command_response(struct lbs_private *priv, u8 resp_idx) argument [all...] |
H A D | cfg.h | 11 int lbs_cfg_register(struct lbs_private *priv); 12 void lbs_cfg_free(struct lbs_private *priv); 14 void lbs_send_disconnect_notification(struct lbs_private *priv, 16 void lbs_send_mic_failureevent(struct lbs_private *priv, u32 event); 18 void lbs_scan_done(struct lbs_private *priv); 19 void lbs_scan_deinit(struct lbs_private *priv); 20 int lbs_disconnect(struct lbs_private *priv, u16 reason);
|
/linux-master/sound/soc/codecs/ |
H A D | mt6359-accdet.c | 58 static void accdet_set_debounce(struct mt6359_accdet *priv, int state, 60 static unsigned int adjust_eint_analog_setting(struct mt6359_accdet *priv); 61 static void config_digital_init_by_mode(struct mt6359_accdet *priv); 62 static void config_eint_init_by_mode(struct mt6359_accdet *priv); 63 static inline void mt6359_accdet_init(struct mt6359_accdet *priv); 64 static unsigned int mt6359_accdet_jd_setting(struct mt6359_accdet *priv); 65 static void mt6359_accdet_recover_jd_setting(struct mt6359_accdet *priv); 66 static void mt6359_accdet_jack_report(struct mt6359_accdet *priv); 67 static void recover_eint_analog_setting(struct mt6359_accdet *priv); 68 static void recover_eint_digital_setting(struct mt6359_accdet *priv); 71 adjust_eint_analog_setting(struct mt6359_accdet *priv) argument 105 adjust_eint_digital_setting(struct mt6359_accdet *priv) argument 135 mt6359_accdet_jd_setting(struct mt6359_accdet *priv) argument 153 recover_eint_analog_setting(struct mt6359_accdet *priv) argument 178 recover_eint_digital_setting(struct mt6359_accdet *priv) argument 223 recover_eint_setting(struct mt6359_accdet *priv) argument 231 mt6359_accdet_recover_jd_setting(struct mt6359_accdet *priv) argument 268 accdet_set_debounce(struct mt6359_accdet *priv, int state, unsigned int debounce) argument 319 mt6359_accdet_jack_report(struct mt6359_accdet *priv) argument 330 check_button(struct mt6359_accdet *priv, unsigned int v) argument 357 is_key_pressed(struct mt6359_accdet *priv, bool pressed) argument 365 check_jack_btn_type(struct mt6359_accdet *priv) argument 398 struct mt6359_accdet *priv = local 416 struct mt6359_accdet *priv = local 458 struct mt6359_accdet *priv = data; local 548 mt6359_accdet_parse_dt(struct mt6359_accdet *priv) argument 680 config_digital_init_by_mode(struct mt6359_accdet *priv) argument 738 config_eint_init_by_mode(struct mt6359_accdet *priv) argument 796 mt6359_accdet_init(struct mt6359_accdet *priv) argument 906 struct mt6359_accdet *priv = local 924 struct mt6359_accdet *priv; local [all...] |
/linux-master/drivers/media/rc/img-ir/ |
H A D | img-ir-core.c | 23 struct img_ir_priv *priv = dev_id; local 26 spin_lock(&priv->lock); 28 irq_status = img_ir_read(priv, IMG_IR_IRQ_STATUS); 29 img_ir_write(priv, IMG_IR_IRQ_CLEAR, irq_status); 32 irq_status &= img_ir_read(priv, IMG_IR_IRQ_ENABLE); 35 if (irq_status & IMG_IR_IRQ_EDGE && img_ir_raw_enabled(&priv->raw)) 36 img_ir_isr_raw(priv, irq_status); 42 img_ir_hw_enabled(&priv->hw)) 43 img_ir_isr_hw(priv, irq_status); 45 spin_unlock(&priv 49 img_ir_setup(struct img_ir_priv *priv) argument 61 img_ir_ident(struct img_ir_priv *priv) argument 78 struct img_ir_priv *priv; local 157 struct img_ir_priv *priv = platform_get_drvdata(pdev); local [all...] |
/linux-master/drivers/net/wireless/st/cw1200/ |
H A D | bh.c | 47 struct cw1200_common *priv = local 49 cw1200_bh(priv); 52 int cw1200_register_bh(struct cw1200_common *priv) argument 56 priv->bh_workqueue = alloc_workqueue("cw1200_bh", 60 if (!priv->bh_workqueue) 63 INIT_WORK(&priv->bh_work, cw1200_bh_work); 67 atomic_set(&priv->bh_rx, 0); 68 atomic_set(&priv->bh_tx, 0); 69 atomic_set(&priv->bh_term, 0); 70 atomic_set(&priv 83 cw1200_unregister_bh(struct cw1200_common *priv) argument 94 cw1200_irq_handler(struct cw1200_common *priv) argument 110 cw1200_bh_wakeup(struct cw1200_common *priv) argument 122 cw1200_bh_suspend(struct cw1200_common *priv) argument 137 cw1200_bh_resume(struct cw1200_common *priv) argument 152 wsm_alloc_tx_buffer(struct cw1200_common *priv) argument 157 wsm_release_tx_buffer(struct cw1200_common *priv, int count) argument 172 cw1200_bh_read_ctrl_reg(struct cw1200_common *priv, u16 *ctrl_reg) argument 189 cw1200_device_wakeup(struct cw1200_common *priv) argument 224 cw1200_enable_powersave(struct cw1200_common *priv, bool enable) argument 232 cw1200_bh_rx_helper(struct cw1200_common *priv, uint16_t *ctrl_reg, int *tx) argument 339 cw1200_bh_tx_helper(struct cw1200_common *priv, int *pending_tx, int *tx_burst) argument 411 struct cw1200_common *priv = arg; local [all...] |
H A D | pm.c | 97 struct cw1200_common *priv) 137 static int cw1200_resume_work(struct cw1200_common *priv, argument 144 return queue_delayed_work(priv->workqueue, work, tmo); 147 int cw1200_can_suspend(struct cw1200_common *priv) argument 149 if (atomic_read(&priv->bh_rx)) { 150 wiphy_dbg(priv->hw->wiphy, "Suspend interrupted.\n"); 159 struct cw1200_common *priv = hw->priv; local 160 struct cw1200_pm_state *pm_state = &priv->pm_state; 171 if (priv 96 cw1200_pm_init(struct cw1200_pm_state *pm, struct cw1200_common *priv) argument 304 struct cw1200_common *priv = hw->priv; local [all...] |
/linux-master/drivers/net/wireless/realtek/rtl818x/rtl8187/ |
H A D | rfkill.c | 20 static bool rtl8187_is_radio_enabled(struct rtl8187_priv *priv) argument 24 gpio = rtl818x_ioread8(priv, &priv->map->GPIO0); 25 rtl818x_iowrite8(priv, &priv->map->GPIO0, gpio & ~priv->rfkill_mask); 26 gpio = rtl818x_ioread8(priv, &priv->map->GPIO1); 28 return gpio & priv->rfkill_mask; 33 struct rtl8187_priv *priv local 45 struct rtl8187_priv *priv = hw->priv; local [all...] |
/linux-master/drivers/net/ethernet/google/gve/ |
H A D | gve_main.c | 40 static int gve_verify_driver_compatibility(struct gve_priv *priv) argument 46 driver_info = dma_alloc_coherent(&priv->pdev->dev, 69 err = gve_adminq_verify_driver_compatibility(priv, 77 dma_free_coherent(&priv->pdev->dev, 87 struct gve_priv *priv = netdev_priv(dev); local 89 if (!gve_is_gqi(priv)) 97 struct gve_priv *priv = netdev_priv(dev); local 99 if (gve_is_gqi(priv)) 107 struct gve_priv *priv = netdev_priv(dev); local 113 num_tx_queues = gve_num_tx_queues(priv); 142 gve_alloc_counter_array(struct gve_priv *priv) argument 155 gve_free_counter_array(struct gve_priv *priv) argument 170 struct gve_priv *priv = container_of(work, struct gve_priv, local 178 gve_stats_report_schedule(struct gve_priv *priv) argument 189 struct gve_priv *priv = from_timer(priv, t, stats_report_timer); local 197 gve_alloc_stats_report(struct gve_priv *priv) argument 218 gve_free_stats_report(struct gve_priv *priv) argument 231 struct gve_priv *priv = arg; local 240 struct gve_priv *priv = block->priv; local 261 struct gve_priv *priv; local 310 struct gve_priv *priv = block->priv; local 344 gve_alloc_notify_blocks(struct gve_priv *priv) argument 462 gve_free_notify_blocks(struct gve_priv *priv) argument 490 gve_setup_device_resources(struct gve_priv *priv) argument 554 gve_teardown_device_resources(struct gve_priv *priv) argument 585 gve_unregister_qpl(struct gve_priv *priv, u32 i) argument 601 gve_register_qpl(struct gve_priv *priv, u32 i) argument 640 gve_register_xdp_qpls(struct gve_priv *priv) argument 656 gve_register_qpls(struct gve_priv *priv) argument 684 gve_unregister_xdp_qpls(struct gve_priv *priv) argument 700 gve_unregister_qpls(struct gve_priv *priv) argument 728 gve_create_xdp_rings(struct gve_priv *priv) argument 749 gve_create_rings(struct gve_priv *priv) argument 798 init_xdp_sync_stats(struct gve_priv *priv) argument 812 gve_init_sync_stats(struct gve_priv *priv) argument 826 gve_tx_get_curr_alloc_cfg(struct gve_priv *priv, struct gve_tx_alloc_rings_cfg *cfg) argument 839 gve_tx_stop_rings(struct gve_priv *priv, int start_id, int num_rings) argument 854 gve_tx_start_rings(struct gve_priv *priv, int start_id, int num_rings) argument 867 gve_alloc_xdp_rings(struct gve_priv *priv) argument 889 gve_alloc_rings(struct gve_priv *priv, struct gve_tx_alloc_rings_cfg *tx_alloc_cfg, struct gve_rx_alloc_rings_cfg *rx_alloc_cfg) argument 919 gve_destroy_xdp_rings(struct gve_priv *priv) argument 939 gve_destroy_rings(struct gve_priv *priv) argument 963 gve_free_xdp_rings(struct gve_priv *priv) argument 977 gve_free_rings(struct gve_priv *priv, struct gve_tx_alloc_rings_cfg *tx_cfg, struct gve_rx_alloc_rings_cfg *rx_cfg) argument 990 gve_alloc_page(struct gve_priv *priv, struct device *dev, struct page **page, dma_addr_t *dma, enum dma_data_direction dir, gfp_t gfp_flags) argument 1008 gve_alloc_queue_page_list(struct gve_priv *priv, struct gve_queue_page_list *qpl, u32 id, int pages) argument 1048 gve_free_queue_page_list(struct gve_priv *priv, struct gve_queue_page_list *qpl, int id) argument 1070 gve_free_n_qpls(struct gve_priv *priv, struct gve_queue_page_list *qpls, int start_id, int num_qpls) argument 1081 gve_alloc_n_qpls(struct gve_priv *priv, struct gve_queue_page_list *qpls, int page_count, int start_id, int num_qpls) argument 1106 gve_alloc_qpls(struct gve_priv *priv, struct gve_qpls_alloc_cfg *cfg) argument 1164 gve_free_qpls(struct gve_priv *priv, struct gve_qpls_alloc_cfg *cfg) argument 1188 gve_schedule_reset(struct gve_priv *priv) argument 1199 gve_reg_xdp_info(struct gve_priv *priv, struct net_device *dev) argument 1254 gve_unreg_xdp_info(struct gve_priv *priv) argument 1277 gve_drain_page_cache(struct gve_priv *priv) argument 1285 gve_qpls_get_curr_alloc_cfg(struct gve_priv *priv, struct gve_qpls_alloc_cfg *cfg) argument 1297 gve_rx_get_curr_alloc_cfg(struct gve_priv *priv, struct gve_rx_alloc_rings_cfg *cfg) argument 1313 gve_get_curr_alloc_cfgs(struct gve_priv *priv, struct gve_qpls_alloc_cfg *qpls_alloc_cfg, struct gve_tx_alloc_rings_cfg *tx_alloc_cfg, struct gve_rx_alloc_rings_cfg *rx_alloc_cfg) argument 1323 gve_rx_start_rings(struct gve_priv *priv, int num_rings) argument 1335 gve_rx_stop_rings(struct gve_priv *priv, int num_rings) argument 1350 gve_queues_mem_free(struct gve_priv *priv, struct gve_qpls_alloc_cfg *qpls_alloc_cfg, struct gve_tx_alloc_rings_cfg *tx_alloc_cfg, struct gve_rx_alloc_rings_cfg *rx_alloc_cfg) argument 1359 gve_queues_mem_alloc(struct gve_priv *priv, struct gve_qpls_alloc_cfg *qpls_alloc_cfg, struct gve_tx_alloc_rings_cfg *tx_alloc_cfg, struct gve_rx_alloc_rings_cfg *rx_alloc_cfg) argument 1386 gve_queues_mem_remove(struct gve_priv *priv) argument 1404 gve_queues_start(struct gve_priv *priv, struct gve_qpls_alloc_cfg *qpls_alloc_cfg, struct gve_tx_alloc_rings_cfg *tx_alloc_cfg, struct gve_rx_alloc_rings_cfg *rx_alloc_cfg) argument 1487 struct gve_priv *priv = netdev_priv(dev); local 1509 gve_queues_stop(struct gve_priv *priv) argument 1548 struct gve_priv *priv = netdev_priv(dev); local 1559 gve_remove_xdp_queues(struct gve_priv *priv) argument 1582 gve_add_xdp_queues(struct gve_priv *priv) argument 1622 gve_handle_link_status(struct gve_priv *priv, bool link_status) argument 1639 gve_set_xdp(struct gve_priv *priv, struct bpf_prog *prog, struct netlink_ext_ack *extack) argument 1683 struct gve_priv *priv = netdev_priv(dev); local 1738 struct gve_priv *priv = netdev_priv(dev); local 1789 struct gve_priv *priv = netdev_priv(dev); local 1815 struct gve_priv *priv = netdev_priv(dev); local 1847 struct gve_priv *priv = netdev_priv(dev); local 1866 gve_adjust_config(struct gve_priv *priv, struct gve_qpls_alloc_cfg *qpls_alloc_cfg, struct gve_tx_alloc_rings_cfg *tx_alloc_cfg, struct gve_rx_alloc_rings_cfg *rx_alloc_cfg) argument 1908 gve_adjust_queues(struct gve_priv *priv, struct gve_queue_config new_rx_config, struct gve_queue_config new_tx_config) argument 1949 gve_turndown(struct gve_priv *priv) argument 1980 gve_turnup(struct gve_priv *priv) argument 2020 struct gve_priv *priv; local 2062 gve_get_pkt_buf_size(const struct gve_priv *priv, bool enable_hsplit) argument 2071 gve_header_split_supported(const struct gve_priv *priv) argument 2076 gve_set_hsplit_config(struct gve_priv *priv, u8 tcp_data_split) argument 2119 struct gve_priv *priv = netdev_priv(netdev); local 2162 gve_handle_status(struct gve_priv *priv, u32 status) argument 2174 gve_handle_reset(struct gve_priv *priv) argument 2190 gve_handle_report_stats(struct gve_priv *priv) argument 2269 struct gve_priv *priv = container_of(work, struct gve_priv, local 2279 gve_set_netdev_xdp_features(struct gve_priv *priv) argument 2291 gve_init_priv(struct gve_priv *priv, bool skip_describe_device) argument 2383 gve_teardown_priv_resources(struct gve_priv *priv) argument 2389 gve_trigger_reset(struct gve_priv *priv) argument 2395 gve_reset_and_teardown(struct gve_priv *priv, bool was_up) argument 2404 gve_reset_recovery(struct gve_priv *priv, bool was_up) argument 2423 gve_reset(struct gve_priv *priv, bool attempt_teardown) argument 2482 struct gve_priv *priv; local 2613 struct gve_priv *priv = netdev_priv(netdev); local 2630 struct gve_priv *priv = netdev_priv(netdev); local 2648 struct gve_priv *priv = netdev_priv(netdev); local 2668 struct gve_priv *priv = netdev_priv(netdev); local [all...] |
/linux-master/drivers/char/ipmi/ |
H A D | kcs_bmc_cdev_ipmi.c | 122 static inline void set_state(struct kcs_bmc_ipmi *priv, u8 state) argument 124 kcs_bmc_update_status(priv->client.dev, KCS_STATUS_STATE_MASK, KCS_STATUS_STATE(state)); 127 static void kcs_bmc_ipmi_force_abort(struct kcs_bmc_ipmi *priv) argument 129 set_state(priv, ERROR_STATE); 130 kcs_bmc_read_data(priv->client.dev); 131 kcs_bmc_write_data(priv->client.dev, KCS_ZERO_DATA); 133 priv->phase = KCS_PHASE_ERROR; 134 priv->data_in_avail = false; 135 priv->data_in_idx = 0; 138 static void kcs_bmc_ipmi_handle_data(struct kcs_bmc_ipmi *priv) argument 214 kcs_bmc_ipmi_handle_cmd(struct kcs_bmc_ipmi *priv) argument 262 struct kcs_bmc_ipmi *priv; local 300 struct kcs_bmc_ipmi *priv = to_kcs_bmc(filp); local 307 struct kcs_bmc_ipmi *priv = to_kcs_bmc(filp); local 323 struct kcs_bmc_ipmi *priv = to_kcs_bmc(filp); local 385 struct kcs_bmc_ipmi *priv = to_kcs_bmc(filp); local 421 struct kcs_bmc_ipmi *priv = to_kcs_bmc(filp); local 451 struct kcs_bmc_ipmi *priv = to_kcs_bmc(filp); local 474 struct kcs_bmc_ipmi *priv; local 517 struct kcs_bmc_ipmi *priv = NULL, *pos; local [all...] |
/linux-master/drivers/usb/renesas_usbhs/ |
H A D | mod.c | 26 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); local 28 return VBSTS & usbhs_read(priv, INTSTS0); 31 static int usbhsm_autonomy_irq_vbus(struct usbhs_priv *priv, argument 34 struct platform_device *pdev = usbhs_priv_to_pdev(priv); 41 void usbhs_mod_autonomy_mode(struct usbhs_priv *priv) argument 43 struct usbhs_mod_info *info = usbhs_priv_to_modinfo(priv); 48 usbhs_irq_callback_update(priv, NULL); 51 void usbhs_mod_non_autonomy_mode(struct usbhs_priv *priv) argument 53 struct usbhs_mod_info *info = usbhs_priv_to_modinfo(priv); 55 info->get_vbus = priv 65 usbhs_mod_register(struct usbhs_priv *priv, struct usbhs_mod *mod, int id) argument 73 usbhs_mod_get(struct usbhs_priv *priv, int id) argument 88 usbhs_mod_is_host(struct usbhs_priv *priv) argument 99 usbhs_mod_get_current(struct usbhs_priv *priv) argument 106 usbhs_mod_change(struct usbhs_priv *priv, int id) argument 127 usbhs_mod_probe(struct usbhs_priv *priv) argument 161 usbhs_mod_remove(struct usbhs_priv *priv) argument 191 usbhs_status_get_each_irq(struct usbhs_priv *priv, struct usbhs_irq_state *state) argument 232 struct usbhs_priv *priv = data; local 303 usbhs_irq_callback_update(struct usbhs_priv *priv, struct usbhs_mod *mod) argument [all...] |
/linux-master/drivers/hwmon/ |
H A D | aquacomputer_d5next.c | 647 static void aqc_delay_ctrl_report(struct aqc_data *priv) argument 653 if (priv->ctrl_report_delay) { 654 s64 delta = ktime_ms_delta(ktime_get(), priv->last_ctrl_report_op); 656 if (delta < priv->ctrl_report_delay) 657 msleep(priv->ctrl_report_delay - delta); 662 static int aqc_get_ctrl_data(struct aqc_data *priv) argument 666 aqc_delay_ctrl_report(priv); 668 memset(priv->buffer, 0x00, priv->buffer_size); 669 ret = hid_hw_raw_request(priv 680 aqc_send_ctrl_data(struct aqc_data *priv) argument 716 aqc_get_ctrl_val(struct aqc_data *priv, int offset, long *val, int type) argument 742 aqc_set_ctrl_vals(struct aqc_data *priv, int *offsets, long *vals, int *types, int len) argument 775 aqc_set_ctrl_val(struct aqc_data *priv, int offset, long val, int type) argument 782 const struct aqc_data *priv = data; local 940 aqc_legacy_read(struct aqc_data *priv) argument 1021 struct aqc_data *priv = dev_get_drvdata(dev); local 1122 struct aqc_data *priv = dev_get_drvdata(dev); local 1166 struct aqc_data *priv = dev_get_drvdata(dev); local 1340 struct aqc_data *priv; local 1481 struct aqc_data *priv = seqf->private; local 1491 struct aqc_data *priv = seqf->private; local 1501 struct aqc_data *priv = seqf->private; local 1509 aqc_debugfs_init(struct aqc_data *priv) argument 1530 struct aqc_data *priv; local 1879 struct aqc_data *priv = hid_get_drvdata(hdev); local [all...] |
/linux-master/drivers/net/dsa/realtek/ |
H A D | rtl83xx.c | 19 * Context: Can sleep. Holds priv->map_lock lock. 24 struct realtek_priv *priv = ctx; local 26 mutex_lock(&priv->map_lock); 36 * Context: Releases priv->map_lock lock. 41 struct realtek_priv *priv = ctx; local 43 mutex_unlock(&priv->map_lock); 49 struct realtek_priv *priv = bus->priv; local 51 return priv->ops->phy_read(priv, add 57 struct realtek_priv *priv = bus->priv; local 74 struct realtek_priv *priv = ds->priv; local 133 struct realtek_priv *priv; local 225 rtl83xx_register_switch(struct realtek_priv *priv) argument 260 rtl83xx_unregister_switch(struct realtek_priv *priv) argument 279 rtl83xx_shutdown(struct realtek_priv *priv) argument 299 rtl83xx_remove(struct realtek_priv *priv) argument 306 rtl83xx_reset_assert(struct realtek_priv *priv) argument 319 rtl83xx_reset_deassert(struct realtek_priv *priv) argument [all...] |
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_gpio.c | 30 static void ath_detect_bt_priority(struct ath9k_htc_priv *priv) argument 32 struct ath_btcoex *btcoex = &priv->btcoex; 33 struct ath_hw *ah = priv->ah; 40 clear_bit(OP_BT_PRIORITY_DETECTED, &priv->op_flags); 41 clear_bit(OP_BT_SCAN, &priv->op_flags); 46 set_bit(OP_BT_PRIORITY_DETECTED, &priv->op_flags); 47 set_bit(OP_BT_SCAN, &priv->op_flags); 51 set_bit(OP_BT_PRIORITY_DETECTED, &priv->op_flags); 66 struct ath9k_htc_priv *priv = container_of(work, struct ath9k_htc_priv, local 68 struct ath_btcoex *btcoex = &priv 100 struct ath9k_htc_priv *priv = container_of(work, struct ath9k_htc_priv, local 117 ath_htc_init_btcoex_work(struct ath9k_htc_priv *priv) argument 134 ath_htc_resume_btcoex_work(struct ath9k_htc_priv *priv) argument 152 ath_htc_cancel_btcoex_work(struct ath9k_htc_priv *priv) argument 158 ath9k_htc_start_btcoex(struct ath9k_htc_priv *priv) argument 170 ath9k_htc_stop_btcoex(struct ath9k_htc_priv *priv) argument 182 ath9k_htc_init_btcoex(struct ath9k_htc_priv *priv, char *product) argument 228 struct ath9k_htc_priv *priv = container_of(work, local 239 struct ath9k_htc_priv *priv = container_of(led_cdev, local 248 ath9k_deinit_leds(struct ath9k_htc_priv *priv) argument 261 ath9k_configure_leds(struct ath9k_htc_priv *priv) argument 271 ath9k_init_leds(struct ath9k_htc_priv *priv) argument 310 ath_is_rfkill_set(struct ath9k_htc_priv *priv) argument 324 struct ath9k_htc_priv *priv = hw->priv; local 330 ath9k_start_rfkill_poll(struct ath9k_htc_priv *priv) argument [all...] |
/linux-master/drivers/staging/vt6656/ |
H A D | card.h | 26 int vnt_set_channel(struct vnt_private *priv, u32 connection_channel); 27 int vnt_set_rspinf(struct vnt_private *priv, u8 bb_type); 28 int vnt_update_ifs(struct vnt_private *priv); 29 void vnt_update_top_rates(struct vnt_private *priv); 30 bool vnt_ofdm_min_rate(struct vnt_private *priv); 31 int vnt_adjust_tsf(struct vnt_private *priv, u8 rx_rate, 33 bool vnt_clear_current_tsf(struct vnt_private *priv); 34 int vnt_reset_next_tbtt(struct vnt_private *priv, u16 beacon_interval); 35 int vnt_update_next_tbtt(struct vnt_private *priv, u64 tsf, 39 int vnt_radio_power_off(struct vnt_private *priv); [all...] |