cxl.h (0520336afe5de76324c73f793bc40732e5c13359) cxl.h (6f7f0b3df6d49316c6f27390bb5ec250255be548)
1/*
2 * Copyright 2014 IBM Corp.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 */

--- 364 unchanged lines hidden (view full) ---

373 */
374 struct cxl_process_element *spa;
375 __be64 *sw_command_status;
376 unsigned int spa_size;
377 int spa_order;
378 int spa_max_procs;
379 unsigned int psl_virq;
380
1/*
2 * Copyright 2014 IBM Corp.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 */

--- 364 unchanged lines hidden (view full) ---

373 */
374 struct cxl_process_element *spa;
375 __be64 *sw_command_status;
376 unsigned int spa_size;
377 int spa_order;
378 int spa_max_procs;
379 unsigned int psl_virq;
380
381 /* pointer to the vphb */
382 struct pci_controller *phb;
383
381 int pp_irqs;
382 int irqs_max;
383 int num_procs;
384 int max_procs_virtualised;
385 int slice;
386 int modes_supported;
387 int current_mode;
388 int crs_num;

--- 277 unchanged lines hidden (view full) ---

666int cxl_afu_slbia(struct cxl_afu *afu);
667int cxl_tlb_slb_invalidate(struct cxl *adapter);
668int cxl_afu_disable(struct cxl_afu *afu);
669int __cxl_afu_reset(struct cxl_afu *afu);
670int cxl_afu_check_and_enable(struct cxl_afu *afu);
671int cxl_psl_purge(struct cxl_afu *afu);
672
673void cxl_stop_trace(struct cxl *cxl);
384 int pp_irqs;
385 int irqs_max;
386 int num_procs;
387 int max_procs_virtualised;
388 int slice;
389 int modes_supported;
390 int current_mode;
391 int crs_num;

--- 277 unchanged lines hidden (view full) ---

669int cxl_afu_slbia(struct cxl_afu *afu);
670int cxl_tlb_slb_invalidate(struct cxl *adapter);
671int cxl_afu_disable(struct cxl_afu *afu);
672int __cxl_afu_reset(struct cxl_afu *afu);
673int cxl_afu_check_and_enable(struct cxl_afu *afu);
674int cxl_psl_purge(struct cxl_afu *afu);
675
676void cxl_stop_trace(struct cxl *cxl);
677int cxl_pci_vphb_add(struct cxl_afu *afu);
678void cxl_pci_vphb_remove(struct cxl_afu *afu);
674
675extern struct pci_driver cxl_pci_driver;
676int afu_allocate_irqs(struct cxl_context *ctx, u32 count);
677
678int afu_open(struct inode *inode, struct file *file);
679int afu_release(struct inode *inode, struct file *file);
680long afu_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
681int afu_mmap(struct file *file, struct vm_area_struct *vm);
682unsigned int afu_poll(struct file *file, struct poll_table_struct *poll);
683ssize_t afu_read(struct file *file, char __user *buf, size_t count, loff_t *off);
684extern const struct file_operations afu_fops;
685
686#endif
679
680extern struct pci_driver cxl_pci_driver;
681int afu_allocate_irqs(struct cxl_context *ctx, u32 count);
682
683int afu_open(struct inode *inode, struct file *file);
684int afu_release(struct inode *inode, struct file *file);
685long afu_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
686int afu_mmap(struct file *file, struct vm_area_struct *vm);
687unsigned int afu_poll(struct file *file, struct poll_table_struct *poll);
688ssize_t afu_read(struct file *file, char __user *buf, size_t count, loff_t *off);
689extern const struct file_operations afu_fops;
690
691#endif