forked from Minki/linux
48a61477bd
New acx command that sets: Rx fifo enable reduced bus transactions in RX path. Tx bus transactions padding to SDIO block size that improve preference in Tx and essential for working with SDIO HS (48Mhz). The max SDIO block size is 256 when working with Tx bus transactions padding to SDIO block. Add new ops to SDIO & SPI that handles the win size change in case of transactions padding (relevant only for SDIO). [Fix endianess issues; simplify sdio-specific block_size handling; minor changes in comments; use "aligned_len" in one calculation instead of "pad" to avoid confusion -- Luca] Signed-off-by: Shahar Levi <shahar_levi@ti.com> Reviewed-by: Luciano Coelho <coelho@ti.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
38 lines
1.2 KiB
C
38 lines
1.2 KiB
C
/*
|
|
* This file is part of wl1271
|
|
*
|
|
* Copyright (C) 2009 Nokia Corporation
|
|
*
|
|
* Contact: Luciano Coelho <luciano.coelho@nokia.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|
* 02110-1301 USA
|
|
*
|
|
*/
|
|
|
|
#ifndef __INIT_H__
|
|
#define __INIT_H__
|
|
|
|
#include "wl12xx.h"
|
|
|
|
int wl1271_hw_init_power_auth(struct wl1271 *wl);
|
|
int wl1271_sta_init_templates_config(struct wl1271 *wl);
|
|
int wl1271_init_phy_config(struct wl1271 *wl);
|
|
int wl1271_init_pta(struct wl1271 *wl);
|
|
int wl1271_init_energy_detection(struct wl1271 *wl);
|
|
int wl1271_chip_specific_init(struct wl1271 *wl);
|
|
int wl1271_hw_init(struct wl1271 *wl);
|
|
|
|
#endif
|