| /device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/include/linux/ |
| D | pm_runtime.h | 3 * pm_runtime.h - Device run-time power management helper functions. 11 #include <linux/device.h> 33 extern int pm_generic_runtime_suspend(struct device *dev); 34 extern int pm_generic_runtime_resume(struct device *dev); 35 extern int pm_runtime_force_suspend(struct device *dev); 36 extern int pm_runtime_force_resume(struct device *dev); 38 extern int __pm_runtime_idle(struct device *dev, int rpmflags); 39 extern int __pm_runtime_suspend(struct device *dev, int rpmflags); 40 extern int __pm_runtime_resume(struct device *dev, int rpmflags); 41 extern int pm_runtime_get_if_in_use(struct device *dev); [all …]
|
| D | pm_qos.h | 10 #include <linux/device.h> 118 struct device *dev; 163 enum pm_qos_flags_status __dev_pm_qos_flags(struct device *dev, s32 mask); 164 enum pm_qos_flags_status dev_pm_qos_flags(struct device *dev, s32 mask); 165 s32 __dev_pm_qos_resume_latency(struct device *dev); 166 s32 dev_pm_qos_read_value(struct device *dev, enum dev_pm_qos_req_type type); 167 int dev_pm_qos_add_request(struct device *dev, struct dev_pm_qos_request *req, 171 int dev_pm_qos_add_notifier(struct device *dev, 174 int dev_pm_qos_remove_notifier(struct device *dev, 177 void dev_pm_qos_constraints_init(struct device *dev); [all …]
|
| /device/soc/st/stm32f4xx/sdk/Drivers/STM32F4xx_HAL_Driver/Src/ |
| D | stm32f4xx_ll_fmc.c | 24 (+) to translate AHB transactions into the appropriate external device protocol 28 Each external device is accessed by means of a unique Chip Select. The FMC performs 29 only one access at a time to an external device. 89 ##### How to use NORSRAM device driver ##### 127 * @brief Initialize the FMC_NORSRAM device according to the specified 129 * @param Device Pointer to NORSRAM device instance 133 HAL_StatusTypeDef FMC_NORSRAM_Init(FMC_NORSRAM_TypeDef *Device, FMC_NORSRAM_InitTypeDef* Init) in FMC_NORSRAM_Init() argument 138 assert_param(IS_FMC_NORSRAM_DEVICE(Device)); in FMC_NORSRAM_Init() 161 tmpr = Device->BTCR[Init->NSBank]; in FMC_NORSRAM_Init() 173 /* Set NORSRAM device control parameters */ in FMC_NORSRAM_Init() [all …]
|
| D | stm32f4xx_ll_fsmc.c | 23 (+) to translate AHB transactions into the appropriate external device protocol. 27 Each external device is accessed by means of a unique Chip Select. The FSMC performs 28 only one access at a time to an external device. 86 ##### How to use NORSRAM device driver ##### 123 * @brief Initialize the FSMC_NORSRAM device according to the specified 125 * @param Device Pointer to NORSRAM device instance 129 HAL_StatusTypeDef FSMC_NORSRAM_Init(FSMC_NORSRAM_TypeDef *Device, FSMC_NORSRAM_InitTypeDef* Init) in FSMC_NORSRAM_Init() argument 134 assert_param(IS_FSMC_NORSRAM_DEVICE(Device)); in FSMC_NORSRAM_Init() 157 tmpr = Device->BTCR[Init->NSBank]; in FSMC_NORSRAM_Init() 167 /* Set NORSRAM device control parameters */ in FSMC_NORSRAM_Init() [all …]
|
| /device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/umplock/ |
| D | umplock_driver.c | 16 #include <linux/device.h> 57 static umplock_device_private device; variable 72 if (device.items[i].secure_id == secure_id) { in umplock_find_item() 94 if (device.items[i].references[j].pid == lock_cmd->pid) { in umplock_find_item_by_pid() 112 if (device.pids[i] == pid) { in umplock_find_client_valid() 138 if (device.items[i_index].references[ref_index].pid == 0) { in do_umplock_create_locked() 143 device.items[i_index].references[ref_index].pid = lock_cmd->pid; in do_umplock_create_locked() 144 device.items[i_index].references[ref_index].ref_count = 0; in do_umplock_create_locked() 145 device.items[i_index].references[ref_index].down_count = 0; in do_umplock_create_locked() 155 device.items[i_index].secure_id = lock_item->secure_id; in do_umplock_create_locked() [all …]
|
| /device/soc/rockchip/common/sdk_linux/include/linux/ |
| D | iommu.h | 11 #include <linux/device.h> 58 struct device; 68 typedef int (*iommu_fault_handler_t)(struct iommu_domain *, struct device *, unsigned long, int, vo… 150 * for instance in device assignment use case (USB, Graphics) 153 /* Arbitrary "never map this or give it to a device" address ranges */ 177 /* Per device IOMMU features */ 209 * @attach_dev: attach device to an iommu domain 210 * @detach_dev: detach device from an iommu domain 223 * @probe_device: Add device to iommu driver handling 224 * @release_device: Remove device from iommu driver handling [all …]
|
| D | dma-mapping.h | 7 #include <linux/device.h> 37 * transferred to 'device' domain. 83 * be given to a device to use as a DMA source or target. It is specific to a 84 * given device and there may be a translation between the CPU physical address 96 void debug_dma_mapping_error(struct device *dev, dma_addr_t dma_addr); 97 void debug_dma_map_single(struct device *dev, const void *addr, unsigned long len); 99 static inline void debug_dma_mapping_error(struct device *dev, dma_addr_t dma_addr) in debug_dma_mapping_error() 102 static inline void debug_dma_map_single(struct device *dev, const void *addr, unsigned long len) in debug_dma_map_single() 108 static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) in dma_mapping_error() 118 dma_addr_t dma_map_page_attrs(struct device *dev, struct page *page, size_t offset, size_t size, [all …]
|
| D | dma-map-ops.h | 16 void *(*alloc)(struct device *dev, size_t size, dma_addr_t *dma_handle, 18 void (*free)(struct device *dev, size_t size, void *vaddr, 20 struct page *(*alloc_pages)(struct device *dev, size_t size, 23 void (*free_pages)(struct device *dev, size_t size, struct page *vaddr, 25 void *(*alloc_noncoherent)(struct device *dev, size_t size, 28 void (*free_noncoherent)(struct device *dev, size_t size, void *vaddr, 31 int (*mmap)(struct device *, struct vm_area_struct *, void *, dma_addr_t, 34 int (*get_sgtable)(struct device *dev, struct sg_table *sgt, void *cpu_addr, 37 dma_addr_t (*map_page)(struct device *dev, struct page *page, 40 void (*unmap_page)(struct device *dev, dma_addr_t dma_handle, size_t size, [all …]
|
| /device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/ |
| D | mali_kbase_pm_internal.h | 42 * @kbdev: The kbase device structure for the device (must be a valid pointer) 51 * @kbdev: The kbase device structure for the device (must be a valid pointer) 57 * the device. 60 * the cores (of a specified type) present in the GPU device and also a count of 63 * @kbdev: The kbase device structure for the device (must be a valid 73 * active in the device. 79 * @kbdev: The kbase device structure for the device (must be a valid pointer) 94 * @kbdev: The kbase device structure for the device (must be a valid pointer) 109 * @kbdev: The kbase device structure for the device (must be a valid pointer) 117 * kbase_pm_clock_on - Turn the clock for the device on, and enable device [all …]
|
| /device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/ |
| D | mali_kbase_pm_internal.h | 38 * @kbdev: The kbase device structure for the device (must be a valid pointer) 47 * @kbdev: The kbase device structure for the device (must be a valid pointer) 53 * the device. 56 * the cores (of a specified type) present in the GPU device and also a count of 59 * @kbdev: The kbase device structure for the device (must be a valid 70 * active in the device. 76 * @kbdev: The kbase device structure for the device (must be a valid pointer) 92 * @kbdev: The kbase device structure for the device (must be a valid pointer) 108 * @kbdev: The kbase device structure for the device (must be a valid pointer) 117 * kbase_pm_clock_on - Turn the clock for the device on, and enable device [all …]
|
| /device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/ |
| D | mali_kbase_pm_internal.h | 33 * @kbdev: The kbase device structure for the device (must be a valid pointer) 42 * @kbdev: The kbase device structure for the device (must be a valid pointer) 48 * the device. 51 * the cores (of a specified type) present in the GPU device and also a count of 54 * @kbdev: The kbase device structure for the device (must be a valid 64 * active in the device. 70 * @kbdev: The kbase device structure for the device (must be a valid pointer) 85 * @kbdev: The kbase device structure for the device (must be a valid pointer) 100 * @kbdev: The kbase device structure for the device (must be a valid pointer) 108 * kbase_pm_clock_on - Turn the clock for the device on, and enable device [all …]
|
| /device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/ |
| D | mali_kbase_pm_internal.h | 38 * @kbdev: The kbase device structure for the device (must be a valid pointer) 47 * @kbdev: The kbase device structure for the device (must be a valid pointer) 55 * the device. 57 * @kbdev: The kbase device structure for the device (must be a valid 62 * the cores (of a specified type) present in the GPU device and also a count of 72 * active in the device. 74 * @kbdev: The kbase device structure for the device (must be a valid pointer) 90 * @kbdev: The kbase device structure for the device (must be a valid pointer) 106 * @kbdev: The kbase device structure for the device (must be a valid pointer) 119 * kbase_pm_clock_on - Turn the clock for the device on, and enable device [all …]
|
| /device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/linuxkpi/include/linux/ |
| D | device.h | 37 /* device define */ 40 * Define the structure of the parameters used for device creation. 42 struct device { struct 48 struct device *parent; argument 51 struct bus_type *bus; /**< type of bus device is on */ argument 52 struct device_driver *driver; /**< which driver has allocated this device */ argument 54 VOID *platform_data; /**< Platform specific data, device core doesn't touch it */ argument 56 VOID (*release)(struct device *dev); argument 68 INT32 (*probe)(struct device *dev); argument 69 INT32 (*remove)(struct device *dev); [all …]
|
| /device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
| D | bcmdevs.h | 3 * Broadcom device-specific manifest constants. 85 /* PCI Device IDs */ 90 #define BCM3352_DEVICE_ID 0x3352 /* bcm3352 device id */ 91 #define BCM3360_DEVICE_ID 0x3360 /* bcm3360 device id */ 111 #define BCM4322_D11N_ID 0x432b /* 4322 802.11n dualband device */ 112 #define BCM4322_D11N2G_ID 0x432c /* 4322 802.11n 2.4GHz device */ 113 #define BCM4322_D11N5G_ID 0x432d /* 4322 802.11n 5GHz device */ 114 #define BCM4329_D11N_ID 0x432e /* 4329 802.11n dualband device */ 115 #define BCM4329_D11N2G_ID 0x432f /* 4329 802.11n 2.4G device */ 116 #define BCM4329_D11N5G_ID 0x4330 /* 4329 802.11n 5G device */ [all …]
|
| /device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/include/ |
| D | bcmdevs.h | 2 * Broadcom device-specific manifest constants. 84 /* PCI Device IDs */ 89 #define BCM3352_DEVICE_ID 0x3352 /* bcm3352 device id */ 90 #define BCM3360_DEVICE_ID 0x3360 /* bcm3360 device id */ 110 #define BCM4322_D11N_ID 0x432b /* 4322 802.11n dualband device */ 111 #define BCM4322_D11N2G_ID 0x432c /* 4322 802.11n 2.4GHz device */ 112 #define BCM4322_D11N5G_ID 0x432d /* 4322 802.11n 5GHz device */ 113 #define BCM4329_D11N_ID 0x432e /* 4329 802.11n dualband device */ 114 #define BCM4329_D11N2G_ID 0x432f /* 4329 802.11n 2.4G device */ 115 #define BCM4329_D11N5G_ID 0x4330 /* 4329 802.11n 5G device */ [all …]
|
| /device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/include/ |
| D | bcmdevs_legacy.h | 2 * Broadcom device-specific manifest constants used by DHD, but deprecated in firmware. 36 /* PCI Device IDs */ 40 #define BCM4345_D11AC_ID 0x43ab /* 4345 802.11ac dualband device */ 41 #define BCM4345_D11AC2G_ID 0x43ac /* 4345 802.11ac 2.4G device */ 42 #define BCM4345_D11AC5G_ID 0x43ad /* 4345 802.11ac 5G device */ 43 #define BCM43452_D11AC_ID 0x47ab /* 43452 802.11ac dualband device */ 44 #define BCM43452_D11AC2G_ID 0x47ac /* 43452 802.11ac 2.4G device */ 45 #define BCM43452_D11AC5G_ID 0x47ad /* 43452 802.11ac 5G device */ 46 #define BCM4347_D11AC_ID 0x440a /* 4347 802.11ac dualband device */ 47 #define BCM4347_D11AC2G_ID 0x440b /* 4347 802.11ac 2.4G device */ [all …]
|
| /device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/include/ |
| D | bcmdevs.h | 2 * Broadcom device-specific manifest constants. 88 /* PCI Device IDs */ 93 #define BCM3352_DEVICE_ID 0x3352 /* bcm3352 device id */ 94 #define BCM3360_DEVICE_ID 0x3360 /* bcm3360 device id */ 114 #define BCM4322_D11N_ID 0x432b /* 4322 802.11n dualband device */ 115 #define BCM4322_D11N2G_ID 0x432c /* 4322 802.11n 2.4GHz device */ 116 #define BCM4322_D11N5G_ID 0x432d /* 4322 802.11n 5GHz device */ 117 #define BCM4329_D11N_ID 0x432e /* 4329 802.11n dualband device */ 118 #define BCM4329_D11N2G_ID 0x432f /* 4329 802.11n 2.4G device */ 119 #define BCM4329_D11N5G_ID 0x4330 /* 4329 802.11n 5G device */ [all …]
|
| /device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/platform/rk/ |
| D | rk.c | 58 /* mali device. */ 59 struct device *dev; 71 static ssize_t utilisation_period_show(struct device *dev, struct device_attribute *attr, char *buf) in utilisation_period_show() 81 static ssize_t utilisation_period_store(struct device *dev, struct device_attribute *attr, const ch… in utilisation_period_store() 97 static ssize_t utilisation_show(struct device *dev, struct device_attribute *attr, char *buf) in utilisation_show() 128 static int rk_context_create_sysfs_files(struct device *dev) in rk_context_create_sysfs_files() 156 static void rk_context_remove_sysfs_files(struct device *dev) in rk_context_remove_sysfs_files() 172 struct device *dev = &pdev->dev; in rk_context_init() 204 struct device *dev = &pdev->dev; in rk_context_deinit() 349 static int rk_platform_enable_clk_gpu(struct device *dev) in rk_platform_enable_clk_gpu() [all …]
|
| /device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/platform/rk/ |
| D | rk.c | 56 /* mali device. */ 57 struct device *dev; 69 static ssize_t utilisation_period_show(struct device *dev, in utilisation_period_show() 81 static ssize_t utilisation_period_store(struct device *dev, in utilisation_period_store() 99 static ssize_t utilisation_show(struct device *dev, in utilisation_show() 132 static int rk_context_create_sysfs_files(struct device *dev) in rk_context_create_sysfs_files() 160 static void rk_context_remove_sysfs_files(struct device *dev) in rk_context_remove_sysfs_files() 176 struct device *dev = &pdev->dev; in rk_context_init() 208 struct device *dev = &pdev->dev; in rk_context_deinit() 373 static int rk_platform_enable_clk_gpu(struct device *dev) in rk_platform_enable_clk_gpu() [all …]
|
| /device/board/kaihong/khdvk_3566b/kernel/touchscreen/ |
| D | touch_jdi_gt911.c | 2 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. 19 static int32_t ChipInit(ChipDevice *device) in ChipInit() argument 24 static int32_t ChipResume(ChipDevice *device) in ChipResume() argument 29 static int32_t ChipSuspend(ChipDevice *device) in ChipSuspend() argument 34 static int32_t ChipDetect(ChipDevice *device) in ChipDetect() argument 40 InputI2cClient *i2cClient = &device->driver->i2cClient; in ChipDetect() 72 (void)ChipInit(device); in ChipDetect() 73 (void)ChipResume(device); in ChipDetect() 74 (void)ChipSuspend(device); in ChipDetect() 95 static void ParsePointData(ChipDevice *device, FrameData *frame, uint8_t *buf, in ParsePointData() argument [all …]
|
| /device/soc/nxp/hardware/display/ |
| D | BUILD.gn | 178 "//device/soc/nxp/hardware/g2d/include", 183 "//device/soc/nxp/hardware/g2d:libnxp_clc", 184 "//device/soc/nxp/hardware/g2d:libnxp_egl", 185 "//device/soc/nxp/hardware/g2d:libnxp_egl_1", 186 "//device/soc/nxp/hardware/g2d:libnxp_egl_1_5", 187 "//device/soc/nxp/hardware/g2d:libnxp_g2d", 188 "//device/soc/nxp/hardware/g2d:libnxp_g2d_so_2", 189 "//device/soc/nxp/hardware/g2d:libnxp_g2d_viv", 190 "//device/soc/nxp/hardware/g2d:libnxp_gal", 191 "//device/soc/nxp/hardware/g2d:libnxp_gl", [all …]
|
| /device/board/hisilicon/hispark_pegasus/liteos_m/ |
| D | config.gni | 81 "${ohos_root_path}device/soc/hisilicon/hi3861v100/sdk_liteos/include", 82 "${ohos_root_path}device/soc/hisilicon/hi3861v100/sdk_liteos/platform/include", 83 "${ohos_root_path}device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/include", 84 "${ohos_root_path}device/soc/hisilicon/hi3861v100/sdk_liteos/config", 85 "${ohos_root_path}device/soc/hisilicon/hi3861v100/sdk_liteos/config/nv", 87 "${ohos_root_path}device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/cmsis", 88 …"${ohos_root_path}device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/kernel/base… 89 …"${ohos_root_path}device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/targets/hi3… 90 …"${ohos_root_path}device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/kernel/incl… 91 …"${ohos_root_path}device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/arch/risc-v… [all …]
|
| /device/board/bearpi/bearpi_hm_nano/liteos_m/ |
| D | config.gni | 81 "${ohos_root_path}device/soc/hisilicon/hi3861v100/sdk_liteos/include", 82 "${ohos_root_path}device/soc/hisilicon/hi3861v100/sdk_liteos/platform/include", 83 "${ohos_root_path}device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/include", 84 "${ohos_root_path}device/soc/hisilicon/hi3861v100/sdk_liteos/config", 85 "${ohos_root_path}device/soc/hisilicon/hi3861v100/sdk_liteos/config/nv", 87 "${ohos_root_path}device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/cmsis", 88 …"${ohos_root_path}device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/kernel/base… 89 …"${ohos_root_path}device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/targets/hi3… 90 …"${ohos_root_path}device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/kernel/incl… 91 …"${ohos_root_path}device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/arch/risc-v… [all …]
|
| /device/soc/esp/esp32/components/driver/include/driver/ |
| D | spi_common_internal.h | 56 /// Handle to lock of one of the device on an SPI bus 196 * @note This public API is deprecated. Please call corresponding device initialization 346 * locks) attaching to it. Each of the device is STRONGLY RECOMMENDED to be used in only one task 361 * - Acquiring device: the only device allowed to use the bus. Operations can be performed in 362 * either the BG or the task. When there's no acquiring device, only the ISR is allowed to be the 365 * When a device wants to perform operations, it either: 374 * 3. When a device has already acquired the bus, BG operations are also allowed. After the 378 * Any device may try to invoke the ISR (by `spi_bus_lock_bg_request`). The ISR will be invoked and 380 * device may also try to acquire the bus (by `spi_bus_lock_acquire_start`). The device will become 385 * acquiring processor, a new acquiring device must be picked first, if there are other devices, [all …]
|
| /device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/store/config/src/ |
| D | wm_bt_storage.c | 41 // our param area support max bond device count is 5 178 BTSTORAGE_TRACE_DEBUG("Save local device class:%04x\r\n", adapter.class_of_device); in btif_wm_config_set_local() 560 bt_remote_device_t device; in btif_wm_config_find_by_key() local 563 tls_param_get(TLS_PARAM_ID_BT_REMOTE_DEVICE_1 + i, (void *)&device, 0); in btif_wm_config_find_by_key() 565 if ((device.valid_tag == 0xdeadbeaf) && device.in_use && in btif_wm_config_find_by_key() 566 (memcmp(device.bd_addr, bd_addr, 6) == 0)) { // 6:bytes in btif_wm_config_find_by_key() 577 tls_param_get(TLS_PARAM_ID_BT_REMOTE_DEVICE_1 + i, (void *)&device, 0); in btif_wm_config_find_by_key() 580 if ((device.valid_tag != 0xdeadbeaf) || (device.in_use == 0)) { in btif_wm_config_find_by_key() 583 memcpy_s(device.bd_addr, sizeof(device.bd_addr), bd_addr, 6); // 6:bytes in btif_wm_config_find_by_key() 584 device.in_use = 1; in btif_wm_config_find_by_key() [all …]
|