Home
last modified time | relevance | path

Searched refs:clock_speed (Results 1 – 11 of 11) sorted by relevance

/drivers/media/i2c/
Dov7670.c250 int clock_speed; /* External clock speed (MHz) */ member
809 tpf->denominator = (5 * pll_factor * info->clock_speed) / in ov7675_get_framerate()
844 clkrc = (5 * pll_factor * info->clock_speed * tpf->numerator) / in ov7675_set_framerate()
882 tpf->denominator = info->clock_speed; in ov7670_get_framerate_legacy()
896 div = (tpf->numerator * info->clock_speed) / tpf->denominator; in ov7670_set_framerate_legacy()
903 tpf->denominator = info->clock_speed / div; in ov7670_set_framerate_legacy()
1853 info->clock_speed = 30; /* default: a guess */ in ov7670_probe()
1871 if (config->clock_speed) in ov7670_probe()
1872 info->clock_speed = config->clock_speed; in ov7670_probe()
1897 info->clock_speed = clk_get_rate(info->clk) / 1000000; in ov7670_probe()
[all …]
/drivers/staging/most/dim2/
Ddim2.c691 const char *clock_speed; member
713 static int get_dim2_clk_speed(const char *clock_speed, u8 *val) in get_dim2_clk_speed() argument
718 if (!strcmp(clock_speed, clk_mt[i].clock_speed)) { in get_dim2_clk_speed()
754 const char *clock_speed; in dim2_probe() local
772 "microchip,clock-speed", &clock_speed); in dim2_probe()
778 ret = get_dim2_clk_speed(clock_speed, &dev->clk_speed); in dim2_probe()
/drivers/tty/
Dsynclink_gt.c335 .clock_speed = 0,
1082 tmp_params.clock_speed = (compat_ulong_t)info->params.clock_speed; in get_params32()
1106 info->base_clock = tmp_params.clock_speed; in set_params32()
1112 info->params.clock_speed = tmp_params.clock_speed; in set_params32()
1569 new_line.clock_rate = info->params.clock_speed; in hdlcdev_ioctl()
1609 info->params.clock_speed = new_line.clock_rate; in hdlcdev_ioctl()
1611 info->params.clock_speed = 0; in hdlcdev_ioctl()
2554 info->base_clock = tmp_params.clock_speed; in set_params()
3857 if (info->params.clock_speed) in enable_loopback()
3858 set_rate(info, info->params.clock_speed); in enable_loopback()
[all …]
Dsynclinkmp.c1749 new_line.clock_rate = info->params.clock_speed; in hdlcdev_ioctl()
1789 info->params.clock_speed = new_line.clock_rate; in hdlcdev_ioctl()
1791 info->params.clock_speed = 0; in hdlcdev_ioctl()
4041 if (info->params.clock_speed) in enable_loopback()
4042 set_rate(info, info->params.clock_speed); in enable_loopback()
4605 set_rate(info, info->params.clock_speed * DpllDivisor); in hdlc_mode()
4607 set_rate(info, info->params.clock_speed); in hdlc_mode()
4691 set_rate(info, info->params.clock_speed); in hdlc_mode()
5231 u32 speed = info->params.clock_speed; in loopback_test()
5233 info->params.clock_speed = 3686400; in loopback_test()
[all …]
Dsynclink.c4818 if ( info->params.clock_speed ) in usc_set_sdlc_mode()
4820 Tc = (u16)((XtalSpeed/DpllDivisor)/info->params.clock_speed); in usc_set_sdlc_mode()
4821 if ( !((((XtalSpeed/DpllDivisor) % info->params.clock_speed) * 2) in usc_set_sdlc_mode()
4822 / info->params.clock_speed) ) in usc_set_sdlc_mode()
5048 if (info->params.clock_speed) { in usc_enable_loopback()
5049 usc_OutReg(info, TC0R, (u16)((11059200/info->params.clock_speed)-1)); in usc_enable_loopback()
5941 usc_enable_aux_clock(info, info->params.clock_speed); in usc_set_sync_mode()
7648 new_line.clock_rate = info->params.clock_speed; in hdlcdev_ioctl()
7688 info->params.clock_speed = new_line.clock_rate; in hdlcdev_ioctl()
7690 info->params.clock_speed = 0; in hdlcdev_ioctl()
/drivers/char/pcmcia/
Dsynclink_cs.c2924 if (info->params.mode == MGSL_MODE_HDLC && info->params.clock_speed) in enable_auxclk()
2965 if (info->params.mode == MGSL_MODE_HDLC && info->params.clock_speed) in enable_auxclk()
2986 if (info->params.mode == MGSL_MODE_HDLC && info->params.clock_speed) in enable_auxclk()
2987 mgslpc_set_rate(info, CHB, info->params.clock_speed); in enable_auxclk()
3005 if (info->params.clock_speed) in loopback_enable()
3006 mgslpc_set_rate(info, CHA, info->params.clock_speed); in loopback_enable()
3193 mgslpc_set_rate(info, CHA, info->params.clock_speed * 16); in hdlc_mode()
3195 mgslpc_set_rate(info, CHA, info->params.clock_speed); in hdlc_mode()
4110 new_line.clock_rate = info->params.clock_speed; in hdlcdev_ioctl()
4150 info->params.clock_speed = new_line.clock_rate; in hdlcdev_ioctl()
[all …]
/drivers/media/platform/marvell-ccic/
Dcafe-driver.c471 .clock_speed = 45,
/drivers/scsi/
Dmyrb.h276 unsigned short clock_speed; /* Bytes 42-43 */ member
Ddc395x.c450 static u16 clock_speed[] = { 200, 133, 100, 80, 67, 58, 50, 40 }; variable
4107 clock_speed[eeprom->target[0].period] / 10, in print_eeprom_settings()
4108 clock_speed[eeprom->target[0].period] % 10, in print_eeprom_settings()
/drivers/media/platform/
Dvia-camera.c1131 .clock_speed = 90,
/drivers/hid/
Dhid-cp2112.c74 __be32 clock_speed; /* Hz */ member