/openbmc/linux/drivers/spmi/ |
H A D | spmi-mtk-pmif.c | 265 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 …]
|
H A D | Makefile | 8 obj-$(CONFIG_SPMI_MSM_PMIC_ARB) += spmi-pmic-arb.o
|
/openbmc/linux/drivers/reset/ |
H A D | reset-meson-audio-arb.c | 64 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 …]
|
/openbmc/linux/drivers/i2c/muxes/ |
H A D | i2c-arb-gpio-challenge.c | 44 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 …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | arb.c | 54 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 …]
|
/openbmc/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-sm1.dtsi | 10 #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 …]
|
H A D | meson-g12.dtsi | 10 #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 …]
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_hw_arbiter.c | 26 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()
|
/openbmc/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-delta-ahe50dc.dts | 161 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 {
|
/openbmc/linux/drivers/video/fbdev/nvidia/ |
H A D | nv_hw.c | 242 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/mips/brcm/ |
H A D | soc.txt | 71 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";
|
/openbmc/linux/sound/soc/meson/ |
H A D | axg-fifo.c | 275 ret = reset_control_deassert(fifo->arb); in axg_fifo_pcm_open() 296 ret = reset_control_assert(fifo->arb); in axg_fifo_pcm_close() 361 fifo->arb = devm_reset_control_get_exclusive(dev, NULL); in axg_fifo_probe() 362 if (IS_ERR(fifo->arb)) in axg_fifo_probe() 363 return dev_err_probe(dev, PTR_ERR(fifo->arb), "failed to get arb reset\n"); in axg_fifo_probe()
|
/openbmc/u-boot/doc/device-tree-bindings/spmi/ |
H A D | spmi-msm.txt | 6 - compatible: "qcom,spmi-pmic-arb" 22 compatible = "qcom,spmi-pmic-arb";
|
/openbmc/linux/drivers/video/fbdev/riva/ |
H A D | riva_hw.c | 655 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 …]
|
/openbmc/linux/drivers/net/can/c_can/ |
H A D | c_can_main.c | 288 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 …]
|
/openbmc/linux/arch/mips/boot/dts/brcm/ |
H A D | bcm7435.dtsi | 92 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";
|
H A D | bcm7425.dtsi | 79 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";
|
H A D | bcm7362.dtsi | 79 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";
|
H A D | bcm7360.dtsi | 73 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";
|
H A D | bcm7125.dtsi | 79 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",
|
H A D | bcm7346.dtsi | 79 gisb-arb@400000 { 80 compatible = "brcm,bcm7400-gisb-arb"; 85 brcm,gisb-arb-master-mask = <0x673>; 86 brcm,gisb-arb-master-names = "ssp_0", "cpu_0", "bsp_0", 528 memc-arb@1000 { 529 compatible = "brcm,brcmstb-memc-arb";
|
H A D | bcm7420.dtsi | 79 gisb-arb@400000 { 80 compatible = "brcm,bcm7400-gisb-arb"; 85 brcm,gisb-arb-master-mask = <0x3ff>; 86 brcm,gisb-arb-master-names = "ssp_0", "cpu_0", "pci_0",
|
H A D | bcm7358.dtsi | 73 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",
|
/openbmc/linux/Documentation/devicetree/bindings/hsi/ |
H A D | client-devices.txt | 16 - hsi-arb-mode: Arbitration mode for TX frame ("round-robin", "priority") 39 hsi-arb-mode = "round-robin";
|
/openbmc/u-boot/drivers/i2c/muxes/ |
H A D | Makefile | 4 obj-$(CONFIG_I2C_ARB_GPIO_CHALLENGE) += i2c-arb-gpio-challenge.o
|