Searched refs:part (Results 1 - 25 of 42) sorted by relevance

12

/arch/arm/mach-omap2/
H A Dprminst44xx.c67 u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx) argument
69 BUG_ON(part >= OMAP4_MAX_PRCM_PARTITIONS ||
70 part == OMAP4430_INVALID_PRCM_PARTITION ||
71 !_prm_bases[part]);
72 return readl_relaxed(_prm_bases[part] + inst + idx);
76 void omap4_prminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx) argument
78 BUG_ON(part >= OMAP4_MAX_PRCM_PARTITIONS ||
79 part == OMAP4430_INVALID_PRCM_PARTITION ||
80 !_prm_bases[part]);
81 writel_relaxed(val, _prm_bases[part]
85 omap4_prminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part, s16 inst, u16 idx) argument
114 omap4_prminst_is_hardreset_asserted(u8 shift, u8 part, s16 inst, u16 rstctrl_offs) argument
138 omap4_prminst_assert_hardreset(u8 shift, u8 part, s16 inst, u16 rstctrl_offs) argument
163 omap4_prminst_deassert_hardreset(u8 shift, u8 part, s16 inst, u16 rstctrl_offs) argument
[all...]
H A Dcminst44xx.h14 bool omap4_cminst_is_clkdm_in_hwsup(u8 part, u16 inst, u16 cdoffs);
15 void omap4_cminst_clkdm_enable_hwsup(u8 part, u16 inst, u16 cdoffs);
16 void omap4_cminst_clkdm_disable_hwsup(u8 part, u16 inst, u16 cdoffs);
17 void omap4_cminst_clkdm_force_sleep(u8 part, u16 inst, u16 cdoffs);
18 void omap4_cminst_clkdm_force_wakeup(u8 part, u16 inst, u16 cdoffs);
19 extern int omap4_cminst_wait_module_ready(u8 part, u16 inst, s16 cdoffs, u16 clkctrl_offs);
20 extern int omap4_cminst_wait_module_idle(u8 part, u16 inst, s16 cdoffs,
22 extern void omap4_cminst_module_enable(u8 mode, u8 part, u16 inst, s16 cdoffs,
24 extern void omap4_cminst_module_disable(u8 part, u16 inst, s16 cdoffs,
30 u32 omap4_cminst_read_inst_reg(u8 part, u1
[all...]
H A Dprminst44xx.h22 extern u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx);
23 extern void omap4_prminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx);
24 extern u32 omap4_prminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part,
29 extern int omap4_prminst_is_hardreset_asserted(u8 shift, u8 part, s16 inst,
31 extern int omap4_prminst_assert_hardreset(u8 shift, u8 part, s16 inst,
33 extern int omap4_prminst_deassert_hardreset(u8 shift, u8 part, s16 inst,
H A Dcminst44xx.c49 * 0x2 idle: Module is in Idle mode (only OCP part). It is functional if
79 * @part: PRCM partition ID that the CM_CLKCTRL register exists in
87 static u32 _clkctrl_idlest(u8 part, u16 inst, s16 cdoffs, u16 clkctrl_offs) argument
89 u32 v = omap4_cminst_read_inst_reg(part, inst, clkctrl_offs);
97 * @part: PRCM partition ID that the CM_CLKCTRL register exists in
105 static bool _is_module_ready(u8 part, u16 inst, s16 cdoffs, u16 clkctrl_offs) argument
109 v = _clkctrl_idlest(part, inst, cdoffs, clkctrl_offs);
118 u32 omap4_cminst_read_inst_reg(u8 part, u16 inst, u16 idx) argument
120 BUG_ON(part >= OMAP4_MAX_PRCM_PARTITIONS ||
121 part
127 omap4_cminst_write_inst_reg(u32 val, u8 part, u16 inst, u16 idx) argument
136 omap4_cminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part, u16 inst, s16 idx) argument
149 omap4_cminst_set_inst_reg_bits(u32 bits, u8 part, u16 inst, s16 idx) argument
154 omap4_cminst_clear_inst_reg_bits(u32 bits, u8 part, u16 inst, s16 idx) argument
159 omap4_cminst_read_inst_reg_bits(u8 part, u16 inst, s16 idx, u32 mask) argument
184 _clktrctrl_write(u8 c, u8 part, u16 inst, u16 cdoffs) argument
203 omap4_cminst_is_clkdm_in_hwsup(u8 part, u16 inst, u16 cdoffs) argument
223 omap4_cminst_clkdm_enable_hwsup(u8 part, u16 inst, u16 cdoffs) argument
238 omap4_cminst_clkdm_disable_hwsup(u8 part, u16 inst, u16 cdoffs) argument
252 omap4_cminst_clkdm_force_wakeup(u8 part, u16 inst, u16 cdoffs) argument
261 omap4_cminst_clkdm_force_sleep(u8 part, u16 inst, u16 cdoffs) argument
278 omap4_cminst_wait_module_ready(u8 part, u16 inst, s16 cdoffs, u16 clkctrl_offs) argument
304 omap4_cminst_wait_module_idle(u8 part, u16 inst, s16 cdoffs, u16 clkctrl_offs) argument
328 omap4_cminst_module_enable(u8 mode, u8 part, u16 inst, s16 cdoffs, u16 clkctrl_offs) argument
348 omap4_cminst_module_disable(u8 part, u16 inst, s16 cdoffs, u16 clkctrl_offs) argument
[all...]
H A Dprm.h136 bool (*was_any_context_lost_old)(u8 part, s16 inst, u16 idx);
137 void (*clear_context_loss_flags_old)(u8 part, s16 inst, u16 idx);
145 extern bool prm_was_any_context_lost_old(u8 part, s16 inst, u16 idx);
146 extern void prm_clear_context_loss_flags_old(u8 part, s16 inst, u16 idx);
H A Dboard-flash.h34 static inline void board_flash_init(struct flash_partitions part[], argument
H A Dprm_common.c382 * @part: PRM partition ID (e.g., OMAP4430_PRM_PARTITION)
387 * identified by (@part, @inst, @idx), which means that some context
392 bool prm_was_any_context_lost_old(u8 part, s16 inst, u16 idx) argument
397 ret = prm_ll_data->was_any_context_lost_old(part, inst, idx);
407 * @part: PRM partition ID (e.g., OMAP4430_PRM_PARTITION)
412 * (@part, @inst, @idx). No return value. XXX Deprecated; callers
416 void prm_clear_context_loss_flags_old(u8 part, s16 inst, u16 idx) argument
419 prm_ll_data->clear_context_loss_flags_old(part, inst, idx);
H A Dprm44xx.c381 * @part: PRM partition ID (e.g., OMAP4430_PRM_PARTITION)
386 * identified by (@part, @inst, @idx), which means that some context
389 static bool omap44xx_prm_was_any_context_lost_old(u8 part, s16 inst, u16 idx) argument
391 return (omap4_prminst_read_inst_reg(part, inst, idx)) ? 1 : 0;
396 * @part: PRM partition ID (e.g., OMAP4430_PRM_PARTITION)
401 * (@part, @inst, @idx). No return value. XXX Writes to reserved bits;
404 static void omap44xx_prm_clear_context_loss_flags_old(u8 part, s16 inst, argument
407 omap4_prminst_write_inst_reg(0xffffffff, part, inst, idx);
/arch/powerpc/kernel/
H A Dnvram_64.c13 * TODO: Split the /dev/nvram part (that one can use
169 int part, offset; local
173 if (copy_from_user(&part, (void __user*)arg, sizeof(part)) != 0)
175 if (part < pmac_nvram_OF || part > pmac_nvram_NR)
177 offset = pmac_get_partition(part);
222 static int __init nvram_write_header(struct nvram_partition * part) argument
228 memcpy(&phead, &part->header, NVRAM_HEADER_LEN);
231 tmp_index = part
256 nvram_can_remove_partition(struct nvram_partition *part, const char *name, int sig, const char *exceptions[]) argument
286 struct nvram_partition *part, *prev, *tmp; local
344 struct nvram_partition *part; local
447 struct nvram_partition *part; local
[all...]
H A Dptrace32.c127 u32 part; local
133 /* Determine which part of the register the user wants */
135 part = 1; /* want the 2nd half of the register (right-most). */
137 part = 0; /* want the 1st half of the register (left-most). */
157 reg32bits = ((u32*)&tmp)[part];
253 /* ... write the 32 bit part we want */
/arch/powerpc/platforms/pseries/
H A Dnvram.c279 static int nvram_write_os_partition(struct nvram_os_partition *part, argument
288 if (part->index == -1) {
292 if (length > part->size) {
293 length = part->size;
299 tmp_index = part->index;
335 static int nvram_read_partition(struct nvram_os_partition *part, char *buff, argument
343 if (part->index == -1)
346 if (length > part->size)
347 length = part->size;
349 tmp_index = part
427 pseries_nvram_init_os_partition(struct nvram_os_partition *part) argument
563 nvram_pstore_write(enum pstore_type_id type, enum kmsg_dump_reason reason, u64 *id, unsigned int part, int count, bool compressed, size_t size, struct pstore_info *psi) argument
606 struct nvram_os_partition *part = NULL; local
[all...]
/arch/metag/mm/
H A Dcache.c204 int part, offset; local
219 part = metag_in32(SYSC_DCPART0 +
224 part >>= SYSC_xCPARTG_AND_S
228 offset = (part & SYSC_xCPARTL_OR_BITS)
233 part = (part & SYSC_xCPARTL_AND_BITS)
235 loops = ((part + 1) << (set_shift - 4));
350 int part, offset; local
362 part = metag_in32(SYSC_ICPART0 +
367 part >>
[all...]
/arch/x86/platform/uv/
H A Dbios_uv.c91 union partition_info_u part; local
98 part.val = v0;
100 *uvtype = part.hub_version;
102 *partid = part.partition_id;
104 *coher = part.coherence_id;
106 *region = part.region_size;
/arch/alpha/lib/
H A Dev6-divide.S175 nop # E : as part of the cmovne
181 nop # E : as part of the cmovne
186 nop # E : as part of the cmovne
236 nop # E : as part of the cmov
253 nop # E : U L L U : as part of the cmov
256 nop # E : as part of the cmov
H A Dev67-strchr.S41 mskqh t4, a0, t4 # U : only want relevant part of first quad
/arch/cris/arch-v32/drivers/
H A Daxisflashmap.c315 int part; local
571 for (part = 0; part < pidx; part++) {
572 if (part == ram_rootfs_partition) {
583 (void *)partition[part].offset,
584 partition[part].size,
585 partition[part].name);
596 err = mtd_device_register(main_mtd, &partition[part],
600 "partition %d\n", part);
[all...]
/arch/blackfin/mach-common/
H A Darch_checks.c55 # error You are using a part with anomaly 05000448, this issue causes random memory read/write failures - that means random crashes.
/arch/arm/lib/
H A 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/boot/dts/
H A Darmada-xp.dtsi41 cache-id-part = <0x100>;
H A Darmada-370.dtsi97 cache-id-part = <0x100>;
/arch/mips/dec/
H A Dint-handler.S167 # upper part of IOASIC Address
184 # upper part of IOASIC Address
/arch/s390/lib/
H A Dqrnnd.S26 ahi %r1,1 # trick part 2: add 1 to the quotient
/arch/m68k/fpsp040/
H A Dsgetem.S106 | ms mantissa part in d0
107 | ls mantissa part in d1
/arch/powerpc/platforms/powermac/
H A Dsetup.c368 void __init_refok note_bootable_part(dev_t dev, int part, int goodness) argument
381 ROOT_DEV = dev + part;
526 * This is called very early, as part of console_init() (typically just after
612 * part of the cacheable linar mapping
/arch/arm/mach-pxa/
H A Dsleep.S61 @ set SDCLKx divide-by-2 bits (this is part of a workaround for Errata 50)

Completed in 454 milliseconds

12