Home
last modified time | relevance | path

Searched refs:gate (Results 126 - 150 of 371) sorted by relevance

12345678910>>...15

/kernel/linux/linux-6.6/drivers/clk/pistachio/
H A Dclk.c58 struct pistachio_gate *gate, in pistachio_clk_register_gate()
65 clk = clk_register_gate(NULL, gate[i].name, gate[i].parent, in pistachio_clk_register_gate()
67 p->base + gate[i].reg, gate[i].shift, in pistachio_clk_register_gate()
69 p->clk_data.clks[gate[i].id] = clk; in pistachio_clk_register_gate()
57 pistachio_clk_register_gate(struct pistachio_clk_provider *p, struct pistachio_gate *gate, unsigned int num) pistachio_clk_register_gate() argument
/kernel/linux/linux-6.6/drivers/clk/imx/
H A Dclk-composite-8m.c216 struct clk_gate *gate = NULL; in __imx8m_clk_hw_composite() local
259 /* skip registering the gate ops if M4 is enabled */ in __imx8m_clk_hw_composite()
261 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in __imx8m_clk_hw_composite()
262 if (!gate) in __imx8m_clk_hw_composite()
265 gate_hw = &gate->hw; in __imx8m_clk_hw_composite()
266 gate->reg = reg; in __imx8m_clk_hw_composite()
267 gate->bit_idx = PCG_CGC_SHIFT; in __imx8m_clk_hw_composite()
268 gate->lock = &imx_ccm_lock; in __imx8m_clk_hw_composite()
280 kfree(gate); in __imx8m_clk_hw_composite()
[all...]
/kernel/linux/linux-5.10/drivers/clk/
H A Dclk-fsl-sai.c25 struct clk_gate gate; member
49 sai_clk->gate.reg = base + I2S_CSR; in fsl_sai_clk_probe()
50 sai_clk->gate.bit_idx = CSR_BCE_BIT; in fsl_sai_clk_probe()
51 sai_clk->gate.lock = &sai_clk->lock; in fsl_sai_clk_probe()
65 &sai_clk->gate.hw, in fsl_sai_clk_probe()
H A Dclk-stm32mp1.c307 struct clk_gate gate; member
356 struct gate_cfg *gate; member
374 const struct stm32_gate_cfg *gate; member
456 struct clk_gate *gate = to_clk_gate(hw); in mp1_gate_clk_disable() local
460 spin_lock_irqsave(gate->lock, flags); in mp1_gate_clk_disable()
461 writel_relaxed(BIT(gate->bit_idx), gate->reg + RCC_CLR); in mp1_gate_clk_disable()
462 spin_unlock_irqrestore(gate->lock, flags); in mp1_gate_clk_disable()
538 struct clk_gate *gate; in _get_stm32_gate() local
546 mgate->gate in _get_stm32_gate()
667 struct clk_gate *gate = to_clk_gate(hw); mp1_mgate_clk_enable() local
679 struct clk_gate *gate = to_clk_gate(hw); mp1_mgate_clk_disable() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Dni_tio.c84 /* ni_660x gate select */
94 /* ni_660x second gate select */
840 /* Set the mode bits for gate. */
879 * will effectively enable the second gate after all bits are set. in ni_tio_set_gate2_mode()
1018 * FIXME: We don't know what the m-series second gate codes are, in ni_m_set_gate2()
1026 unsigned int gate, unsigned int src) in ni_tio_set_gate_src_raw()
1030 switch (gate) { in ni_tio_set_gate_src_raw()
1032 /* 1. start by disabling gate */ in ni_tio_set_gate_src_raw()
1034 /* 2. set the requested gate source */ in ni_tio_set_gate_src_raw()
1043 /* 1. start by disabling gate */ in ni_tio_set_gate_src_raw()
1025 ni_tio_set_gate_src_raw(struct ni_gpct *counter, unsigned int gate, unsigned int src) ni_tio_set_gate_src_raw() argument
1057 ni_tio_set_gate_src(struct ni_gpct *counter, unsigned int gate, unsigned int src) ni_tio_set_gate_src() argument
1189 ni_660x_gate_to_generic_gate(unsigned int gate, unsigned int *src) ni_660x_gate_to_generic_gate() argument
1233 ni_m_gate_to_generic_gate(unsigned int gate, unsigned int *src) ni_m_gate_to_generic_gate() argument
1286 ni_660x_gate2_to_generic_gate(unsigned int gate, unsigned int *src) ni_660x_gate2_to_generic_gate() argument
1333 ni_m_gate2_to_generic_gate(unsigned int gate, unsigned int *src) ni_m_gate2_to_generic_gate() argument
1388 unsigned int gate; ni_tio_get_gate_src() local
[all...]
/kernel/linux/linux-6.6/drivers/comedi/drivers/
H A Dni_tio.c84 /* ni_660x gate select */
94 /* ni_660x second gate select */
840 /* Set the mode bits for gate. */
879 * will effectively enable the second gate after all bits are set. in ni_tio_set_gate2_mode()
1018 * FIXME: We don't know what the m-series second gate codes are, in ni_m_set_gate2()
1026 unsigned int gate, unsigned int src) in ni_tio_set_gate_src_raw()
1030 switch (gate) { in ni_tio_set_gate_src_raw()
1032 /* 1. start by disabling gate */ in ni_tio_set_gate_src_raw()
1034 /* 2. set the requested gate source */ in ni_tio_set_gate_src_raw()
1043 /* 1. start by disabling gate */ in ni_tio_set_gate_src_raw()
1025 ni_tio_set_gate_src_raw(struct ni_gpct *counter, unsigned int gate, unsigned int src) ni_tio_set_gate_src_raw() argument
1057 ni_tio_set_gate_src(struct ni_gpct *counter, unsigned int gate, unsigned int src) ni_tio_set_gate_src() argument
1189 ni_660x_gate_to_generic_gate(unsigned int gate, unsigned int *src) ni_660x_gate_to_generic_gate() argument
1233 ni_m_gate_to_generic_gate(unsigned int gate, unsigned int *src) ni_m_gate_to_generic_gate() argument
1286 ni_660x_gate2_to_generic_gate(unsigned int gate, unsigned int *src) ni_660x_gate2_to_generic_gate() argument
1333 ni_m_gate2_to_generic_gate(unsigned int gate, unsigned int *src) ni_m_gate2_to_generic_gate() argument
1388 unsigned int gate; ni_tio_get_gate_src() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/pxa/
H A Dclk-pxa.c51 struct clk_gate gate; member
113 pxa_clk->gate = clks[i].gate; in clk_pxa_cken_init()
114 pxa_clk->gate.reg = clk_regs + clks[i].cken_reg; in clk_pxa_cken_init()
115 pxa_clk->gate.lock = &pxa_clk_lock; in clk_pxa_cken_init()
120 &pxa_clk->gate.hw, &clk_gate_ops, in clk_pxa_cken_init()
/kernel/linux/linux-6.6/drivers/clk/samsung/
H A Dclk-exynos-clkout.c30 struct clk_gate gate; member
161 clkout->gate.reg = clkout->reg + EXYNOS_PMU_DEBUG_REG; in exynos_clkout_probe()
162 clkout->gate.bit_idx = EXYNOS_CLKOUT_DISABLE_SHIFT; in exynos_clkout_probe()
163 clkout->gate.flags = CLK_GATE_SET_TO_DISABLE; in exynos_clkout_probe()
164 clkout->gate.lock = &clkout->slock; in exynos_clkout_probe()
173 &clk_mux_ops, NULL, NULL, &clkout->gate.hw, in exynos_clkout_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/
H A Dsmu_v12_0.h40 int smu_v12_0_powergate_sdma(struct smu_context *smu, bool gate);
42 int smu_v12_0_powergate_vcn(struct smu_context *smu, bool gate);
44 int smu_v12_0_powergate_jpeg(struct smu_context *smu, bool gate);
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Dsmu_v12_0.h40 int smu_v12_0_powergate_sdma(struct smu_context *smu, bool gate);
42 int smu_v12_0_powergate_vcn(struct smu_context *smu, bool gate);
44 int smu_v12_0_powergate_jpeg(struct smu_context *smu, bool gate);
/kernel/linux/linux-5.10/drivers/nfc/microread/
H A Dmicroread.c335 static int microread_target_from_gate(struct nfc_hci_dev *hdev, u8 gate, in microread_target_from_gate() argument
338 switch (gate) { in microread_target_from_gate()
350 u8 gate, in microread_complete_target_discovered()
408 pr_info("data exchange to gate 0x%x\n", target->hci_reader_gate); in microread_im_transceive()
440 pr_info("Abort im_transceive to invalid gate 0x%x\n", in microread_im_transceive()
470 static void microread_target_discovered(struct nfc_hci_dev *hdev, u8 gate, in microread_target_discovered() argument
476 pr_info("target discovered to gate 0x%x\n", gate); in microread_target_discovered()
484 targets->hci_reader_gate = gate; in microread_target_discovered()
486 switch (gate) { in microread_target_discovered()
349 microread_complete_target_discovered(struct nfc_hci_dev *hdev, u8 gate, struct nfc_target *target) microread_complete_target_discovered() argument
553 u8 gate = hdev->pipes[pipe].gate; microread_event_received() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/mediatek/
H A Dclk-mtk.c19 #include "clk-gate.h"
222 struct clk_gate *gate = NULL; in mtk_clk_register_composite() local
253 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in mtk_clk_register_composite()
254 if (!gate) { in mtk_clk_register_composite()
259 gate->reg = base + mc->gate_reg; in mtk_clk_register_composite()
260 gate->bit_idx = mc->gate_shift; in mtk_clk_register_composite()
261 gate->flags = CLK_GATE_SET_TO_DISABLE; in mtk_clk_register_composite()
262 gate->lock = lock; in mtk_clk_register_composite()
264 gate_hw = &gate in mtk_clk_register_composite()
308 struct clk_gate *gate = NULL; mtk_clk_unregister_composite() local
[all...]
/kernel/linux/linux-6.6/drivers/nfc/microread/
H A Dmicroread.c334 static int microread_target_from_gate(struct nfc_hci_dev *hdev, u8 gate, in microread_target_from_gate() argument
337 switch (gate) { in microread_target_from_gate()
349 u8 gate, in microread_complete_target_discovered()
406 pr_info("data exchange to gate 0x%x\n", target->hci_reader_gate); in microread_im_transceive()
438 pr_info("Abort im_transceive to invalid gate 0x%x\n", in microread_im_transceive()
468 static void microread_target_discovered(struct nfc_hci_dev *hdev, u8 gate, in microread_target_discovered() argument
474 pr_info("target discovered to gate 0x%x\n", gate); in microread_target_discovered()
482 targets->hci_reader_gate = gate; in microread_target_discovered()
484 switch (gate) { in microread_target_discovered()
348 microread_complete_target_discovered(struct nfc_hci_dev *hdev, u8 gate, struct nfc_target *target) microread_complete_target_discovered() argument
551 u8 gate = hdev->pipes[pipe].gate; microread_event_received() local
[all...]
/kernel/linux/linux-5.10/drivers/clk/zte/
H A Dclk-zx296718.c609 &top_gate_clk[i].gate.hw; in top_clocks_init()
611 top_gate_clk[i].gate.reg += (uintptr_t)reg_base; in top_clocks_init()
612 name = top_gate_clk[i].gate.hw.init->name; in top_clocks_init()
613 ret = clk_hw_register(NULL, &top_gate_clk[i].gate.hw); in top_clocks_init()
776 &lsp0_gate_clk[i].gate.hw; in lsp0_clocks_init()
778 lsp0_gate_clk[i].gate.reg += (uintptr_t)reg_base; in lsp0_clocks_init()
779 name = lsp0_gate_clk[i].gate.hw.init->name; in lsp0_clocks_init()
780 ret = clk_hw_register(NULL, &lsp0_gate_clk[i].gate.hw); in lsp0_clocks_init()
882 &lsp1_gate_clk[i].gate.hw; in lsp1_clocks_init()
884 lsp1_gate_clk[i].gate in lsp1_clocks_init()
[all...]
/kernel/linux/linux-5.10/drivers/nfc/st21nfca/
H A Dcore.c28 * Reader gate for communication with contact-less cards using Type A
131 * ST21NFCA_DEVICE_MGNT_GATE is a proprietary gate in st21nfca_hci_load_session()
158 * Match pipe ID and gate ID in st21nfca_hci_load_session()
176 (st21nfca_gates[j].gate != info->dst_gate_id) ; j++) in st21nfca_hci_load_session()
180 st21nfca_gates[j].gate == info->dst_gate_id && in st21nfca_hci_load_session()
184 hdev->gate2pipe[st21nfca_gates[j].gate] = in st21nfca_hci_load_session()
186 hdev->pipes[pipe_info[2]].gate = in st21nfca_hci_load_session()
187 st21nfca_gates[j].gate; in st21nfca_hci_load_session()
267 /* Set NFC_MODE in device management gate to enable */ in st21nfca_hci_ready()
617 static int st21nfca_hci_target_from_gate(struct nfc_hci_dev *hdev, u8 gate, in st21nfca_hci_target_from_gate() argument
671 st21nfca_hci_complete_target_discovered(struct nfc_hci_dev *hdev, u8 gate, struct nfc_target *target) st21nfca_hci_complete_target_discovered() argument
837 u8 gate = hdev->pipes[pipe].gate; st21nfca_hci_cmd_received() local
893 u8 gate = hdev->pipes[pipe].gate; st21nfca_hci_event_received() local
[all...]
/kernel/linux/linux-6.6/drivers/nfc/st21nfca/
H A Dcore.c27 * Reader gate for communication with contact-less cards using Type A
130 * ST21NFCA_DEVICE_MGNT_GATE is a proprietary gate in st21nfca_hci_load_session()
157 * Match pipe ID and gate ID in st21nfca_hci_load_session()
175 (st21nfca_gates[j].gate != info->dst_gate_id) ; j++) in st21nfca_hci_load_session()
179 st21nfca_gates[j].gate == info->dst_gate_id && in st21nfca_hci_load_session()
183 hdev->gate2pipe[st21nfca_gates[j].gate] = in st21nfca_hci_load_session()
185 hdev->pipes[pipe_info[2]].gate = in st21nfca_hci_load_session()
186 st21nfca_gates[j].gate; in st21nfca_hci_load_session()
266 /* Set NFC_MODE in device management gate to enable */ in st21nfca_hci_ready()
616 static int st21nfca_hci_target_from_gate(struct nfc_hci_dev *hdev, u8 gate, in st21nfca_hci_target_from_gate() argument
670 st21nfca_hci_complete_target_discovered(struct nfc_hci_dev *hdev, u8 gate, struct nfc_target *target) st21nfca_hci_complete_target_discovered() argument
836 u8 gate = hdev->pipes[pipe].gate; st21nfca_hci_cmd_received() local
892 u8 gate = hdev->pipes[pipe].gate; st21nfca_hci_event_received() local
[all...]
/kernel/linux/linux-5.10/drivers/clk/renesas/
H A Drcar-gen3-cpg.c432 struct clk_gate gate; member
464 rpc->gate.reg = base + CPG_RPCCKCR; in cpg_rpc_clk_register()
465 rpc->gate.bit_idx = 8; in cpg_rpc_clk_register()
466 rpc->gate.flags = CLK_GATE_SET_TO_DISABLE; in cpg_rpc_clk_register()
467 rpc->gate.lock = &cpg_lock; in cpg_rpc_clk_register()
473 &rpc->gate.hw, &clk_gate_ops, in cpg_rpc_clk_register()
486 struct clk_gate gate; member
503 rpcd2->gate.reg = base + CPG_RPCCKCR; in cpg_rpcd2_clk_register()
504 rpcd2->gate.bit_idx = 9; in cpg_rpcd2_clk_register()
505 rpcd2->gate in cpg_rpcd2_clk_register()
[all...]
/kernel/linux/linux-5.10/drivers/clk/nxp/
H A Dclk-lpc18xx-cgu.c169 struct clk_gate gate; member
185 .gate = { \
203 struct clk_gate gate; member
216 .gate = { \
267 struct clk_gate gate; member
282 .gate = { \
543 clk->gate.reg = reg; in lpc18xx_cgu_register_div()
550 &clk->gate.hw, &lpc18xx_gate_ops, 0); in lpc18xx_cgu_register_div()
565 clk->gate.reg = reg; in lpc18xx_register_base_clk()
578 &clk->gate in lpc18xx_register_base_clk()
[all...]
/kernel/linux/linux-6.6/drivers/clk/nxp/
H A Dclk-lpc18xx-cgu.c166 struct clk_gate gate; member
182 .gate = { \
200 struct clk_gate gate; member
213 .gate = { \
264 struct clk_gate gate; member
279 .gate = { \
539 clk->gate.reg = reg; in lpc18xx_cgu_register_div()
546 &clk->gate.hw, &lpc18xx_gate_ops, 0); in lpc18xx_cgu_register_div()
561 clk->gate.reg = reg; in lpc18xx_register_base_clk()
574 &clk->gate in lpc18xx_register_base_clk()
[all...]
/kernel/linux/linux-6.6/drivers/clk/renesas/
H A Dr9a06g032-clocks.c62 * @gate: clock enable/disable
69 * which controls some aspect of clock gating. The @gate field
82 struct regbit gate, reset, ready, midle; member
88 K_GATE = 0, /* gate which enable/disable */
104 * @gate: clock enable/disable
114 * @g1: 1st source gate (clock enable/disable)
116 * @g2: 2nd source gate (clock enable/disable)
131 struct r9a06g032_gate gate; member
154 .gate = _clk, \
167 .gate
728 struct r9a06g032_gate gate; global() member
1171 struct r9a06g032_gate gate[2]; global() member
1191 struct r9a06g032_clk_dualgate *gate = to_clk_dualgate(hw); r9a06g032_clk_dualgate_enable() local
1200 struct r9a06g032_clk_dualgate *gate = to_clk_dualgate(hw); r9a06g032_clk_dualgate_disable() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/
H A Dclk-stm32mp1.c314 struct clk_gate gate; member
364 struct gate_cfg *gate; member
382 const struct stm32_gate_cfg *gate; member
464 struct clk_gate *gate = to_clk_gate(hw); in mp1_gate_clk_disable() local
468 spin_lock_irqsave(gate->lock, flags); in mp1_gate_clk_disable()
469 writel_relaxed(BIT(gate->bit_idx), gate->reg + RCC_CLR); in mp1_gate_clk_disable()
470 spin_unlock_irqrestore(gate->lock, flags); in mp1_gate_clk_disable()
546 struct clk_gate *gate; in _get_stm32_gate() local
554 mgate->gate in _get_stm32_gate()
680 struct clk_gate *gate = to_clk_gate(hw); mp1_mgate_clk_enable() local
692 struct clk_gate *gate = to_clk_gate(hw); mp1_mgate_clk_disable() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/xilinx/
H A Dxlnx_vcu.c445 struct clk_hw *gate = NULL; in xvcu_clk_hw_register_leaf() local
481 gate = clk_hw_register_gate_parent_hw(dev, name, divider, in xvcu_clk_hw_register_leaf()
484 if (IS_ERR(gate)) { in xvcu_clk_hw_register_leaf()
485 err = PTR_ERR(gate); in xvcu_clk_hw_register_leaf()
489 return gate; in xvcu_clk_hw_register_leaf()
501 struct clk_hw *gate = hw; in xvcu_clk_hw_unregister_leaf() local
505 if (!gate) in xvcu_clk_hw_unregister_leaf()
508 divider = clk_hw_get_parent(gate); in xvcu_clk_hw_unregister_leaf()
509 clk_hw_unregister_gate(gate); in xvcu_clk_hw_unregister_leaf()
/kernel/linux/linux-5.10/drivers/nfc/st-nci/
H A Dse.c174 * ST_NCI_DEVICE_MGNT_GATE is a proprietary gate in st_nci_hci_load_session()
202 * Match pipe ID and gate ID in st_nci_hci_load_session()
220 (st_nci_gates[j].gate != dm_pipe_info->dst_gate_id); j++) in st_nci_hci_load_session()
224 st_nci_gates[j].gate == dm_pipe_info->dst_gate_id && in st_nci_hci_load_session()
228 ndev->hci_dev->gate2pipe[st_nci_gates[j].gate] = in st_nci_hci_load_session()
230 ndev->hci_dev->pipes[pipe_info[2]].gate = in st_nci_hci_load_session()
231 st_nci_gates[j].gate; in st_nci_hci_load_session()
271 nfc_err(&ndev->nfc_dev->dev, "Unexpected event on admin gate\n"); in st_nci_hci_admin_event_received()
282 pr_debug("apdu reader gate event: %x\n", event); in st_nci_hci_apdu_reader_event_received()
296 nfc_err(&ndev->nfc_dev->dev, "Unexpected event on apdu reader gate\ in st_nci_hci_apdu_reader_event_received()
365 u8 gate = ndev->hci_dev->pipes[pipe].gate; st_nci_hci_event_received() local
386 u8 gate = ndev->hci_dev->pipes[pipe].gate; st_nci_hci_cmd_received() local
[all...]
/kernel/linux/linux-5.10/net/mac80211/
H A Dmesh_pathtbl.c141 * a gate mpath. The function also adds the Address Extension field and
147 * The gate mpath must be an active mpath with a valid mpath->next_hop.
149 * @gate_mpath: An active mpath the frames will be sent to (i.e. the gate)
194 mpath_dbg(gate_mpath->sdata, "Mpath queue for gate %pM has %d frames\n", in mesh_path_move_to_queue()
295 * mesh_path_add_gate - add the given mpath to a mesh gate to our path table
296 * @mpath: gate path to add to table
322 "Mesh path: Recorded new gate: %pM. %d known gates\n", in mesh_path_add_gate()
331 * mesh_gate_del - remove a mesh gate from the list of known gates
333 * @mpath: gate mpath
348 "Mesh path: Deleted gate in mesh_gate_del()
674 struct mesh_path *gate; mesh_path_send_to_gates() local
[all...]
/kernel/linux/linux-6.6/drivers/nfc/st-nci/
H A Dse.c174 * ST_NCI_DEVICE_MGNT_GATE is a proprietary gate in st_nci_hci_load_session()
202 * Match pipe ID and gate ID in st_nci_hci_load_session()
220 (st_nci_gates[j].gate != dm_pipe_info->dst_gate_id); j++) in st_nci_hci_load_session()
224 st_nci_gates[j].gate == dm_pipe_info->dst_gate_id && in st_nci_hci_load_session()
228 ndev->hci_dev->gate2pipe[st_nci_gates[j].gate] = in st_nci_hci_load_session()
230 ndev->hci_dev->pipes[pipe_info[2]].gate = in st_nci_hci_load_session()
231 st_nci_gates[j].gate; in st_nci_hci_load_session()
271 nfc_err(&ndev->nfc_dev->dev, "Unexpected event on admin gate\n"); in st_nci_hci_admin_event_received()
281 pr_debug("apdu reader gate event: %x\n", event); in st_nci_hci_apdu_reader_event_received()
295 nfc_err(&ndev->nfc_dev->dev, "Unexpected event on apdu reader gate\ in st_nci_hci_apdu_reader_event_received()
385 u8 gate = ndev->hci_dev->pipes[pipe].gate; st_nci_hci_event_received() local
406 u8 gate = ndev->hci_dev->pipes[pipe].gate; st_nci_hci_cmd_received() local
[all...]

Completed in 24 milliseconds

12345678910>>...15