switchtec_dev
struct switchtec_dev *stdev = to_stdev(dev);
struct switchtec_dev *stdev = to_stdev(dev);
struct switchtec_dev *stdev = sndev->stdev;
struct switchtec_dev *stdev;
static void switchtec_ntb_link_notification(struct switchtec_dev *stdev)
static int event_ctl(struct switchtec_dev *stdev,
static int ioctl_event_ctl(struct switchtec_dev *stdev,
static int ioctl_pff_to_port(struct switchtec_dev *stdev,
static int ioctl_port_to_pff(struct switchtec_dev *stdev,
struct switchtec_dev *stdev = stuser->stdev;
struct switchtec_dev *stdev;
stdev = container_of(work, struct switchtec_dev, link_event_work);
static void check_link_state_events(struct switchtec_dev *stdev)
static void enable_link_state_events(struct switchtec_dev *stdev)
static void enable_dma_mrpc(struct switchtec_dev *stdev)
struct switchtec_dev *stdev = to_stdev(dev);
static void stdev_kill(struct switchtec_dev *stdev)
static struct switchtec_dev *stdev_create(struct pci_dev *pdev)
struct switchtec_dev *stdev;
static int mask_event(struct switchtec_dev *stdev, int eid, int idx)
static void mrpc_complete_cmd(struct switchtec_dev *stdev);
static int mask_all_events(struct switchtec_dev *stdev, int eid)
static void flush_wc_buf(struct switchtec_dev *stdev)
struct switchtec_dev *stdev = dev;
struct switchtec_dev *stdev = dev;
static int switchtec_init_isr(struct switchtec_dev *stdev)
static void init_pff(struct switchtec_dev *stdev)
static void mrpc_cmd_submit(struct switchtec_dev *stdev)
static int switchtec_init_pci(struct switchtec_dev *stdev,
static void switchtec_exit_pci(struct switchtec_dev *stdev)
struct switchtec_dev *stdev;
struct switchtec_dev *stdev = pci_get_drvdata(pdev);
struct switchtec_dev *stdev = stuser->stdev;
static void mrpc_cleanup_cmd(struct switchtec_dev *stdev)
static void mrpc_complete_cmd(struct switchtec_dev *stdev)
struct switchtec_dev *stdev;
stdev = container_of(work, struct switchtec_dev, mrpc_work);
static void mrpc_error_complete_cmd(struct switchtec_dev *stdev)
struct switchtec_dev *stdev;
stdev = container_of(work, struct switchtec_dev, mrpc_timeout.work);
struct switchtec_dev *stdev = to_stdev(dev);
struct switchtec_dev *stdev = to_stdev(dev);
struct switchtec_dev *stdev = to_stdev(dev); \
struct switchtec_dev *stdev = to_stdev(dev);
struct switchtec_dev *stdev = to_stdev(dev);
struct switchtec_dev *stdev = to_stdev(dev);
struct switchtec_dev *stdev = to_stdev(dev);
struct switchtec_dev *stdev = to_stdev(dev);
struct switchtec_dev *stdev;
stdev = container_of(inode->i_cdev, struct switchtec_dev, cdev);
static int lock_mutex_and_test_alive(struct switchtec_dev *stdev)
struct switchtec_dev *stdev = stuser->stdev;
struct switchtec_dev *stdev;
struct switchtec_dev *stdev = stuser->stdev;
struct switchtec_dev *stdev = stuser->stdev;
static int ioctl_flash_info(struct switchtec_dev *stdev,
static int flash_part_info_gen3(struct switchtec_dev *stdev,
static int flash_part_info_gen4(struct switchtec_dev *stdev,
static int is_firmware_running(struct switchtec_dev *stdev)
static struct switchtec_user *stuser_create(struct switchtec_dev *stdev)
static int ioctl_flash_part_info(struct switchtec_dev *stdev,
static int ioctl_event_summary(struct switchtec_dev *stdev,
static u32 __iomem *global_ev_reg(struct switchtec_dev *stdev,
static u32 __iomem *part_ev_reg(struct switchtec_dev *stdev,
static u32 __iomem *pff_ev_reg(struct switchtec_dev *stdev,
u32 __iomem *(*map_reg)(struct switchtec_dev *stdev,
static u32 __iomem *event_hdr_addr(struct switchtec_dev *stdev,
void (*link_notifier)(struct switchtec_dev *stdev);
static inline struct switchtec_dev *to_stdev(struct device *dev)
return container_of(dev, struct switchtec_dev, dev);