Home
last modified time | relevance | path

Searched refs:nr_bits (Results 1 – 13 of 13) sorted by relevance

/arch/sh/drivers/
Dheartbeat.c70 if ((bit == 0) || (bit == (hd->nr_bits)-1)) in heartbeat_timer()
112 if (!hd->nr_bits) { in heartbeat_drv_probe()
114 hd->nr_bits = ARRAY_SIZE(default_bit_pos); in heartbeat_drv_probe()
118 for (i = 0; i < hd->nr_bits; i++) in heartbeat_drv_probe()
/arch/sh/include/asm/
Dheartbeat.h11 unsigned int nr_bits; member
/arch/arm/mach-omap2/
Dsdram-nokia.c165 int mask, nr_bits; in set_sdrc_timing_regval() local
167 nr_bits = end_bit - st_bit + 1; in set_sdrc_timing_regval()
168 if (ticks >= 1 << nr_bits) in set_sdrc_timing_regval()
170 mask = (1 << nr_bits) - 1; in set_sdrc_timing_regval()
Dgpmc.c290 int ticks, mask, nr_bits; in set_gpmc_timing_reg() local
296 nr_bits = end_bit - st_bit + 1; in set_gpmc_timing_reg()
297 if (ticks >= 1 << nr_bits) { in set_gpmc_timing_reg()
300 cs, name, time, ticks, 1 << nr_bits); in set_gpmc_timing_reg()
305 mask = (1 << nr_bits) - 1; in set_gpmc_timing_reg()
/arch/sh/boards/mach-se/7751/
Dsetup.c22 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
/arch/sh/boards/mach-se/7206/
Dsetup.c52 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
/arch/sh/boards/mach-se/7721/
Dsetup.c25 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
/arch/arm/plat-samsung/
Dclock-clksrc.c31 static inline u32 bit_mask(u32 shift, u32 nr_bits) in bit_mask() argument
33 u32 mask = 0xffffffff >> (32 - nr_bits); in bit_mask()
/arch/sh/boards/
Dboard-polaris.c69 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
Dboard-sh7757lcr.c39 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
/arch/sh/boards/mach-se/770x/
Dsetup.c95 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
/arch/sh/boards/mach-highlander/
Dsetup.c142 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
/arch/sh/boards/mach-ecovec24/
Dsetup.c87 .nr_bits = 4,