Lines Matching defs:info
115 const struct sh_cmt_info *info;
245 return ch->cmt->info->read_control(ch->iostart, 0);
247 return ch->cmt->info->read_control(ch->cmt->mapbase, 0);
256 ch->cmt->info->write_control(ch->iostart, 0, value);
259 ch->cmt->info->write_control(ch->cmt->mapbase, 0, value);
267 return ch->cmt->info->read_control(ch->ioctrl, CMCSR);
275 ch->cmt->info->write_control(ch->ioctrl, CMCSR, value);
282 return ch->cmt->info->read_count(ch->ioctrl, CMCNT);
291 if (ch->cmt->info->model > SH_CMT_16BIT) {
299 ch->cmt->info->write_count(ch->ioctrl, CMCNT, value);
306 u32 old_value = ch->cmt->info->read_count(ch->ioctrl, CMCOR);
309 ch->cmt->info->write_count(ch->ioctrl, CMCOR, value);
319 o1 = sh_cmt_read_cmcsr(ch) & ch->cmt->info->overflow_bit;
327 o1 = sh_cmt_read_cmcsr(ch) & ch->cmt->info->overflow_bit;
372 if (ch->cmt->info->width == 16) {
536 ch->cmt->info->clear_bits);
711 cs->mask = CLOCKSOURCE_MASK(ch->cmt->info->width);
887 switch (cmt->info->model) {
908 if (cmt->info->width == (sizeof(ch->max_match_value) * 8))
911 ch->max_match_value = (1 << cmt->info->width) - 1;
1003 cmt->info = of_device_get_match_data(&pdev->dev);
1004 cmt->hw_channels = cmt->info->channels_mask;
1009 cmt->info = (const struct sh_cmt_info *)id->driver_data;
1039 if (cmt->info->model >= SH_CMT_48BIT)
1041 cmt->rate = rate / (cmt->info->width == 16 ? 512 : 8);