Home
last modified time | relevance | path

Searched full:vote (Results 1 – 25 of 78) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/pci/pcie/
Derr.c52 pci_ers_result_t vote; in report_error_detected() local
67 vote = PCI_ERS_RESULT_NO_AER_DRIVER; in report_error_detected()
70 vote = PCI_ERS_RESULT_NONE; in report_error_detected()
74 vote = err_handler->error_detected(dev, state); in report_error_detected()
76 pci_uevent_ers(dev, vote); in report_error_detected()
77 *result = merge_result(*result, vote); in report_error_detected()
94 pci_ers_result_t vote, *result = data; in report_mmio_enabled() local
104 vote = err_handler->mmio_enabled(dev); in report_mmio_enabled()
105 *result = merge_result(*result, vote); in report_mmio_enabled()
113 pci_ers_result_t vote, *result = data; in report_slot_reset() local
[all …]
/kernel/linux/linux-4.19/drivers/pci/pcie/
Derr.c54 pci_ers_result_t vote; in report_error_detected() local
73 vote = PCI_ERS_RESULT_NO_AER_DRIVER; in report_error_detected()
75 vote = PCI_ERS_RESULT_NONE; in report_error_detected()
78 vote = err_handler->error_detected(dev, result_data->state); in report_error_detected()
82 result_data->result = merge_result(result_data->result, vote); in report_error_detected()
89 pci_ers_result_t vote; in report_mmio_enabled() local
102 vote = err_handler->mmio_enabled(dev); in report_mmio_enabled()
103 result_data->result = merge_result(result_data->result, vote); in report_mmio_enabled()
111 pci_ers_result_t vote; in report_slot_reset() local
124 vote = err_handler->slot_reset(dev); in report_slot_reset()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_power_handle.h39 * mdss_bus_vote_type: register bus vote type
40 * VOTE_INDEX_DISABLE: removes the client vote
41 * VOTE_INDEX_LOW: keeps the lowest vote for register bus
78 * @usecase_ndx: current regs bus vote type
81 * aggregate the refcount and vote accordingly for this
175 * @client: client information to enable/disable its vote
Ddpu_core_perf.c379 * 1. new bandwidth vote - "ab or ib vote" is higher in dpu_core_perf_crtc_update()
380 * than current vote for update request. in dpu_core_perf_crtc_update()
381 * 2. new bandwidth vote - "ab or ib vote" is lower in dpu_core_perf_crtc_update()
382 * than current vote at end of commit or stop. in dpu_core_perf_crtc_update()
428 DPU_ERROR("crtc-%d: failed to update bw vote for bus-%d\n", in dpu_core_perf_crtc_update()
436 * Update the clock after bandwidth vote to ensure in dpu_core_perf_crtc_update()
487 /* run the driver with max clk and BW vote */ in _dpu_core_perf_mode_write()
Ddpu_core_perf.h42 * @min_bus_vote: minimum bus vote
62 * @fix_core_ib_vote: fixed core ib vote in bps used in mode 2
63 * @fix_core_ab_vote: fixed core ab vote in bps used in mode 2
Ddpu_power_handle.c85 pr_err("reg bus vote: invalid client handle\n"); in dpu_power_client_destroy()
90 pr_debug("bus vote client %s destroyed:%pK id:%u\n", in dpu_power_client_destroy()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_core_perf.c358 * 1. new bandwidth vote - "ab or ib vote" is higher in dpu_core_perf_crtc_update()
359 * than current vote for update request. in dpu_core_perf_crtc_update()
360 * 2. new bandwidth vote - "ab or ib vote" is lower in dpu_core_perf_crtc_update()
361 * than current vote at end of commit or stop. in dpu_core_perf_crtc_update()
396 DPU_ERROR("crtc-%d: failed to update bus bw vote\n", in dpu_core_perf_crtc_update()
403 * Update the clock after bandwidth vote to ensure in dpu_core_perf_crtc_update()
444 /* run the driver with max clk and BW vote */ in _dpu_core_perf_mode_write()
Ddpu_core_perf.h46 * @min_bus_vote: minimum bus vote
65 * @fix_core_ib_vote: fixed core ib vote in bps used in mode 2
66 * @fix_core_ab_vote: fixed core ab vote in bps used in mode 2
Ddpu_hw_catalog.h646 * @min_core_ib minimum mnoc ib vote in kbps
647 * @min_llcc_ib minimum llcc ib vote in kbps
648 * @min_dram_ib minimum dram ib vote in kbps
/kernel/linux/linux-4.19/drivers/scsi/ufs/
Dufs-qcom.c48 static int ufs_qcom_set_bus_vote(struct ufs_qcom_host *host, int vote);
762 static int ufs_qcom_set_bus_vote(struct ufs_qcom_host *host, int vote) in ufs_qcom_set_bus_vote() argument
766 if (vote != host->bus_vote.curr_vote) { in ufs_qcom_set_bus_vote()
768 host->bus_vote.client_handle, vote); in ufs_qcom_set_bus_vote()
771 "%s: msm_bus_scale_client_update_request() failed: bus_client_handle=0x%x, vote=%d, err=%d\n", in ufs_qcom_set_bus_vote()
773 vote, err); in ufs_qcom_set_bus_vote()
777 host->bus_vote.curr_vote = vote; in ufs_qcom_set_bus_vote()
785 int vote; in ufs_qcom_update_bus_bw_vote() local
791 vote = ufs_qcom_get_bus_vote(host, mode); in ufs_qcom_update_bus_bw_vote()
792 if (vote >= 0) in ufs_qcom_update_bus_bw_vote()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/
Da6xx_hfi.h94 u32 vote; member
99 u32 vote; member
Da6xx_gmu.c150 * Send an invalid index as a vote for the bus bandwidth and let the in a6xx_gmu_set_freq()
151 * firmware decide on the right vote in a6xx_gmu_set_freq()
394 u32 vote; in a6xx_gmu_gfx_rail_on() local
400 vote = gmu->gx_arc_votes[gmu->nr_gpu_freqs - 1]; in a6xx_gmu_gfx_rail_on()
402 gmu_write(gmu, REG_A6XX_GMU_GX_VOTE_IDX, vote & 0xff); in a6xx_gmu_gfx_rail_on()
403 gmu_write(gmu, REG_A6XX_GMU_MX_VOTE_IDX, (vote >> 8) & 0xff); in a6xx_gmu_gfx_rail_on()
1095 /* Remove the bus vote */ in a6xx_gmu_stop()
1231 /* Construct a vote for each frequency */ in a6xx_gmu_rpmh_arc_votes_init()
1257 * nothing fits, use the maximum non zero vote in a6xx_gmu_rpmh_arc_votes_init()
1269 /* Construct the vote */ in a6xx_gmu_rpmh_arc_votes_init()
Da6xx_hfi.c220 msg.gx_votes[i].vote = gmu->gx_arc_votes[i]; in a6xx_hfi_send_perf_table_v1()
225 msg.cx_votes[i].vote = gmu->cx_arc_votes[i]; in a6xx_hfi_send_perf_table_v1()
242 msg.gx_votes[i].vote = gmu->gx_arc_votes[i]; in a6xx_hfi_send_perf_table()
248 msg.cx_votes[i].vote = gmu->cx_arc_votes[i]; in a6xx_hfi_send_perf_table()
/kernel/linux/linux-4.19/drivers/gpu/drm/msm/adreno/
Da6xx_gmu.c76 * Send an invalid index as a vote for the bus bandwidth and let the in a6xx_gmu_set_freq()
77 * firmware decide on the right vote in a6xx_gmu_set_freq()
268 u32 vote; in a6xx_gmu_gfx_rail_on() local
274 vote = gmu->gx_arc_votes[gmu->nr_gpu_freqs - 1]; in a6xx_gmu_gfx_rail_on()
276 gmu_write(gmu, REG_A6XX_GMU_GX_VOTE_IDX, vote & 0xff); in a6xx_gmu_gfx_rail_on()
277 gmu_write(gmu, REG_A6XX_GMU_MX_VOTE_IDX, (vote >> 8) & 0xff); in a6xx_gmu_gfx_rail_on()
925 /* Construct a vote for each frequency */ in a6xx_gmu_rpmh_arc_votes_init()
951 * nothing fits, use the maximum non zero vote in a6xx_gmu_rpmh_arc_votes_init()
963 /* Construct the vote */ in a6xx_gmu_rpmh_arc_votes_init()
Da6xx_hfi.h93 u32 vote; member
/kernel/linux/linux-4.19/drivers/bluetooth/
Dhci_qca.c79 /* HCI_IBS transmit and receive side clock state vote */
189 static void serial_clock_vote(unsigned long vote, struct hci_uart *hu) in serial_clock_vote() argument
197 switch (vote) { in serial_clock_vote()
242 BT_DBG("Vote serial clock %s(%s)", new_vote ? "true" : "false", in serial_clock_vote()
243 vote ? "true" : "false"); in serial_clock_vote()
292 /* Vote for serial clock */ in qca_wq_awake_device()
346 BT_DBG("hu %p rx clock vote off", hu); in qca_wq_serial_rx_clock_vote_off()
357 BT_DBG("hu %p tx clock vote off", hu); in qca_wq_serial_tx_clock_vote_off()
362 /* Now that message queued to tty driver, vote for tty clocks off. in qca_wq_serial_tx_clock_vote_off()
696 /* Vote off rx clock under workqueue */ in device_want_to_sleep()
/kernel/linux/linux-4.19/drivers/slimbus/
Dmessaging.c49 /* Remove runtime-pm vote now that response was received for TID txn */ in slim_msg_response()
117 * do not vote for runtime-PM if the transactions are part of clock in slim_do_transfer()
168 * remove runtime-pm vote if this was TX only, or in slim_do_transfer()
/kernel/linux/linux-5.10/drivers/slimbus/
Dmessaging.c49 /* Remove runtime-pm vote now that response was received for TID txn */ in slim_msg_response()
117 * do not vote for runtime-PM if the transactions are part of clock in slim_do_transfer()
169 * remove runtime-pm vote if this was TX only, or in slim_do_transfer()
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/soc/qcom/
Dqcom,smd-rpm.txt4 various Qualcomm platforms. The RPM allows each component in the system to vote
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interconnect/
Dqcom,bcm-voter.yaml15 Coordinators (RSC). Interconnect providers are able to vote for aggregated
/kernel/linux/linux-5.10/drivers/bluetooth/
Dhci_qca.c97 /* HCI_IBS transmit and receive side clock state vote */
273 static void serial_clock_vote(unsigned long vote, struct hci_uart *hu) in serial_clock_vote() argument
281 switch (vote) { in serial_clock_vote()
324 BT_DBG("Vote serial clock %s(%s)", new_vote ? "true" : "false", in serial_clock_vote()
325 vote ? "true" : "false"); in serial_clock_vote()
375 /* Vote for serial clock */ in qca_wq_awake_device()
430 BT_DBG("hu %p rx clock vote off", hu); in qca_wq_serial_rx_clock_vote_off()
441 BT_DBG("hu %p tx clock vote off", hu); in qca_wq_serial_tx_clock_vote_off()
446 /* Now that message queued to tty driver, vote for tty clocks off. in qca_wq_serial_tx_clock_vote_off()
775 /* Vote off rx clock under workqueue */ in device_want_to_sleep()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/qcom/
Dqcom,smd-rpm.yaml12 to vote for state of the system resources, such as clocks, regulators and bus
/kernel/linux/linux-5.10/arch/arm/common/
Dvlock.S61 strb r1, [r0, #VLOCK_OWNER_OFFSET] @ submit my vote
/kernel/linux/linux-4.19/arch/arm/common/
Dvlock.S70 strb r1, [r0, #VLOCK_OWNER_OFFSET] @ submit my vote
/kernel/linux/linux-4.19/drivers/clk/qcom/
Dgdsc.c334 * Votable GDSCs can be ON due to Vote from other masters. in gdsc_init()
335 * If a Votable GDSC is ON, make sure we have a Vote. in gdsc_init()

1234