Linux Kernel
3.7.1
|
#include <linux/compiler.h>
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/fs.h>
#include <linux/list.h>
#include <linux/idr.h>
#include <linux/mm_types.h>
#include <linux/rwsem.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/atomic.h>
Go to the source code of this file.
Data Structures | |
struct | fw_card_driver |
struct | fw_node |
Macros | |
#define | PHY_LINK_ACTIVE 0x80 |
#define | PHY_CONTENDER 0x40 |
#define | PHY_BUS_RESET 0x40 |
#define | PHY_EXTENDED_REGISTERS 0xe0 |
#define | PHY_BUS_SHORT_RESET 0x40 |
#define | PHY_INT_STATUS_BITS 0x3c |
#define | PHY_ENABLE_ACCEL 0x02 |
#define | PHY_ENABLE_MULTI 0x01 |
#define | PHY_PAGE_SELECT 0xe0 |
#define | BANDWIDTH_AVAILABLE_INITIAL 4915 |
#define | BROADCAST_CHANNEL_INITIAL (1 << 31 | 31) |
#define | BROADCAST_CHANNEL_VALID (1 << 30) |
#define | CSR_STATE_BIT_CMSTR (1 << 8) |
#define | CSR_STATE_BIT_ABDICATE (1 << 10) |
#define | TCODE_LINK_INTERNAL 0xe |
#define | TCODE_IS_READ_REQUEST(tcode) (((tcode) & ~1) == 4) |
#define | TCODE_IS_BLOCK_PACKET(tcode) (((tcode) & 1) != 0) |
#define | TCODE_IS_LINK_INTERNAL(tcode) ((tcode) == TCODE_LINK_INTERNAL) |
#define | TCODE_IS_REQUEST(tcode) (((tcode) & 2) == 0) |
#define | TCODE_IS_RESPONSE(tcode) (((tcode) & 2) != 0) |
#define | TCODE_HAS_REQUEST_DATA(tcode) (((tcode) & 12) != 4) |
#define | TCODE_HAS_RESPONSE_DATA(tcode) (((tcode) & 12) != 0) |
#define | LOCAL_BUS 0xffc0 |
#define | FW_PHY_CONFIG_NO_NODE_ID -1 |
#define | FW_PHY_CONFIG_CURRENT_GAP_COUNT -1 |
Enumerations | |
enum | { FW_NODE_CREATED, FW_NODE_UPDATED, FW_NODE_DESTROYED, FW_NODE_LINK_ON, FW_NODE_LINK_OFF, FW_NODE_INITIATED_RESET } |
Variables | |
const char * | fmt |
struct file_operations | fw_device_ops |
struct rw_semaphore | fw_device_rwsem |
struct idr | fw_device_idr |
int | fw_cdev_major |
#define TCODE_HAS_REQUEST_DATA | ( | tcode | ) | (((tcode) & 12) != 4) |
#define TCODE_HAS_RESPONSE_DATA | ( | tcode | ) | (((tcode) & 12) != 0) |
#define TCODE_IS_LINK_INTERNAL | ( | tcode | ) | ((tcode) == TCODE_LINK_INTERNAL) |
anonymous enum |
|
inline |
Definition at line 273 of file st5481_d.c.
Definition at line 559 of file core-card.c.
void fw_card_initialize | ( | struct fw_card * | card, |
const struct fw_card_driver * | driver, | ||
struct device * | device | ||
) |
Definition at line 527 of file core-card.c.
Definition at line 1574 of file core-cdev.c.
Definition at line 56 of file core-card.c.
void fw_core_handle_bus_reset | ( | struct fw_card * | card, |
int | node_id, | ||
int | generation, | ||
int | self_id_count, | ||
u32 * | self_ids, | ||
bool | bm_abdicate | ||
) |
Definition at line 519 of file core-topology.c.
Definition at line 909 of file core-transaction.c.
Definition at line 939 of file core-transaction.c.
Definition at line 681 of file core-card.c.
Definition at line 390 of file core-topology.c.
Definition at line 417 of file core-cdev.c.
Definition at line 407 of file core-cdev.c.
Definition at line 742 of file core-device.c.
Definition at line 967 of file core-device.c.
void fw_fill_response | ( | struct fw_packet * | response, |
u32 * | request_header, | ||
int | rcode, | ||
void * | payload, | ||
size_t | length | ||
) |
Definition at line 674 of file core-transaction.c.
int fw_get_response_length | ( | struct fw_request * | request | ) |
Definition at line 639 of file core-transaction.c.
int fw_iso_buffer_alloc | ( | struct fw_iso_buffer * | buffer, |
int | page_count | ||
) |
Definition at line 42 of file core-iso.c.
int fw_iso_buffer_map_dma | ( | struct fw_iso_buffer * | buffer, |
struct fw_card * | card, | ||
enum dma_data_direction | direction | ||
) |
Definition at line 67 of file core-iso.c.
int fw_iso_buffer_map_vma | ( | struct fw_iso_buffer * | buffer, |
struct vm_area_struct * | vma | ||
) |
Definition at line 107 of file core-iso.c.
Definition at line 1188 of file core-device.c.
Definition at line 293 of file core-card.c.
Definition at line 240 of file core-card.c.
Definition at line 455 of file core-transaction.c.
int fw_cdev_major |
Definition at line 740 of file core-device.c.
struct file_operations fw_device_ops |
Definition at line 1808 of file core-cdev.c.
struct rw_semaphore fw_device_rwsem |