-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathagp_query.h
More file actions
52 lines (50 loc) · 2.29 KB
/
agp_query.h
File metadata and controls
52 lines (50 loc) · 2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
* AGPGART module version 2.0
* Copyright (C) 2003 Tungsten Graphics
* Copyright (C) 2003 Jeff Hartmann
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* JEFF HARTMANN, OR ANY OTHER CONTRIBUTORS BE LIABLE FOR ANY CLAIM,
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
* OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*/
#ifndef _AGP_QUERY_H
#define _AGP_QUERY_H
struct list_head *agp_get_extended_info(void);
int agp_get_num_contexts(void);
void agp_target_query_iso(struct pci_dev *dev, u8 cap_ptr, int *mband,
int *lat, int *trans_per, int *payload, u32 *flags);
void agp_master_query_iso(struct pci_dev *dev, u8 cap_ptr, int *mband,
int *trans_per, int *max_rq, int *payload,
u32 *flags);
void agp_master_query_3_0_status(struct pci_dev *dev, u8 cap_ptr,
int *rq, int *cal, u32 *flags);
void agp_master_query_3_5_status(struct pci_dev *dev, u8 cap_ptr,
int *rq, int *cal, u32 *flags);
void agp_master_query_2_0_status(struct pci_dev *dev, u8 cap_ptr,
int *rq, u32 *flags);
agp_info_master *agp_query_master_info(struct pci_dev *dev);
agp_info_target *agp_query_target_info(struct pci_dev *dev);
int agp_scan_integrated(void);
void agp_update_information(agp_extended_info *info, int ctx);
int agp_scan_bus(void);
int agp_allocate_contexts(void);
void agp_cleanup_info(agp_extended_info *info);
void agp_free_info(void);
void agp_free_contexts_and_info(void);
agp_context *agp_get_context_check(int ctx);
#endif /* _AGP_QUERY_H */