Lines Matching defs:stdev

51 	struct switchtec_dev *stdev;  member
69 static struct switchtec_user *stuser_create(struct switchtec_dev *stdev) in stuser_create()
126 static void flush_wc_buf(struct switchtec_dev *stdev) in flush_wc_buf()
139 static void mrpc_cmd_submit(struct switchtec_dev *stdev) in mrpc_cmd_submit()
174 struct switchtec_dev *stdev = stuser->stdev; in mrpc_queue_cmd() local
187 static void mrpc_complete_cmd(struct switchtec_dev *stdev) in mrpc_complete_cmd()
237 struct switchtec_dev *stdev; in mrpc_event_work() local
251 struct switchtec_dev *stdev; in mrpc_timeout_work() local
278 struct switchtec_dev *stdev = to_stdev(dev); in device_version_show() local
290 struct switchtec_dev *stdev = to_stdev(dev); in fw_version_show() local
342 struct switchtec_dev *stdev = to_stdev(dev); in component_vendor_show() local
357 struct switchtec_dev *stdev = to_stdev(dev); in component_id_show() local
371 struct switchtec_dev *stdev = to_stdev(dev); in component_revision_show() local
385 struct switchtec_dev *stdev = to_stdev(dev); in partition_show() local
394 struct switchtec_dev *stdev = to_stdev(dev); in partition_count_show() local
418 struct switchtec_dev *stdev; in switchtec_dev_open() local
444 static int lock_mutex_and_test_alive(struct switchtec_dev *stdev) in lock_mutex_and_test_alive()
461 struct switchtec_dev *stdev = stuser->stdev; in switchtec_dev_write() local
513 struct switchtec_dev *stdev = stuser->stdev; in switchtec_dev_read() local
583 struct switchtec_dev *stdev = stuser->stdev; in switchtec_dev_poll() local
603 static int ioctl_flash_info(struct switchtec_dev *stdev, in ioctl_flash_info()
632 static int flash_part_info_gen3(struct switchtec_dev *stdev, in flash_part_info_gen3()
702 static int flash_part_info_gen4(struct switchtec_dev *stdev, in flash_part_info_gen4()
806 static int ioctl_flash_part_info(struct switchtec_dev *stdev, in ioctl_flash_part_info()
833 static int ioctl_event_summary(struct switchtec_dev *stdev, in ioctl_event_summary()
873 static u32 __iomem *global_ev_reg(struct switchtec_dev *stdev, in global_ev_reg()
879 static u32 __iomem *part_ev_reg(struct switchtec_dev *stdev, in part_ev_reg()
885 static u32 __iomem *pff_ev_reg(struct switchtec_dev *stdev, in pff_ev_reg()
937 static u32 __iomem *event_hdr_addr(struct switchtec_dev *stdev, in event_hdr_addr()
960 static int event_ctl(struct switchtec_dev *stdev, in event_ctl()
1013 static int ioctl_event_ctl(struct switchtec_dev *stdev, in ioctl_event_ctl()
1059 static int ioctl_pff_to_port(struct switchtec_dev *stdev, in ioctl_pff_to_port()
1106 static int ioctl_port_to_pff(struct switchtec_dev *stdev, in ioctl_port_to_pff()
1148 struct switchtec_dev *stdev = stuser->stdev; in switchtec_dev_ioctl() local
1202 struct switchtec_dev *stdev; in link_event_work() local
1210 static void check_link_state_events(struct switchtec_dev *stdev) in check_link_state_events()
1232 static void enable_link_state_events(struct switchtec_dev *stdev) in enable_link_state_events()
1243 static void enable_dma_mrpc(struct switchtec_dev *stdev) in enable_dma_mrpc()
1252 struct switchtec_dev *stdev = to_stdev(dev); in stdev_release() local
1264 static void stdev_kill(struct switchtec_dev *stdev) in stdev_kill()
1292 struct switchtec_dev *stdev; in stdev_create() local
1342 static int mask_event(struct switchtec_dev *stdev, int eid, int idx) in mask_event()
1361 static int mask_all_events(struct switchtec_dev *stdev, int eid) in mask_all_events()
1385 struct switchtec_dev *stdev = dev; in switchtec_event_isr() local
1422 struct switchtec_dev *stdev = dev; in switchtec_dma_mrpc_isr() local
1434 static int switchtec_init_isr(struct switchtec_dev *stdev) in switchtec_init_isr()
1483 static void init_pff(struct switchtec_dev *stdev) in init_pff()
1512 static int switchtec_init_pci(struct switchtec_dev *stdev, in switchtec_init_pci()
1593 struct switchtec_dev *stdev; in switchtec_pci_probe() local
1641 struct switchtec_dev *stdev = pci_get_drvdata(pdev); in switchtec_pci_remove() local