Home
last modified time | relevance | path

Searched refs:cur_target (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dspl_power_init.c1132 cur_target = readl(cfg->reg); in mxs_power_set_vddx()
1133 cur_target &= cfg->trg_mask; in mxs_power_set_vddx()
1134 cur_target *= cfg->step_mV; in mxs_power_set_vddx()
1135 cur_target += cfg->lowest_mV; in mxs_power_set_vddx()
1152 diff = cur_target + 100; in mxs_power_set_vddx()
1154 diff = cur_target - 100; in mxs_power_set_vddx()
1176 cur_target = readl(cfg->reg); in mxs_power_set_vddx()
1177 cur_target &= cfg->trg_mask; in mxs_power_set_vddx()
1178 cur_target *= cfg->step_mV; in mxs_power_set_vddx()
1179 cur_target += cfg->lowest_mV; in mxs_power_set_vddx()
[all …]
/openbmc/linux/drivers/scsi/
H A Dnsp32.c845 data->cur_target = &(data->target[newid]); in nsp32_reselection()
981 data->cur_target = target; in nsp32_queuecommand_lck()
1551 data->cur_target = NULL; in nsp32_scsi_done()
1651 nsp32_set_async(data, data->cur_target); in nsp32_busfree_occur()
1653 data->cur_target->sync_flag |= SDTR_DONE; in nsp32_busfree_occur()
1670 nsp32_set_async(data, data->cur_target); in nsp32_busfree_occur()
1673 data->cur_target->sync_flag |= SDTR_DONE; in nsp32_busfree_occur()
2042 if (data->cur_target->sync_flag & in nsp32_msgin_occur()
2581 data->cur_target = NULL; in nsp32_detect()
2823 data->cur_target->sync_flag = 0; in nsp32_eh_abort()
[all …]
H A Dnsp32.h585 nsp32_target *cur_target; /* Current connected SCSI ID */ member
/openbmc/u-boot/drivers/mtd/nand/spi/
H A Dcore.c80 if (WARN_ON(spinand->cur_target < 0 || in spinand_get_cfg()
81 spinand->cur_target >= nand->memorg.ntargets)) in spinand_get_cfg()
84 *cfg = spinand->cfg_cache[spinand->cur_target]; in spinand_get_cfg()
93 if (WARN_ON(spinand->cur_target < 0 || in spinand_set_cfg()
94 spinand->cur_target >= nand->memorg.ntargets)) in spinand_set_cfg()
97 if (spinand->cfg_cache[spinand->cur_target] == cfg) in spinand_set_cfg()
104 spinand->cfg_cache[spinand->cur_target] = cfg; in spinand_set_cfg()
150 if (spinand->cur_target == target) in spinand_select_target()
154 spinand->cur_target = target; in spinand_select_target()
162 spinand->cur_target = target; in spinand_select_target()
/openbmc/linux/drivers/mtd/nand/spi/
H A Dcore.c55 if (WARN_ON(spinand->cur_target < 0 || in spinand_get_cfg()
56 spinand->cur_target >= nand->memorg.ntargets)) in spinand_get_cfg()
59 *cfg = spinand->cfg_cache[spinand->cur_target]; in spinand_get_cfg()
68 if (WARN_ON(spinand->cur_target < 0 || in spinand_set_cfg()
69 spinand->cur_target >= nand->memorg.ntargets)) in spinand_set_cfg()
72 if (spinand->cfg_cache[spinand->cur_target] == cfg) in spinand_set_cfg()
79 spinand->cfg_cache[spinand->cur_target] = cfg; in spinand_set_cfg()
125 if (spinand->cur_target == target) in spinand_select_target()
129 spinand->cur_target = target; in spinand_select_target()
137 spinand->cur_target = target; in spinand_select_target()
/openbmc/u-boot/include/linux/mtd/
H A Dspinand.h356 unsigned int cur_target; member
/openbmc/linux/include/linux/mtd/
H A Dspinand.h443 unsigned int cur_target; member