/linux-master/drivers/net/wireless/st/cw1200/ |
H A D | hwio.c | 30 static int __cw1200_reg_read(struct cw1200_common *priv, u16 addr, argument 46 return priv->hwbus_ops->hwbus_memcpy_fromio(priv->hwbus_priv, 51 static int __cw1200_reg_write(struct cw1200_common *priv, u16 addr, argument 61 return priv->hwbus_ops->hwbus_memcpy_toio(priv->hwbus_priv, 66 static inline int __cw1200_reg_read_32(struct cw1200_common *priv, argument 70 int i = __cw1200_reg_read(priv, addr, &tmp, sizeof(tmp), 0); 75 static inline int __cw1200_reg_write_32(struct cw1200_common *priv, argument 79 return __cw1200_reg_write(priv, add 82 __cw1200_reg_read_16(struct cw1200_common *priv, u16 addr, u16 *val) argument 91 __cw1200_reg_write_16(struct cw1200_common *priv, u16 addr, u16 val) argument 98 cw1200_reg_read(struct cw1200_common *priv, u16 addr, void *buf, size_t buf_len) argument 108 cw1200_reg_write(struct cw1200_common *priv, u16 addr, const void *buf, size_t buf_len) argument 118 cw1200_data_read(struct cw1200_common *priv, void *buf, size_t buf_len) argument 144 cw1200_data_write(struct cw1200_common *priv, const void *buf, size_t buf_len) argument 171 cw1200_indirect_read(struct cw1200_common *priv, u32 addr, void *buf, size_t buf_len, u32 prefetch, u16 port_addr) argument 235 cw1200_apb_write(struct cw1200_common *priv, u32 addr, const void *buf, size_t buf_len) argument 267 __cw1200_irq_enable(struct cw1200_common *priv, int enable) argument [all...] |
/linux-master/drivers/nfc/nfcmrvl/ |
H A D | main.c | 19 struct nfcmrvl_private *priv = nci_get_drvdata(ndev); local 22 if (test_and_set_bit(NFCMRVL_NCI_RUNNING, &priv->flags)) 26 clear_bit(NFCMRVL_PHY_ERROR, &priv->flags); 28 err = priv->if_ops->nci_open(priv); 31 clear_bit(NFCMRVL_NCI_RUNNING, &priv->flags); 38 struct nfcmrvl_private *priv = nci_get_drvdata(ndev); local 40 if (!test_and_clear_bit(NFCMRVL_NCI_RUNNING, &priv->flags)) 43 priv->if_ops->nci_close(priv); 50 struct nfcmrvl_private *priv = nci_get_drvdata(ndev); local 98 struct nfcmrvl_private *priv; local 182 nfcmrvl_nci_unregister_dev(struct nfcmrvl_private *priv) argument 200 nfcmrvl_nci_recv_frame(struct nfcmrvl_private *priv, struct sk_buff *skb) argument 231 nfcmrvl_chip_reset(struct nfcmrvl_private *priv) argument 245 nfcmrvl_chip_halt(struct nfcmrvl_private *priv) argument [all...] |
/linux-master/drivers/net/dsa/ |
H A D | mt7530.c | 78 mt7530_mutex_lock(struct mt7530_priv *priv) argument 80 if (priv->bus) 81 mutex_lock_nested(&priv->bus->mdio_lock, MDIO_MUTEX_NESTED); 85 mt7530_mutex_unlock(struct mt7530_priv *priv) argument 87 if (priv->bus) 88 mutex_unlock(&priv->bus->mdio_lock); 92 core_write(struct mt7530_priv *priv, u32 reg, u32 val) argument 94 struct mii_bus *bus = priv->bus; 97 mt7530_mutex_lock(priv); 100 ret = bus->write(bus, MT753X_CTRL_PHY_ADDR(priv 128 core_rmw(struct mt7530_priv *priv, u32 reg, u32 mask, u32 set) argument 170 core_set(struct mt7530_priv *priv, u32 reg, u32 val) argument 176 core_clear(struct mt7530_priv *priv, u32 reg, u32 val) argument 182 mt7530_mii_write(struct mt7530_priv *priv, u32 reg, u32 val) argument 196 mt7530_mii_read(struct mt7530_priv *priv, u32 reg) argument 213 mt7530_write(struct mt7530_priv *priv, u32 reg, u32 val) argument 243 mt7530_read(struct mt7530_priv *priv, u32 reg) argument 252 mt7530_rmw(struct mt7530_priv *priv, u32 reg, u32 mask, u32 set) argument 263 mt7530_set(struct mt7530_priv *priv, u32 reg, u32 val) argument 269 mt7530_clear(struct mt7530_priv *priv, u32 reg, u32 val) argument 275 mt7530_fdb_cmd(struct mt7530_priv *priv, enum mt7530_fdb_cmd cmd, u32 *rsp) argument 307 mt7530_fdb_read(struct mt7530_priv *priv, struct mt7530_fdb *fdb) argument 333 mt7530_fdb_write(struct mt7530_priv *priv, u16 vid, u8 port_mask, const u8 *mac, u8 aging, u8 type) argument 363 mt7530_pll_setup(struct mt7530_priv *priv) argument 406 struct mt7530_priv *priv = ds->priv; local 457 mt7531_pll_setup(struct mt7530_priv *priv) argument 547 struct mt7530_priv *priv = ds->priv; local 553 mt7530_phy_read_c22(struct mt7530_priv *priv, int port, int regnum) argument 558 mt7530_phy_write_c22(struct mt7530_priv *priv, int port, int regnum, u16 val) argument 564 mt7530_phy_read_c45(struct mt7530_priv *priv, int port, int devad, int regnum) argument 570 mt7530_phy_write_c45(struct mt7530_priv *priv, int port, int devad, int regnum, u16 val) argument 577 mt7531_ind_c45_phy_read(struct mt7530_priv *priv, int port, int devad, int regnum) argument 625 mt7531_ind_c45_phy_write(struct mt7530_priv *priv, int port, int devad, int regnum, u16 data) argument 672 mt7531_ind_c22_phy_read(struct mt7530_priv *priv, int port, int regnum) argument 709 mt7531_ind_c22_phy_write(struct mt7530_priv *priv, int port, int regnum, u16 data) argument 748 struct mt7530_priv *priv = bus->priv; local 756 struct mt7530_priv *priv = bus->priv; local 764 struct mt7530_priv *priv = bus->priv; local 773 struct mt7530_priv *priv = bus->priv; local 795 struct mt7530_priv *priv = ds->priv; local 824 struct mt7530_priv *priv = ds->priv; local 875 struct mt7530_priv *priv = ds->priv; local 1102 mt753x_trap_frames(struct mt7530_priv *priv) argument 1141 struct mt7530_priv *priv = ds->priv; local 1174 struct mt7530_priv *priv = ds->priv; local 1207 struct mt7530_priv *priv = ds->priv; local 1233 struct mt7530_priv *priv = ds->priv; local 1279 struct mt7530_priv *priv = ds->priv; local 1322 struct mt7530_priv *priv = ds->priv; local 1351 struct mt7530_priv *priv = ds->priv; local 1394 struct mt7530_priv *priv = ds->priv; local 1440 struct mt7530_priv *priv = ds->priv; local 1483 struct mt7530_priv *priv = ds->priv; local 1529 struct mt7530_priv *priv = ds->priv; local 1546 struct mt7530_priv *priv = ds->priv; local 1562 struct mt7530_priv *priv = ds->priv; local 1598 struct mt7530_priv *priv = ds->priv; local 1625 struct mt7530_priv *priv = ds->priv; local 1649 mt7530_vlan_cmd(struct mt7530_priv *priv, enum mt7530_vlan_cmd cmd, u16 vid) argument 1698 mt7530_hw_vlan_add(struct mt7530_priv *priv, struct mt7530_hw_vlan_entry *entry) argument 1733 mt7530_hw_vlan_del(struct mt7530_priv *priv, struct mt7530_hw_vlan_entry *entry) argument 1759 mt7530_hw_vlan_update(struct mt7530_priv *priv, u16 vid, struct mt7530_hw_vlan_entry *entry, mt7530_vlan_op vlan_op) argument 1780 mt7530_setup_vlan0(struct mt7530_priv *priv) argument 1802 struct mt7530_priv *priv = ds->priv; local 1844 struct mt7530_priv *priv = ds->priv; local 1877 struct mt7530_priv *priv = ds->priv; local 1914 struct mt7530_priv *priv = ds->priv; local 1958 struct mt7530_priv *priv = gpiochip_get_data(gc); local 1967 struct mt7530_priv *priv = gpiochip_get_data(gc); local 1979 struct mt7530_priv *priv = gpiochip_get_data(gc); local 1989 struct mt7530_priv *priv = gpiochip_get_data(gc); local 2001 struct mt7530_priv *priv = gpiochip_get_data(gc); local 2017 mt7530_setup_gpio(struct mt7530_priv *priv) argument 2049 struct mt7530_priv *priv = dev_id; local 2075 struct mt7530_priv *priv = irq_data_get_irq_chip_data(d); local 2083 struct mt7530_priv *priv = irq_data_get_irq_chip_data(d); local 2091 struct mt7530_priv *priv = irq_data_get_irq_chip_data(d); local 2099 struct mt7530_priv *priv = irq_data_get_irq_chip_data(d); local 2133 struct mt7530_priv *priv = irq_data_get_irq_chip_data(d); local 2142 struct mt7530_priv *priv = irq_data_get_irq_chip_data(d); local 2172 mt7530_setup_mdio_irq(struct mt7530_priv *priv) argument 2188 mt7530_setup_irq(struct mt7530_priv *priv) argument 2235 mt7530_free_mdio_irq(struct mt7530_priv *priv) argument 2250 mt7530_free_irq_common(struct mt7530_priv *priv) argument 2257 mt7530_free_irq(struct mt7530_priv *priv) argument 2270 mt7530_setup_mdio(struct mt7530_priv *priv) argument 2321 struct mt7530_priv *priv = ds->priv; local 2532 struct mt7530_priv *priv = ds->priv; local 2589 struct mt7530_priv *priv = ds->priv; local 2724 struct mt7530_priv *priv = ds->priv; local 2785 struct mt7530_priv *priv = ds->priv; local 2793 mt7531_rgmii_setup(struct mt7530_priv *priv, phy_interface_t interface, struct phy_device *phydev) argument 2837 struct mt7530_priv *priv = ds->priv; local 2853 struct mt7530_priv *priv = dp->ds->priv; local 2873 struct mt7530_priv *priv; local 2891 struct mt7530_priv *priv = dp->ds->priv; local 2904 struct mt7530_priv *priv = dp->ds->priv; local 2945 struct mt7530_priv *priv = ds->priv; local 2967 struct mt7530_priv *priv = pcs_to_mt753x_pcs(pcs)->priv; local 3021 struct mt7530_priv *priv = ds->priv; local 3058 struct mt7530_priv *priv = ds->priv; local 3070 struct mt7530_priv *priv = ds->priv; local 3091 struct mt7530_priv *priv = ds->priv; local 3119 struct mt7530_priv *priv = ds->priv; local 3222 mt7530_probe_common(struct mt7530_priv *priv) argument 3253 mt7530_remove_common(struct mt7530_priv *priv) argument [all...] |
/linux-master/drivers/net/can/peak_canfd/ |
H A D | peak_canfd.c | 42 static struct peak_canfd_priv *pucan_init_cmd(struct peak_canfd_priv *priv) argument 44 priv->cmd_len = 0; 45 return priv; 48 static void *pucan_add_cmd(struct peak_canfd_priv *priv, int cmd_op) argument 52 if (priv->cmd_len + sizeof(*cmd) > priv->cmd_maxlen) 55 cmd = priv->cmd_buffer + priv->cmd_len; 60 cmd->opcode_channel = pucan_cmd_opcode_channel(priv->index, cmd_op); 61 priv 66 pucan_write_cmd(struct peak_canfd_priv *priv) argument 87 pucan_set_reset_mode(struct peak_canfd_priv *priv) argument 93 pucan_set_normal_mode(struct peak_canfd_priv *priv) argument 105 pucan_set_listen_only_mode(struct peak_canfd_priv *priv) argument 117 pucan_set_timing_slow(struct peak_canfd_priv *priv, const struct can_bittiming *pbt) argument 140 pucan_set_timing_fast(struct peak_canfd_priv *priv, const struct can_bittiming *pbt) argument 159 pucan_set_std_filter(struct peak_canfd_priv *priv, u8 row, u32 mask) argument 183 pucan_tx_abort(struct peak_canfd_priv *priv, u16 flags) argument 194 pucan_clr_err_counters(struct peak_canfd_priv *priv) argument 207 pucan_set_options(struct peak_canfd_priv *priv, u16 opt_mask) argument 218 pucan_clr_options(struct peak_canfd_priv *priv, u16 opt_mask) argument 229 pucan_setup_rx_barrier(struct peak_canfd_priv *priv) argument 251 pucan_handle_can_rx(struct peak_canfd_priv *priv, struct pucan_rx_msg *msg) argument 328 pucan_handle_error(struct peak_canfd_priv *priv, struct pucan_error_msg *msg) argument 338 pucan_handle_status(struct peak_canfd_priv *priv, struct pucan_status_msg *msg) argument 419 pucan_handle_cache_critical(struct peak_canfd_priv *priv) argument 446 peak_canfd_handle_msg(struct peak_canfd_priv *priv, struct pucan_rx_msg *msg) argument 483 peak_canfd_handle_msgs_list(struct peak_canfd_priv *priv, struct pucan_rx_msg *msg_list, int msg_count) argument 505 peak_canfd_start(struct peak_canfd_priv *priv) argument 527 peak_canfd_stop(struct peak_canfd_priv *priv) argument 544 struct peak_canfd_priv *priv = netdev_priv(ndev); local 561 struct peak_canfd_priv *priv = netdev_priv(ndev); local 569 struct peak_canfd_priv *priv = netdev_priv(ndev); local 618 struct peak_canfd_priv *priv = netdev_priv(ndev); local 625 struct peak_canfd_priv *priv = netdev_priv(ndev); local 632 struct peak_canfd_priv *priv = netdev_priv(ndev); local 644 struct peak_canfd_priv *priv = netdev_priv(ndev); local 803 struct peak_canfd_priv *priv; local [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | mac80211.c | 78 int iwlagn_mac_setup_register(struct iwl_priv *priv, argument 82 struct ieee80211_hw *hw = priv->hw; 99 if (priv->trans->max_skb_frags) 112 if (priv->nvm_data->sku_cap_11n_enable) 121 if (priv->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_MFP && 128 for_each_context(priv, ctx) { 147 if (priv->fw->img[IWL_UCODE_WOWLAN].num_sec && 148 priv->trans->ops->d3_suspend && 149 priv->trans->ops->d3_resume && 150 device_can_wakeup(priv 211 iwlagn_mac_unregister(struct iwl_priv *priv) argument 220 __iwl_up(struct iwl_priv *priv) argument 280 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 307 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 331 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 358 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 399 struct iwl_priv *priv; member in struct:iwl_resume_data 408 struct iwl_priv *priv = resume_data->priv; local 422 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 569 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 579 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 591 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 601 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 703 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 777 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 810 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 839 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 932 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 1012 iwl_chswitch_done(struct iwl_priv *priv, bool is_success) argument 1035 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 1083 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 1122 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 1148 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 1160 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 1202 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 1207 iwl_set_mode(struct iwl_priv *priv, struct iwl_rxon_context *ctx) argument 1216 iwl_setup_interface(struct iwl_priv *priv, struct iwl_rxon_context *ctx) argument 1265 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 1347 iwl_teardown_interface(struct iwl_priv *priv, struct ieee80211_vif *vif, bool mode_change) argument 1380 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 1402 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 1485 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 1528 iwl_sta_modify_ps_wake(struct iwl_priv *priv, int sta_id) argument 1544 struct iwl_priv *priv = IWL_MAC80211_GET_DVM(hw); local 1610 struct iwl_priv *priv; local [all...] |
H A D | agn.h | 64 void iwl_down(struct iwl_priv *priv); 65 void iwl_cancel_deferred_work(struct iwl_priv *priv); 66 void iwlagn_prepare_restart(struct iwl_priv *priv); 70 bool iwl_check_for_ct_kill(struct iwl_priv *priv); 72 void iwlagn_lift_passive_no_rx(struct iwl_priv *priv); 76 int iwlagn_mac_setup_register(struct iwl_priv *priv, 78 void iwlagn_mac_unregister(struct iwl_priv *priv); 81 int iwl_dvm_send_cmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd); 82 int iwl_dvm_send_cmd_pdu(struct iwl_priv *priv, u8 id, 86 void iwl_connection_init_rx_config(struct iwl_priv *priv, 130 iwl_get_hw_mode( struct iwl_priv *priv, enum nl80211_band band) argument 225 iwl_advanced_bt_coexist(struct iwl_priv *priv) argument 341 iwl_print_rx_config_cmd(struct iwl_priv *priv, enum iwl_rxon_context_id ctxid) argument 349 iwl_is_ready(struct iwl_priv *priv) argument 356 iwl_is_alive(struct iwl_priv *priv) argument 361 iwl_is_rfkill(struct iwl_priv *priv) argument 366 iwl_is_ctkill(struct iwl_priv *priv) argument 371 iwl_is_ready_rf(struct iwl_priv *priv) argument 379 iwl_dvm_set_pmi(struct iwl_priv *priv, bool state) argument 391 iwl_dbgfs_register(struct iwl_priv *priv, struct dentry *dbgfs_dir) argument [all...] |
H A D | sta.c | 17 static int iwl_sta_ucode_activate(struct iwl_priv *priv, u8 sta_id) argument 19 lockdep_assert_held(&priv->sta_lock); 22 IWL_ERR(priv, "invalid sta_id %u\n", sta_id); 25 if (!(priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE)) 26 IWL_ERR(priv, "ACTIVATE a non DRIVER active station id %u " 28 sta_id, priv->stations[sta_id].sta.sta.addr); 30 if (priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE) { 31 IWL_DEBUG_ASSOC(priv, 34 sta_id, priv->stations[sta_id].sta.sta.addr); 36 priv 43 iwl_process_add_sta_resp(struct iwl_priv *priv, struct iwl_rx_packet *pkt) argument 75 iwl_add_sta_callback(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb) argument 82 iwl_send_add_sta(struct iwl_priv *priv, struct iwl_addsta_cmd *sta, u8 flags) argument 126 iwl_is_ht40_tx_allowed(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct ieee80211_sta *sta) argument 145 iwl_sta_calc_ht_flags(struct iwl_priv *priv, struct ieee80211_sta *sta, struct iwl_rxon_context *ctx, __le32 *flags, __le32 *mask) argument 193 iwl_sta_update_ht(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct ieee80211_sta *sta) argument 219 iwl_set_ht_add_station(struct iwl_priv *priv, u8 index, struct ieee80211_sta *sta, struct iwl_rxon_context *ctx) argument 237 iwl_prep_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx, const u8 *addr, bool is_ap, struct ieee80211_sta *sta) argument 324 iwl_add_station_common(struct iwl_priv *priv, struct iwl_rxon_context *ctx, const u8 *addr, bool is_ap, struct ieee80211_sta *sta, u8 *sta_id_r) argument 384 iwl_sta_ucode_deactivate(struct iwl_priv *priv, u8 sta_id) argument 400 iwl_send_remove_station(struct iwl_priv *priv, const u8 *addr, int sta_id, bool temporary) argument 452 iwl_remove_station(struct iwl_priv *priv, const u8 sta_id, const u8 *addr) argument 513 iwl_deactivate_station(struct iwl_priv *priv, const u8 sta_id, const u8 *addr) argument 549 iwl_sta_fill_lq(struct iwl_priv *priv, struct iwl_rxon_context *ctx, u8 sta_id, struct iwl_link_quality_cmd *link_cmd) argument 607 iwl_clear_ucode_stations(struct iwl_priv *priv, struct iwl_rxon_context *ctx) argument 642 iwl_restore_stations(struct iwl_priv *priv, struct iwl_rxon_context *ctx) argument 720 iwl_get_free_ucode_key_offset(struct iwl_priv *priv) argument 731 iwl_dealloc_bcast_stations(struct iwl_priv *priv) argument 751 iwl_dump_lq_cmd(struct iwl_priv *priv, struct iwl_link_quality_cmd *lq) argument 765 iwl_dump_lq_cmd(struct iwl_priv *priv, struct iwl_link_quality_cmd *lq) argument 782 is_lq_table_valid(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct iwl_link_quality_cmd *lq) argument 815 iwl_send_lq_cmd(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct iwl_link_quality_cmd *lq, u8 flags, bool init) argument 862 iwl_sta_alloc_lq(struct iwl_priv *priv, struct iwl_rxon_context *ctx, u8 sta_id) argument 883 iwlagn_add_bssid_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx, const u8 *addr, u8 *sta_id_r) argument 935 iwl_send_static_wepkey_cmd(struct iwl_priv *priv, struct iwl_rxon_context *ctx, bool send_if_empty) argument 981 iwl_restore_default_wep_keys(struct iwl_priv *priv, struct iwl_rxon_context *ctx) argument 989 iwl_remove_default_wep_key(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct ieee80211_key_conf *keyconf) argument 1014 iwl_set_default_wep_key(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct ieee80211_key_conf *keyconf) argument 1057 iwlagn_key_sta_id(struct iwl_priv *priv, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 1077 iwlagn_send_sta_key(struct iwl_priv *priv, struct ieee80211_key_conf *keyconf, u8 sta_id, u32 tkip_iv32, u16 *tkip_p1k, u32 cmd_flags) argument 1133 iwl_update_tkip_key(struct iwl_priv *priv, struct ieee80211_vif *vif, struct ieee80211_key_conf *keyconf, struct ieee80211_sta *sta, u32 iv32, u16 *phase1key) argument 1153 iwl_remove_dynamic_key(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct ieee80211_key_conf *keyconf, struct ieee80211_sta *sta) argument 1201 iwl_set_dynamic_key(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct ieee80211_key_conf *keyconf, struct ieee80211_sta *sta) argument 1266 iwlagn_alloc_bcast_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx) argument 1305 iwl_update_bcast_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx) argument 1328 iwl_update_bcast_stations(struct iwl_priv *priv) argument 1345 iwl_sta_tx_modify_enable_tid(struct iwl_priv *priv, int sta_id, int tid) argument 1362 iwl_sta_rx_agg_start(struct iwl_priv *priv, struct ieee80211_sta *sta, int tid, u16 ssn) argument 1386 iwl_sta_rx_agg_stop(struct iwl_priv *priv, struct ieee80211_sta *sta, int tid) argument 1413 iwl_sta_modify_sleep_tx_count(struct iwl_priv *priv, int sta_id, int cnt) argument [all...] |
/linux-master/drivers/phy/qualcomm/ |
H A D | phy-qcom-usb-hs-28nm.c | 71 struct hsphy_priv *priv = phy_get_drvdata(phy); local 73 priv->mode = PHY_MODE_INVALID; 76 priv->mode = mode; 81 static void qcom_snps_hsphy_enable_hv_interrupts(struct hsphy_priv *priv) argument 86 val = readb(priv->base + PHY_INTR_CLEAR0); 88 writeb(val, priv->base + PHY_INTR_CLEAR0); 90 writeb(0x0, priv->base + PHY_IRQ_CMD); 92 writeb(0x1, priv->base + PHY_IRQ_CMD); 97 val = readb(priv->base + PHY_INTR_MASK0); 98 switch (priv 117 qcom_snps_hsphy_disable_hv_interrupts(struct hsphy_priv *priv) argument 137 qcom_snps_hsphy_enter_retention(struct hsphy_priv *priv) argument 146 qcom_snps_hsphy_exit_retention(struct hsphy_priv *priv) argument 157 struct hsphy_priv *priv = phy_get_drvdata(phy); local 172 struct hsphy_priv *priv = phy_get_drvdata(phy); local 181 qcom_snps_hsphy_reset(struct hsphy_priv *priv) argument 200 qcom_snps_hsphy_init_sequence(struct hsphy_priv *priv) argument 219 qcom_snps_hsphy_por_reset(struct hsphy_priv *priv) argument 258 struct hsphy_priv *priv = phy_get_drvdata(phy); local 284 struct hsphy_priv *priv = phy_get_drvdata(phy); local 310 struct hsphy_priv *priv; local [all...] |
H A D | phy-qcom-usb-ss.c | 50 static int qcom_ssphy_do_reset(struct ssphy_priv *priv) argument 54 if (!priv->reset_com) { 55 qcom_ssphy_updatel(priv->base + PHY_CTRL1, PHY_RESET, 58 qcom_ssphy_updatel(priv->base + PHY_CTRL1, PHY_RESET, 0); 60 ret = reset_control_assert(priv->reset_com); 62 dev_err(priv->dev, "Failed to assert reset com\n"); 66 ret = reset_control_assert(priv->reset_phy); 68 dev_err(priv->dev, "Failed to assert reset phy\n"); 74 ret = reset_control_deassert(priv->reset_com); 76 dev_err(priv 92 struct ssphy_priv *priv = phy_get_drvdata(phy); local 123 struct ssphy_priv *priv = phy_get_drvdata(phy); local 135 qcom_ssphy_init_clock(struct ssphy_priv *priv) argument 144 qcom_ssphy_init_regulator(struct ssphy_priv *priv) argument 160 qcom_ssphy_init_reset(struct ssphy_priv *priv) argument 190 struct ssphy_priv *priv; local [all...] |
/linux-master/drivers/net/wireless/marvell/libertas/ |
H A D | cmd.h | 34 #define lbs_cmd(priv, cmdnr, cmd, cb, cb_arg) ({ \ 37 __lbs_cmd(priv, cmdnr, &(cmd)->hdr, __sz, cb, cb_arg); \ 40 #define lbs_cmd_with_response(priv, cmdnr, cmd) \ 41 lbs_cmd(priv, cmdnr, cmd, lbs_cmd_copyback, (unsigned long) (cmd)) 43 void lbs_cmd_async(struct lbs_private *priv, uint16_t command, 46 int __lbs_cmd(struct lbs_private *priv, uint16_t command, 51 struct cmd_ctrl_node *__lbs_cmd_async(struct lbs_private *priv, 56 int lbs_cmd_copyback(struct lbs_private *priv, unsigned long extra, 59 int lbs_allocate_cmd_buffer(struct lbs_private *priv); 60 int lbs_free_cmd_buffer(struct lbs_private *priv); [all...] |
/linux-master/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-ethtool.c | 20 const struct mcp251xfd_priv *priv = netdev_priv(ndev); local 21 const bool fd_mode = mcp251xfd_is_fd_mode(priv); 28 ring->rx_pending = priv->rx_obj_num; 29 ring->tx_pending = priv->tx->obj_num; 38 struct mcp251xfd_priv *priv = netdev_priv(ndev); local 39 const bool fd_mode = mcp251xfd_is_fd_mode(priv); 43 if ((layout.cur_rx != priv->rx_obj_num || 44 layout.cur_tx != priv->tx->obj_num) && 48 priv->rx_obj_num = layout.cur_rx; 49 priv 61 struct mcp251xfd_priv *priv = netdev_priv(ndev); local 91 struct mcp251xfd_priv *priv = netdev_priv(ndev); local 131 mcp251xfd_ethtool_init(struct mcp251xfd_priv *priv) argument [all...] |
/linux-master/drivers/bluetooth/ |
H A D | btmrvl_main.c | 24 void btmrvl_interrupt(struct btmrvl_private *priv) argument 26 priv->adapter->ps_state = PS_AWAKE; 28 priv->adapter->wakeup_tries = 0; 30 priv->adapter->int_count++; 32 if (priv->adapter->hs_state == HS_ACTIVATED) { 34 priv->adapter->hs_state = HS_DEACTIVATED; 37 wake_up_interruptible(&priv->main_thread.wait_q); 41 bool btmrvl_check_evtpkt(struct btmrvl_private *priv, struct sk_buff *skb) argument 52 if (priv->btmrvl_dev.sendcmdflag) { 53 priv 70 btmrvl_process_event(struct btmrvl_private *priv, struct sk_buff *skb) argument 155 btmrvl_send_sync_cmd(struct btmrvl_private *priv, u16 opcode, const void *param, u8 len) argument 201 btmrvl_send_module_cfg_cmd(struct btmrvl_private *priv, u8 subcmd) argument 213 btmrvl_enable_sco_routing_to_host(struct btmrvl_private *priv) argument 225 btmrvl_pscan_window_reporting(struct btmrvl_private *priv, u8 subcmd) argument 242 btmrvl_send_hscfg_cmd(struct btmrvl_private *priv) argument 261 btmrvl_enable_ps(struct btmrvl_private *priv) argument 279 btmrvl_enable_hs(struct btmrvl_private *priv) argument 312 btmrvl_prepare_command(struct btmrvl_private *priv) argument 341 btmrvl_tx_pkt(struct btmrvl_private *priv, struct sk_buff *skb) argument 372 btmrvl_init_adapter(struct btmrvl_private *priv) argument 397 btmrvl_free_adapter(struct btmrvl_private *priv) argument 409 struct btmrvl_private *priv = hci_get_drvdata(hdev); local 442 struct btmrvl_private *priv = hci_get_drvdata(hdev); local 451 struct btmrvl_private *priv = hci_get_drvdata(hdev); local 463 btmrvl_download_cal_data(struct btmrvl_private *priv, u8 *data, int len) argument 484 btmrvl_check_device_tree(struct btmrvl_private *priv) argument 524 struct btmrvl_private *priv = hci_get_drvdata(hdev); local 572 struct btmrvl_private *priv = hci_get_drvdata(hdev); local 585 struct btmrvl_private *priv = thread->priv; local 657 btmrvl_register_hdev(struct btmrvl_private *priv) argument 710 struct btmrvl_private *priv; local 752 btmrvl_remove_card(struct btmrvl_private *priv) argument [all...] |
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth-debugfs.h | 19 void dpaa2_dbg_add(struct dpaa2_eth_priv *priv); 20 void dpaa2_dbg_remove(struct dpaa2_eth_priv *priv); 24 static inline void dpaa2_dbg_add(struct dpaa2_eth_priv *priv) {} argument 25 static inline void dpaa2_dbg_remove(struct dpaa2_eth_priv *priv) {} argument
|
/linux-master/drivers/staging/vt6655/ |
H A D | dpc.h | 19 bool vnt_receive_frame(struct vnt_private *priv, struct vnt_rx_desc *curr_rd);
|
/linux-master/drivers/gpu/drm/omapdrm/ |
H A D | omap_irq.c | 21 struct omap_drm_private *priv = dev->dev_private; local 23 u32 irqmask = priv->irq_mask; 25 assert_spin_locked(&priv->wait_lock); 27 list_for_each_entry(wait, &priv->wait_list, node) 32 dispc_write_irqenable(priv->dispc, irqmask); 44 struct omap_drm_private *priv = dev->dev_private; local 52 spin_lock_irqsave(&priv->wait_lock, flags); 53 list_add(&wait->node, &priv->wait_list); 55 spin_unlock_irqrestore(&priv->wait_lock, flags); 63 struct omap_drm_private *priv local 82 struct omap_drm_private *priv = dev->dev_private; local 116 struct omap_drm_private *priv = dev->dev_private; local 142 struct omap_drm_private *priv = dev->dev_private; local 155 omap_irq_fifo_underflow(struct omap_drm_private *priv, u32 irqstatus) argument 208 struct omap_drm_private *priv = dev->dev_private; local 258 struct omap_drm_private *priv = dev->dev_private; local 294 struct omap_drm_private *priv = dev->dev_private; local [all...] |
/linux-master/drivers/gpu/drm/meson/ |
H A D | meson_vpp.h | 22 void meson_vpp_setup_mux(struct meson_drm *priv, unsigned int mux); 24 void meson_vpp_setup_interlace_vscaler_osd1(struct meson_drm *priv, 26 void meson_vpp_disable_interlace_vscaler_osd1(struct meson_drm *priv); 28 void meson_vpp_init(struct meson_drm *priv);
|
/linux-master/drivers/platform/mellanox/ |
H A D | mlxreg-io.c | 114 struct mlxreg_io_priv_data *priv = dev_get_drvdata(dev); local 116 struct mlxreg_core_data *data = priv->pdata->data + index; 120 mutex_lock(&priv->io_lock); 122 ret = mlxreg_io_get_reg(priv->pdata->regmap, data, 0, true, 123 priv->regsize, ®val); 127 mutex_unlock(&priv->io_lock); 132 mutex_unlock(&priv->io_lock); 140 struct mlxreg_io_priv_data *priv = dev_get_drvdata(dev); local 142 struct mlxreg_core_data *data = priv->pdata->data + index; 154 mutex_lock(&priv 180 mlxreg_io_attr_init(struct mlxreg_io_priv_data *priv) argument 225 struct mlxreg_io_priv_data *priv; local 268 struct mlxreg_io_priv_data *priv = dev_get_drvdata(&pdev->dev); local [all...] |
/linux-master/drivers/gpio/ |
H A D | gpio-elkhartlake.c | 25 struct tng_gpio *priv; local 32 priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL); 33 if (!priv) 36 priv->reg_base = devm_platform_ioremap_resource(pdev, 0); 37 if (IS_ERR(priv->reg_base)) 38 return PTR_ERR(priv->reg_base); 40 priv->dev = dev; 41 priv->irq = irq; 43 priv [all...] |
/linux-master/drivers/char/hw_random/ |
H A D | omap-rng.c | 147 u32 (*data_present)(struct omap_rng_dev *priv); 148 int (*init)(struct omap_rng_dev *priv); 149 void (*cleanup)(struct omap_rng_dev *priv); 161 static inline u32 omap_rng_read(struct omap_rng_dev *priv, u16 reg) argument 163 return __raw_readl(priv->base + priv->pdata->regs[reg]); 166 static inline void omap_rng_write(struct omap_rng_dev *priv, u16 reg, argument 169 __raw_writel(val, priv->base + priv->pdata->regs[reg]); 176 struct omap_rng_dev *priv; local 205 struct omap_rng_dev *priv; local 213 struct omap_rng_dev *priv; local 220 omap2_rng_data_present(struct omap_rng_dev *priv) argument 225 omap2_rng_init(struct omap_rng_dev *priv) argument 231 omap2_rng_cleanup(struct omap_rng_dev *priv) argument 244 omap4_rng_data_present(struct omap_rng_dev *priv) argument 249 eip76_rng_init(struct omap_rng_dev *priv) argument 281 omap4_rng_init(struct omap_rng_dev *priv) argument 306 omap4_rng_cleanup(struct omap_rng_dev *priv) argument 317 struct omap_rng_dev *priv = dev_id; local 375 of_get_omap_rng_device_details(struct omap_rng_dev *priv, struct platform_device *pdev) argument 425 struct omap_rng_dev *priv; local 514 struct omap_rng_dev *priv = platform_get_drvdata(pdev); local 528 struct omap_rng_dev *priv = dev_get_drvdata(dev); local 538 struct omap_rng_dev *priv = dev_get_drvdata(dev); local [all...] |
/linux-master/drivers/phy/socionext/ |
H A D | phy-uniphier-usb3ss.c | 69 static void uniphier_u3ssphy_testio_write(struct uniphier_u3ssphy_priv *priv, argument 73 writel(data, priv->base + SSPHY_TESTI); 74 readl(priv->base + SSPHY_TESTO); 75 readl(priv->base + SSPHY_TESTO); 78 static void uniphier_u3ssphy_set_param(struct uniphier_u3ssphy_priv *priv, argument 88 uniphier_u3ssphy_testio_write(priv, val); 89 val = readl(priv->base + SSPHY_TESTO) & TESTO_DAT_MASK; 96 uniphier_u3ssphy_testio_write(priv, val); 97 uniphier_u3ssphy_testio_write(priv, val | TESTI_WR_EN); 98 uniphier_u3ssphy_testio_write(priv, va 109 struct uniphier_u3ssphy_priv *priv = phy_get_drvdata(phy); local 144 struct uniphier_u3ssphy_priv *priv = phy_get_drvdata(phy); local 158 struct uniphier_u3ssphy_priv *priv = phy_get_drvdata(phy); local 197 struct uniphier_u3ssphy_priv *priv = phy_get_drvdata(phy); local 218 struct uniphier_u3ssphy_priv *priv; local [all...] |
/linux-master/drivers/net/ethernet/google/gve/ |
H A D | gve_adminq.c | 38 void gve_parse_device_option(struct gve_priv *priv, argument 60 dev_warn(&priv->pdev->dev, GVE_DEVICE_OPTION_ERROR_FMT, 68 dev_info(&priv->pdev->dev, 70 priv->queue_format = GVE_GQI_RDA_FORMAT; 75 dev_warn(&priv->pdev->dev, GVE_DEVICE_OPTION_ERROR_FMT, 83 dev_warn(&priv->pdev->dev, 91 dev_warn(&priv->pdev->dev, GVE_DEVICE_OPTION_ERROR_FMT, 99 dev_warn(&priv->pdev->dev, 107 dev_warn(&priv->pdev->dev, GVE_DEVICE_OPTION_ERROR_FMT, 115 dev_warn(&priv 203 gve_process_device_options(struct gve_priv *priv, struct gve_device_descriptor *descriptor, struct gve_device_option_gqi_rda **dev_op_gqi_rda, struct gve_device_option_gqi_qpl **dev_op_gqi_qpl, struct gve_device_option_dqo_rda **dev_op_dqo_rda, struct gve_device_option_jumbo_frames **dev_op_jumbo_frames, struct gve_device_option_dqo_qpl **dev_op_dqo_qpl, struct gve_device_option_buffer_sizes **dev_op_buffer_sizes, struct gve_device_option_modify_ring **dev_op_modify_ring) argument 240 gve_adminq_alloc(struct device *dev, struct gve_priv *priv) argument 291 gve_adminq_release(struct gve_priv *priv) argument 323 gve_adminq_free(struct device *dev, struct gve_priv *priv) argument 333 gve_adminq_kick_cmd(struct gve_priv *priv, u32 prod_cnt) argument 338 gve_adminq_wait_for_cmd(struct gve_priv *priv, u32 prod_cnt) argument 352 gve_adminq_parse_err(struct gve_priv *priv, u32 status) argument 396 gve_adminq_kick_and_wait(struct gve_priv *priv) argument 429 gve_adminq_issue_cmd(struct gve_priv *priv, union gve_adminq_command *cmd_orig) argument 519 gve_adminq_execute_cmd(struct gve_priv *priv, union gve_adminq_command *cmd_orig) argument 546 gve_adminq_configure_device_resources(struct gve_priv *priv, dma_addr_t counter_array_bus_addr, u32 num_counters, dma_addr_t db_array_bus_addr, u32 num_ntfy_blks) argument 571 gve_adminq_deconfigure_device_resources(struct gve_priv *priv) argument 581 gve_adminq_create_tx_queue(struct gve_priv *priv, u32 queue_index) argument 619 gve_adminq_create_tx_queues(struct gve_priv *priv, u32 start_id, u32 num_queues) argument 633 gve_adminq_get_create_rx_queue_cmd(struct gve_priv *priv, union gve_adminq_command *cmd, u32 queue_index) argument 683 gve_adminq_create_rx_queue(struct gve_priv *priv, u32 queue_index) argument 692 gve_adminq_create_single_rx_queue(struct gve_priv *priv, u32 queue_index) argument 700 gve_adminq_create_rx_queues(struct gve_priv *priv, u32 num_queues) argument 714 gve_adminq_destroy_tx_queue(struct gve_priv *priv, u32 queue_index) argument 732 gve_adminq_destroy_tx_queues(struct gve_priv *priv, u32 start_id, u32 num_queues) argument 756 gve_adminq_destroy_rx_queue(struct gve_priv *priv, u32 queue_index) argument 765 gve_adminq_destroy_single_rx_queue(struct gve_priv *priv, u32 queue_index) argument 773 gve_adminq_destroy_rx_queues(struct gve_priv *priv, u32 num_queues) argument 787 gve_set_default_desc_cnt(struct gve_priv *priv, const struct gve_device_descriptor *descriptor) argument 800 gve_enable_supported_features(struct gve_priv *priv, u32 supported_features_mask, const struct gve_device_option_jumbo_frames *dev_op_jumbo_frames, const struct gve_device_option_dqo_qpl *dev_op_dqo_qpl, const struct gve_device_option_buffer_sizes *dev_op_buffer_sizes, const struct gve_device_option_modify_ring *dev_op_modify_ring) argument 862 gve_adminq_describe_device(struct gve_priv *priv) argument 968 gve_adminq_register_page_list(struct gve_priv *priv, struct gve_queue_page_list *qpl) argument 1001 gve_adminq_unregister_page_list(struct gve_priv *priv, u32 page_list_id) argument 1014 gve_adminq_set_mtu(struct gve_priv *priv, u64 mtu) argument 1028 gve_adminq_report_stats(struct gve_priv *priv, u64 stats_report_len, dma_addr_t stats_report_addr, u64 interval) argument 1044 gve_adminq_verify_driver_compatibility(struct gve_priv *priv, u64 driver_info_len, dma_addr_t driver_info_addr) argument 1060 gve_adminq_report_link_speed(struct gve_priv *priv) argument 1087 gve_adminq_get_ptype_map_dqo(struct gve_priv *priv, struct gve_ptype_lut *ptype_lut) argument [all...] |
/linux-master/include/linux/ |
H A D | logic_iomem.h | 25 unsigned long (*read)(void *priv, unsigned int offset, int size); 26 void (*write)(void *priv, unsigned int offset, int size, 29 void (*set)(void *priv, unsigned int offset, u8 value, int size); 30 void (*copy_from)(void *priv, void *buffer, unsigned int offset, 32 void (*copy_to)(void *priv, unsigned int offset, const void *buffer, 35 void (*unmap)(void *priv); 41 * fill *ops with the ops and may fill *priv to be passed 51 void **priv);
|
/linux-master/drivers/net/wireless/marvell/mwifiex/ |
H A D | 11h.c | 12 void mwifiex_init_11h_params(struct mwifiex_private *priv) argument 14 priv->state_11h.is_11h_enabled = true; 15 priv->state_11h.is_11h_active = false; 18 inline int mwifiex_is_11h_active(struct mwifiex_private *priv) argument 20 return priv->state_11h.is_11h_active; 26 mwifiex_11h_process_infra_join(struct mwifiex_private *priv, u8 **buffer, argument 40 sband = priv->wdev.wiphy->bands[radio_type]; 70 int mwifiex_11h_activate(struct mwifiex_private *priv, bool flag) argument 75 if ((GET_BSS_ROLE(priv) == MWIFIEX_BSS_ROLE_UAP) && enable) 78 return mwifiex_send_cmd(priv, HostCmd_CMD_802_11_SNMP_MI 88 mwifiex_11h_process_join(struct mwifiex_private *priv, u8 **buffer, struct mwifiex_bssdescriptor *bss_desc) argument 115 struct mwifiex_private *priv = local 132 mwifiex_cmd_issue_chan_report_request(struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, void *data_buf) argument 159 mwifiex_stop_radar_detection(struct mwifiex_private *priv, struct cfg80211_chan_def *chandef) argument 175 mwifiex_abort_cac(struct mwifiex_private *priv) argument 193 mwifiex_11h_handle_chanrpt_ready(struct mwifiex_private *priv, struct sk_buff *skb) argument 238 mwifiex_11h_handle_radar_detected(struct mwifiex_private *priv, struct sk_buff *skb) argument 269 struct mwifiex_private *priv = local [all...] |
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_init.c | 66 ath9k_htc_ps_wakeup(common->priv); 71 ath9k_htc_ps_restore(common->priv); 79 static int ath9k_htc_wait_for_target(struct ath9k_htc_priv *priv) argument 83 if (atomic_read(&priv->htc->tgt_ready) > 0) { 84 atomic_dec(&priv->htc->tgt_ready); 89 time_left = wait_for_completion_timeout(&priv->htc->target_wait, HZ); 91 dev_err(priv->dev, "ath9k_htc: Target is unresponsive\n"); 95 atomic_dec(&priv->htc->tgt_ready); 100 static void ath9k_deinit_priv(struct ath9k_htc_priv *priv) argument 102 ath9k_hw_deinit(priv 107 ath9k_deinit_device(struct ath9k_htc_priv *priv) argument 120 ath9k_htc_connect_svc(struct ath9k_htc_priv *priv, u16 service_id, void (*tx) (void *, struct sk_buff *, enum htc_endpoint_id, bool txok), enum htc_endpoint_id *ep_id) argument 140 ath9k_init_htc_services(struct ath9k_htc_priv *priv, u16 devid, u32 drv_info) argument 228 struct ath9k_htc_priv *priv = hw->priv; local 238 struct ath9k_htc_priv *priv = common->priv; local 260 struct ath9k_htc_priv *priv = common->priv; local 285 struct ath9k_htc_priv *priv = common->priv; local 306 struct ath9k_htc_priv *priv = common->priv; local 327 struct ath9k_htc_priv *priv = common->priv; local 350 struct ath9k_htc_priv *priv = common->priv; local 362 struct ath9k_htc_priv *priv = common->priv; local 371 struct ath9k_htc_priv *priv = common->priv; local 388 struct ath9k_htc_priv *priv = common->priv; local 426 struct ath9k_htc_priv *priv = common->priv; local 458 struct ath9k_htc_priv *priv = common->priv; local 471 struct ath9k_htc_priv *priv = common->priv; local 493 struct ath9k_htc_priv *priv = common->priv; local 544 ath9k_init_queues(struct ath9k_htc_priv *priv) argument 588 ath9k_init_misc(struct ath9k_htc_priv *priv) argument 606 ath9k_init_priv(struct ath9k_htc_priv *priv, u16 devid, char *product, u32 drv_info) argument 712 ath9k_set_hw_capab(struct ath9k_htc_priv *priv, struct ieee80211_hw *hw) argument 785 ath9k_init_firmware_version(struct ath9k_htc_priv *priv) argument 828 ath9k_init_device(struct ath9k_htc_priv *priv, u16 devid, char *product, u32 drv_info) argument 935 struct ath9k_htc_priv *priv; local 1010 struct ath9k_htc_priv *priv = htc_handle->drv_priv; local [all...] |
/linux-master/drivers/net/dsa/realtek/ |
H A D | realtek-mdio.c | 46 struct realtek_priv *priv = ctx; local 47 struct mii_bus *bus = priv->bus; 52 ret = bus->write(bus, priv->mdio_addr, REALTEK_MDIO_CTRL0_REG, REALTEK_MDIO_ADDR_OP); 56 ret = bus->write(bus, priv->mdio_addr, REALTEK_MDIO_ADDRESS_REG, reg); 60 ret = bus->write(bus, priv->mdio_addr, REALTEK_MDIO_DATA_WRITE_REG, val); 64 ret = bus->write(bus, priv->mdio_addr, REALTEK_MDIO_CTRL1_REG, REALTEK_MDIO_WRITE_OP); 74 struct realtek_priv *priv = ctx; local 75 struct mii_bus *bus = priv->bus; 80 ret = bus->write(bus, priv->mdio_addr, REALTEK_MDIO_CTRL0_REG, REALTEK_MDIO_ADDR_OP); 84 ret = bus->write(bus, priv 124 struct realtek_priv *priv; local 157 struct realtek_priv *priv = dev_get_drvdata(&mdiodev->dev); local 180 struct realtek_priv *priv = dev_get_drvdata(&mdiodev->dev); local [all...] |