Home
last modified time | relevance | path

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

12345

/arch/arm/mach-omap2/
Dprminst44xx.c61 u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx) in omap4_prminst_read_inst_reg() argument
63 BUG_ON(part >= OMAP4_MAX_PRCM_PARTITIONS || in omap4_prminst_read_inst_reg()
64 part == OMAP4430_INVALID_PRCM_PARTITION || in omap4_prminst_read_inst_reg()
65 !_prm_bases[part].va); in omap4_prminst_read_inst_reg()
66 return readl_relaxed(_prm_bases[part].va + inst + idx); in omap4_prminst_read_inst_reg()
70 void omap4_prminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx) in omap4_prminst_write_inst_reg() argument
72 BUG_ON(part >= OMAP4_MAX_PRCM_PARTITIONS || in omap4_prminst_write_inst_reg()
73 part == OMAP4430_INVALID_PRCM_PARTITION || in omap4_prminst_write_inst_reg()
74 !_prm_bases[part].va); in omap4_prminst_write_inst_reg()
75 writel_relaxed(val, _prm_bases[part].va + inst + idx); in omap4_prminst_write_inst_reg()
[all …]
Dcminst44xx.c77 static u32 omap4_cminst_read_inst_reg(u8 part, u16 inst, u16 idx);
88 static u32 _clkctrl_idlest(u8 part, u16 inst, u16 clkctrl_offs) in _clkctrl_idlest() argument
90 u32 v = omap4_cminst_read_inst_reg(part, inst, clkctrl_offs); in _clkctrl_idlest()
105 static bool _is_module_ready(u8 part, u16 inst, u16 clkctrl_offs) in _is_module_ready() argument
109 v = _clkctrl_idlest(part, inst, clkctrl_offs); in _is_module_ready()
116 static u32 omap4_cminst_read_inst_reg(u8 part, u16 inst, u16 idx) in omap4_cminst_read_inst_reg() argument
118 BUG_ON(part >= OMAP4_MAX_PRCM_PARTITIONS || in omap4_cminst_read_inst_reg()
119 part == OMAP4430_INVALID_PRCM_PARTITION || in omap4_cminst_read_inst_reg()
120 !_cm_bases[part].va); in omap4_cminst_read_inst_reg()
121 return readl_relaxed(_cm_bases[part].va + inst + idx); in omap4_cminst_read_inst_reg()
[all …]
Dcm.h59 int (*wait_module_ready)(u8 part, s16 prcm_mod, u16 idlest_reg,
61 int (*wait_module_idle)(u8 part, s16 prcm_mod, u16 idlest_reg,
63 void (*module_enable)(u8 mode, u8 part, u16 inst, u16 clkctrl_offs);
64 void (*module_disable)(u8 part, u16 inst, u16 clkctrl_offs);
69 int omap_cm_wait_module_ready(u8 part, s16 prcm_mod, u16 idlest_reg,
71 int omap_cm_wait_module_idle(u8 part, s16 prcm_mod, u16 idlest_reg,
73 int omap_cm_module_enable(u8 mode, u8 part, u16 inst, u16 clkctrl_offs);
74 int omap_cm_module_disable(u8 part, u16 inst, u16 clkctrl_offs);
Dprm.h143 bool (*was_any_context_lost_old)(u8 part, s16 inst, u16 idx);
144 void (*clear_context_loss_flags_old)(u8 part, s16 inst, u16 idx);
146 int (*assert_hardreset)(u8 shift, u8 part, s16 prm_mod, u16 offset);
147 int (*deassert_hardreset)(u8 shift, u8 st_shift, u8 part, s16 prm_mod,
149 int (*is_hardreset_asserted)(u8 shift, u8 part, s16 prm_mod,
160 int omap_prm_assert_hardreset(u8 shift, u8 part, s16 prm_mod, u16 offset);
161 int omap_prm_deassert_hardreset(u8 shift, u8 st_shift, u8 part, s16 prm_mod,
163 int omap_prm_is_hardreset_asserted(u8 shift, u8 part, s16 prm_mod, u16 offset);
165 extern bool prm_was_any_context_lost_old(u8 part, s16 inst, u16 idx);
166 extern void prm_clear_context_loss_flags_old(u8 part, s16 inst, u16 idx);
Dprminst44xx.h23 extern u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx);
24 extern void omap4_prminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx);
25 extern u32 omap4_prminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part,
30 extern int omap4_prminst_is_hardreset_asserted(u8 shift, u8 part, s16 inst,
32 extern int omap4_prminst_assert_hardreset(u8 shift, u8 part, s16 inst,
34 int omap4_prminst_deassert_hardreset(u8 shift, u8 st_shift, u8 part,
Dcm_common.c94 int omap_cm_wait_module_ready(u8 part, s16 prcm_mod, u16 idlest_reg, in omap_cm_wait_module_ready() argument
103 return cm_ll_data->wait_module_ready(part, prcm_mod, idlest_reg, in omap_cm_wait_module_ready()
120 int omap_cm_wait_module_idle(u8 part, s16 prcm_mod, u16 idlest_reg, in omap_cm_wait_module_idle() argument
129 return cm_ll_data->wait_module_idle(part, prcm_mod, idlest_reg, in omap_cm_wait_module_idle()
144 int omap_cm_module_enable(u8 mode, u8 part, u16 inst, u16 clkctrl_offs) in omap_cm_module_enable() argument
152 cm_ll_data->module_enable(mode, part, inst, clkctrl_offs); in omap_cm_module_enable()
166 int omap_cm_module_disable(u8 part, u16 inst, u16 clkctrl_offs) in omap_cm_module_disable() argument
174 cm_ll_data->module_disable(part, inst, clkctrl_offs); in omap_cm_module_disable()
Dprm_common.c403 bool prm_was_any_context_lost_old(u8 part, s16 inst, u16 idx) in prm_was_any_context_lost_old() argument
408 ret = prm_ll_data->was_any_context_lost_old(part, inst, idx); in prm_was_any_context_lost_old()
427 void prm_clear_context_loss_flags_old(u8 part, s16 inst, u16 idx) in prm_clear_context_loss_flags_old() argument
430 prm_ll_data->clear_context_loss_flags_old(part, inst, idx); in prm_clear_context_loss_flags_old()
445 int omap_prm_assert_hardreset(u8 shift, u8 part, s16 prm_mod, u16 offset) in omap_prm_assert_hardreset() argument
453 return prm_ll_data->assert_hardreset(shift, part, prm_mod, offset); in omap_prm_assert_hardreset()
467 int omap_prm_deassert_hardreset(u8 shift, u8 st_shift, u8 part, s16 prm_mod, in omap_prm_deassert_hardreset() argument
476 return prm_ll_data->deassert_hardreset(shift, st_shift, part, prm_mod, in omap_prm_deassert_hardreset()
489 int omap_prm_is_hardreset_asserted(u8 shift, u8 part, s16 prm_mod, u16 offset) in omap_prm_is_hardreset_asserted() argument
497 return prm_ll_data->is_hardreset_asserted(shift, part, prm_mod, offset); in omap_prm_is_hardreset_asserted()
Dcm33xx.c218 static int am33xx_cm_wait_module_ready(u8 part, s16 inst, u16 clkctrl_offs, in am33xx_cm_wait_module_ready() argument
241 static int am33xx_cm_wait_module_idle(u8 part, s16 inst, u16 clkctrl_offs, in am33xx_cm_wait_module_idle() argument
262 static void am33xx_cm_module_enable(u8 mode, u8 part, u16 inst, in am33xx_cm_module_enable() argument
281 static void am33xx_cm_module_disable(u8 part, u16 inst, u16 clkctrl_offs) in am33xx_cm_module_disable() argument
Dprm2xxx_3xxx.h103 int omap2_prm_is_hardreset_asserted(u8 shift, u8 part, s16 prm_mod, u16 offset);
104 int omap2_prm_assert_hardreset(u8 shift, u8 part, s16 prm_mod,
106 int omap2_prm_deassert_hardreset(u8 rst_shift, u8 st_shift, u8 part,
Dprm2xxx_3xxx.c36 int omap2_prm_is_hardreset_asserted(u8 shift, u8 part, s16 prm_mod, u16 offset) in omap2_prm_is_hardreset_asserted() argument
56 int omap2_prm_assert_hardreset(u8 shift, u8 part, s16 prm_mod, u16 offset) in omap2_prm_assert_hardreset() argument
85 int omap2_prm_deassert_hardreset(u8 rst_shift, u8 st_shift, u8 part, in omap2_prm_deassert_hardreset() argument
Dcm2xxx.h57 int omap2xxx_cm_wait_module_ready(u8 part, s16 prcm_mod, u16 idlest_id,
Dprm33xx.c67 static int am33xx_prm_is_hardreset_asserted(u8 shift, u8 part, s16 inst, in am33xx_prm_is_hardreset_asserted() argument
93 static int am33xx_prm_assert_hardreset(u8 shift, u8 part, s16 inst, in am33xx_prm_assert_hardreset() argument
122 static int am33xx_prm_deassert_hardreset(u8 shift, u8 st_shift, u8 part, in am33xx_prm_deassert_hardreset() argument
Dprm44xx.c400 static bool omap44xx_prm_was_any_context_lost_old(u8 part, s16 inst, u16 idx) in omap44xx_prm_was_any_context_lost_old() argument
402 return (omap4_prminst_read_inst_reg(part, inst, idx)) ? 1 : 0; in omap44xx_prm_was_any_context_lost_old()
415 static void omap44xx_prm_clear_context_loss_flags_old(u8 part, s16 inst, in omap44xx_prm_clear_context_loss_flags_old() argument
418 omap4_prminst_write_inst_reg(0xffffffff, part, inst, idx); in omap44xx_prm_clear_context_loss_flags_old()
/arch/powerpc/kernel/
Dnvram_64.c190 int nvram_write_os_partition(struct nvram_os_partition *part, in nvram_write_os_partition() argument
199 if (part->index == -1) in nvram_write_os_partition()
202 if (length > part->size) in nvram_write_os_partition()
203 length = part->size; in nvram_write_os_partition()
208 tmp_index = part->index; in nvram_write_os_partition()
230 int nvram_read_partition(struct nvram_os_partition *part, char *buff, in nvram_read_partition() argument
238 if (part->index == -1) in nvram_read_partition()
241 if (length > part->size) in nvram_read_partition()
242 length = part->size; in nvram_read_partition()
244 tmp_index = part->index; in nvram_read_partition()
[all …]
Dptrace32.c127 u32 part; in compat_arch_ptrace() local
135 part = 1; /* want the 2nd half of the register (right-most). */ in compat_arch_ptrace()
137 part = 0; /* want the 1st half of the register (left-most). */ in compat_arch_ptrace()
157 reg32bits = ((u32*)&tmp)[part]; in compat_arch_ptrace()
/arch/metag/mm/
Dcache.c204 int part, offset; in metag_phys_data_cache_flush() local
219 part = metag_in32(SYSC_DCPART0 + in metag_phys_data_cache_flush()
224 part >>= SYSC_xCPARTG_AND_S in metag_phys_data_cache_flush()
228 offset = (part & SYSC_xCPARTL_OR_BITS) in metag_phys_data_cache_flush()
233 part = (part & SYSC_xCPARTL_AND_BITS) in metag_phys_data_cache_flush()
235 loops = ((part + 1) << (set_shift - 4)); in metag_phys_data_cache_flush()
350 int part, offset; in metag_phys_code_cache_flush() local
362 part = metag_in32(SYSC_ICPART0 + in metag_phys_code_cache_flush()
367 part >>= SYSC_xCPARTG_AND_S-SYSC_xCPARTL_AND_S; in metag_phys_code_cache_flush()
370 offset = (part & SYSC_xCPARTL_OR_BITS) in metag_phys_code_cache_flush()
[all …]
/arch/powerpc/include/asm/
Dnvram.h85 extern int __init nvram_init_os_partition(struct nvram_os_partition *part);
91 extern int nvram_read_partition(struct nvram_os_partition *part, char *buff,
96 extern int nvram_write_os_partition(struct nvram_os_partition *part,
/arch/cris/arch-v32/drivers/
Daxisflashmap.c315 int part; in init_axis_flash() local
544 for (part = 0; part < pidx; part++) { in init_axis_flash()
545 if (part == ram_rootfs_partition) { in init_axis_flash()
556 (void *)(u_int32_t)partition[part].offset, in init_axis_flash()
557 partition[part].size, in init_axis_flash()
558 partition[part].name); in init_axis_flash()
569 err = mtd_device_register(main_mtd, &partition[part], in init_axis_flash()
573 "partition %d\n", part); in init_axis_flash()
/arch/x86/platform/uv/
Dbios_uv.c118 union partition_info_u part; in uv_bios_get_sn_info() local
125 part.val = v0; in uv_bios_get_sn_info()
127 *uvtype = part.hub_version; in uv_bios_get_sn_info()
129 *partid = part.partition_id; in uv_bios_get_sn_info()
131 *coher = part.coherence_id; in uv_bios_get_sn_info()
133 *region = part.region_size; in uv_bios_get_sn_info()
/arch/alpha/lib/
Dev6-divide.S177 nop # E : as part of the cmovne
183 nop # E : as part of the cmovne
188 nop # E : as part of the cmovne
239 nop # E : as part of the cmov
256 nop # E : U L L U : as part of the cmov
259 nop # E : as part of the cmov
/arch/sparc/
DKbuild2 # core part of the sparc kernel
/arch/arm/lib/
Ddiv64.S62 @ Align divisor with upper part of dividend.
117 @ The top part of remainder became zero. If carry is set
119 @ Otherwise, if lower part is also null then we are done.
124 @ We still have remainer bits in the low part. Bring them up.
/arch/arm/include/asm/hardware/
Dcache-l2x0.h170 void l2x0_pmu_register(void __iomem *base, u32 part);
174 static inline void l2x0_pmu_register(void __iomem *base, u32 part) {} in l2x0_pmu_register() argument
/arch/blackfin/mach-common/
Darch_checks.c55 # error You are using a part with anomaly 05000448, this issue causes random memory read/write fail…
/arch/powerpc/platforms/powermac/
Dsetup.c355 void note_bootable_part(dev_t dev, int part, int goodness);
362 void __ref note_bootable_part(dev_t dev, int part, int goodness) in note_bootable_part() argument
375 ROOT_DEV = dev + part; in note_bootable_part()

12345