/Linux-v5.4/drivers/clk/zynqmp/ |
D | pll.c | 53 const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_pll_get_mode() local 55 ret = eemi_ops->ioctl(0, IOCTL_GET_PLL_FRAC_MODE, clk_id, 0, in zynqmp_pll_get_mode() 76 const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_pll_set_mode() local 83 ret = eemi_ops->ioctl(0, IOCTL_SET_PLL_FRAC_MODE, clk_id, mode, NULL); in zynqmp_pll_set_mode() 142 const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_pll_recalc_rate() local 144 ret = eemi_ops->clock_getdivider(clk_id, &fbdiv); in zynqmp_pll_recalc_rate() 151 eemi_ops->ioctl(0, IOCTL_GET_PLL_FRAC_DATA, clk_id, 0, in zynqmp_pll_recalc_rate() 180 const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_pll_set_rate() local 190 ret = eemi_ops->clock_setdivider(clk_id, m); in zynqmp_pll_set_rate() 195 eemi_ops->ioctl(0, IOCTL_SET_PLL_FRAC_DATA, clk_id, f, NULL); in zynqmp_pll_set_rate() [all …]
|
D | clk-gate-zynqmp.c | 40 const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_clk_gate_enable() local 42 ret = eemi_ops->clock_enable(clk_id); in zynqmp_clk_gate_enable() 61 const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_clk_gate_disable() local 63 ret = eemi_ops->clock_disable(clk_id); in zynqmp_clk_gate_disable() 82 const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_clk_gate_is_enabled() local 84 ret = eemi_ops->clock_getstate(clk_id, &state); in zynqmp_clk_gate_is_enabled()
|
D | divider.c | 68 const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_clk_divider_recalc_rate() local 70 ret = eemi_ops->clock_getdivider(clk_id, &div); in zynqmp_clk_divider_recalc_rate() 109 const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_clk_divider_round_rate() local 113 ret = eemi_ops->clock_getdivider(clk_id, &bestdiv); in zynqmp_clk_divider_round_rate() 152 const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_clk_divider_set_rate() local 163 ret = eemi_ops->clock_setdivider(clk_id, div); in zynqmp_clk_divider_set_rate()
|
D | clk-mux-zynqmp.c | 50 const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_clk_mux_get_parent() local 52 ret = eemi_ops->clock_getparent(clk_id, &val); in zynqmp_clk_mux_get_parent() 74 const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_clk_mux_set_parent() local 76 ret = eemi_ops->clock_setparent(clk_id, index); in zynqmp_clk_mux_set_parent()
|
D | clkc.c | 137 static const struct zynqmp_eemi_ops *eemi_ops; variable 209 ret = eemi_ops->query_data(qdata, ret_payload); in zynqmp_pm_clock_get_num_clocks() 234 eemi_ops->query_data(qdata, ret_payload); in zynqmp_pm_clock_get_name() 268 ret = eemi_ops->query_data(qdata, ret_payload); in zynqmp_pm_clock_get_topology() 299 ret = eemi_ops->query_data(qdata, ret_payload); in zynqmp_clk_register_fixed_factor() 342 ret = eemi_ops->query_data(qdata, ret_payload); in zynqmp_pm_clock_get_parents() 367 ret = eemi_ops->query_data(qdata, ret_payload); in zynqmp_pm_clock_get_attributes() 741 eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_clock_probe() 742 if (IS_ERR(eemi_ops)) in zynqmp_clock_probe() 743 return PTR_ERR(eemi_ops); in zynqmp_clock_probe()
|
/Linux-v5.4/drivers/soc/xilinx/ |
D | zynqmp_power.c | 34 static const struct zynqmp_eemi_ops *eemi_ops; variable 97 if (!eemi_ops->set_suspend_mode) in suspend_mode_store() 108 ret = eemi_ops->set_suspend_mode(md); in suspend_mode_store() 123 eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_pm_probe() 124 if (IS_ERR(eemi_ops)) in zynqmp_pm_probe() 125 return PTR_ERR(eemi_ops); in zynqmp_pm_probe() 127 if (!eemi_ops->get_api_version || !eemi_ops->init_finalize) in zynqmp_pm_probe() 130 eemi_ops->init_finalize(); in zynqmp_pm_probe() 131 eemi_ops->get_api_version(&pm_api_version); in zynqmp_pm_probe()
|
D | zynqmp_pm_domains.c | 26 static const struct zynqmp_eemi_ops *eemi_ops; variable 77 if (!eemi_ops->set_requirement) in zynqmp_gpd_power_on() 81 ret = eemi_ops->set_requirement(pd->node_id, in zynqmp_gpd_power_on() 112 if (!eemi_ops->set_requirement) in zynqmp_gpd_power_off() 135 ret = eemi_ops->set_requirement(pd->node_id, capabilities, 0, in zynqmp_gpd_power_off() 164 if (!eemi_ops->request_node) in zynqmp_gpd_attach_dev() 173 ret = eemi_ops->request_node(pd->node_id, 0, 0, in zynqmp_gpd_attach_dev() 200 if (!eemi_ops->release_node) in zynqmp_gpd_detach_dev() 209 ret = eemi_ops->release_node(pd->node_id); in zynqmp_gpd_detach_dev() 267 eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_gpd_probe() [all …]
|
/Linux-v5.4/drivers/reset/ |
D | reset-zynqmp.c | 18 const struct zynqmp_eemi_ops *eemi_ops; member 32 return priv->eemi_ops->reset_assert(ZYNQMP_RESET_ID + id, in zynqmp_reset_assert() 41 return priv->eemi_ops->reset_assert(ZYNQMP_RESET_ID + id, in zynqmp_reset_deassert() 51 err = priv->eemi_ops->reset_get_status(ZYNQMP_RESET_ID + id, &val); in zynqmp_reset_status() 63 return priv->eemi_ops->reset_assert(ZYNQMP_RESET_ID + id, in zynqmp_reset_reset() 82 priv->eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_reset_probe() 83 if (IS_ERR(priv->eemi_ops)) in zynqmp_reset_probe() 84 return PTR_ERR(priv->eemi_ops); in zynqmp_reset_probe()
|
/Linux-v5.4/drivers/fpga/ |
D | zynqmp-fpga.c | 43 const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_fpga_ops_write() local 50 if (IS_ERR_OR_NULL(eemi_ops) || !eemi_ops->fpga_load) in zynqmp_fpga_ops_write() 66 ret = eemi_ops->fpga_load(dma_addr, size, eemi_flags); in zynqmp_fpga_ops_write() 81 const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_fpga_ops_state() local 84 if (IS_ERR_OR_NULL(eemi_ops) || !eemi_ops->fpga_get_status) in zynqmp_fpga_ops_state() 87 eemi_ops->fpga_get_status(&status); in zynqmp_fpga_ops_state()
|
/Linux-v5.4/drivers/nvmem/ |
D | zynqmp_nvmem.c | 19 static const struct zynqmp_eemi_ops *eemi_ops; variable 28 if (!eemi_ops->get_chipid) in zynqmp_nvmem_read() 31 ret = eemi_ops->get_chipid(&idcode, &version); in zynqmp_nvmem_read() 64 eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_nvmem_probe() 65 if (IS_ERR(eemi_ops)) in zynqmp_nvmem_probe() 66 return PTR_ERR(eemi_ops); in zynqmp_nvmem_probe()
|
/Linux-v5.4/Documentation/driver-api/xilinx/ |
D | eemi.rst | 32 static const struct zynqmp_eemi_ops eemi_ops = { 39 static const struct zynqmp_eemi_ops *eemi_ops; 43 eemi_ops = zynqmp_pm_get_eemi_ops(); 44 if (IS_ERR(eemi_ops)) 45 return PTR_ERR(eemi_ops); 47 ret = eemi_ops->query_data(qdata, ret_payload);
|
/Linux-v5.4/drivers/firmware/xilinx/ |
D | zynqmp-debug.c | 88 const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops(); in process_api_request() local 95 ret = eemi_ops->get_api_version(&pm_api_version); in process_api_request() 105 ret = eemi_ops->query_data(qdata, pm_api_ret); in process_api_request()
|
D | zynqmp.c | 667 static const struct zynqmp_eemi_ops eemi_ops = { variable 749 eemi_ops_tbl = &eemi_ops; in zynqmp_firmware_probe()
|
/Linux-v5.4/drivers/spi/ |
D | spi-zynqmp-gqspi.c | 138 static const struct zynqmp_eemi_ops *eemi_ops; variable 1021 eemi_ops = zynqmp_pm_get_eemi_ops(); in zynqmp_qspi_probe() 1022 if (IS_ERR(eemi_ops)) in zynqmp_qspi_probe() 1023 return PTR_ERR(eemi_ops); in zynqmp_qspi_probe()
|