Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/sysdev/
Dfsl_gtm.c174 u8 sps; in gtm_set_ref_timer16() local
198 sps = prescaler - 1; in gtm_set_ref_timer16()
201 sps = prescaler / 256 - 1; in gtm_set_ref_timer16()
217 clrsetbits_be16(tmr->gtmdr, 0xFFFF, iclk | GTMDR_SPS(sps) | in gtm_set_ref_timer16()
/linux-2.6.39/arch/powerpc/mm/
Dtlb_nohash.c411 unsigned int ps, sps; in setup_page_sizes() local
413 sps = eptcfg & 0x1f; in setup_page_sizes()
417 if (!ps || !sps) in setup_page_sizes()
424 if (sps == (def->shift - 10)) in setup_page_sizes()
/linux-2.6.39/drivers/staging/iio/gyro/
Dadis16260_core.c261 int sps; in adis16260_read_frequency() local
269 sps = (t & ADIS16260_SMPL_PRD_TIME_BASE) ? 8 : 256; in adis16260_read_frequency()
271 sps = (t & ADIS16260_SMPL_PRD_TIME_BASE) ? 66 : 2048; in adis16260_read_frequency()
272 sps /= (t & ADIS16260_SMPL_PRD_DIV_MASK) + 1; in adis16260_read_frequency()
273 len = sprintf(buf, "%d SPS\n", sps); in adis16260_read_frequency()
/linux-2.6.39/fs/dlm/
Dconfig.c410 struct dlm_spaces *sps = NULL; in make_cluster() local
416 sps = kzalloc(sizeof(struct dlm_spaces), GFP_NOFS); in make_cluster()
419 if (!cl || !gps || !sps || !cms) in make_cluster()
423 config_group_init_type_name(&sps->ss_group, "spaces", &spaces_type); in make_cluster()
427 cl->group.default_groups[0] = &sps->ss_group; in make_cluster()
443 space_list = &sps->ss_group; in make_cluster()
450 kfree(sps); in make_cluster()
/linux-2.6.39/drivers/staging/iio/imu/
Dadis16300_core.c284 int sps; in adis16300_read_frequency() local
290 sps = (t & ADIS16300_SMPL_PRD_TIME_BASE) ? 53 : 1638; in adis16300_read_frequency()
291 sps /= (t & ADIS16300_SMPL_PRD_DIV_MASK) + 1; in adis16300_read_frequency()
292 len = sprintf(buf, "%d SPS\n", sps); in adis16300_read_frequency()
Dadis16400_core.c258 int sps; in adis16400_read_frequency() local
264 sps = (t & ADIS16400_SMPL_PRD_TIME_BASE) ? 53 : 1638; in adis16400_read_frequency()
265 sps /= (t & ADIS16400_SMPL_PRD_DIV_MASK) + 1; in adis16400_read_frequency()
266 len = sprintf(buf, "%d SPS\n", sps); in adis16400_read_frequency()
Dadis16350_core.c251 int sps; in adis16350_read_frequency() local
257 sps = (t & ADIS16350_SMPL_PRD_TIME_BASE) ? 53 : 1638; in adis16350_read_frequency()
258 sps /= (t & ADIS16350_SMPL_PRD_DIV_MASK) + 1; in adis16350_read_frequency()
259 len = sprintf(buf, "%d SPS\n", sps); in adis16350_read_frequency()
/linux-2.6.39/drivers/staging/iio/meter/
Dade7759.c360 int sps; in ade7759_read_frequency() local
368 sps = 27900 / (1 + t); in ade7759_read_frequency()
370 return sprintf(buf, "%d\n", sps); in ade7759_read_frequency()
Dade7753.c401 int sps; in ade7753_read_frequency() local
407 sps = 27900 / (1 + t); in ade7753_read_frequency()
409 len = sprintf(buf, "%d\n", sps); in ade7753_read_frequency()
Dade7754.c420 int sps; in ade7754_read_frequency() local
428 sps = 26000 / (1 + t); in ade7754_read_frequency()
430 return sprintf(buf, "%d\n", sps); in ade7754_read_frequency()
Dade7758_core.c493 int sps; in ade7758_read_frequency() local
501 sps = 26040 / (1 << t); in ade7758_read_frequency()
503 len = sprintf(buf, "%d SPS\n", sps); in ade7758_read_frequency()
/linux-2.6.39/drivers/block/drbd/
Ddrbd_req.c1127 const int sps = 1 << HT_SHIFT; /* sectors per slot */ in drbd_make_request() local
1128 const int mask = sps - 1; in drbd_make_request()
1129 const sector_t first_sectors = sps - (sect & mask); in drbd_make_request()
/linux-2.6.39/drivers/staging/solo6x10/
Dv4l2-enc.c574 static const u8 sps[] = { in h264_write_vol() local
586 write_bytes(out, &bits, sps, sizeof(sps)); in h264_write_vol()