mic_device 33 drivers/misc/mic/card/mic_debugfs.c struct mic_device *mdev = &mdrv->mdev; mic_device 31 drivers/misc/mic/card/mic_device.c struct mic_device *mdev = &mdrv->mdev; mic_device 75 drivers/misc/mic/card/mic_device.h struct mic_device mdev; mic_device 124 drivers/misc/mic/card/mic_device.h u32 mic_read_spad(struct mic_device *mdev, unsigned int idx); mic_device 125 drivers/misc/mic/card/mic_device.h void mic_send_intr(struct mic_device *mdev, int doorbell); mic_device 128 drivers/misc/mic/card/mic_device.h u32 mic_ack_interrupt(struct mic_device *mdev); mic_device 131 drivers/misc/mic/card/mic_device.h mic_card_map(struct mic_device *mdev, dma_addr_t addr, size_t size); mic_device 132 drivers/misc/mic/card/mic_device.h void mic_card_unmap(struct mic_device *mdev, void __iomem *addr); mic_device 36 drivers/misc/mic/card/mic_x100.c u32 mic_read_spad(struct mic_device *mdev, unsigned int idx) mic_device 48 drivers/misc/mic/card/mic_x100.c void mic_send_intr(struct mic_device *mdev, int doorbell) mic_device 102 drivers/misc/mic/card/mic_x100.c u32 mic_ack_interrupt(struct mic_device *mdev) mic_device 173 drivers/misc/mic/card/mic_x100.c mic_card_map(struct mic_device *mdev, dma_addr_t addr, size_t size) mic_device 185 drivers/misc/mic/card/mic_x100.c void mic_card_unmap(struct mic_device *mdev, void __iomem *addr) mic_device 234 drivers/misc/mic/card/mic_x100.c struct mic_device *mdev = &mdrv->mdev; mic_device 21 drivers/misc/mic/host/mic_boot.c static inline struct mic_device *vpdev_to_mdev(struct device *dev) mic_device 32 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = vpdev_to_mdev(dev); mic_device 41 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = vpdev_to_mdev(dev); mic_device 56 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); mic_device 65 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); mic_device 72 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); mic_device 79 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); mic_device 86 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); mic_device 98 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); mic_device 106 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = vpdev_to_mdev(&vpdev->dev); mic_device 128 drivers/misc/mic/host/mic_boot.c static inline struct mic_device *scdev_to_mdev(struct scif_hw_dev *scdev) mic_device 138 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = scdev_to_mdev(scdev); mic_device 158 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = scdev_to_mdev(scdev); mic_device 171 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = scdev_to_mdev(scdev); mic_device 182 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = scdev_to_mdev(scdev); mic_device 192 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = scdev_to_mdev(scdev); mic_device 223 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = scdev_to_mdev(scdev); mic_device 251 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = scdev_to_mdev(scdev); mic_device 261 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = scdev_to_mdev(scdev); mic_device 268 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = scdev_to_mdev(scdev); mic_device 275 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = scdev_to_mdev(scdev); mic_device 282 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = scdev_to_mdev(scdev); mic_device 290 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = scdev_to_mdev(scdev); mic_device 310 drivers/misc/mic/host/mic_boot.c static inline struct mic_device *mbdev_to_mdev(struct mbus_device *mbdev) mic_device 321 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = dev_get_drvdata(dev->parent); mic_device 331 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = dev_get_drvdata(dev->parent); mic_device 358 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = mbdev_to_mdev(mbdev); mic_device 369 drivers/misc/mic/host/mic_boot.c void mic_bootparam_init(struct mic_device *mdev) mic_device 382 drivers/misc/mic/host/mic_boot.c static inline struct mic_device *cosmdev_to_mdev(struct cosm_device *cdev) mic_device 389 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = cosmdev_to_mdev(cdev); mic_device 397 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = cosmdev_to_mdev(cdev); mic_device 408 drivers/misc/mic/host/mic_boot.c static int mic_request_dma_chans(struct mic_device *mdev) mic_device 435 drivers/misc/mic/host/mic_boot.c static void mic_free_dma_chans(struct mic_device *mdev) mic_device 458 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = cosmdev_to_mdev(cdev); mic_device 524 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = cosmdev_to_mdev(cdev); mic_device 540 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = cosmdev_to_mdev(cdev); mic_device 548 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = cosmdev_to_mdev(cdev); mic_device 572 drivers/misc/mic/host/mic_boot.c struct mic_device *mdev = cosmdev_to_mdev(cdev); mic_device 24 drivers/misc/mic/host/mic_debugfs.c struct mic_device *mdev = s->private; mic_device 49 drivers/misc/mic/host/mic_debugfs.c struct mic_device *mdev = s->private; mic_device 60 drivers/misc/mic/host/mic_debugfs.c struct mic_device *mdev = s->private; mic_device 107 drivers/misc/mic/host/mic_debugfs.c void mic_create_debug_dir(struct mic_device *mdev) mic_device 130 drivers/misc/mic/host/mic_debugfs.c void mic_delete_debug_dir(struct mic_device *mdev) mic_device 112 drivers/misc/mic/host/mic_device.h u32 (*read_spad)(struct mic_device *mdev, unsigned int idx); mic_device 113 drivers/misc/mic/host/mic_device.h void (*write_spad)(struct mic_device *mdev, unsigned int idx, u32 val); mic_device 114 drivers/misc/mic/host/mic_device.h void (*send_intr)(struct mic_device *mdev, int doorbell); mic_device 115 drivers/misc/mic/host/mic_device.h u32 (*ack_interrupt)(struct mic_device *mdev); mic_device 116 drivers/misc/mic/host/mic_device.h void (*intr_workarounds)(struct mic_device *mdev); mic_device 117 drivers/misc/mic/host/mic_device.h void (*reset)(struct mic_device *mdev); mic_device 118 drivers/misc/mic/host/mic_device.h void (*reset_fw_ready)(struct mic_device *mdev); mic_device 119 drivers/misc/mic/host/mic_device.h bool (*is_fw_ready)(struct mic_device *mdev); mic_device 120 drivers/misc/mic/host/mic_device.h void (*send_firmware_intr)(struct mic_device *mdev); mic_device 121 drivers/misc/mic/host/mic_device.h int (*load_mic_fw)(struct mic_device *mdev, const char *buf); mic_device 122 drivers/misc/mic/host/mic_device.h u32 (*get_postcode)(struct mic_device *mdev); mic_device 152 drivers/misc/mic/host/mic_device.h void mic_bootparam_init(struct mic_device *mdev); mic_device 153 drivers/misc/mic/host/mic_device.h void mic_create_debug_dir(struct mic_device *dev); mic_device 154 drivers/misc/mic/host/mic_device.h void mic_delete_debug_dir(struct mic_device *dev); mic_device 17 drivers/misc/mic/host/mic_intr.c struct mic_device *mdev = dev; mic_device 43 drivers/misc/mic/host/mic_intr.c struct mic_device *mdev = dev; mic_device 71 drivers/misc/mic/host/mic_intr.c static u16 mic_map_src_to_offset(struct mic_device *mdev, mic_device 83 drivers/misc/mic/host/mic_intr.c static struct msix_entry *mic_get_available_vector(struct mic_device *mdev) mic_device 107 drivers/misc/mic/host/mic_intr.c static struct mic_intr_cb *mic_register_intr_callback(struct mic_device *mdev, mic_device 150 drivers/misc/mic/host/mic_intr.c static u8 mic_unregister_intr_callback(struct mic_device *mdev, u32 idx) mic_device 187 drivers/misc/mic/host/mic_intr.c static int mic_setup_msix(struct mic_device *mdev, struct pci_dev *pdev) mic_device 236 drivers/misc/mic/host/mic_intr.c static int mic_setup_callbacks(struct mic_device *mdev) mic_device 260 drivers/misc/mic/host/mic_intr.c static void mic_release_callbacks(struct mic_device *mdev) mic_device 295 drivers/misc/mic/host/mic_intr.c static int mic_setup_msi(struct mic_device *mdev, struct pci_dev *pdev) mic_device 347 drivers/misc/mic/host/mic_intr.c static int mic_setup_intx(struct mic_device *mdev, struct pci_dev *pdev) mic_device 381 drivers/misc/mic/host/mic_intr.c int mic_next_db(struct mic_device *mdev) mic_device 420 drivers/misc/mic/host/mic_intr.c mic_request_threaded_irq(struct mic_device *mdev, mic_device 501 drivers/misc/mic/host/mic_intr.c void mic_free_irq(struct mic_device *mdev, mic_device 551 drivers/misc/mic/host/mic_intr.c int mic_setup_interrupts(struct mic_device *mdev, struct pci_dev *pdev) mic_device 581 drivers/misc/mic/host/mic_intr.c void mic_free_interrupts(struct mic_device *mdev, struct pci_dev *pdev) mic_device 618 drivers/misc/mic/host/mic_intr.c void mic_intr_restore(struct mic_device *mdev) mic_device 104 drivers/misc/mic/host/mic_intr.h struct mic_device; mic_device 117 drivers/misc/mic/host/mic_intr.h void (*intr_init)(struct mic_device *mdev); mic_device 118 drivers/misc/mic/host/mic_intr.h void (*enable_interrupts)(struct mic_device *mdev); mic_device 119 drivers/misc/mic/host/mic_intr.h void (*disable_interrupts)(struct mic_device *mdev); mic_device 120 drivers/misc/mic/host/mic_intr.h void (*program_msi_to_src_map) (struct mic_device *mdev, mic_device 122 drivers/misc/mic/host/mic_intr.h u32 (*read_msi_to_src_map) (struct mic_device *mdev, mic_device 126 drivers/misc/mic/host/mic_intr.h int mic_next_db(struct mic_device *mdev); mic_device 128 drivers/misc/mic/host/mic_intr.h mic_request_threaded_irq(struct mic_device *mdev, mic_device 132 drivers/misc/mic/host/mic_intr.h void mic_free_irq(struct mic_device *mdev, mic_device 134 drivers/misc/mic/host/mic_intr.h int mic_setup_interrupts(struct mic_device *mdev, struct pci_dev *pdev); mic_device 135 drivers/misc/mic/host/mic_intr.h void mic_free_interrupts(struct mic_device *mdev, struct pci_dev *pdev); mic_device 136 drivers/misc/mic/host/mic_intr.h void mic_intr_restore(struct mic_device *mdev); mic_device 49 drivers/misc/mic/host/mic_main.c static int mic_dp_init(struct mic_device *mdev) mic_device 69 drivers/misc/mic/host/mic_main.c static void mic_dp_uninit(struct mic_device *mdev) mic_device 82 drivers/misc/mic/host/mic_main.c static void mic_ops_init(struct mic_device *mdev) mic_device 140 drivers/misc/mic/host/mic_main.c mic_device_init(struct mic_device *mdev, struct pci_dev *pdev) mic_device 162 drivers/misc/mic/host/mic_main.c struct mic_device *mdev; mic_device 279 drivers/misc/mic/host/mic_main.c struct mic_device *mdev; mic_device 15 drivers/misc/mic/host/mic_smpt.c static inline u64 mic_system_page_mask(struct mic_device *mdev) mic_device 20 drivers/misc/mic/host/mic_smpt.c static inline u8 mic_sys_addr_to_smpt(struct mic_device *mdev, dma_addr_t pa) mic_device 25 drivers/misc/mic/host/mic_smpt.c static inline u64 mic_smpt_to_pa(struct mic_device *mdev, u8 index) mic_device 30 drivers/misc/mic/host/mic_smpt.c static inline u64 mic_smpt_offset(struct mic_device *mdev, dma_addr_t pa) mic_device 35 drivers/misc/mic/host/mic_smpt.c static inline u64 mic_smpt_align_low(struct mic_device *mdev, dma_addr_t pa) mic_device 41 drivers/misc/mic/host/mic_smpt.c static inline u64 mic_smpt_align_high(struct mic_device *mdev, dma_addr_t pa) mic_device 47 drivers/misc/mic/host/mic_smpt.c static inline u64 mic_max_system_memory(struct mic_device *mdev) mic_device 53 drivers/misc/mic/host/mic_smpt.c static inline u64 mic_max_system_addr(struct mic_device *mdev) mic_device 60 drivers/misc/mic/host/mic_smpt.c mic_is_system_addr(struct mic_device *mdev, dma_addr_t pa) mic_device 67 drivers/misc/mic/host/mic_smpt.c int entries, struct mic_device *mdev) mic_device 87 drivers/misc/mic/host/mic_smpt.c static dma_addr_t mic_smpt_op(struct mic_device *mdev, u64 dma_addr, mic_device 138 drivers/misc/mic/host/mic_smpt.c static int mic_get_smpt_ref_count(struct mic_device *mdev, dma_addr_t dma_addr, mic_device 165 drivers/misc/mic/host/mic_smpt.c dma_addr_t mic_to_dma_addr(struct mic_device *mdev, dma_addr_t mic_addr) mic_device 194 drivers/misc/mic/host/mic_smpt.c dma_addr_t mic_map(struct mic_device *mdev, dma_addr_t dma_addr, size_t size) mic_device 242 drivers/misc/mic/host/mic_smpt.c void mic_unmap(struct mic_device *mdev, dma_addr_t mic_addr, size_t size) mic_device 295 drivers/misc/mic/host/mic_smpt.c dma_addr_t mic_map_single(struct mic_device *mdev, void *va, size_t size) mic_device 327 drivers/misc/mic/host/mic_smpt.c mic_unmap_single(struct mic_device *mdev, dma_addr_t mic_addr, size_t size) mic_device 342 drivers/misc/mic/host/mic_smpt.c int mic_smpt_init(struct mic_device *mdev) mic_device 383 drivers/misc/mic/host/mic_smpt.c void mic_smpt_uninit(struct mic_device *mdev) mic_device 418 drivers/misc/mic/host/mic_smpt.c void mic_smpt_restore(struct mic_device *mdev) mic_device 17 drivers/misc/mic/host/mic_smpt.h void (*init)(struct mic_device *mdev); mic_device 18 drivers/misc/mic/host/mic_smpt.h void (*set)(struct mic_device *mdev, dma_addr_t dma_addr, u8 index); mic_device 63 drivers/misc/mic/host/mic_smpt.h dma_addr_t mic_map_single(struct mic_device *mdev, void *va, size_t size); mic_device 64 drivers/misc/mic/host/mic_smpt.h void mic_unmap_single(struct mic_device *mdev, mic_device 66 drivers/misc/mic/host/mic_smpt.h dma_addr_t mic_map(struct mic_device *mdev, mic_device 68 drivers/misc/mic/host/mic_smpt.h void mic_unmap(struct mic_device *mdev, dma_addr_t mic_addr, size_t size); mic_device 69 drivers/misc/mic/host/mic_smpt.h dma_addr_t mic_to_dma_addr(struct mic_device *mdev, dma_addr_t mic_addr); mic_device 83 drivers/misc/mic/host/mic_smpt.h int mic_smpt_init(struct mic_device *mdev); mic_device 84 drivers/misc/mic/host/mic_smpt.h void mic_smpt_uninit(struct mic_device *mdev); mic_device 85 drivers/misc/mic/host/mic_smpt.h void mic_smpt_restore(struct mic_device *mdev); mic_device 32 drivers/misc/mic/host/mic_x100.c mic_x100_write_spad(struct mic_device *mdev, unsigned int idx, u32 val) mic_device 51 drivers/misc/mic/host/mic_x100.c mic_x100_read_spad(struct mic_device *mdev, unsigned int idx) mic_device 66 drivers/misc/mic/host/mic_x100.c static void mic_x100_enable_interrupts(struct mic_device *mdev) mic_device 93 drivers/misc/mic/host/mic_x100.c static void mic_x100_disable_interrupts(struct mic_device *mdev) mic_device 116 drivers/misc/mic/host/mic_x100.c static void mic_x100_send_sbox_intr(struct mic_device *mdev, mic_device 137 drivers/misc/mic/host/mic_x100.c static void mic_x100_send_rdmasr_intr(struct mic_device *mdev, mic_device 152 drivers/misc/mic/host/mic_x100.c static void mic_x100_send_intr(struct mic_device *mdev, int doorbell) mic_device 170 drivers/misc/mic/host/mic_x100.c static u32 mic_x100_ack_interrupt(struct mic_device *mdev) mic_device 185 drivers/misc/mic/host/mic_x100.c static void mic_x100_intr_workarounds(struct mic_device *mdev) mic_device 203 drivers/misc/mic/host/mic_x100.c static void mic_x100_hw_intr_init(struct mic_device *mdev) mic_device 218 drivers/misc/mic/host/mic_x100.c mic_x100_read_msi_to_src_map(struct mic_device *mdev, int idx) mic_device 236 drivers/misc/mic/host/mic_x100.c mic_x100_program_msi_to_src_map(struct mic_device *mdev, mic_device 256 drivers/misc/mic/host/mic_x100.c static void mic_x100_reset_fw_ready(struct mic_device *mdev) mic_device 265 drivers/misc/mic/host/mic_x100.c static bool mic_x100_is_fw_ready(struct mic_device *mdev) mic_device 275 drivers/misc/mic/host/mic_x100.c static u32 mic_x100_get_apic_id(struct mic_device *mdev) mic_device 287 drivers/misc/mic/host/mic_x100.c static void mic_x100_send_firmware_intr(struct mic_device *mdev) mic_device 313 drivers/misc/mic/host/mic_x100.c static void mic_x100_hw_reset(struct mic_device *mdev) mic_device 340 drivers/misc/mic/host/mic_x100.c mic_x100_load_command_line(struct mic_device *mdev, const struct firmware *fw) mic_device 370 drivers/misc/mic/host/mic_x100.c mic_x100_load_ramdisk(struct mic_device *mdev) mic_device 405 drivers/misc/mic/host/mic_x100.c mic_x100_get_boot_addr(struct mic_device *mdev) mic_device 434 drivers/misc/mic/host/mic_x100.c mic_x100_load_firmware(struct mic_device *mdev, const char *buf) mic_device 489 drivers/misc/mic/host/mic_x100.c static u32 mic_x100_get_postcode(struct mic_device *mdev) mic_device 501 drivers/misc/mic/host/mic_x100.c mic_x100_smpt_set(struct mic_device *mdev, dma_addr_t dma_addr, u8 index) mic_device 527 drivers/misc/mic/host/mic_x100.c static void mic_x100_smpt_hw_init(struct mic_device *mdev)