Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/memory/
Dstm32-fmc2-ebi.c139 u32 bcr[FMC2_MAX_EBI_CE]; member
181 u32 bcr; in stm32_fmc2_ebi_check_mux() local
183 regmap_read(ebi->regmap, FMC2_BCR(cs), &bcr); in stm32_fmc2_ebi_check_mux()
185 if (bcr & FMC2_BCR_MTYP) in stm32_fmc2_ebi_check_mux()
195 u32 bcr, val = FIELD_PREP(FMC2_BCR_MTYP, FMC2_BCR_MTYP_NOR); in stm32_fmc2_ebi_check_waitcfg() local
197 regmap_read(ebi->regmap, FMC2_BCR(cs), &bcr); in stm32_fmc2_ebi_check_waitcfg()
199 if ((bcr & FMC2_BCR_MTYP) == val && bcr & FMC2_BCR_BURSTEN) in stm32_fmc2_ebi_check_waitcfg()
209 u32 bcr; in stm32_fmc2_ebi_check_sync_trans() local
211 regmap_read(ebi->regmap, FMC2_BCR(cs), &bcr); in stm32_fmc2_ebi_check_sync_trans()
213 if (bcr & FMC2_BCR_BURSTEN) in stm32_fmc2_ebi_check_sync_trans()
[all …]
/kernel/linux/linux-5.10/drivers/mtd/spi-nor/controllers/
Dintel-spi-pci.c32 u32 bcr; in intel_spi_pci_probe() local
45 pci_read_config_dword(pdev, BCR, &bcr); in intel_spi_pci_probe()
46 if (!(bcr & BCR_WPD)) { in intel_spi_pci_probe()
47 bcr |= BCR_WPD; in intel_spi_pci_probe()
48 pci_write_config_dword(pdev, BCR, bcr); in intel_spi_pci_probe()
49 pci_read_config_dword(pdev, BCR, &bcr); in intel_spi_pci_probe()
51 info->writeable = !!(bcr & BCR_WPD); in intel_spi_pci_probe()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
Dcc770_platform.c153 priv->bus_config = pdata->bcr; in cc770_get_platform_data()
/kernel/linux/linux-5.10/include/linux/i3c/
Ddevice.h86 #define I3C_BCR_DEVICE_ROLE(bcr) ((bcr) & GENMASK(7, 6)) argument
120 u8 bcr; member
Dccc.h116 u8 bcr; member
188 u8 bcr; member
/kernel/linux/linux-5.10/include/soc/arc/
Dmcip.h91 #define mcip_idu_bcr_to_nr_irqs(bcr) (4 * (1 << (bcr).cirqnum)) argument
/kernel/linux/linux-5.10/arch/arc/kernel/
Dsetup.c167 struct bcr_generic bcr; in read_arc_build_cfg_regs() local
238 READ_BCR(ARC_REG_SMART_BCR, bcr); in read_arc_build_cfg_regs()
239 cpu->extn.smart = bcr.ver ? 1 : 0; in read_arc_build_cfg_regs()
241 READ_BCR(ARC_REG_RTT_BCR, bcr); in read_arc_build_cfg_regs()
242 cpu->extn.rtt = bcr.ver ? 1 : 0; in read_arc_build_cfg_regs()
252 struct bcr_generic bcr = *(struct bcr_generic *)&isa; in read_arc_build_cfg_regs() local
253 cpu->isa.atomic = bcr.info & 1; in read_arc_build_cfg_regs()
/kernel/linux/linux-5.10/include/linux/can/platform/
Dcc770.h31 u8 bcr; /* Bus Configuration Register */ member
/kernel/linux/linux-5.10/drivers/i3c/
Dmaster.c141 ret = sprintf(buf, "%x\n", desc->info.bcr); in bcr_show()
146 static DEVICE_ATTR_RO(bcr);
919 if (I3C_BCR_DEVICE_ROLE(i3cdev->info.bcr) == in i3c_master_defslvs_locked()
938 defslvs->master.bcr = master->this->info.bcr; in i3c_master_defslvs_locked()
955 desc->bcr = i3cdev->info.bcr; in i3c_master_defslvs_locked()
1023 if (!(info->bcr & I3C_BCR_IBI_PAYLOAD)) in i3c_master_getmrl_locked()
1193 info->bcr = getbcr->bcr; in i3c_master_getbcr_locked()
1253 if (dev->info.bcr & I3C_BCR_MAX_DATA_SPEED_LIM) { in i3c_master_retrieve_dev_info()
1259 if (dev->info.bcr & I3C_BCR_IBI_PAYLOAD) in i3c_master_retrieve_dev_info()
1265 if (dev->info.bcr & I3C_BCR_HDR_CAP) { in i3c_master_retrieve_dev_info()
[all …]
/kernel/linux/linux-5.10/sound/soc/fsl/
Dfsl_dma.h20 __be32 bcr; /* Byte count register */ member
Dfsl_dma.c474 out_be32(&dma_channel->bcr, 0); in fsl_dma_open()
786 out_be32(&dma_channel->bcr, 0); in fsl_dma_hw_free()
/kernel/linux/linux-5.10/drivers/net/can/rcar/
Drcar_can.c65 u8 bcr[3]; /* Bit Configuration Register */ member
431 u32 bcr; in rcar_can_set_bittiming() local
433 bcr = RCAR_CAN_BCR_TSEG1(bt->phase_seg1 + bt->prop_seg - 1) | in rcar_can_set_bittiming()
440 writel((bcr << 8) | priv->clock_select, &priv->regs->bcr); in rcar_can_set_bittiming()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dmpc5121.h32 u32 bcr; /* Bread Crumb Register */ member
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dhw_breakpoint.h94 #define AARCH64_DBG_REG_NAME_BCR bcr
/kernel/linux/linux-5.10/drivers/mfd/
Dlpc_ich.c1091 u32 spi_base, rcba, bcr; in lpc_ich_init_spi() local
1115 pci_read_config_dword(dev, BCR, &bcr); in lpc_ich_init_spi()
1116 info->writeable = !!(bcr & BCR_WPD); in lpc_ich_init_spi()
1137 pci_bus_read_config_dword(bus, spi, BCR, &bcr); in lpc_ich_init_spi()
1138 info->writeable = !!(bcr & BCR_WPD); in lpc_ich_init_spi()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/i3c/master/
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()
1444 sircfg = SIR_MAP_DEV_ROLE(dev->info.bcr >> 6) | in cdns_i3c_master_enable_ibi()
1449 if (dev->info.bcr & I3C_BCR_MAX_DATA_SPEED_LIM) in cdns_i3c_master_enable_ibi()
/kernel/linux/linux-5.10/drivers/dma/
Dfsldma.h113 u32 bcr; /* 0x20 - Byte Count Register */ member
Dfsldma.c81 FSL_DMA_OUT(chan, &chan->regs->bcr, val, 32); in set_bcr()
86 return FSL_DMA_IN(chan, &chan->regs->bcr, 32); in get_bcr()
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc.c239 int ry, rcr, rcb, gy, gcr, gcb, by, bcr, bcb; member
671 dispc_write_reg(DISPC_OVL_CONV_COEF(plane, 3), CVAL(ct->bcr, ct->by)); in dispc_ovl_write_color_conv_coef()
/kernel/linux/linux-5.10/arch/s390/tools/
Dopcodes.txt16 07 bcr RR_UR
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Ddispc.c851 int ry, rcb, rcr, gy, gcb, gcr, by, bcb, bcr; member
869 dispc_write_reg(dispc, DISPC_OVL_CONV_COEF(plane, 3), CVAL(ct->bcr, ct->by)); in dispc_ovl_write_color_conv_coef()