agn.h (4f2c0a4acffbec01079c28f839422e64ddeff004) agn.h (b476564b90668ea957db2411fc946753cdc36d8d)
1/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2/*
1/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2/*
3 * Copyright (C) 2005-2014, 2021 Intel Corporation
3 * Copyright (C) 2005-2014, 2021, 2024 Intel Corporation
4 */
5#ifndef __iwl_agn_h__
6#define __iwl_agn_h__
7
8#include "iwl-config.h"
9
10#include "dev.h"
11

--- 368 unchanged lines hidden (view full) ---

380{
381 if (state)
382 set_bit(STATUS_POWER_PMI, &priv->status);
383 else
384 clear_bit(STATUS_POWER_PMI, &priv->status);
385 iwl_trans_set_pmi(priv->trans, state);
386}
387
4 */
5#ifndef __iwl_agn_h__
6#define __iwl_agn_h__
7
8#include "iwl-config.h"
9
10#include "dev.h"
11

--- 368 unchanged lines hidden (view full) ---

380{
381 if (state)
382 set_bit(STATUS_POWER_PMI, &priv->status);
383 else
384 clear_bit(STATUS_POWER_PMI, &priv->status);
385 iwl_trans_set_pmi(priv->trans, state);
386}
387
388int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size);
389
388#ifdef CONFIG_IWLWIFI_DEBUGFS
389void iwl_dbgfs_register(struct iwl_priv *priv, struct dentry *dbgfs_dir);
390#else
391static inline void iwl_dbgfs_register(struct iwl_priv *priv,
392 struct dentry *dbgfs_dir) { }
393#endif /* CONFIG_IWLWIFI_DEBUGFS */
394
395#ifdef CONFIG_IWLWIFI_DEBUG

--- 23 unchanged lines hidden ---
390#ifdef CONFIG_IWLWIFI_DEBUGFS
391void iwl_dbgfs_register(struct iwl_priv *priv, struct dentry *dbgfs_dir);
392#else
393static inline void iwl_dbgfs_register(struct iwl_priv *priv,
394 struct dentry *dbgfs_dir) { }
395#endif /* CONFIG_IWLWIFI_DEBUGFS */
396
397#ifdef CONFIG_IWLWIFI_DEBUG

--- 23 unchanged lines hidden ---