/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/common/registers/ |
D | register_ops.c | 58 struct chip_register_ops *ops = amports_ops[bus_type]; in codec_reg_read() local 60 if (!ops) in codec_reg_read() 62 ops->r_cnt++; in codec_reg_read() 63 CODEC_OPS_START(bus_type, reg, ops->r_cnt); in codec_reg_read() 72 if (ops && ops->read) in codec_reg_read() 73 return ops->read(ops->ext_offset + reg); in codec_reg_read() 74 CODEC_OPS_ERROR(bus_type, reg, ops->r_cnt); in codec_reg_read() 81 struct chip_register_ops *ops = amports_ops[bus_type]; in codec_reg_write() local 83 if (!ops) in codec_reg_write() 85 ops->w_cnt++; in codec_reg_write() [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/ |
D | driver-ops.h | 36 local->ops->tx(&local->hw, control, skb); in drv_tx() 42 if (local->ops->sync_rx_queues) { in drv_sync_rx_queues() 44 local->ops->sync_rx_queues(&local->hw); in drv_sync_rx_queues() 53 if (local->ops->get_et_strings) { in drv_get_et_strings() 55 local->ops->get_et_strings(&local->hw, &sdata->vif, sset, data); in drv_get_et_strings() 65 if (local->ops->get_et_stats) { in drv_get_et_stats() 67 local->ops->get_et_stats(&local->hw, &sdata->vif, stats, data); in drv_get_et_stats() 77 if (local->ops->get_et_sset_count) { in drv_get_et_sset_count() 79 rv = local->ops->get_et_sset_count(&local->hw, &sdata->vif, in drv_get_et_sset_count() 98 ret = local->ops->suspend(&local->hw, wowlan); in drv_suspend() [all …]
|
D | driver-ops.c | 23 ret = local->ops->start(&local->hw); in drv_start() 40 local->ops->stop(&local->hw); in drv_stop() 66 ret = local->ops->add_interface(&local->hw, &sdata->vif); in drv_add_interface() 87 ret = local->ops->change_interface(&local->hw, &sdata->vif, type, p2p); in drv_change_interface() 101 local->ops->remove_interface(&local->hw, &sdata->vif); in drv_remove_interface() 122 if (local->ops->sta_state) { in drv_sta_state() 123 ret = local->ops->sta_state(&local->hw, &sdata->vif, &sta->sta, in drv_sta_state() 152 if (local->ops->sta_set_txpwr) in drv_sta_set_txpwr() 153 ret = local->ops->sta_set_txpwr(&local->hw, &sdata->vif, in drv_sta_set_txpwr() 172 if (local->ops->sta_rc_update) in drv_sta_rc_update() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/himedia/ |
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 == NULL) || (pdrv->ops->pm_resume == NULL)) { in himedia_pm_resume() 107 return pdrv->ops->pm_resume(pdev); in himedia_pm_resume() 115 if ((pdrv->ops == NULL) || (pdrv->ops->pm_freeze == NULL)) { in himedia_pm_freeze() 119 return pdrv->ops->pm_freeze(pdev); in himedia_pm_freeze() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/v4l2_dev/src/fw_lib/ |
D | fsm_param.c | 36 if( p_fsm_mgr->fsm_arr[FSM_ID_SENSOR]->ops.set_param ) { in acamera_fsm_mgr_set_param() 37 …rc = p_fsm_mgr->fsm_arr[FSM_ID_SENSOR]->ops.set_param( p_fsm_mgr->fsm_arr[FSM_ID_SENSOR]->p_fsm, p… in acamera_fsm_mgr_set_param() 43 if( p_fsm_mgr->fsm_arr[FSM_ID_CMOS]->ops.set_param ) { in acamera_fsm_mgr_set_param() 44 …rc = p_fsm_mgr->fsm_arr[FSM_ID_CMOS]->ops.set_param( p_fsm_mgr->fsm_arr[FSM_ID_CMOS]->p_fsm, param… in acamera_fsm_mgr_set_param() 50 if( p_fsm_mgr->fsm_arr[FSM_ID_CROP]->ops.set_param ) { in acamera_fsm_mgr_set_param() 51 …rc = p_fsm_mgr->fsm_arr[FSM_ID_CROP]->ops.set_param( p_fsm_mgr->fsm_arr[FSM_ID_CROP]->p_fsm, param… in acamera_fsm_mgr_set_param() 57 if( p_fsm_mgr->fsm_arr[FSM_ID_GENERAL]->ops.set_param ) { in acamera_fsm_mgr_set_param() 58 …rc = p_fsm_mgr->fsm_arr[FSM_ID_GENERAL]->ops.set_param( p_fsm_mgr->fsm_arr[FSM_ID_GENERAL]->p_fsm,… in acamera_fsm_mgr_set_param() 64 if( p_fsm_mgr->fsm_arr[FSM_ID_AE]->ops.set_param ) { in acamera_fsm_mgr_set_param() 65 …rc = p_fsm_mgr->fsm_arr[FSM_ID_AE]->ops.set_param( p_fsm_mgr->fsm_arr[FSM_ID_AE]->p_fsm, param_id,… in acamera_fsm_mgr_set_param() [all …]
|
D | monitor_intf.c | 41 p_fsm_ctx->cmn.ops.init = monitor_fsm_init; in monitor_get_fsm_common() 42 p_fsm_ctx->cmn.ops.deinit = NULL; in monitor_get_fsm_common() 43 p_fsm_ctx->cmn.ops.run = NULL; in monitor_get_fsm_common() 44 p_fsm_ctx->cmn.ops.get_param = monitor_fsm_get_param; in monitor_get_fsm_common() 45 p_fsm_ctx->cmn.ops.set_param = monitor_fsm_set_param; in monitor_get_fsm_common() 46 p_fsm_ctx->cmn.ops.proc_event = (FUN_PTR_PROC_EVENT)monitor_fsm_process_event; in monitor_get_fsm_common() 47 p_fsm_ctx->cmn.ops.proc_interrupt = (FUN_PTR_PROC_INT)monitor_fsm_process_interrupt; in monitor_get_fsm_common()
|
D | color_matrix_intf.c | 45 p_fsm_ctx->cmn.ops.init = color_matrix_fsm_init; in color_matrix_get_fsm_common() 46 p_fsm_ctx->cmn.ops.deinit = NULL; in color_matrix_get_fsm_common() 47 p_fsm_ctx->cmn.ops.run = NULL; in color_matrix_get_fsm_common() 48 p_fsm_ctx->cmn.ops.get_param = color_matrix_fsm_get_param; in color_matrix_get_fsm_common() 49 p_fsm_ctx->cmn.ops.set_param = color_matrix_fsm_set_param; in color_matrix_get_fsm_common() 50 p_fsm_ctx->cmn.ops.proc_event = (FUN_PTR_PROC_EVENT)color_matrix_fsm_process_event; in color_matrix_get_fsm_common() 51 p_fsm_ctx->cmn.ops.proc_interrupt = NULL; in color_matrix_get_fsm_common()
|
D | iridix8_manual_intf.c | 47 p_fsm_ctx->cmn.ops.init = iridix_fsm_init; in iridix_get_fsm_common() 48 p_fsm_ctx->cmn.ops.deinit = NULL; in iridix_get_fsm_common() 49 p_fsm_ctx->cmn.ops.run = NULL; in iridix_get_fsm_common() 50 p_fsm_ctx->cmn.ops.get_param = iridix_fsm_get_param; in iridix_get_fsm_common() 51 p_fsm_ctx->cmn.ops.set_param = iridix_fsm_set_param; in iridix_get_fsm_common() 52 p_fsm_ctx->cmn.ops.proc_event = NULL; in iridix_get_fsm_common() 53 p_fsm_ctx->cmn.ops.proc_interrupt = (FUN_PTR_PROC_INT)iridix_fsm_process_interrupt; in iridix_get_fsm_common()
|
D | awb_manual_intf.c | 45 p_fsm_ctx->cmn.ops.init = AWB_fsm_init; in AWB_get_fsm_common() 46 p_fsm_ctx->cmn.ops.deinit = NULL; in AWB_get_fsm_common() 47 p_fsm_ctx->cmn.ops.run = NULL; in AWB_get_fsm_common() 48 p_fsm_ctx->cmn.ops.get_param = AWB_fsm_get_param; in AWB_get_fsm_common() 49 p_fsm_ctx->cmn.ops.set_param = AWB_fsm_set_param; in AWB_get_fsm_common() 50 p_fsm_ctx->cmn.ops.proc_event = (FUN_PTR_PROC_EVENT)AWB_fsm_process_event; in AWB_get_fsm_common() 51 p_fsm_ctx->cmn.ops.proc_interrupt = (FUN_PTR_PROC_INT)AWB_fsm_process_interrupt; in AWB_get_fsm_common()
|
D | ae_manual_intf.c | 46 p_fsm_ctx->cmn.ops.init = AE_fsm_init; in AE_get_fsm_common() 47 p_fsm_ctx->cmn.ops.deinit = NULL; in AE_get_fsm_common() 48 p_fsm_ctx->cmn.ops.run = NULL; in AE_get_fsm_common() 49 p_fsm_ctx->cmn.ops.get_param = AE_fsm_get_param; in AE_get_fsm_common() 50 p_fsm_ctx->cmn.ops.set_param = AE_fsm_set_param; in AE_get_fsm_common() 51 p_fsm_ctx->cmn.ops.proc_event = (FUN_PTR_PROC_EVENT)AE_fsm_process_event; in AE_get_fsm_common() 52 p_fsm_ctx->cmn.ops.proc_interrupt = (FUN_PTR_PROC_INT)AE_fsm_process_interrupt; in AE_get_fsm_common()
|
D | metadata_intf.c | 45 p_fsm_ctx->cmn.ops.init = metadata_fsm_init; in metadata_get_fsm_common() 46 p_fsm_ctx->cmn.ops.deinit = NULL; in metadata_get_fsm_common() 47 p_fsm_ctx->cmn.ops.run = NULL; in metadata_get_fsm_common() 48 p_fsm_ctx->cmn.ops.get_param = NULL; in metadata_get_fsm_common() 49 p_fsm_ctx->cmn.ops.set_param = metadata_fsm_set_param; in metadata_get_fsm_common() 50 p_fsm_ctx->cmn.ops.proc_event = (FUN_PTR_PROC_EVENT)metadata_fsm_process_event; in metadata_get_fsm_common() 51 p_fsm_ctx->cmn.ops.proc_interrupt = (FUN_PTR_PROC_INT)metadata_fsm_process_interrupt; in metadata_get_fsm_common()
|
D | matrix_yuv_intf.c | 46 p_fsm_ctx->cmn.ops.init = matrix_yuv_fsm_init; in matrix_yuv_get_fsm_common() 47 p_fsm_ctx->cmn.ops.deinit = NULL; in matrix_yuv_get_fsm_common() 48 p_fsm_ctx->cmn.ops.run = NULL; in matrix_yuv_get_fsm_common() 49 p_fsm_ctx->cmn.ops.get_param = matrix_yuv_fsm_get_param; in matrix_yuv_get_fsm_common() 50 p_fsm_ctx->cmn.ops.set_param = matrix_yuv_fsm_set_param; in matrix_yuv_get_fsm_common() 51 p_fsm_ctx->cmn.ops.proc_event = (FUN_PTR_PROC_EVENT)matrix_yuv_fsm_process_event; in matrix_yuv_get_fsm_common() 52 p_fsm_ctx->cmn.ops.proc_interrupt = (FUN_PTR_PROC_INT)NULL; in matrix_yuv_get_fsm_common()
|
D | crop_intf.c | 45 p_fsm_ctx->cmn.ops.init = crop_fsm_init; in crop_get_fsm_common() 46 p_fsm_ctx->cmn.ops.deinit = NULL; in crop_get_fsm_common() 47 p_fsm_ctx->cmn.ops.run = NULL; in crop_get_fsm_common() 48 p_fsm_ctx->cmn.ops.get_param = crop_fsm_get_param; in crop_get_fsm_common() 49 p_fsm_ctx->cmn.ops.set_param = crop_fsm_set_param; in crop_get_fsm_common() 50 p_fsm_ctx->cmn.ops.proc_event = (FUN_PTR_PROC_EVENT)crop_fsm_process_event; in crop_get_fsm_common() 51 p_fsm_ctx->cmn.ops.proc_interrupt = (FUN_PTR_PROC_INT)crop_fsm_process_interrupt; in crop_get_fsm_common()
|
D | af_manual_intf.c | 46 p_fsm_ctx->cmn.ops.init = AF_fsm_init; in AF_get_fsm_common() 47 p_fsm_ctx->cmn.ops.deinit = (FUN_PTR_DEINIT)AF_deinit; in AF_get_fsm_common() 48 p_fsm_ctx->cmn.ops.run = NULL; in AF_get_fsm_common() 49 p_fsm_ctx->cmn.ops.get_param = AF_fsm_get_param; in AF_get_fsm_common() 50 p_fsm_ctx->cmn.ops.set_param = AF_fsm_set_param; in AF_get_fsm_common() 51 p_fsm_ctx->cmn.ops.proc_event = (FUN_PTR_PROC_EVENT)AF_fsm_process_event; in AF_get_fsm_common() 52 p_fsm_ctx->cmn.ops.proc_interrupt = (FUN_PTR_PROC_INT)AF_fsm_process_interrupt; in AF_get_fsm_common()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/drv/hi3516cv500/ |
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->hifb_drv_init = hifb_drv_init; in get_implement_ops() [all …]
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
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.readData(bus, HISDIO_REG_FUNC1_INT_STATUS, ONE_BYTE, &int_mask); in sdio_patch_readsb() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/rtl8822c/sdio/ |
D | rtl8822cs_ops.c | 420 struct hal_ops *ops; in rtl8822cs_set_hal_ops() local 433 ops = &adapter->hal_func; in rtl8822cs_set_hal_ops() 435 ops->init_default_value = rtl8822cs_init_default_value; in rtl8822cs_set_hal_ops() 436 ops->intf_chip_configure = intf_chip_configure; in rtl8822cs_set_hal_ops() 437 ops->read_adapter_info = read_adapter_info; in rtl8822cs_set_hal_ops() 439 ops->hal_init = rtl8822cs_init; in rtl8822cs_set_hal_ops() 440 ops->hal_deinit = rtl8822cs_deinit; in rtl8822cs_set_hal_ops() 442 ops->init_xmit_priv = rtl8822cs_init_xmit_priv; in rtl8822cs_set_hal_ops() 443 ops->free_xmit_priv = rtl8822cs_free_xmit_priv; in rtl8822cs_set_hal_ops() 444 ops->hal_xmit = rtl8822cs_hal_xmit; in rtl8822cs_set_hal_ops() [all …]
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ipa/ |
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 …r(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, nam… 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->name, name… in kbase_ipa_model_add_param_string() [all …]
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ipa/ |
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->name, name, addr); in kbase_ipa_model_add_param_string() [all …]
|
/device/soc/rockchip/common/sdk_linux/drivers/iommu/ |
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 = dev->bus->iommu_ops; in iommu_release_device() local [all …]
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ipa/ |
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 …r(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() 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, nam… in kbase_ipa_model_add_param_s32() 170 … 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() 198 …dev_warn(model->kbdev->dev, "Error %d, no DT entry: %s.%s = \'%s\'\n", err, model->ops->name, name… in kbase_ipa_model_add_param_string() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/dvb_ci/cimax/ |
D | aml_cimax.c | 60 if (cimax->ops.slot_reset) in aml_cimax_slot_reset() 61 ret = cimax->ops.slot_reset(cimax, slot); in aml_cimax_slot_reset() 83 if (cimax->ops.slot_status) in aml_cimax_slot_status() 84 ret = cimax->ops.slot_status(cimax, slot); in aml_cimax_slot_status() 93 if (cimax->ops._fn)\ 94 return cimax->ops._fn(cimax, p1, p2, p3);\ 108 if (cimax->ops.write_cor) in DEF_FUNC_WRAPPER3() 109 return cimax->ops.write_cor(cimax, slot, addr, buf); in DEF_FUNC_WRAPPER3() 117 if (cimax->ops.negotiate) in aml_cimax_negotiate() 118 return cimax->ops.negotiate(cimax, slot, size); in aml_cimax_negotiate() [all …]
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ipa/ |
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->term(model); in kbase_ipa_term_model() [all …]
|
/device/soc/esp/esp32/components/spi_flash/esp32/ |
D | flash_ops_esp32.c | 21 const spi_flash_guard_funcs_t *ops = spi_flash_guard_get(); in spi_flash_guard_start() local 22 if (ops && ops->start) { in spi_flash_guard_start() 23 ops->start(); in spi_flash_guard_start() 29 const spi_flash_guard_funcs_t *ops = spi_flash_guard_get(); in spi_flash_guard_end() local 30 if (ops && ops->end) { in spi_flash_guard_end() 31 ops->end(); in spi_flash_guard_end()
|
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/ |
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() 635 …if (WARN_ON(!exp_info->priv || !exp_info->ops || !exp_info->ops->map_dma_buf || !exp_info->ops->un… in dma_buf_export() 636 !exp_info->ops->release)) { in dma_buf_export() 640 if (WARN_ON(exp_info->ops->cache_sgt_mapping && (exp_info->ops->pin || exp_info->ops->unpin))) { in dma_buf_export() 644 if (WARN_ON(!exp_info->ops->pin != !exp_info->ops->unpin)) { in dma_buf_export() 659 dmabuf->ops = exp_info->ops; in dma_buf_export() 801 if (dmabuf->ops->pin) { in dma_buf_pin() [all …]
|