xref: /kernel/linux/linux-6.6/drivers/net/wireless/ti/wl1251/boot.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/drivers/net/wireless/ti/wl1251/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * This file is part of wl1251
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright (C) 2008 Nokia Corporation
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#ifndef __BOOT_H__
962306a36Sopenharmony_ci#define __BOOT_H__
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#include "wl1251.h"
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ciint wl1251_boot_soft_reset(struct wl1251 *wl);
1462306a36Sopenharmony_ciint wl1251_boot_init_seq(struct wl1251 *wl);
1562306a36Sopenharmony_ciint wl1251_boot_run_firmware(struct wl1251 *wl);
1662306a36Sopenharmony_civoid wl1251_boot_target_enable_interrupts(struct wl1251 *wl);
1762306a36Sopenharmony_ciint wl1251_boot(struct wl1251 *wl);
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci/* number of times we try to read the INIT interrupt */
2062306a36Sopenharmony_ci#define INIT_LOOP 20000
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci/* delay between retries */
2362306a36Sopenharmony_ci#define INIT_LOOP_DELAY 50
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci#endif
26

Indexes created Thu Nov 07 10:32:03 CST 2024