Home
last modified time | relevance | path

Searched refs:arb (Results 1 – 25 of 111) sorted by relevance

12345

/linux-6.6.21/drivers/spmi/
Dspmi-mtk-pmif.c265 static u32 pmif_readl(struct pmif *arb, enum pmif_regs reg) in pmif_readl() argument
267 return readl(arb->base + arb->data->regs[reg]); in pmif_readl()
270 static void pmif_writel(struct pmif *arb, u32 val, enum pmif_regs reg) in pmif_writel() argument
272 writel(val, arb->base + arb->data->regs[reg]); in pmif_writel()
275 static void mtk_spmi_writel(struct pmif *arb, u32 val, enum spmi_regs reg) in mtk_spmi_writel() argument
277 writel(val, arb->spmimst_base + arb->data->spmimst_regs[reg]); in mtk_spmi_writel()
280 static bool pmif_is_fsm_vldclr(struct pmif *arb) in pmif_is_fsm_vldclr() argument
284 reg_rdata = pmif_readl(arb, arb->chan.ch_sta); in pmif_is_fsm_vldclr()
291 struct pmif *arb = spmi_controller_get_drvdata(ctrl); in pmif_arb_cmd() local
301 mtk_spmi_writel(arb, (cmd << 0x4) | sid, SPMI_OP_ST_CTRL); in pmif_arb_cmd()
[all …]
/linux-6.6.21/drivers/reset/
Dreset-meson-audio-arb.c64 struct meson_audio_arb_data *arb = in meson_audio_arb_update() local
67 spin_lock(&arb->lock); in meson_audio_arb_update()
68 val = readl(arb->regs); in meson_audio_arb_update()
71 val &= ~BIT(arb->reset_bits[id]); in meson_audio_arb_update()
73 val |= BIT(arb->reset_bits[id]); in meson_audio_arb_update()
75 writel(val, arb->regs); in meson_audio_arb_update()
76 spin_unlock(&arb->lock); in meson_audio_arb_update()
85 struct meson_audio_arb_data *arb = in meson_audio_arb_status() local
88 val = readl(arb->regs); in meson_audio_arb_status()
90 return !(val & BIT(arb->reset_bits[id])); in meson_audio_arb_status()
[all …]
/linux-6.6.21/drivers/i2c/muxes/
Di2c-arb-gpio-challenge.c44 const struct i2c_arbitrator_data *arb = i2c_mux_priv(muxc); in i2c_arbitrator_select() local
48 stop_time = jiffies + usecs_to_jiffies(arb->wait_free_us) + 1; in i2c_arbitrator_select()
51 gpiod_set_value(arb->our_gpio, 1); in i2c_arbitrator_select()
52 udelay(arb->slew_delay_us); in i2c_arbitrator_select()
55 stop_retry = jiffies + usecs_to_jiffies(arb->wait_retry_us) + 1; in i2c_arbitrator_select()
57 int gpio_val = gpiod_get_value(arb->their_gpio); in i2c_arbitrator_select()
68 gpiod_set_value(arb->our_gpio, 0); in i2c_arbitrator_select()
70 usleep_range(arb->wait_retry_us, arb->wait_retry_us * 2); in i2c_arbitrator_select()
74 gpiod_set_value(arb->our_gpio, 0); in i2c_arbitrator_select()
75 udelay(arb->slew_delay_us); in i2c_arbitrator_select()
[all …]
/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv04/
Darb.c54 nv04_calc_arb(struct nv_fifo_info *fifo, struct nv_sim_state *arb) in nv04_calc_arb() argument
63 pclk_freq = arb->pclk_khz; in nv04_calc_arb()
64 mclk_freq = arb->mclk_khz; in nv04_calc_arb()
65 nvclk_freq = arb->nvclk_khz; in nv04_calc_arb()
66 pagemiss = arb->mem_page_miss; in nv04_calc_arb()
67 cas = arb->mem_latency; in nv04_calc_arb()
68 bpp = arb->bpp; in nv04_calc_arb()
108 nv10_calc_arb(struct nv_fifo_info *fifo, struct nv_sim_state *arb) in nv10_calc_arb() argument
119 pclk_freq = arb->pclk_khz; in nv10_calc_arb()
120 nvclk_freq = arb->nvclk_khz; in nv10_calc_arb()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/bus/
Dbrcm,gisb-arb.yaml4 $id: http://devicetree.org/schemas/bus/brcm,gisb-arb.yaml#
17 - brcm,bcm7445-gisb-arb # for other 28nm chips
18 - const: brcm,gisb-arb
21 - brcm,bcm7278-gisb-arb # for V7 28nm chips
22 - brcm,bcm7435-gisb-arb # for newer 40nm chips
23 - brcm,bcm7400-gisb-arb # for older 40nm chips and all 65nm chips
24 - brcm,bcm7038-gisb-arb # for 130nm chips
25 - brcm,gisb-arb # fallback compatible
37 brcm,gisb-arb-master-mask:
43 brcm,gisb-arb-master-names:
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/reset/
Damlogic,meson-axg-audio-arb.yaml5 $id: http://devicetree.org/schemas/reset/amlogic,meson-axg-audio-arb.yaml#
19 - amlogic,meson-axg-audio-arb
20 - amlogic,meson-sm1-audio-arb
50 arb: reset-controller@280 {
51 compatible = "amlogic,meson-axg-audio-arb";
/linux-6.6.21/arch/arm64/boot/dts/amlogic/
Dmeson-sm1.dtsi10 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h>
187 resets = <&arb AXG_ARB_TODDR_A>,
189 reset-names = "arb", "rst";
202 resets = <&arb AXG_ARB_TODDR_B>,
204 reset-names = "arb", "rst";
217 resets = <&arb AXG_ARB_TODDR_C>,
219 reset-names = "arb", "rst";
232 resets = <&arb AXG_ARB_FRDDR_A>,
234 reset-names = "arb", "rst";
247 resets = <&arb AXG_ARB_FRDDR_B>,
[all …]
Dmeson-g12.dtsi10 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h>
107 resets = <&arb AXG_ARB_TODDR_A>,
109 reset-names = "arb", "rst";
122 resets = <&arb AXG_ARB_TODDR_B>,
124 reset-names = "arb", "rst";
137 resets = <&arb AXG_ARB_TODDR_C>,
139 reset-names = "arb", "rst";
152 resets = <&arb AXG_ARB_FRDDR_A>,
154 reset-names = "arb", "rst";
167 resets = <&arb AXG_ARB_FRDDR_B>,
[all …]
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/
Dadf_hw_arbiter.c26 int arb, i; in adf_init_arb() local
35 for (arb = 0; arb < ADF_ARB_NUM; arb++) in adf_init_arb()
36 WRITE_CSR_ARB_SARCONFIG(csr, arb_off, arb, arb_cfg); in adf_init_arb()
/linux-6.6.21/Documentation/devicetree/bindings/sound/
Damlogic,axg-fifo.yaml81 - const: arb
91 const: arb
100 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h>
109 resets = <&arb>, <&clkc_audio AUD_RESET_FRDDR_A>;
110 reset-names = "arb", "rst";
/linux-6.6.21/arch/arm/boot/dts/aspeed/
Daspeed-bmc-delta-ahe50dc.dts161 i2carb0: i2c-arb {
202 i2carb1: i2c-arb {
217 i2carb2: i2c-arb {
232 i2carb3: i2c-arb {
247 i2carb4: i2c-arb {
297 i2carb6: i2c-arb {
312 i2carb7: i2c-arb {
327 i2carb8: i2c-arb {
353 i2carb12: i2c-arb {
/linux-6.6.21/Documentation/devicetree/bindings/i2c/
Dnxp,pca9541.yaml19 i2c-arb:
29 - i2c-arb
46 i2c-arb {
Di2c-arb-gpio-challenge.yaml4 $id: http://devicetree.org/schemas/i2c/i2c-arb-gpio-challenge.yaml#
51 const: i2c-arb-gpio-challenge
85 i2c-arb:
94 - i2c-arb
106 compatible = "i2c-arb-gpio-challenge";
115 i2c-arb {
/linux-6.6.21/drivers/video/fbdev/nvidia/
Dnv_hw.c242 static void nv4CalcArbitration(nv4_fifo_info * fifo, nv4_sim_state * arb) in nv4CalcArbitration() argument
252 pclk_freq = arb->pclk_khz; in nv4CalcArbitration()
253 mclk_freq = arb->mclk_khz; in nv4CalcArbitration()
254 nvclk_freq = arb->nvclk_khz; in nv4CalcArbitration()
255 pagemiss = arb->mem_page_miss; in nv4CalcArbitration()
256 cas = arb->mem_latency; in nv4CalcArbitration()
257 width = arb->memory_width >> 6; in nv4CalcArbitration()
258 video_enable = arb->enable_video; in nv4CalcArbitration()
259 bpp = arb->pix_bpp; in nv4CalcArbitration()
260 mp_enable = arb->enable_mp; in nv4CalcArbitration()
[all …]
/linux-6.6.21/sound/soc/meson/
Daxg-fifo.c271 ret = reset_control_deassert(fifo->arb); in axg_fifo_pcm_open()
292 ret = reset_control_assert(fifo->arb); in axg_fifo_pcm_close()
357 fifo->arb = devm_reset_control_get_exclusive(dev, NULL); in axg_fifo_probe()
358 if (IS_ERR(fifo->arb)) in axg_fifo_probe()
359 return dev_err_probe(dev, PTR_ERR(fifo->arb), "failed to get arb reset\n"); in axg_fifo_probe()
/linux-6.6.21/Documentation/devicetree/bindings/mips/brcm/
Dsoc.txt71 memc-arb@1000 {
133 "brcm,brcmstb-memc-arb-v10.0.0.0"
134 "brcm,brcmstb-memc-arb"
140 memc-arb@1000 {
141 compatible = "brcm,brcmstb-memc-arb-v10.0.0.0";
/linux-6.6.21/Documentation/devicetree/bindings/spmi/
Dqcom,spmi-pmic-arb.yaml4 $id: http://devicetree.org/schemas/spmi/qcom,spmi-pmic-arb.yaml#
25 const: qcom,spmi-pmic-arb
107 compatible = "qcom,spmi-pmic-arb";
/linux-6.6.21/drivers/video/fbdev/riva/
Driva_hw.c655 nv4_sim_state *arb in nv4CalcArbitration() argument
666 pclk_freq = arb->pclk_khz; in nv4CalcArbitration()
667 mclk_freq = arb->mclk_khz; in nv4CalcArbitration()
668 nvclk_freq = arb->nvclk_khz; in nv4CalcArbitration()
669 pagemiss = arb->mem_page_miss; in nv4CalcArbitration()
670 cas = arb->mem_latency; in nv4CalcArbitration()
671 width = arb->memory_width >> 6; in nv4CalcArbitration()
672 video_enable = arb->enable_video; in nv4CalcArbitration()
673 bpp = arb->pix_bpp; in nv4CalcArbitration()
674 mp_enable = arb->enable_mp; in nv4CalcArbitration()
[all …]
/linux-6.6.21/arch/mips/boot/dts/brcm/
Dbcm7125.dtsi79 gisb-arb@400000 {
80 compatible = "brcm,bcm7400-gisb-arb";
85 brcm,gisb-arb-master-mask = <0x2f7>;
86 brcm,gisb-arb-master-names = "ssp_0", "cpu_0", "pci_0",
Dbcm7360.dtsi73 gisb-arb@400000 {
74 compatible = "brcm,bcm7400-gisb-arb";
79 brcm,gisb-arb-master-mask = <0x2f3>;
80 brcm,gisb-arb-master-names = "ssp_0", "cpu_0", "bsp_0",
447 memc-arb@1000 {
448 compatible = "brcm,brcmstb-memc-arb";
Dbcm7362.dtsi79 gisb-arb@400000 {
80 compatible = "brcm,bcm7400-gisb-arb";
85 brcm,gisb-arb-master-mask = <0x2f3>;
86 brcm,gisb-arb-master-names = "ssp_0", "cpu_0", "bsp_0",
443 memc-arb@1000 {
444 compatible = "brcm,brcmstb-memc-arb";
Dbcm7425.dtsi79 gisb-arb@400000 {
80 compatible = "brcm,bcm7400-gisb-arb";
85 brcm,gisb-arb-master-mask = <0x177b>;
86 brcm,gisb-arb-master-names = "ssp_0", "cpu_0", "pcie_0",
539 memc-arb@1000 {
540 compatible = "brcm,brcmstb-memc-arb";
566 memc-arb@1000 {
567 compatible = "brcm,brcmstb-memc-arb";
Dbcm7435.dtsi92 gisb-arb@400000 {
93 compatible = "brcm,bcm7435-gisb-arb";
98 brcm,gisb-arb-master-mask = <0xf77f>;
99 brcm,gisb-arb-master-names = "ssp_0", "cpu_0", "webcpu_0",
555 memc-arb@1000 {
556 compatible = "brcm,brcmstb-memc-arb";
582 memc-arb@1000 {
583 compatible = "brcm,brcmstb-memc-arb";
/linux-6.6.21/drivers/net/can/c_can/
Dc_can_main.c288 u32 arb = IF_ARB_MSGVAL; in c_can_setup_tx_object() local
292 arb |= frame->can_id & CAN_EFF_MASK; in c_can_setup_tx_object()
293 arb |= IF_ARB_MSGXTD; in c_can_setup_tx_object()
295 arb |= (frame->can_id & CAN_SFF_MASK) << 18; in c_can_setup_tx_object()
299 arb |= IF_ARB_TRANSMIT; in c_can_setup_tx_object()
311 priv->write_reg32(priv, C_CAN_IFACE(ARB1_REG, iface), arb); in c_can_setup_tx_object()
368 u32 arb, data; in c_can_read_msg_object() local
378 arb = priv->read_reg32(priv, C_CAN_IFACE(ARB1_REG, iface)); in c_can_read_msg_object()
380 if (arb & IF_ARB_MSGXTD) in c_can_read_msg_object()
381 frame->can_id = (arb & CAN_EFF_MASK) | CAN_EFF_FLAG; in c_can_read_msg_object()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/net/
Dbrcm,systemport.yaml39 systemport,num-tier2-arb:
44 systemport,num-tier1-arb:

12345