linux/drivers/net/wireless/broadcom/b43/phy_common.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*

  Broadcom B43 wireless driver
  Common PHY routines

  Copyright (c) 2005 Martin Langer <[email protected]>,
  Copyright (c) 2005-2007 Stefano Brivio <[email protected]>
  Copyright (c) 2005-2008 Michael Buesch <[email protected]>
  Copyright (c) 2005, 2006 Danny van Dyk <[email protected]>
  Copyright (c) 2005, 2006 Andreas Jaggi <[email protected]>


*/

#include "phy_common.h"
#include "phy_g.h"
#include "phy_a.h"
#include "phy_n.h"
#include "phy_lp.h"
#include "phy_ht.h"
#include "phy_lcn.h"
#include "phy_ac.h"
#include "b43.h"
#include "main.h"


int b43_phy_allocate(struct b43_wldev *dev)
{}

void b43_phy_free(struct b43_wldev *dev)
{}

int b43_phy_init(struct b43_wldev *dev)
{}

void b43_phy_exit(struct b43_wldev *dev)
{}

bool b43_has_hardware_pctl(struct b43_wldev *dev)
{}

void b43_radio_lock(struct b43_wldev *dev)
{}

void b43_radio_unlock(struct b43_wldev *dev)
{}

void b43_phy_lock(struct b43_wldev *dev)
{}

void b43_phy_unlock(struct b43_wldev *dev)
{}

static inline void assert_mac_suspended(struct b43_wldev *dev)
{}

u16 b43_radio_read(struct b43_wldev *dev, u16 reg)
{}

void b43_radio_write(struct b43_wldev *dev, u16 reg, u16 value)
{}

void b43_radio_mask(struct b43_wldev *dev, u16 offset, u16 mask)
{}

void b43_radio_set(struct b43_wldev *dev, u16 offset, u16 set)
{}

void b43_radio_maskset(struct b43_wldev *dev, u16 offset, u16 mask, u16 set)
{}

bool b43_radio_wait_value(struct b43_wldev *dev, u16 offset, u16 mask,
			  u16 value, int delay, int timeout)
{}

u16 b43_phy_read(struct b43_wldev *dev, u16 reg)
{}

void b43_phy_write(struct b43_wldev *dev, u16 reg, u16 value)
{}

void b43_phy_copy(struct b43_wldev *dev, u16 destreg, u16 srcreg)
{}

void b43_phy_mask(struct b43_wldev *dev, u16 offset, u16 mask)
{}

void b43_phy_set(struct b43_wldev *dev, u16 offset, u16 set)
{}

void b43_phy_maskset(struct b43_wldev *dev, u16 offset, u16 mask, u16 set)
{}

void b43_phy_put_into_reset(struct b43_wldev *dev)
{}

void b43_phy_take_out_of_reset(struct b43_wldev *dev)
{}

int b43_switch_channel(struct b43_wldev *dev, unsigned int new_channel)
{}

void b43_software_rfkill(struct b43_wldev *dev, bool blocked)
{}

/*
 * b43_phy_txpower_adjust_work - TX power workqueue.
 *
 * Workqueue for updating the TX power parameters in hardware.
 */
void b43_phy_txpower_adjust_work(struct work_struct *work)
{}

void b43_phy_txpower_check(struct b43_wldev *dev, unsigned int flags)
{}

int b43_phy_shm_tssi_read(struct b43_wldev *dev, u16 shm_offset)
{}

void b43_phyop_switch_analog_generic(struct b43_wldev *dev, bool on)
{}


bool b43_is_40mhz(struct b43_wldev *dev)
{}

/* https://bcm-v4.sipsolutions.net/802.11/PHY/N/BmacPhyClkFgc */
void b43_phy_force_clock(struct b43_wldev *dev, bool force)
{}