Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
hardware.h File Reference
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/interrupt.h>

Go to the source code of this file.

Macros

#define IPW_CONTROL_LINE_CTS   0x0001
 
#define IPW_CONTROL_LINE_DCD   0x0002
 
#define IPW_CONTROL_LINE_DSR   0x0004
 
#define IPW_CONTROL_LINE_RI   0x0008
 
#define IPW_CONTROL_LINE_DTR   0x0010
 
#define IPW_CONTROL_LINE_RTS   0x0020
 

Functions

struct ipw_hardwareipwireless_hardware_create (void)
 
void ipwireless_hardware_free (struct ipw_hardware *hw)
 
irqreturn_t ipwireless_interrupt (int irq, void *dev_id)
 
int ipwireless_set_DTR (struct ipw_hardware *hw, unsigned int channel_idx, int state)
 
int ipwireless_set_RTS (struct ipw_hardware *hw, unsigned int channel_idx, int state)
 
int ipwireless_send_packet (struct ipw_hardware *hw, unsigned int channel_idx, const unsigned char *data, unsigned int length, void(*packet_sent_callback)(void *cb, unsigned int length), void *sent_cb_data)
 
void ipwireless_associate_network (struct ipw_hardware *hw, struct ipw_network *net)
 
void ipwireless_stop_interrupts (struct ipw_hardware *hw)
 
void ipwireless_init_hardware_v1 (struct ipw_hardware *hw, unsigned int base_port, void __iomem *attr_memory, void __iomem *common_memory, int is_v2_card, void(*reboot_cb)(void *data), void *reboot_cb_data)
 
void ipwireless_init_hardware_v2_v3 (struct ipw_hardware *hw)
 
void ipwireless_sleep (unsigned int tenths)
 

Macro Definition Documentation

#define IPW_CONTROL_LINE_CTS   0x0001

Definition at line 25 of file hardware.h.

#define IPW_CONTROL_LINE_DCD   0x0002

Definition at line 26 of file hardware.h.

#define IPW_CONTROL_LINE_DSR   0x0004

Definition at line 27 of file hardware.h.

#define IPW_CONTROL_LINE_DTR   0x0010

Definition at line 29 of file hardware.h.

#define IPW_CONTROL_LINE_RI   0x0008

Definition at line 28 of file hardware.h.

#define IPW_CONTROL_LINE_RTS   0x0020

Definition at line 30 of file hardware.h.

Function Documentation

void ipwireless_associate_network ( struct ipw_hardware hw,
struct ipw_network net 
)

Definition at line 1760 of file hardware.c.

struct ipw_hardware* ipwireless_hardware_create ( void  )
read

Definition at line 1609 of file hardware.c.

void ipwireless_hardware_free ( struct ipw_hardware hw)

Definition at line 1724 of file hardware.c.

void ipwireless_init_hardware_v1 ( struct ipw_hardware hw,
unsigned int  base_port,
void __iomem attr_memory,
void __iomem common_memory,
int  is_v2_card,
void(*)(void *data reboot_cb,
void reboot_cb_data 
)

Definition at line 1638 of file hardware.c.

void ipwireless_init_hardware_v2_v3 ( struct ipw_hardware hw)

Definition at line 1661 of file hardware.c.

irqreturn_t ipwireless_interrupt ( int  irq,
void dev_id 
)

Definition at line 1214 of file hardware.c.

int ipwireless_send_packet ( struct ipw_hardware hw,
unsigned int  channel_idx,
const unsigned char data,
unsigned int  length,
void(*)(void *cb, unsigned int length packet_sent_callback,
void sent_cb_data 
)

Definition at line 1293 of file hardware.c.

int ipwireless_set_DTR ( struct ipw_hardware hw,
unsigned int  channel_idx,
int  state 
)

Definition at line 1355 of file hardware.c.

int ipwireless_set_RTS ( struct ipw_hardware hw,
unsigned int  channel_idx,
int  state 
)

Definition at line 1361 of file hardware.c.

void ipwireless_sleep ( unsigned int  tenths)
void ipwireless_stop_interrupts ( struct ipw_hardware hw)

Definition at line 1712 of file hardware.c.