Linux Kernel
3.7.1
|
#include "aic79xx_osm.h"
#include "aic79xx_inline.h"
#include <scsi/scsicam.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/slab.h>
Go to the source code of this file.
Data Structures | |
struct | adapter_tag_info_t |
struct | ahd_linux_iocell_opts |
Macros | |
#define | AHD_LINUX_ERR_THRESH 1000 |
#define | AIC79XX_RESET_DELAY 5000 |
#define | AIC79XX_CMDS_PER_DEVICE AHD_MAX_QUEUE |
#define | AIC79XX_CONFIGED_TAG_COMMANDS |
#define | AIC79XX_DEFAULT_PRECOMP 0xFF |
#define | AIC79XX_DEFAULT_SLEWRATE 0xFF |
#define | AIC79XX_DEFAULT_AMPLITUDE 0xFF |
#define | AIC79XX_DEFAULT_IOOPTS |
#define | AIC79XX_PRECOMP_INDEX 0 |
#define | AIC79XX_SLEWRATE_INDEX 1 |
#define | AIC79XX_AMPLITUDE_INDEX 2 |
#define | DID_UNDERFLOW DID_ERROR |
#define | BUILD_SCSIID(ahd, cmd) (((scmd_id(cmd) << TID_SHIFT) & TID) | (ahd)->our_id) |
Variables | |
uint32_t | aic79xx_allow_memio = ~0 |
uint32_t | aic79xx_slowcrc |
struct scsi_host_template | aic79xx_driver_template |
uint32_t | aic79xx_verbose |
#define AHD_LINUX_ERR_THRESH 1000 |
Definition at line 61 of file aic79xx_osm.c.
#define AIC79XX_AMPLITUDE_INDEX 2 |
Definition at line 196 of file aic79xx_osm.c.
#define AIC79XX_CMDS_PER_DEVICE AHD_MAX_QUEUE |
Definition at line 136 of file aic79xx_osm.c.
#define AIC79XX_CONFIGED_TAG_COMMANDS |
Definition at line 139 of file aic79xx_osm.c.
#define AIC79XX_DEFAULT_AMPLITUDE 0xFF |
Definition at line 187 of file aic79xx_osm.c.
#define AIC79XX_DEFAULT_IOOPTS |
Definition at line 188 of file aic79xx_osm.c.
#define AIC79XX_DEFAULT_PRECOMP 0xFF |
Definition at line 185 of file aic79xx_osm.c.
#define AIC79XX_DEFAULT_SLEWRATE 0xFF |
Definition at line 186 of file aic79xx_osm.c.
#define AIC79XX_PRECOMP_INDEX 0 |
Definition at line 194 of file aic79xx_osm.c.
#define AIC79XX_RESET_DELAY 5000 |
Definition at line 72 of file aic79xx_osm.c.
#define AIC79XX_SLEWRATE_INDEX 1 |
Definition at line 195 of file aic79xx_osm.c.
Definition at line 544 of file aic79xx_osm.c.
#define DID_UNDERFLOW DID_ERROR |
Definition at line 221 of file aic79xx_osm.c.
__setup | ( | ) |
Definition at line 376 of file aic79xx_osm.c.
int ahd_dma_tag_create | ( | struct ahd_softc * | ahd, |
bus_dma_tag_t | parent, | ||
bus_size_t | alignment, | ||
bus_size_t | boundary, | ||
dma_addr_t | lowaddr, | ||
dma_addr_t | highaddr, | ||
bus_dma_filter_t * | filter, | ||
void * | filterarg, | ||
bus_size_t | maxsize, | ||
int | nsegments, | ||
bus_size_t | maxsegsz, | ||
int | flags, | ||
bus_dma_tag_t * | ret_tag | ||
) |
Definition at line 931 of file aic79xx_osm.c.
void ahd_dma_tag_destroy | ( | struct ahd_softc * | ahd, |
bus_dma_tag_t | dmat | ||
) |
Definition at line 959 of file aic79xx_osm.c.
void ahd_dmamap_destroy | ( | struct ahd_softc * | ahd, |
bus_dma_tag_t | dmat, | ||
bus_dmamap_t | map | ||
) |
Definition at line 1001 of file aic79xx_osm.c.
int ahd_dmamap_load | ( | struct ahd_softc * | ahd, |
bus_dma_tag_t | dmat, | ||
bus_dmamap_t | map, | ||
void * | buf, | ||
bus_size_t | buflen, | ||
bus_dmamap_callback_t * | cb, | ||
void * | cb_arg, | ||
int | flags | ||
) |
Definition at line 984 of file aic79xx_osm.c.
int ahd_dmamap_unload | ( | struct ahd_softc * | ahd, |
bus_dma_tag_t | dmat, | ||
bus_dmamap_t | map | ||
) |
Definition at line 1006 of file aic79xx_osm.c.
int ahd_dmamem_alloc | ( | struct ahd_softc * | ahd, |
bus_dma_tag_t | dmat, | ||
void ** | vaddr, | ||
int | flags, | ||
bus_dmamap_t * | mapp | ||
) |
Definition at line 965 of file aic79xx_osm.c.
void ahd_dmamem_free | ( | struct ahd_softc * | ahd, |
bus_dma_tag_t | dmat, | ||
void * | vaddr, | ||
bus_dmamap_t | map | ||
) |
Definition at line 976 of file aic79xx_osm.c.
Definition at line 1793 of file aic79xx_osm.c.
Definition at line 467 of file aic79xx_osm.c.
irqreturn_t ahd_linux_isr | ( | int | irq, |
void * | dev_id | ||
) |
Definition at line 1685 of file aic79xx_osm.c.
int ahd_linux_register_host | ( | struct ahd_softc * | ahd, |
struct scsi_host_template * | template | ||
) |
Definition at line 1223 of file aic79xx_osm.c.
Definition at line 431 of file aic79xx_osm.c.
Definition at line 453 of file aic79xx_osm.c.
Definition at line 442 of file aic79xx_osm.c.
uint32_t ahd_pci_read_config | ( | ahd_dev_softc_t | pci, |
int | reg, | ||
int | width | ||
) |
Definition at line 482 of file aic79xx_osm.c.
void ahd_pci_write_config | ( | ahd_dev_softc_t | pci, |
int | reg, | ||
uint32_t | value, | ||
int | width | ||
) |
Definition at line 512 of file aic79xx_osm.c.
int ahd_platform_abort_scbs | ( | struct ahd_softc * | ahd, |
int | target, | ||
char | channel, | ||
int | lun, | ||
u_int | tag, | ||
role_t | role, | ||
uint32_t | status | ||
) |
Definition at line 1490 of file aic79xx_osm.c.
Definition at line 1324 of file aic79xx_osm.c.
Definition at line 1338 of file aic79xx_osm.c.
Definition at line 1394 of file aic79xx_osm.c.
Definition at line 1374 of file aic79xx_osm.c.
void ahd_platform_set_tags | ( | struct ahd_softc * | ahd, |
struct scsi_device * | sdev, | ||
struct ahd_devinfo * | devinfo, | ||
ahd_queue_alg | alg | ||
) |
Definition at line 1403 of file aic79xx_osm.c.
Definition at line 224 of file aic79xx_osm.c.
Definition at line 1699 of file aic79xx_osm.c.
MODULE_AUTHOR | ( | "Maintainer: Hannes Reinecke <[email protected]>" | ) |
module_exit | ( | ahd_linux_exit | ) |
module_init | ( | ahd_linux_init | ) |
MODULE_LICENSE | ( | "Dual BSD/GPL" | ) |
module_param | ( | aic79xx | , |
charp | , | ||
0444 | |||
) |
MODULE_PARM_DESC | ( | aic79xx | ) |
MODULE_VERSION | ( | AIC79XX_DRIVER_VERSION | ) |
uint32_t aic79xx_allow_memio = ~0 |
Definition at line 275 of file aic79xx_osm.c.
struct scsi_host_template aic79xx_driver_template |
Definition at line 905 of file aic79xx_osm.c.
uint32_t aic79xx_slowcrc |
Definition at line 312 of file aic79xx_osm.c.
uint32_t aic79xx_verbose |
Definition at line 1220 of file aic79xx_osm.c.