/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/himedia/ |
H A D | base.c | 67 if ((pdrv->ops == NULL) || (pdrv->ops->pm_prepare == NULL)) { in himedia_pm_prepare() 71 return pdrv->ops->pm_prepare(pdev); in himedia_pm_prepare() 79 if ((pdrv->ops == NULL) || (pdrv->ops->pm_complete == NULL)) { in himedia_pm_complete() 83 pdrv->ops->pm_complete(pdev); in himedia_pm_complete() 91 if ((pdrv->ops == NULL) || (pdrv->ops->pm_suspend == NULL)) { in himedia_pm_suspend() 95 return pdrv->ops->pm_suspend(pdev); in himedia_pm_suspend() 103 if ((pdrv->ops in himedia_pm_resume() 305 himedia_driver_register(const char *name, struct module *owner, struct himedia_ops *ops) himedia_driver_register() argument [all...] |
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
H A D | plat_sdio.c | 64 bus->ops.claimHost(bus); in sdio_patch_writesb() 65 ret = bus->ops.bulkWrite(bus, HISDIO_REG_FUNC1_FIFO, len, buf, 0); in sdio_patch_writesb() 66 bus->ops.releaseHost(bus); in sdio_patch_writesb() 94 bus->ops.claimHost(bus); in sdio_patch_readsb() 97 ret = bus->ops.readData(bus, HISDIO_REG_FUNC1_INT_STATUS, ONE_BYTE, &int_mask); in sdio_patch_readsb() 99 bus->ops.releaseHost(bus); in sdio_patch_readsb() 109 bus->ops.releaseHost(bus); in sdio_patch_readsb() 118 ret = bus->ops.writeData(bus, HISDIO_REG_FUNC1_INT_STATUS, ONE_BYTE, bus_buf); in sdio_patch_readsb() 120 bus->ops.releaseHost(bus); in sdio_patch_readsb() 126 ret = bus->ops in sdio_patch_readsb() [all...] |
H A D | oal_sdio_host.c | 166 bus->ops.claimHost(bus); in oal_sdio_send_msg() 170 bus->ops.releaseHost(bus); in oal_sdio_send_msg() 176 ret = bus->ops.writeData(bus, HISDIO_REG_FUNC1_WRITE_MSG, FOUR_BYTE, (hi_u8 *)&data); in oal_sdio_send_msg() 180 bus->ops.releaseHost(bus); in oal_sdio_send_msg() 203 bus->ops.claimHost(bus); in oal_sdio_rw_buf() 205 ret = bus->ops.bulkRead(bus, addr, rw_sz, buf, 0); in oal_sdio_rw_buf() 207 ret = bus->ops.bulkWrite(bus, addr, rw_sz, buf, 0); in oal_sdio_rw_buf() 210 bus->ops.releaseHost(bus); in oal_sdio_rw_buf() 228 ret = bus->ops.readData(bus, HISDIO_REG_FUNC1_XFER_COUNT, FOUR_BYTE, (hi_u8*)xfercount); in oal_sdio_xfercount_get() 241 ret = bus->ops in oal_sdio_xfercount_get() [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/drv/hi3516cv500/ |
H A D | hifb_vou_drv.c | 754 static hi_void get_ddr_detect_ops(hifb_drv_ops *ops)
in get_ddr_detect_ops() argument 756 ops->hifb_drv_is_layer_support_ddr_detect = hifb_drv_is_layer_support_ddrdetect;
in get_ddr_detect_ops() 757 ops->hifb_drv_get_mddr_status = hifb_drv_get_mddr_status;
in get_ddr_detect_ops() 758 ops->hifb_drv_set_mddr_detect_zone = hifb_drv_set_ddr_detect_zone;
in get_ddr_detect_ops() 759 ops->hifb_drv_clear_ddr_dectect_zone = hifb_drv_clear_ddrdectect_zone;
in get_ddr_detect_ops() 760 ops->hifb_drv_check_ddr_dectect_zone = hifb_drv_check_ddr_dectect_zone;
in get_ddr_detect_ops() 761 ops->hifb_drv_get_ddr_zone_cfg = hifb_drv_get_ddr_zone_cfg;
in get_ddr_detect_ops() 762 ops->hifb_drv_init_mddr = vou_graphics_init_mddr_detect;
in get_ddr_detect_ops() 767 static hi_void get_implement_ops(hifb_drv_ops *ops)
in get_implement_ops() argument 769 ops in get_implement_ops() 805 hifb_drv_get_ops(hifb_drv_ops *ops) hifb_drv_get_ops() argument [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ipa/ |
H A D | mali_kbase_ipa.c | 45 if (model->ops->recalculate) {
in kbase_ipa_model_recalculate() 46 err = model->ops->recalculate(model);
in kbase_ipa_model_recalculate() 48 dev_err(model->kbdev->dev, "recalculation of power model %s returned error %d\n", model->ops->name, err);
in kbase_ipa_model_recalculate() 60 struct kbase_ipa_model_ops *ops = kbase_ipa_all_model_ops[i];
in kbase_ipa_model_ops_find() local 62 if (!strcmp(ops->name, name)) {
in kbase_ipa_model_ops_find() 63 return ops;
in kbase_ipa_model_ops_find() 103 snprintf(compat_string, sizeof(compat_string), "arm,%s", model->ops->name);
in get_model_dt_node() 124 dev_warn(model->kbdev->dev, "Error %d, no DT entry: %s.%s = %zu*[0]\n", err, model->ops->name, name, num_elems);
in kbase_ipa_model_add_param_s32() 142 dev_dbg(model->kbdev->dev, "%s.%s = %d (%s)\n", model->ops->name, elem_name, addr[i], origin);
in kbase_ipa_model_add_param_s32() 164 dev_warn(model->kbdev->dev, "Error %d, no DT entry: %s.%s = \'%s\'\n", err, model->ops in kbase_ipa_model_add_param_string() 201 kbase_ipa_init_model(struct kbase_device *kbdev, struct kbase_ipa_model_ops *ops) kbase_ipa_init_model() argument 257 struct kbase_ipa_model_ops *ops; kbase_ipa_init() local [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ipa/ |
H A D | mali_kbase_ipa.c | 46 if (model->ops->recalculate) { in kbase_ipa_model_recalculate() 47 err = model->ops->recalculate(model); in kbase_ipa_model_recalculate() 51 model->ops->name, err); in kbase_ipa_model_recalculate() 64 struct kbase_ipa_model_ops *ops = kbase_ipa_all_model_ops[i]; in kbase_ipa_model_ops_find() local 66 if (!strcmp(ops->name, name)) in kbase_ipa_model_ops_find() 67 return ops; in kbase_ipa_model_ops_find() 108 model->ops->name); in get_model_dt_node() 136 err, model->ops->name, name, num_elems); in kbase_ipa_model_add_param_s32() 155 model->ops->name, elem_name, addr[i], origin); in kbase_ipa_model_add_param_s32() 182 err, model->ops in kbase_ipa_model_add_param_string() 219 kbase_ipa_init_model(struct kbase_device *kbdev, struct kbase_ipa_model_ops *ops) kbase_ipa_init_model() argument 275 struct kbase_ipa_model_ops *ops; kbase_ipa_init() local [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ipa/ |
H A D | mali_kbase_ipa.c | 53 if (model->ops->recalculate) { in kbase_ipa_model_recalculate() 54 err = model->ops->recalculate(model); in kbase_ipa_model_recalculate() 56 dev_err(model->kbdev->dev, "recalculation of power model %s returned error %d\n", model->ops->name, err); in kbase_ipa_model_recalculate() 68 const struct kbase_ipa_model_ops *ops = kbase_ipa_all_model_ops[i]; in kbase_ipa_model_ops_find() local 70 if (!strcmp(ops->name, name)) { in kbase_ipa_model_ops_find() 71 return ops; in kbase_ipa_model_ops_find() 96 /* g52 aliased to g76 power-model's ops */ in kbase_ipa_model_name_from_id() 120 (void)snprintf(compat_string, sizeof(compat_string), "arm,%s", model->ops->name); in get_model_dt_node() 152 dev_warn(model->kbdev->dev, "Error %d, no DT entry: %s.%s = %zu*[0]\n", err, model->ops->name, name, num_elems); in kbase_ipa_model_add_param_s32() 170 dev_dbg(model->kbdev->dev, "%s.%s = %d (%s)\n", model->ops in kbase_ipa_model_add_param_s32() 234 kbase_ipa_init_model(struct kbase_device *kbdev, const struct kbase_ipa_model_ops *ops) kbase_ipa_init_model() argument 288 const struct kbase_ipa_model_ops *ops; kbase_ipa_init() local [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/iommu/ |
H A D | iommu.c | 191 const struct iommu_ops *ops = dev->bus->iommu_ops;
in iommu_probe_device_ext() local 196 if (!ops) {
in iommu_probe_device_ext() 204 if (!try_module_get(ops->owner)) {
in iommu_probe_device_ext() 209 iommu_dev = ops->probe_device(dev);
in iommu_probe_device_ext() 233 ops->release_device(dev);
in iommu_probe_device_ext() 236 module_put(ops->owner);
in iommu_probe_device_ext() 246 const struct iommu_ops *ops = dev->bus->iommu_ops;
in iommu_probe_device() local 280 if (ops->probe_finalize) {
in iommu_probe_device() 281 ops->probe_finalize(dev);
in iommu_probe_device() 295 const struct iommu_ops *ops in iommu_release_device() local 1491 const struct iommu_ops *ops = dev->bus->iommu_ops; iommu_get_def_domain_type() local 1557 const struct iommu_ops *ops = dev->bus->iommu_ops; iommu_group_get_for_dev() local 1686 const struct iommu_ops *ops = dev->bus->iommu_ops; probe_get_default_domain_type() local 1822 iommu_bus_init(struct bus_type *bus, const struct iommu_ops *ops) iommu_bus_init() argument 1870 bus_set_iommu(struct bus_type *bus, const struct iommu_ops *ops) bus_set_iommu() argument 2451 const struct iommu_ops *ops = domain->ops; iommu_map_pages_ext() local 2472 const struct iommu_ops *ops = domain->ops; iommu_map_ext() local 2532 const struct iommu_ops *ops = domain->ops; _iommu_map() local 2559 const struct iommu_ops *ops = domain->ops; iommu_unmap_pages_ext() local 2570 const struct iommu_ops *ops = domain->ops; iommu_unmap_ext() local 2639 const struct iommu_ops *ops = domain->ops; iommu_map_sg_ext() local 2832 const struct iommu_ops *ops = dev->bus->iommu_ops; iommu_get_resv_regions() local 2841 const struct iommu_ops *ops = dev->bus->iommu_ops; iommu_put_resv_regions() local 2910 const struct iommu_ops *ops = NULL; iommu_ops_from_fwnode() local 2925 iommu_fwspec_init(struct device *dev, struct fwnode_handle *iommu_fwnode, const struct iommu_ops *ops) iommu_fwspec_init() argument 2996 const struct iommu_ops *ops = dev->bus->iommu_ops; iommu_dev_has_feature() local 3009 const struct iommu_ops *ops = dev->iommu->iommu_dev->ops; iommu_dev_enable_feature() local 3028 const struct iommu_ops *ops = dev->iommu->iommu_dev->ops; iommu_dev_disable_feature() local 3042 const struct iommu_ops *ops = dev->iommu->iommu_dev->ops; iommu_dev_feature_enabled() local 3119 const struct iommu_ops *ops = dev->bus->iommu_ops; iommu_sva_bind_device() local 3167 const struct iommu_ops *ops = dev->bus->iommu_ops; iommu_sva_unbind_device() local 3188 const struct iommu_ops *ops = handle->dev->bus->iommu_ops; iommu_sva_get_pasid() local [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ipa/ |
H A D | mali_kbase_ipa.c | 50 if (model->ops->recalculate) { in kbase_ipa_model_recalculate() 51 err = model->ops->recalculate(model); in kbase_ipa_model_recalculate() 55 model->ops->name, err); in kbase_ipa_model_recalculate() 91 model->ops->name); in get_model_dt_node() 129 err, model->ops->name, name, num_elems); in kbase_ipa_model_add_param_s32() 148 model->ops->name, elem_name, addr[i], origin); in kbase_ipa_model_add_param_s32() 182 err, model->ops->name, name, addr); in kbase_ipa_model_add_param_string() 195 model->ops->name, name, string_prop_value, origin); in kbase_ipa_model_add_param_string() 209 if (model->ops->term) in kbase_ipa_term_model() 210 model->ops in kbase_ipa_term_model() 218 kbase_ipa_init_model(struct kbase_device *kbdev, const struct kbase_ipa_model_ops *ops) kbase_ipa_init_model() argument 273 const struct kbase_ipa_model_ops *ops; kbase_ipa_init() local [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/uart/ |
H A D | uart.c | 29 .ops = &g_uart_driver_uops, 46 .ops = &g_uart_driver_uops, 63 .ops = &g_uart_driver_uops, 95 if (!udd->ops->startup || udd->ops->startup(udd)) { in uart_open() 104 if (udd->ops->startup != HI_NULL) { in uart_open() 106 udd->ops->startup(udd); in uart_open() 189 if (udd->ops != HI_NULL && in uart_write() 190 udd->ops->start_tx) { in uart_write() 191 len = udd->ops in uart_write() [all...] |
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
H A D | isp_params.c | 119 params_vdev->ops->get_param_size(params_vdev, sizes); in rkisp_params_vb2_queue_setup() 140 params_vdev->ops->save_first_param(params_vdev, first_param); in rkisp_params_vb2_buf_queue() 194 params_vdev->ops->clear_first_param(params_vdev); in rkisp_params_vb2_stop_streaming() 246 if (file->private_data == vdev->queue->owner && params->ops->fop_release) { in rkisp_params_fop_release() 247 params->ops->fop_release(params); in rkisp_params_fop_release() 268 q->ops = &rkisp_params_vb2_ops; in rkisp_params_init_vb2_queue() 293 if (params_vdev->ops && params_vdev->ops->get_param_size) { in rkisp_init_params_vdev() 294 params_vdev->ops->get_param_size(params_vdev, ¶ms_vdev->vdev_fmt.fmt.meta.buffersize); in rkisp_init_params_vdev() 314 if (params_vdev->ops in rkisp_params_cfg() [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/ |
H A D | isp_params.c | 127 params_vdev->ops->get_param_size(params_vdev, sizes); in rkisp_params_vb2_queue_setup() 148 params_vdev->ops->save_first_param(params_vdev, first_param); in rkisp_params_vb2_buf_queue() 204 params_vdev->ops->clear_first_param(params_vdev); in rkisp_params_vb2_stop_streaming() 256 if (file->private_data == vdev->queue->owner && params->ops->fop_release) in rkisp_params_fop_release() 257 params->ops->fop_release(params); in rkisp_params_fop_release() 280 q->ops = &rkisp_params_vb2_ops; in rkisp_params_init_vb2_queue() 305 if (params_vdev->ops && params_vdev->ops->get_param_size) in rkisp_init_params_vdev() 306 params_vdev->ops->get_param_size(params_vdev, in rkisp_init_params_vdev() 325 if (params_vdev->ops in rkisp_params_cfg() [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/ |
H A D | dma-buf.c | 104 dmabuf->ops->release(dmabuf); in dma_buf_release() 187 int ret = dmabuf->ops->mmap(dmabuf, vma); in dma_buf_do_mmap() 206 return dmabuf->ops->mmap(dmabuf, vma); in dma_buf_do_mmap() 221 if (!dmabuf->ops->mmap) { in dma_buf_mmap_internal() 606 * Also connect the allocator specific data and ops to the buffer. 615 * ops, or error in allocating struct dma_buf, will return negative error. 635 if (WARN_ON(!exp_info->priv || !exp_info->ops || !exp_info->ops->map_dma_buf || !exp_info->ops->unmap_dma_buf || in dma_buf_export() 636 !exp_info->ops in dma_buf_export() [all...] |
H A D | dma-fence.c | 131 if (!dma_fence_stub.ops) { in dma_fence_get_stub() 477 if (fence->ops->wait) { in dma_fence_wait_timeout() 478 ret = fence->ops->wait(fence, intr, timeout); in dma_fence_wait_timeout() 501 "Fence %s:%s:%llx:%llx released with pending signals!\n", fence->ops->get_driver_name(fence), in dma_fence_release() 502 fence->ops->get_timeline_name(fence), fence->context, fence->seqno)) { in dma_fence_release() 518 if (fence->ops->release) { in dma_fence_release() 519 fence->ops->release(fence); in dma_fence_release() 551 if (!was_set && fence->ops->enable_signaling) { in _dma_fence_enable_signaling() 554 if (!fence->ops->enable_signaling(fence)) { in _dma_fence_enable_signaling() 887 * @ops 899 dma_fence_init(struct dma_fence *fence, const struct dma_fence_ops *ops, spinlock_t *lock, u64 context, u64 seqno) dma_fence_init() argument [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/regulator/ |
H A D | core.c | 133 static bool regulator_ops_is_valid(struct regulator_dev *rdev, int ops)
in regulator_ops_is_valid() argument 140 if (rdev->constraints->valid_ops_mask & ops) {
in regulator_ops_is_valid() 581 if (rdev->desc->ops->set_suspend_voltage || rdev->desc->ops->set_suspend_mode) {
in regulator_get_suspend_state_check() 595 if (rdev->desc->ops->get_bypass) {
in regulator_get_voltage_rdev() 596 ret = rdev->desc->ops->get_bypass(rdev, &bypassed);
in regulator_get_voltage_rdev() 611 if (rdev->desc->ops->get_voltage_sel) {
in regulator_get_voltage_rdev() 612 sel = rdev->desc->ops->get_voltage_sel(rdev);
in regulator_get_voltage_rdev() 616 ret = rdev->desc->ops->list_voltage(rdev, sel);
in regulator_get_voltage_rdev() 617 } else if (rdev->desc->ops in regulator_get_voltage_rdev() 1188 const struct regulator_ops *ops = rdev->desc->ops; machine_constraints_voltage() local 1311 const struct regulator_ops *ops = rdev->desc->ops; machine_constraints_current() local 1504 const struct regulator_ops *ops = rdev->desc->ops; set_machine_constraints() local 3013 const struct regulator_ops *ops = rdev->desc->ops; _regulator_list_voltage() local 3147 const struct regulator_ops *ops = rdev->desc->ops; regulator_get_hardware_vsel_register() local 3174 const struct regulator_ops *ops = rdev->desc->ops; regulator_list_hardware_vsel() local 3317 const struct regulator_ops *ops = rdev->desc->ops; _regulator_set_voltage_sel_step() local 3407 const struct regulator_ops *ops = rdev->desc->ops; _regulator_do_set_voltage() local 4060 const struct regulator_ops *ops = rdev->desc->ops; regulator_set_voltage_time() local 4799 const struct regulator_ops *ops = rdev->desc->ops; regulator_attr_is_visible() local 5129 const struct regulator_ops *ops; rdev_init_debugfs() local [all...] |
/device/soc/rockchip/common/vendor/drivers/rockchip/ |
H A D | rockchip_pvtm.c | 59 const struct rockchip_pvtm_ops ops;
member 74 const struct rockchip_pvtm_ops *ops;
member 89 if (!pvtm || !pvtm->ops->get_value) {
in pvtm_value_show() 94 if (pvtm->tz && pvtm->tz->ops && pvtm->tz->ops->get_temp) {
in pvtm_value_show() 95 ret = pvtm->tz->ops->get_temp(pvtm->tz, &cur_temp);
in pvtm_value_show() 104 value = pvtm->ops->get_value(pvtm, i, 0x3E8);
in pvtm_value_show() 228 return pvtm->ops->get_value(pvtm, ring_sel, time_us);
in rockchip_get_pvtm_value() 302 if (pvtm->ops->set_ring_sel) {
in rockchip_pvtm_get_value() 303 pvtm->ops in rockchip_pvtm_get_value() [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/ |
H A D | rockchip_pvtm.c | 64 const struct rockchip_pvtm_ops ops; member 79 const struct rockchip_pvtm_ops *ops; member 94 if (!pvtm || !pvtm->ops->get_value) { in pvtm_value_show() 99 if (pvtm->tz && pvtm->tz->ops && pvtm->tz->ops->get_temp) { in pvtm_value_show() 100 ret = pvtm->tz->ops->get_temp(pvtm->tz, &cur_temp); in pvtm_value_show() 108 value = pvtm->ops->get_value(pvtm, i, 1000); in pvtm_value_show() 235 return pvtm->ops->get_value(pvtm, ring_sel, time_us); in rockchip_get_pvtm_value() 317 if (pvtm->ops->set_ring_sel) in rockchip_pvtm_get_value() 318 pvtm->ops in rockchip_pvtm_get_value() [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/thermal/ |
H A D | thermal_core.c | 388 tz->ops->get_trip_temp(tz, trip, &trip_temp); in handle_critical_trips() 397 if (tz->ops->notify) { in handle_critical_trips() 398 tz->ops->notify(tz, trip, trip_type); in handle_critical_trips() 428 tz->ops->get_trip_temp(tz, trip, &trip_temp); in handle_thermal_trip() 429 tz->ops->get_trip_type(tz, trip, &type); in handle_thermal_trip() 430 if (tz->ops->get_trip_hyst) { in handle_thermal_trip() 431 tz->ops->get_trip_hyst(tz, trip, &hyst); in handle_thermal_trip() 505 if (tz->ops->change_mode) { in thermal_zone_device_set_mode() 506 ret = tz->ops->change_mode(tz, mode); in thermal_zone_device_set_mode() 564 if (!tz->ops in thermal_zone_device_update() 1102 __thermal_cooling_device_register( struct device_node *np, const char *type, void *devdata, const struct thermal_cooling_device_ops *ops) __thermal_cooling_device_register() argument 1181 thermal_cooling_device_register(const char *type, void *devdata, const struct thermal_cooling_device_ops *ops) thermal_cooling_device_register() argument 1203 thermal_of_cooling_device_register(struct device_node *np, const char *type, void *devdata, const struct thermal_cooling_device_ops *ops) thermal_of_cooling_device_register() argument 1233 devm_thermal_of_cooling_device_register(struct device *dev, struct device_node *np, char *type, void *devdata, const struct thermal_cooling_device_ops *ops) devm_thermal_of_cooling_device_register() argument 1395 thermal_zone_device_register(const char *type, int trips, int mask, void *devdata, struct thermal_zone_device_ops *ops, struct thermal_zone_params *tzp, int passive_delay, int polling_delay) thermal_zone_device_register() argument [all...] |
/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | thermal.h | 94 const struct thermal_cooling_device_ops *ops; member 132 * @ops: operations this &thermal_zone_device supports 166 struct thermal_zone_device_ops *ops; member 313 const struct thermal_zone_of_device_ops *ops); 316 const struct thermal_zone_of_device_ops *ops); 325 const struct thermal_zone_of_device_ops *ops) in thermal_zone_of_sensor_register() 336 const struct thermal_zone_of_device_ops *ops) in devm_thermal_zone_of_sensor_register() 364 const struct thermal_cooling_device_ops *ops); 378 thermal_zone_device_register(const char *type, int trips, int mask, void *devdata, struct thermal_zone_device_ops *ops, in thermal_zone_device_register() argument 387 thermal_cooling_device_register(const char *type, void *devdata, const struct thermal_cooling_device_ops *ops) in thermal_cooling_device_register() argument 324 thermal_zone_of_sensor_register(struct device *dev, int id, void *data, const struct thermal_zone_of_device_ops *ops) thermal_zone_of_sensor_register() argument 335 devm_thermal_zone_of_sensor_register(struct device *dev, int id, void *data, const struct thermal_zone_of_device_ops *ops) devm_thermal_zone_of_sensor_register() argument 392 thermal_of_cooling_device_register(struct device_node *np, const char *type, void *devdata, const struct thermal_cooling_device_ops *ops) thermal_of_cooling_device_register() argument 398 devm_thermal_of_cooling_device_register(struct device *dev, struct device_node *np, char *type, void *devdata, const struct thermal_cooling_device_ops *ops) devm_thermal_of_cooling_device_register() argument [all...] |
H A D | dma-fence.h | 32 * @ops: dma_fence_ops associated with this fence 46 * atomic ops (bit_*), so taking the spinlock will not be needed most 67 const struct dma_fence_ops *ops; member 263 void dma_fence_init(struct dma_fence *fence, const struct dma_fence_ops *ops, spinlock_t *lock, u64 context, u64 seqno); 407 if (fence->ops->signaled && fence->ops->signaled(fence)) { in dma_fence_is_signaled_locked() 437 if (fence->ops->signaled && fence->ops->signaled(fence)) { in dma_fence_is_signaled() 449 * @ops: dma_fence_ops associated with the seqno 454 static inline bool __dma_fence_is_later(u64 f1, u64 f2, const struct dma_fence_ops *ops) in __dma_fence_is_later() argument [all...] |
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/himedia/ |
H A D | himedia_base.c | 638 pm_baseops *ops) in himedia_driver_alloc() 655 if (ops != NULL && ops->probe != NULL) { in himedia_driver_alloc() 656 pa->pdrv.probe = ops->probe; in himedia_driver_alloc() 661 if (ops != NULL && ops->remove != NULL) { in himedia_driver_alloc() 662 pa->pdrv.remove = ops->remove; in himedia_driver_alloc() 667 if (ops != NULL && ops->shutdown != NULL) { in himedia_driver_alloc() 668 pa->pdrv.shutdown = ops in himedia_driver_alloc() 637 himedia_driver_alloc(const char *name, struct module *owner, pm_baseops *ops) himedia_driver_alloc() argument [all...] |
/device/qemu/drivers/uart/ |
H A D | uart.c | 66 if (udd->ops->StartTx != NULL) { in Hi35xxWrite() 67 ret = udd->ops->StartTx(udd, (char *)data, size); in Hi35xxWrite() 107 if (udd->ops->Config == NULL) { in Hi35xxSetBaud() 111 if (udd->ops->Config(udd) != HDF_SUCCESS) { in Hi35xxSetBaud() 163 if (udd->ops->Config == NULL) { in Hi35xxSetAttribute() 167 if (udd->ops->Config(udd) != HDF_SUCCESS) { in Hi35xxSetAttribute() 217 if (udd->ops->StartUp == NULL) { in Hi35xxInit() 222 if (udd->ops->StartUp(udd) != HDF_SUCCESS) { in Hi35xxInit() 253 if (udd->ops->DmaShutDown != NULL) { in Hi35xxDeinit() 254 udd->ops in Hi35xxDeinit() [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_internal_sync.c | 62 if (sync_timeline->ops->release_obj) in mali_internal_sync_timeline_free() 63 sync_timeline->ops->release_obj(sync_timeline); in mali_internal_sync_timeline_free() 95 ret = sync_fence->fence->ops->signaled(sync_fence->fence); in mali_internal_fence_check_cb_func() 146 struct mali_internal_sync_timeline *mali_internal_sync_timeline_create(const struct mali_internal_sync_timeline_ops *ops, in mali_internal_sync_timeline_create() argument 151 MALI_DEBUG_ASSERT_POINTER(ops); in mali_internal_sync_timeline_create() 164 sync_timeline->ops = ops; in mali_internal_sync_timeline_create() 340 if (sync_fence->fence->ops == &fence_array_ops) { in mali_internal_get_fences() 346 if (sync_fence->fence->ops == &dma_fence_array_ops) { in mali_internal_get_fences() 560 if ((sync_fence->fence) && (sync_fence->fence->ops) in mali_internal_sync_fence_wait_async() [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_internal_sync.c | 70 if (sync_timeline->ops->release_obj) { in mali_internal_sync_timeline_free() 71 sync_timeline->ops->release_obj(sync_timeline); in mali_internal_sync_timeline_free() 107 ret = sync_fence->fence->ops->signaled(sync_fence->fence); in mali_internal_fence_check_cb_func() 166 const struct mali_internal_sync_timeline_ops *ops, int size, in mali_internal_sync_timeline_create() 171 MALI_DEBUG_ASSERT_POINTER(ops); in mali_internal_sync_timeline_create() 186 sync_timeline->ops = ops; in mali_internal_sync_timeline_create() 382 if (sync_fence->fence->ops == &fence_array_ops) { in mali_internal_get_fences() 389 if (sync_fence->fence->ops == &dma_fence_array_ops) { in mali_internal_get_fences() 624 if ((sync_fence->fence) && (sync_fence->fence->ops) in mali_internal_sync_fence_wait_async() 165 mali_internal_sync_timeline_create( const struct mali_internal_sync_timeline_ops *ops, int size, const char *name) mali_internal_sync_timeline_create() argument [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/arbiter/ |
H A D | mali_kbase_arbif.c | 182 struct arbiter_if_arb_vm_ops ops; in kbase_arbif_init() local 219 ops.arb_vm_gpu_stop = on_gpu_stop; in kbase_arbif_init() 220 ops.arb_vm_gpu_granted = on_gpu_granted; in kbase_arbif_init() 221 ops.arb_vm_gpu_lost = on_gpu_lost; in kbase_arbif_init() 222 ops.arb_vm_max_config = on_max_config; in kbase_arbif_init() 223 ops.arb_vm_update_freq = on_update_freq; in kbase_arbif_init() 232 kbdev->dev, &ops); in kbase_arbif_init()
|