Home
last modified time | relevance | path

Searched refs:pdev (Results 1 – 25 of 50) sorted by relevance

12

/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Middlewares/ST/STM32_USB_Device_Library/Core/Src/
Dusbd_core.c96 USBD_StatusTypeDef USBD_Init(USBD_HandleTypeDef *pdev, USBD_DescriptorsTypeDef *pdesc, uint8_t id) in USBD_Init() argument
99 if(pdev == NULL) in USBD_Init()
106 if(pdev->pClass != NULL) in USBD_Init()
108 pdev->pClass = NULL; in USBD_Init()
114 pdev->pDesc = pdesc; in USBD_Init()
118 pdev->dev_state = USBD_STATE_DEFAULT; in USBD_Init()
119 pdev->id = id; in USBD_Init()
121 USBD_LL_Init(pdev); in USBD_Init()
132 USBD_StatusTypeDef USBD_DeInit(USBD_HandleTypeDef *pdev) in USBD_DeInit() argument
135 pdev->dev_state = USBD_STATE_DEFAULT; in USBD_DeInit()
[all …]
Dusbd_ctlreq.c79 static void USBD_GetDescriptor(USBD_HandleTypeDef *pdev ,
82 static void USBD_SetAddress(USBD_HandleTypeDef *pdev ,
85 static void USBD_SetConfig(USBD_HandleTypeDef *pdev ,
88 static void USBD_GetConfig(USBD_HandleTypeDef *pdev ,
91 static void USBD_GetStatus(USBD_HandleTypeDef *pdev ,
94 static void USBD_SetFeature(USBD_HandleTypeDef *pdev ,
97 static void USBD_ClrFeature(USBD_HandleTypeDef *pdev ,
119 USBD_StatusTypeDef USBD_StdDevReq (USBD_HandleTypeDef *pdev , USBD_SetupReqTypedef *req) in USBD_StdDevReq() argument
127 USBD_GetDescriptor (pdev, req) ; in USBD_StdDevReq()
131 USBD_SetAddress(pdev, req); in USBD_StdDevReq()
[all …]
Dusbd_ioreq.c95 USBD_StatusTypeDef USBD_CtlSendData (USBD_HandleTypeDef *pdev, in USBD_CtlSendData() argument
100 pdev->ep0_state = USBD_EP0_DATA_IN; in USBD_CtlSendData()
101 pdev->ep_in[0].total_length = len; in USBD_CtlSendData()
102 pdev->ep_in[0].rem_length = len; in USBD_CtlSendData()
104 USBD_LL_Transmit (pdev, 0x00, pbuf, len); in USBD_CtlSendData()
117 USBD_StatusTypeDef USBD_CtlContinueSendData (USBD_HandleTypeDef *pdev, in USBD_CtlContinueSendData() argument
122 USBD_LL_Transmit (pdev, 0x00, pbuf, len); in USBD_CtlContinueSendData()
135 USBD_StatusTypeDef USBD_CtlPrepareRx (USBD_HandleTypeDef *pdev, in USBD_CtlPrepareRx() argument
140 pdev->ep0_state = USBD_EP0_DATA_OUT; in USBD_CtlPrepareRx()
141 pdev->ep_out[0].total_length = len; in USBD_CtlPrepareRx()
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Middlewares/ST/STM32_USB_Device_Library/Core/Src/
Dusbd_core.c96 USBD_StatusTypeDef USBD_Init(USBD_HandleTypeDef *pdev, USBD_DescriptorsTypeDef *pdesc, uint8_t id) in USBD_Init() argument
99 if(pdev == NULL) in USBD_Init()
106 if(pdev->pClass != NULL) in USBD_Init()
108 pdev->pClass = NULL; in USBD_Init()
114 pdev->pDesc = pdesc; in USBD_Init()
118 pdev->dev_state = USBD_STATE_DEFAULT; in USBD_Init()
119 pdev->id = id; in USBD_Init()
121 USBD_LL_Init(pdev); in USBD_Init()
132 USBD_StatusTypeDef USBD_DeInit(USBD_HandleTypeDef *pdev) in USBD_DeInit() argument
135 pdev->dev_state = USBD_STATE_DEFAULT; in USBD_DeInit()
[all …]
Dusbd_ctlreq.c79 static void USBD_GetDescriptor(USBD_HandleTypeDef *pdev ,
82 static void USBD_SetAddress(USBD_HandleTypeDef *pdev ,
85 static void USBD_SetConfig(USBD_HandleTypeDef *pdev ,
88 static void USBD_GetConfig(USBD_HandleTypeDef *pdev ,
91 static void USBD_GetStatus(USBD_HandleTypeDef *pdev ,
94 static void USBD_SetFeature(USBD_HandleTypeDef *pdev ,
97 static void USBD_ClrFeature(USBD_HandleTypeDef *pdev ,
119 USBD_StatusTypeDef USBD_StdDevReq (USBD_HandleTypeDef *pdev , USBD_SetupReqTypedef *req) in USBD_StdDevReq() argument
127 USBD_GetDescriptor (pdev, req) ; in USBD_StdDevReq()
131 USBD_SetAddress(pdev, req); in USBD_StdDevReq()
[all …]
Dusbd_ioreq.c95 USBD_StatusTypeDef USBD_CtlSendData (USBD_HandleTypeDef *pdev, in USBD_CtlSendData() argument
100 pdev->ep0_state = USBD_EP0_DATA_IN; in USBD_CtlSendData()
101 pdev->ep_in[0].total_length = len; in USBD_CtlSendData()
102 pdev->ep_in[0].rem_length = len; in USBD_CtlSendData()
104 USBD_LL_Transmit (pdev, 0x00, pbuf, len); in USBD_CtlSendData()
117 USBD_StatusTypeDef USBD_CtlContinueSendData (USBD_HandleTypeDef *pdev, in USBD_CtlContinueSendData() argument
122 USBD_LL_Transmit (pdev, 0x00, pbuf, len); in USBD_CtlContinueSendData()
135 USBD_StatusTypeDef USBD_CtlPrepareRx (USBD_HandleTypeDef *pdev, in USBD_CtlPrepareRx() argument
140 pdev->ep0_state = USBD_EP0_DATA_OUT; in USBD_CtlPrepareRx()
141 pdev->ep_out[0].total_length = len; in USBD_CtlPrepareRx()
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/
Dusbd_cdc.c107 static uint8_t USBD_CDC_Init (USBD_HandleTypeDef *pdev,
110 static uint8_t USBD_CDC_DeInit (USBD_HandleTypeDef *pdev,
113 static uint8_t USBD_CDC_Setup (USBD_HandleTypeDef *pdev,
116 static uint8_t USBD_CDC_DataIn (USBD_HandleTypeDef *pdev,
119 static uint8_t USBD_CDC_DataOut (USBD_HandleTypeDef *pdev,
122 static uint8_t USBD_CDC_EP0_RxReady (USBD_HandleTypeDef *pdev);
475 static uint8_t USBD_CDC_Init (USBD_HandleTypeDef *pdev, in USBD_CDC_Init() argument
481 if(pdev->dev_speed == USBD_SPEED_HIGH ) in USBD_CDC_Init()
484 USBD_LL_OpenEP(pdev, in USBD_CDC_Init()
490 USBD_LL_OpenEP(pdev, in USBD_CDC_Init()
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/
Dusbd_cdc.c107 static uint8_t USBD_CDC_Init (USBD_HandleTypeDef *pdev,
110 static uint8_t USBD_CDC_DeInit (USBD_HandleTypeDef *pdev,
113 static uint8_t USBD_CDC_Setup (USBD_HandleTypeDef *pdev,
116 static uint8_t USBD_CDC_DataIn (USBD_HandleTypeDef *pdev,
119 static uint8_t USBD_CDC_DataOut (USBD_HandleTypeDef *pdev,
122 static uint8_t USBD_CDC_EP0_RxReady (USBD_HandleTypeDef *pdev);
475 static uint8_t USBD_CDC_Init (USBD_HandleTypeDef *pdev, in USBD_CDC_Init() argument
481 if(pdev->dev_speed == USBD_SPEED_HIGH ) in USBD_CDC_Init()
484 USBD_LL_OpenEP(pdev, in USBD_CDC_Init()
490 USBD_LL_OpenEP(pdev, in USBD_CDC_Init()
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Middlewares/ST/STM32_USB_Device_Library/Core/Inc/
Dusbd_core.h91 USBD_StatusTypeDef USBD_Init(USBD_HandleTypeDef *pdev, USBD_DescriptorsTypeDef *pdesc, uint8_t id);
92 USBD_StatusTypeDef USBD_DeInit(USBD_HandleTypeDef *pdev);
93 USBD_StatusTypeDef USBD_Start (USBD_HandleTypeDef *pdev);
94 USBD_StatusTypeDef USBD_Stop (USBD_HandleTypeDef *pdev);
95 USBD_StatusTypeDef USBD_RegisterClass(USBD_HandleTypeDef *pdev, USBD_ClassTypeDef *pclass);
97 USBD_StatusTypeDef USBD_RunTestMode (USBD_HandleTypeDef *pdev);
98 USBD_StatusTypeDef USBD_SetClassConfig(USBD_HandleTypeDef *pdev, uint8_t cfgidx);
99 USBD_StatusTypeDef USBD_ClrClassConfig(USBD_HandleTypeDef *pdev, uint8_t cfgidx);
101 USBD_StatusTypeDef USBD_LL_SetupStage(USBD_HandleTypeDef *pdev, uint8_t *psetup);
102 USBD_StatusTypeDef USBD_LL_DataOutStage(USBD_HandleTypeDef *pdev , uint8_t epnum, uint8_t *pdata);
[all …]
Dusbd_ioreq.h88 USBD_StatusTypeDef USBD_CtlSendData (USBD_HandleTypeDef *pdev,
92 USBD_StatusTypeDef USBD_CtlContinueSendData (USBD_HandleTypeDef *pdev,
96 USBD_StatusTypeDef USBD_CtlPrepareRx (USBD_HandleTypeDef *pdev,
100 USBD_StatusTypeDef USBD_CtlContinueRx (USBD_HandleTypeDef *pdev,
104 USBD_StatusTypeDef USBD_CtlSendStatus (USBD_HandleTypeDef *pdev);
106 USBD_StatusTypeDef USBD_CtlReceiveStatus (USBD_HandleTypeDef *pdev);
108 uint16_t USBD_GetRxCount (USBD_HandleTypeDef *pdev ,
Dusbd_def.h162 uint8_t (*Init) (struct _USBD_HandleTypeDef *pdev , uint8_t cfgidx);
163 uint8_t (*DeInit) (struct _USBD_HandleTypeDef *pdev , uint8_t cfgidx);
165 uint8_t (*Setup) (struct _USBD_HandleTypeDef *pdev , USBD_SetupReqTypedef *req);
166 uint8_t (*EP0_TxSent) (struct _USBD_HandleTypeDef *pdev );
167 uint8_t (*EP0_RxReady) (struct _USBD_HandleTypeDef *pdev );
169 uint8_t (*DataIn) (struct _USBD_HandleTypeDef *pdev , uint8_t epnum);
170 uint8_t (*DataOut) (struct _USBD_HandleTypeDef *pdev , uint8_t epnum);
171 uint8_t (*SOF) (struct _USBD_HandleTypeDef *pdev);
172 uint8_t (*IsoINIncomplete) (struct _USBD_HandleTypeDef *pdev , uint8_t epnum);
173 uint8_t (*IsoOUTIncomplete) (struct _USBD_HandleTypeDef *pdev , uint8_t epnum);
[all …]
Dusbd_ctlreq.h84 USBD_StatusTypeDef USBD_StdDevReq (USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req);
85 USBD_StatusTypeDef USBD_StdItfReq (USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req);
86 USBD_StatusTypeDef USBD_StdEPReq (USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req);
89 void USBD_CtlError (USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req);
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Middlewares/ST/STM32_USB_Device_Library/Core/Inc/
Dusbd_core.h91 USBD_StatusTypeDef USBD_Init(USBD_HandleTypeDef *pdev, USBD_DescriptorsTypeDef *pdesc, uint8_t id);
92 USBD_StatusTypeDef USBD_DeInit(USBD_HandleTypeDef *pdev);
93 USBD_StatusTypeDef USBD_Start (USBD_HandleTypeDef *pdev);
94 USBD_StatusTypeDef USBD_Stop (USBD_HandleTypeDef *pdev);
95 USBD_StatusTypeDef USBD_RegisterClass(USBD_HandleTypeDef *pdev, USBD_ClassTypeDef *pclass);
97 USBD_StatusTypeDef USBD_RunTestMode (USBD_HandleTypeDef *pdev);
98 USBD_StatusTypeDef USBD_SetClassConfig(USBD_HandleTypeDef *pdev, uint8_t cfgidx);
99 USBD_StatusTypeDef USBD_ClrClassConfig(USBD_HandleTypeDef *pdev, uint8_t cfgidx);
101 USBD_StatusTypeDef USBD_LL_SetupStage(USBD_HandleTypeDef *pdev, uint8_t *psetup);
102 USBD_StatusTypeDef USBD_LL_DataOutStage(USBD_HandleTypeDef *pdev , uint8_t epnum, uint8_t *pdata);
[all …]
Dusbd_ioreq.h88 USBD_StatusTypeDef USBD_CtlSendData (USBD_HandleTypeDef *pdev,
92 USBD_StatusTypeDef USBD_CtlContinueSendData (USBD_HandleTypeDef *pdev,
96 USBD_StatusTypeDef USBD_CtlPrepareRx (USBD_HandleTypeDef *pdev,
100 USBD_StatusTypeDef USBD_CtlContinueRx (USBD_HandleTypeDef *pdev,
104 USBD_StatusTypeDef USBD_CtlSendStatus (USBD_HandleTypeDef *pdev);
106 USBD_StatusTypeDef USBD_CtlReceiveStatus (USBD_HandleTypeDef *pdev);
108 uint16_t USBD_GetRxCount (USBD_HandleTypeDef *pdev ,
Dusbd_def.h162 uint8_t (*Init) (struct _USBD_HandleTypeDef *pdev , uint8_t cfgidx);
163 uint8_t (*DeInit) (struct _USBD_HandleTypeDef *pdev , uint8_t cfgidx);
165 uint8_t (*Setup) (struct _USBD_HandleTypeDef *pdev , USBD_SetupReqTypedef *req);
166 uint8_t (*EP0_TxSent) (struct _USBD_HandleTypeDef *pdev );
167 uint8_t (*EP0_RxReady) (struct _USBD_HandleTypeDef *pdev );
169 uint8_t (*DataIn) (struct _USBD_HandleTypeDef *pdev , uint8_t epnum);
170 uint8_t (*DataOut) (struct _USBD_HandleTypeDef *pdev , uint8_t epnum);
171 uint8_t (*SOF) (struct _USBD_HandleTypeDef *pdev);
172 uint8_t (*IsoINIncomplete) (struct _USBD_HandleTypeDef *pdev , uint8_t epnum);
173 uint8_t (*IsoOUTIncomplete) (struct _USBD_HandleTypeDef *pdev , uint8_t epnum);
[all …]
Dusbd_ctlreq.h84 USBD_StatusTypeDef USBD_StdDevReq (USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req);
85 USBD_StatusTypeDef USBD_StdItfReq (USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req);
86 USBD_StatusTypeDef USBD_StdEPReq (USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req);
89 void USBD_CtlError (USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req);
/external/ltp/testcases/kernel/device-drivers/usb/tusb/
Dtusb.c349 struct pci_dev *pdev = in test_find_hcd() local
352 ltp_usb.pdev = pdev; in test_find_hcd()
356 pdev = pci_find_class(PCI_CLASS_SERIAL_USB << 8, NULL); in test_find_hcd()
357 if (pdev) { in test_find_hcd()
359 printk("tusb: Slot number: %d\n", pdev->devfn); in test_find_hcd()
361 memcpy(ltp_usb.pdev, pdev, sizeof(struct pci_dev)); in test_find_hcd()
363 if (pdev->driver->id_table) in test_find_hcd()
388 struct pci_dev *pdev = ltp_usb.pdev; in test_hcd_probe() local
391 if (!pdev) { in test_hcd_probe()
396 id = (struct pci_device_id *)pdev->driver->id_table; in test_hcd_probe()
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Src/
Dusbd_conf.c78 extern USBD_StatusTypeDef USBD_LL_BatteryCharging(USBD_HandleTypeDef *pdev);
342 USBD_StatusTypeDef USBD_LL_Init(USBD_HandleTypeDef *pdev) in USBD_LL_Init() argument
345 if (pdev->id == DEVICE_FS) { in USBD_LL_Init()
348 hpcd_USB_OTG_FS.pData = pdev; in USBD_LL_Init()
349 pdev->pData = &hpcd_USB_OTG_FS; in USBD_LL_Init()
379 USBD_StatusTypeDef USBD_LL_DeInit(USBD_HandleTypeDef *pdev) in USBD_LL_DeInit() argument
384 hal_status = HAL_PCD_DeInit(pdev->pData); in USBD_LL_DeInit()
411 USBD_StatusTypeDef USBD_LL_Start(USBD_HandleTypeDef *pdev) in USBD_LL_Start() argument
416 hal_status = HAL_PCD_Start(pdev->pData); in USBD_LL_Start()
443 USBD_StatusTypeDef USBD_LL_Stop(USBD_HandleTypeDef *pdev) in USBD_LL_Stop() argument
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Src/
Dusbd_conf.c78 extern USBD_StatusTypeDef USBD_LL_BatteryCharging(USBD_HandleTypeDef *pdev);
342 USBD_StatusTypeDef USBD_LL_Init(USBD_HandleTypeDef *pdev) in USBD_LL_Init() argument
345 if (pdev->id == DEVICE_FS) { in USBD_LL_Init()
348 hpcd_USB_OTG_FS.pData = pdev; in USBD_LL_Init()
349 pdev->pData = &hpcd_USB_OTG_FS; in USBD_LL_Init()
379 USBD_StatusTypeDef USBD_LL_DeInit(USBD_HandleTypeDef *pdev) in USBD_LL_DeInit() argument
384 hal_status = HAL_PCD_DeInit(pdev->pData); in USBD_LL_DeInit()
411 USBD_StatusTypeDef USBD_LL_Start(USBD_HandleTypeDef *pdev) in USBD_LL_Start() argument
416 hal_status = HAL_PCD_Start(pdev->pData); in USBD_LL_Start()
443 USBD_StatusTypeDef USBD_LL_Stop(USBD_HandleTypeDef *pdev) in USBD_LL_Stop() argument
[all …]
/external/mesa3d/src/freedreno/vulkan/
Dtu_legacy.c17 tu_GetPhysicalDeviceFeatures(VkPhysicalDevice pdev, VkPhysicalDeviceFeatures *features) in tu_GetPhysicalDeviceFeatures() argument
22 tu_GetPhysicalDeviceFeatures2(pdev, &features2); in tu_GetPhysicalDeviceFeatures()
27 tu_GetPhysicalDeviceProperties(VkPhysicalDevice pdev, VkPhysicalDeviceProperties *props) in tu_GetPhysicalDeviceProperties() argument
32 tu_GetPhysicalDeviceProperties2(pdev, &props2); in tu_GetPhysicalDeviceProperties()
37 tu_GetPhysicalDeviceQueueFamilyProperties(VkPhysicalDevice pdev, in tu_GetPhysicalDeviceQueueFamilyProperties() argument
42 return tu_GetPhysicalDeviceQueueFamilyProperties2(pdev, count, NULL); in tu_GetPhysicalDeviceQueueFamilyProperties()
49 tu_GetPhysicalDeviceQueueFamilyProperties2(pdev, count, props2); in tu_GetPhysicalDeviceQueueFamilyProperties()
55 tu_GetPhysicalDeviceMemoryProperties(VkPhysicalDevice pdev, VkPhysicalDeviceMemoryProperties *props) in tu_GetPhysicalDeviceMemoryProperties() argument
60 tu_GetPhysicalDeviceMemoryProperties2(pdev, &props2); in tu_GetPhysicalDeviceMemoryProperties()
65 tu_GetPhysicalDeviceFormatProperties(VkPhysicalDevice pdev, VkFormat format, VkFormatProperties *pr… in tu_GetPhysicalDeviceFormatProperties() argument
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc/
Dusbd_cdc.h149 uint8_t USBD_CDC_RegisterInterface (USBD_HandleTypeDef *pdev,
152 uint8_t USBD_CDC_SetTxBuffer (USBD_HandleTypeDef *pdev,
156 uint8_t USBD_CDC_SetRxBuffer (USBD_HandleTypeDef *pdev,
159 uint8_t USBD_CDC_ReceivePacket (USBD_HandleTypeDef *pdev);
161 uint8_t USBD_CDC_TransmitPacket (USBD_HandleTypeDef *pdev);
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc/
Dusbd_cdc.h149 uint8_t USBD_CDC_RegisterInterface (USBD_HandleTypeDef *pdev,
152 uint8_t USBD_CDC_SetTxBuffer (USBD_HandleTypeDef *pdev,
156 uint8_t USBD_CDC_SetRxBuffer (USBD_HandleTypeDef *pdev,
159 uint8_t USBD_CDC_ReceivePacket (USBD_HandleTypeDef *pdev);
161 uint8_t USBD_CDC_TransmitPacket (USBD_HandleTypeDef *pdev);
/external/ltp/testcases/kernel/device-drivers/agp/kernel_space/
Dtagp.c579 struct pci_dev *pdev; // = (struct pci_dev *)kmalloc(sizeof(struct pci_dev), GFP_KERNEL); in test_pci_find_device() local
582 pdev = pci_find_device(PCI_VENDOR_ID_ATI, PCI_ANY_ID, NULL); in test_pci_find_device()
584 if (pdev) { in test_pci_find_device()
589 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in test_pci_find_device()
603 bridge->dev = pdev; in test_pci_find_device()
607 pci_read_config_dword(pdev, in test_pci_find_device()
611 pci_set_drvdata(pdev, bridge); in test_pci_find_device()
619 static int __init agp_test_probe(struct pci_dev *pdev, in agp_test_probe() argument
628 static void __devexit agp_test_remove(struct pci_dev *pdev) in agp_test_remove() argument
631 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); in agp_test_remove()
/external/libdrm/nouveau/
Dnouveau.c357 nouveau_device_open_existing(struct nouveau_device **pdev, int close, int fd, in nouveau_device_open_existing() argument
365 void *data, uint32_t size, struct nouveau_device **pdev) in nouveau_device_new() argument
385 dev = *pdev = &nvdev->base; in nouveau_device_new()
453 nouveau_device_del(pdev); in nouveau_device_new()
458 nouveau_device_wrap(int fd, int close, struct nouveau_device **pdev) in nouveau_device_wrap() argument
472 }, sizeof(struct nv_device_v0), pdev); in nouveau_device_wrap()
478 nvdev = nouveau_device(*pdev); in nouveau_device_wrap()
486 nouveau_device_open(const char *busid, struct nouveau_device **pdev) in nouveau_device_open() argument
490 ret = nouveau_device_wrap(fd, 1, pdev); in nouveau_device_open()
498 nouveau_device_del(struct nouveau_device **pdev) in nouveau_device_del() argument
[all …]
/external/mesa3d/src/gallium/drivers/zink/
Dzink_screen.c601 vkGetPhysicalDeviceFormatProperties(screen->pdev, vkformat, &props); in zink_is_format_supported()
779 VkPhysicalDevice *pdevs, pdev; in choose_pdev() local
787 pdev = pdevs[0]; in choose_pdev()
792 pdev = pdevs[i]; in choose_pdev()
797 return pdev; in choose_pdev()
804 vkGetPhysicalDeviceQueueFamilyProperties(screen->pdev, &num_queues, NULL); in update_queue_props()
808 vkGetPhysicalDeviceQueueFamilyProperties(screen->pdev, &num_queues, props); in update_queue_props()
940 screen->vk_GetPhysicalDeviceCalibrateableTimeDomainsEXT(screen->pdev, &num_domains, NULL); in load_device_extensions()
944 screen->vk_GetPhysicalDeviceCalibrateableTimeDomainsEXT(screen->pdev, &num_domains, domains); in load_device_extensions()
1093 screen->pdev = choose_pdev(screen->instance); in zink_internal_create_screen()
[all …]

12