Searched refs:cs_idx (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/common/ |
H A D | iomux.c | 29 int i, j, k, io_flag, cs_idx, repeat; in iomux_doenv() local 94 cs_idx = 0; in iomux_doenv() 108 for (k = 0; k < cs_idx; k++) { in iomux_doenv() 122 cons_set[cs_idx++] = dev; in iomux_doenv() 127 if (cs_idx == 0) { in iomux_doenv() 134 cs_idx * sizeof(struct stdio_dev *)); in iomux_doenv() 139 memcpy(console_devices[console], cons_set, cs_idx * in iomux_doenv() 142 cd_count[console] = cs_idx; in iomux_doenv()
|
/openbmc/linux/drivers/bus/ |
H A D | imx-weim.c | 140 u32 cs_idx, value[MAX_CS_REGS_COUNT]; in weim_timing_setup() local 174 reg_idx * OF_REG_SIZE, &cs_idx); in weim_timing_setup() 178 if (cs_idx >= devtype->cs_count) in weim_timing_setup() 182 cst = &ts->cs[cs_idx]; in weim_timing_setup() 192 base + cs_idx * devtype->cs_stride + i * 4); in weim_timing_setup()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | arasan-nand-controller.c | 188 int *cs_idx; member 311 return anand->cs_idx[num]; in anfc_relative_to_absolute_cs() 1290 anand->cs_idx = devm_kcalloc(nfc->dev, anand->ncs_idx, in anfc_chip_init() 1291 sizeof(*anand->cs_idx), GFP_KERNEL); in anfc_chip_init() 1292 if (!anand->cs_idx) in anfc_chip_init() 1297 &anand->cs_idx[i]); in anfc_chip_init()
|