Home
last modified time | relevance | path

Searched refs:device (Results 176 - 200 of 735) sorted by relevance

12345678910>>...30

/device/soc/hisilicon/common/platform/rtc/
H A Drtc_hi35xx.c785 static int32_t HiRtcBind(struct HdfDeviceObject *device) in HiRtcBind() argument
789 host = RtcHostCreate(device); in HiRtcBind()
795 host->device = device; in HiRtcBind()
796 device->service = &host->service; in HiRtcBind()
801 static int32_t HiRtcInit(struct HdfDeviceObject *device) in HiRtcInit() argument
806 if (device == NULL || device->property == NULL) { in HiRtcInit()
809 host = RtcHostFromDevice(device); in HiRtcInit()
816 if (HiRtcConfigData(rtcInfo, device in HiRtcInit()
841 HiRtcRelease(struct HdfDeviceObject *device) HiRtcRelease() argument
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_kernel_linux.c14 * Implementation of the Linux device driver entrypoints
21 #include <linux/cdev.h> /* character device definitions */
25 #include <linux/device.h>
169 /* This driver only supports one Mali device, and this variable stores this single platform device */
172 /* This driver only supports one Mali device, and this variable stores the exposed misc device (/dev/mali) */
185 static int mali_driver_suspend_scheduler(struct device *dev);
186 static int mali_driver_resume_scheduler(struct device *dev);
189 static int mali_driver_runtime_suspend(struct device *de
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_kernel_linux.c14 * Implementation of the Linux device driver entrypoints
21 #include <linux/cdev.h> /* character device definitions */
25 #include <linux/device.h>
174 /* This driver only supports one Mali device, and this variable stores this single platform device */
177 /* This driver only supports one Mali device, and this variable stores the exposed misc device (/dev/mali) */
192 static int mali_driver_suspend_scheduler(struct device *dev);
193 static int mali_driver_resume_scheduler(struct device *dev);
196 static int mali_driver_runtime_suspend(struct device *de
[all...]
/device/soc/rockchip/common/vendor/drivers/rockchip/
H A Drockchip_opp_select.c306 static int rockchip_get_pvtm_specific_value(struct device *dev, struct device_node *np, struct clk *clk, in rockchip_get_pvtm_specific_value()
444 static int rockchip_adjust_leakage(struct device *dev, struct device_node *np, int *leakage) in rockchip_adjust_leakage()
513 static int rockchip_get_leakage_v1(struct device *dev, struct device_node *np, char *lkg_name, int *leakage) in rockchip_get_leakage_v1()
535 static int rockchip_get_leakage_v2(struct device *dev, struct device_node *np, char *lkg_name, int *leakage) in rockchip_get_leakage_v2()
553 static int rockchip_get_leakage_v3(struct device *dev, struct device_node *np, char *lkg_name, int *leakage) in rockchip_get_leakage_v3()
566 int rockchip_of_get_leakage(struct device *dev, char *lkg_name, int *leakage) in rockchip_of_get_leakage()
610 void rockchip_of_get_lkg_sel(struct device *dev, struct device_node *np, char *lkg_name, int process, int *volt_sel, in rockchip_of_get_lkg_sel()
678 static int rockchip_get_pvtm(struct device *dev, struct device_node *np, char *reg_name) in rockchip_get_pvtm()
726 void rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *np, char *reg_name, int process, int *volt_sel, in rockchip_of_get_pvtm_sel()
771 void rockchip_of_get_bin_sel(struct device *de
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
H A Drockchip_opp_select.c334 static int rockchip_get_pvtm_specific_value(struct device *dev, in rockchip_get_pvtm_specific_value()
474 static int rockchip_adjust_leakage(struct device *dev, struct device_node *np, in rockchip_adjust_leakage()
541 static int rockchip_get_leakage_v1(struct device *dev, struct device_node *np, in rockchip_get_leakage_v1()
563 static int rockchip_get_leakage_v2(struct device *dev, struct device_node *np, in rockchip_get_leakage_v2()
580 static int rockchip_get_leakage_v3(struct device *dev, struct device_node *np, in rockchip_get_leakage_v3()
593 int rockchip_of_get_leakage(struct device *dev, char *lkg_name, int *leakage) in rockchip_of_get_leakage()
636 void rockchip_of_get_lkg_sel(struct device *dev, struct device_node *np, in rockchip_of_get_lkg_sel()
700 static int rockchip_get_pvtm(struct device *dev, struct device_node *np, in rockchip_get_pvtm()
747 void rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *np, in rockchip_of_get_pvtm_sel()
788 void rockchip_of_get_bin_sel(struct device *de
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_pcie_linux.c96 struct pci_dev *dev; /* pci device handle */
97 volatile char *regs; /* pci device memory va */
98 volatile char *tcm; /* pci device memory va */
99 uint32 bar1_size; /* pci device memory size */
139 void *dev; /* handle to the underlying device */
174 static int dhdpcie_pm_system_suspend_noirq(struct device * dev);
175 static int dhdpcie_pm_system_resume_noirq(struct device * dev);
182 static int dhdpcie_pm_runtime_suspend(struct device * dev);
183 static int dhdpcie_pm_runtime_resume(struct device * dev);
184 static int dhdpcie_pm_system_suspend_noirq(struct device * de
395 char *device; dhd_bus_aspm_enable_dev() local
487 char *device; dhd_bus_l1ss_enable_dev() local
[all...]
H A Dbcmsdh_sdmmc_linux.c161 sd_info(("sdio_device: 0x%04x\n", func->device)); in bcmsdh_sdmmc_probe()
169 if ((func->num == 2) || (func->num == 1 && func->device == 0x4)) in bcmsdh_sdmmc_probe()
185 sd_info(("sdio_device: 0x%04x\n", func->device)); in bcmsdh_sdmmc_remove()
188 if ((func->num == 2) || (func->num == 1 && func->device == 0x4)) in bcmsdh_sdmmc_remove()
212 static int bcmsdh_sdmmc_suspend(struct device *pdev) in bcmsdh_sdmmc_suspend()
252 static int bcmsdh_sdmmc_resume(struct device *pdev) in bcmsdh_sdmmc_resume()
H A Dbcmsdh_linux.c80 void *dev; /* handle to the underlying device */
89 * Checks to see if vendor and device IDs match a supported SDIO Host Controller.
92 bcmsdh_chipmatch(uint16 vendor, uint16 device) in bcmsdh_chipmatch() argument
102 if (device == BCM27XX_SDIOH_ID && vendor == VENDOR_BROADCOM) { in bcmsdh_chipmatch()
106 if (device == SDIOH_FPGA_ID && vendor == VENDOR_BROADCOM) { in bcmsdh_chipmatch()
110 if (device == PCIXX21_SDIOH_ID && vendor == VENDOR_TI) { in bcmsdh_chipmatch()
113 if (device == PCIXX21_SDIOH0_ID && vendor == VENDOR_TI) { in bcmsdh_chipmatch()
117 if (device == R5C822_SDIOH_ID && vendor == VENDOR_RICOH) { in bcmsdh_chipmatch()
121 if (device == JMICRON_SDIOH_ID && vendor == VENDOR_JMICRON) { in bcmsdh_chipmatch()
128 if (device in bcmsdh_chipmatch()
[all...]
/device/board/hihope/dayu210/audio_drivers/dai/src/
H A Drk3588_dai_linux_driver.c39 static bool rockchip_i2s_tdm_wr_reg(struct device *dev, unsigned int reg) in rockchip_i2s_tdm_wr_reg()
59 static bool rockchip_i2s_tdm_rd_reg(struct device *dev, unsigned int reg) in rockchip_i2s_tdm_rd_reg()
83 static bool rockchip_i2s_tdm_volatile_reg(struct device *dev, unsigned int reg) in rockchip_i2s_tdm_volatile_reg()
98 static bool rockchip_i2s_tdm_precious_reg(struct device *dev, unsigned int reg) in rockchip_i2s_tdm_precious_reg()
179 struct device *temp_i2s_dev; in rockchip_i2s_tdm_probe()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/arbiter/
H A Dmali_kbase_arbif.c40 static void on_max_config(struct device *dev, uint32_t max_l2_slices, in on_max_config()
63 /* set the max config info in the kbase device */ in on_max_config()
69 * @dev: arbiter interface device handle
75 static void on_update_freq(struct device *dev, uint32_t freq) in on_update_freq()
95 * @dev: arbiter interface device handle
99 static void on_gpu_stop(struct device *dev) in on_gpu_stop()
120 * @dev: arbiter interface device handle
124 static void on_gpu_granted(struct device *dev) in on_gpu_granted()
145 * @dev: arbiter interface device handle
149 static void on_gpu_lost(struct device *de
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/common/
H A Dump_kernel_api.c43 mem = ump_random_mapping_get(device.secure_id_map, (int)secure_id); in ump_dd_handle_create_from_secure_id()
236 mem = ump_random_mapping_get(device.secure_id_map, user_interaction->secure_id); in _ump_ukk_size_get()
262 mem = ump_random_mapping_get(device.secure_id_map, (int)args->secure_id); in _ump_ukk_msync()
363 mem = ump_random_mapping_get(device.secure_id_map, (int)args->secure_id); in _ump_ukk_switch_hw_usage()
424 mem = ump_random_mapping_get(device.secure_id_map, (int)args->secure_id); in _ump_ukk_lock()
442 mem = ump_random_mapping_get(device.secure_id_map, (int)args->secure_id); in _ump_ukk_unlock()
/test/testfwk/xdevice/plugins/devicetest/utils/
H A Dutil.py264 def get_process_pid(device, process_name):
266 ret = device.execute_shell_command(cmd)
317 def check_device_file_md5(device, pc_file: str, device_file: str) -> bool:
321 device_md5 = device.execute_shell_command(
323 device.log.debug("device {} md5: {}".format(local_file_name, device_md5))
328 device.log.debug("local {} md5: {}".format(local_file_name, local_md5))
/device/soc/rockchip/common/vendor/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-hdcp.c354 /* Write encrypt device private key */ in dw_hdmi_hdcp_load_key()
553 static ssize_t hdcp_enable_read(struct device *device, struct device_attribute *attr, char *buf) in hdcp_enable_read() argument
565 static ssize_t hdcp_enable_write(struct device *device, struct device_attribute *attr, const char *buf, size_t count) in hdcp_enable_write() argument
595 static ssize_t hdcp_trytimes_read(struct device *device, struct device_attribute *attr, char *buf) in hdcp_trytimes_read() argument
607 static ssize_t hdcp_trytimes_write(struct device *device, struct device_attribute *attr, const char *buf, size_t count) in hdcp_trytimes_write() argument
630 static ssize_t hdcp_status_read(struct device *devic argument
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/pci/
H A Dpci.h55 * @is_manageable: returns 'true' if given device is power manageable by the
58 * @set_state: invokes the platform firmware to set the device's power state
60 * @get_state: queries the platform firmware for a device's current power state
62 * @refresh_state: asks the platform to refresh the device's power state data
64 * @choose_state: returns PCI power state of given device preferred by the
68 * @set_wakeup: enables/disables wakeup capability for the device
70 * @need_resume: returns 'true' if the given device (which is currently
174 /* Lock for read/write access to pci device and bus lists */
231 * pci_match_one_device - Tell if a PCI device structure has a matching
232 * PCI device i
597 u16 device; global() member
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-hdcp.c345 /* Write encrypt device private key */ in dw_hdmi_hdcp_load_key()
569 static ssize_t hdcp_enable_read(struct device *device, in hdcp_enable_read() argument
581 static ssize_t hdcp_enable_write(struct device *device, in hdcp_enable_write() argument
611 static ssize_t hdcp_trytimes_read(struct device *device, in hdcp_trytimes_read() argument
623 static ssize_t hdcp_trytimes_write(struct device *device, in hdcp_trytimes_write() argument
646 static ssize_t hdcp_status_read(struct device *devic argument
[all...]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/
H A Dhimedia.h25 #include <linux/device.h>
45 struct device dev;
90 struct device *app_device;
/device/soc/rockchip/common/sdk_linux/include/soc/rockchip/
H A Drockchip_system_monitor.h26 * struct temp_opp_table - System monitor device OPP description structure
40 * struct monitor_dev_info - structure for a system monitor device
44 * @opp_table: Frequency and voltage information of device
75 * @is_low_temp_enabled: True if device node contains low temperature
80 struct device *dev;
126 struct monitor_dev_info *rockchip_system_monitor_register(struct device *dev, struct monitor_dev_profile *devp);
137 static inline struct monitor_dev_info *rockchip_system_monitor_register(struct device *dev, in rockchip_system_monitor_register()
/device/soc/rockchip/rk3588/kernel/include/soc/rockchip/
H A Drockchip_system_monitor.h26 * struct temp_opp_table - System monitor device OPP description structure
40 * struct monitor_dev_info - structure for a system monitor device
44 * @opp_table: Frequency and voltage information of device
75 * @is_low_temp_enabled: True if device node contains low temperature
80 struct device *dev;
127 rockchip_system_monitor_register(struct device *dev,
145 rockchip_system_monitor_register(struct device *dev, in rockchip_system_monitor_register()
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Ddma-buf.h25 struct device;
51 * device-specific carveout areas should check whether the buffer could
53 * device), and otherwise need to fail the attach operation.
56 * allocation fullfills the DMA constraints of the new device. If this
69 * with the requirements of requesting device.
119 * shared &dma_buf into device address space, and it is mandatory. It
128 * &device.dma_params from the &dma_buf_attachment. The @attach callback
147 * already mapped into the device address space of the &device attached
469 * struct dma_buf_attachment - holds device
[all...]
/test/testfwk/developer_test/local_coverage/push_coverage_so/
H A Dpush_coverage.py136 for device in device_sn_list:
138 hdc_command(device_ip, device_port, device, cmd)
140 hdc_command(device_ip, device_port, device, cmd_mount)
148 hdc_command(device_ip, device_port, device, command)
/test/testfwk/xdevice/src/xdevice/_core/
H A Dinterface.py61 def release_device(self, device):
65 def reset_device(self, device):
342 def __setup__(self, device, **kwargs):
346 def __teardown__(self, device):
/device/soc/rockchip/common/sdk_linux/drivers/tty/serial/8250/
H A D8250_dma.c28 dma_sync_single_for_cpu(dma->txchan->device->dev, dma->tx_addr, UART_XMIT_SIZE, DMA_TO_DEVICE); in _dma_tx_complete()
150 dma_sync_single_for_device(dma->txchan->device->dev, dma->tx_addr, UART_XMIT_SIZE, DMA_TO_DEVICE); in serial8250_tx_dma()
321 dma->rx_buf = dma_alloc_coherent(dma->rxchan->device->dev, dma->rx_size, &dma->rx_addr, GFP_KERNEL); in serial8250_request_dma()
333 dma->tx_addr = dma_map_single(dma->txchan->device->dev, p->port.state->xmit.buf, UART_XMIT_SIZE, DMA_TO_DEVICE); in serial8250_request_dma()
334 if (dma_mapping_error(dma->txchan->device->dev, dma->tx_addr)) { in serial8250_request_dma()
335 dma_free_coherent(dma->rxchan->device->dev, dma->rx_size, dma->rx_buf, dma->rx_addr); in serial8250_request_dma()
366 dma_free_coherent(dma->rxchan->device->dev, dma->rx_size, dma->rx_buf, dma->rx_addr); in serial8250_release_dma()
375 dma_unmap_single(dma->txchan->device->dev, dma->tx_addr, UART_XMIT_SIZE, DMA_TO_DEVICE); in serial8250_release_dma()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/platform/rk/
H A Dmali_kbase_config_rk.c78 static int kbase_platform_rk_create_sysfs_files(struct device *dev);
80 static void kbase_platform_rk_remove_sysfs_files(struct device *dev);
269 E("failed to runtime resume device: %d.", err); in rk_pm_callback_power_on()
406 static ssize_t utilisation_period_show(struct device *dev, in utilisation_period_show()
419 static ssize_t utilisation_period_store(struct device *dev, in utilisation_period_store()
438 static ssize_t utilisation_show(struct device *dev, in utilisation_show()
472 static int kbase_platform_rk_create_sysfs_files(struct device *dev) in kbase_platform_rk_create_sysfs_files()
496 static void kbase_platform_rk_remove_sysfs_files(struct device *dev) in kbase_platform_rk_remove_sysfs_files()
502 static int rk3588_gpu_set_read_margin(struct device *dev, in rk3588_gpu_set_read_margin()
/device/soc/rockchip/common/sdk_linux/drivers/regulator/
H A Dcore.c13 #include <linux/device.h>
91 * Used to map lookups for a supply onto an alternative device.
95 struct device *src_dev;
97 struct device *alias_dev;
113 static struct regulator *create_regulator(struct regulator_dev *rdev, struct device *dev, const char *supply_name);
361 * of_get_child_regulator - get a child regulator device node
363 * @parent: Parent device node
367 * Extract the child regulator device node corresponding to the supply name.
368 * returns the device node corresponding to the regulator if found, else
396 * of_get_regulator - get a regulator device nod
[all...]
/device/board/hihope/rk3568/audio_drivers/soc/src/
H A Drk3568_dma_ops.c10 #include <linux/device.h>
47 struct device *dmaDev;
51 struct HdfDeviceObject *device; member
75 AUDIO_DEVICE_LOG_ERR("get device node failed."); in GetDmaDevice()
93 struct device *dmaDevice = NULL; in GetDmaChannel()
211 dmaRtd->device = card->device; in AudioDmaDeviceInit()
222 struct device *dmaDevice = NULL; in Rk3568DmaBufAlloc()
267 struct device *dmaDevice = NULL; in Rk3568DmaBufFree()
468 if (AudioCapSilenceThresholdEvent(dmaRtd->device, in CapturePcmDmaComplete()
[all...]

Completed in 22 milliseconds

12345678910>>...30