linux/drivers/net/wireless/ti/wl1251/event.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * This file is part of wl1251
 *
 * Copyright (c) 1998-2007 Texas Instruments Incorporated
 * Copyright (C) 2008 Nokia Corporation
 */

#include "wl1251.h"
#include "reg.h"
#include "io.h"
#include "event.h"
#include "ps.h"

static int wl1251_event_scan_complete(struct wl1251 *wl,
				      struct event_mailbox *mbox)
{}

#define WL1251_PSM_ENTRY_RETRIES
static int wl1251_event_ps_report(struct wl1251 *wl,
				  struct event_mailbox *mbox)
{}

static void wl1251_event_mbox_dump(struct event_mailbox *mbox)
{}

static int wl1251_event_process(struct wl1251 *wl, struct event_mailbox *mbox)
{}

/*
 * Poll the mailbox event field until any of the bits in the mask is set or a
 * timeout occurs (WL1251_EVENT_TIMEOUT in msecs)
 */
int wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms)
{}

int wl1251_event_unmask(struct wl1251 *wl)
{}

void wl1251_event_mbox_config(struct wl1251 *wl)
{}

int wl1251_event_handle(struct wl1251 *wl, u8 mbox_num)
{}