Home
last modified time | relevance | path

Searched refs:bcr (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.6.21/drivers/memory/
Dstm32-fmc2-ebi.c141 u32 bcr[FMC2_MAX_EBI_CE]; member
183 u32 bcr; in stm32_fmc2_ebi_check_mux() local
185 regmap_read(ebi->regmap, FMC2_BCR(cs), &bcr); in stm32_fmc2_ebi_check_mux()
187 if (bcr & FMC2_BCR_MTYP) in stm32_fmc2_ebi_check_mux()
197 u32 bcr, val = FIELD_PREP(FMC2_BCR_MTYP, FMC2_BCR_MTYP_NOR); in stm32_fmc2_ebi_check_waitcfg() local
199 regmap_read(ebi->regmap, FMC2_BCR(cs), &bcr); in stm32_fmc2_ebi_check_waitcfg()
201 if ((bcr & FMC2_BCR_MTYP) == val && bcr & FMC2_BCR_BURSTEN) in stm32_fmc2_ebi_check_waitcfg()
211 u32 bcr; in stm32_fmc2_ebi_check_sync_trans() local
213 regmap_read(ebi->regmap, FMC2_BCR(cs), &bcr); in stm32_fmc2_ebi_check_sync_trans()
215 if (bcr & FMC2_BCR_BURSTEN) in stm32_fmc2_ebi_check_sync_trans()
[all …]
/linux-6.6.21/drivers/spi/
Dspi-intel-pci.c20 u32 bcr; in intel_spi_pci_set_writeable() local
23 pci_read_config_dword(pdev, BCR, &bcr); in intel_spi_pci_set_writeable()
24 if (!(bcr & BCR_WPD)) { in intel_spi_pci_set_writeable()
25 bcr |= BCR_WPD; in intel_spi_pci_set_writeable()
26 pci_write_config_dword(pdev, BCR, bcr); in intel_spi_pci_set_writeable()
27 pci_read_config_dword(pdev, BCR, &bcr); in intel_spi_pci_set_writeable()
30 return bcr & BCR_WPD; in intel_spi_pci_set_writeable()
/linux-6.6.21/arch/arc/include/asm/
Ddsp-impl.h131 struct bcr_generic bcr; in dsp_exist() local
133 READ_BCR(ARC_AUX_DSP_BUILD, bcr); in dsp_exist()
134 return !!bcr.ver; in dsp_exist()
139 struct bcr_generic bcr; in agu_exist() local
141 READ_BCR(ARC_AUX_AGU_BUILD, bcr); in agu_exist()
142 return !!bcr.ver; in agu_exist()
/linux-6.6.21/drivers/i2c/busses/
Di2c-synquacer.c261 unsigned char bsr, bcr; in synquacer_i2c_master_start() local
269 bcr = readb(i2c->base + SYNQUACER_I2C_REG_BCR); in synquacer_i2c_master_start()
270 dev_dbg(i2c->dev, "bsr:0x%02x, bcr:0x%02x\n", bsr, bcr); in synquacer_i2c_master_start()
273 !(bcr & SYNQUACER_I2C_BCR_MSS)) { in synquacer_i2c_master_start()
280 writeb(bcr | SYNQUACER_I2C_BCR_SCC, in synquacer_i2c_master_start()
283 if (bcr & SYNQUACER_I2C_BCR_MSS) { in synquacer_i2c_master_start()
289 writeb(bcr | SYNQUACER_I2C_BCR_MSS | in synquacer_i2c_master_start()
298 bcr = readb(i2c->base + SYNQUACER_I2C_REG_BCR); in synquacer_i2c_master_start()
299 dev_dbg(i2c->dev, "bsr:0x%02x, bcr:0x%02x\n", bsr, bcr); in synquacer_i2c_master_start()
302 !(bcr & SYNQUACER_I2C_BCR_MSS)) { in synquacer_i2c_master_start()
[all …]
/linux-6.6.21/drivers/net/can/cc770/
Dcc770_isa.c74 static u8 bcr[MAXDEV] = {[0 ... (MAXDEV - 1)] = 0xff}; variable
99 module_param_array(bcr, byte, NULL, 0444);
100 MODULE_PARM_DESC(bcr, "Bus configuration register (default=0x40 [CBY])");
246 if (bcr[idx] != 0xff) in cc770_isa_probe()
247 priv->bus_config = bcr[idx]; in cc770_isa_probe()
248 else if (bcr[0] != 0xff) in cc770_isa_probe()
249 priv->bus_config = bcr[0]; in cc770_isa_probe()
/linux-6.6.21/drivers/i3c/master/mipi-i3c-hci/
Ddct_v1.c21 u64 *pid, unsigned int *dcr, unsigned int *bcr) in i3c_hci_dct_get_val() argument
35 *bcr = FIELD_GET(W2_MASK(79, 72), dct_entry_data[2]); in i3c_hci_dct_get_val()
Ddct.h14 u64 *pid, unsigned int *dcr, unsigned int *bcr);
Dcmd_v2.c246 unsigned int dcr, bcr; in hci_cmd_v2_daa() local
294 bcr = FIELD_GET(W1_MASK(55, 48), device_id[1]); in hci_cmd_v2_daa()
297 next_addr, pid, dcr, bcr); in hci_cmd_v2_daa()
Dcmd_v1.c298 unsigned int dcr, bcr; in hci_cmd_v1_daa() local
351 i3c_hci_dct_get_val(hci, 0, &pid, &dcr, &bcr); in hci_cmd_v1_daa()
353 next_addr, pid, dcr, bcr); in hci_cmd_v1_daa()
/linux-6.6.21/include/linux/i3c/
Ddevice.h87 #define I3C_BCR_DEVICE_ROLE(bcr) ((bcr) & GENMASK(7, 6)) argument
121 u8 bcr; member
Dccc.h116 u8 bcr; member
188 u8 bcr; member
/linux-6.6.21/include/soc/arc/
Dmcip.h91 #define mcip_idu_bcr_to_nr_irqs(bcr) (4 * (1 << (bcr).cirqnum)) argument
/linux-6.6.21/arch/arc/mm/
Dtlb.c572 unsigned int bcr, u_dtlb, u_itlb, sasid; in arc_mmu_mumbojumbo() local
578 bcr = read_aux_reg(ARC_REG_MMU_BCR); in arc_mmu_mumbojumbo()
579 mmu->ver = (bcr >> 24); in arc_mmu_mumbojumbo()
582 mmu3 = (struct bcr_mmu_3 *)&bcr; in arc_mmu_mumbojumbo()
590 mmu4 = (struct bcr_mmu_4 *)&bcr; in arc_mmu_mumbojumbo()
/linux-6.6.21/arch/arc/kernel/
Dsetup.c293 struct bcr_generic bcr; in arc_cpu_mumbojumbo() local
338 READ_BCR(ARC_REG_SMART_BCR, bcr); in arc_cpu_mumbojumbo()
339 smart = bcr.ver ? 1 : 0; in arc_cpu_mumbojumbo()
341 READ_BCR(ARC_REG_RTT_BCR, bcr); in arc_cpu_mumbojumbo()
342 rtt = bcr.ver ? 1 : 0; in arc_cpu_mumbojumbo()
/linux-6.6.21/include/linux/can/platform/
Dcc770.h31 u8 bcr; /* Bus Configuration Register */ member
/linux-6.6.21/drivers/i3c/
Dmaster.c142 ret = sprintf(buf, "%x\n", desc->info.bcr); in bcr_show()
147 static DEVICE_ATTR_RO(bcr);
927 if (I3C_BCR_DEVICE_ROLE(i3cdev->info.bcr) == in i3c_master_defslvs_locked()
946 defslvs->master.bcr = master->this->info.bcr; in i3c_master_defslvs_locked()
963 desc->bcr = i3cdev->info.bcr; in i3c_master_defslvs_locked()
1031 if (!(info->bcr & I3C_BCR_IBI_PAYLOAD)) in i3c_master_getmrl_locked()
1201 info->bcr = getbcr->bcr; in i3c_master_getbcr_locked()
1261 if (dev->info.bcr & I3C_BCR_MAX_DATA_SPEED_LIM) { in i3c_master_retrieve_dev_info()
1267 if (dev->info.bcr & I3C_BCR_IBI_PAYLOAD) in i3c_master_retrieve_dev_info()
1273 if (dev->info.bcr & I3C_BCR_HDR_CAP) { in i3c_master_retrieve_dev_info()
[all …]
/linux-6.6.21/drivers/mfd/
Dlpc_ich.c1201 u32 bcr; in lpc_ich_set_writeable() local
1203 pci_bus_read_config_dword(bus, devfn, BCR, &bcr); in lpc_ich_set_writeable()
1204 if (!(bcr & BCR_WPD)) { in lpc_ich_set_writeable()
1205 bcr |= BCR_WPD; in lpc_ich_set_writeable()
1206 pci_bus_write_config_dword(bus, devfn, BCR, bcr); in lpc_ich_set_writeable()
1207 pci_bus_read_config_dword(bus, devfn, BCR, &bcr); in lpc_ich_set_writeable()
1210 return bcr & BCR_WPD; in lpc_ich_set_writeable()
/linux-6.6.21/tools/testing/selftests/kvm/aarch64/
Ddebug-exceptions.c167 uint32_t bcr; in install_hw_bp() local
169 bcr = DBGBCR_LEN8 | DBGBCR_EXEC | DBGBCR_EL1 | DBGBCR_E; in install_hw_bp()
170 write_dbgbcr(bpn, bcr); in install_hw_bp()
/linux-6.6.21/drivers/net/can/rcar/
Drcar_can.c65 u8 bcr[3]; /* Bit Configuration Register */ member
427 u32 bcr; in rcar_can_set_bittiming() local
429 bcr = RCAR_CAN_BCR_TSEG1(bt->phase_seg1 + bt->prop_seg - 1) | in rcar_can_set_bittiming()
436 writel((bcr << 8) | priv->clock_select, &priv->regs->bcr); in rcar_can_set_bittiming()
/linux-6.6.21/sound/soc/fsl/
Dfsl_dma.h20 __be32 bcr; /* Byte count register */ member
/linux-6.6.21/arch/powerpc/include/asm/
Dmpc5121.h32 u32 bcr; /* Bread Crumb Register */ member
/linux-6.6.21/arch/arm64/include/asm/
Dhw_breakpoint.h94 #define AARCH64_DBG_REG_NAME_BCR bcr
/linux-6.6.21/drivers/i3c/master/
Dast2600-i3c-master.c113 if (enable && dev->info.bcr & I3C_BCR_IBI_PAYLOAD) { in ast2600_i3c_set_dat_ibi()
Di3c-master-cdns.c300 #define DEV_ID_RR2_BCR(bcr) ((bcr) << 8) argument
1057 info->bcr = rr >> 8; in cdns_i3c_master_dev_rr_to_info()
1275 if (info.bcr & I3C_BCR_HDR_CAP) in cdns_i3c_master_bus_init()
1446 sircfg = SIR_MAP_DEV_ROLE(dev->info.bcr >> 6) | in cdns_i3c_master_enable_ibi()
1451 if (dev->info.bcr & I3C_BCR_MAX_DATA_SPEED_LIM) in cdns_i3c_master_enable_ibi()
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-bus-i3c46 What: /sys/bus/i3c/devices/i3c-<bus-id>/bcr
106 What: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/bcr

12