/linux-2.6.39/drivers/video/omap2/dss/ |
D | dpi.c | 44 unsigned long pck_req, unsigned long *fck, int *lck_div, in dpi_set_dsi_clk() argument 66 *fck = dsi_cinfo.dsi_pll_hsdiv_dispc_clk; in dpi_set_dsi_clk() 74 unsigned long pck_req, unsigned long *fck, int *lck_div, in dpi_set_dispc_clk() argument 93 *fck = dss_cinfo.fck; in dpi_set_dispc_clk() 105 unsigned long fck; in dpi_set_mode() local 118 r = dpi_set_dsi_clk(dssdev, is_tft, t->pixel_clock * 1000, &fck, in dpi_set_mode() 121 r = dpi_set_dispc_clk(dssdev, is_tft, t->pixel_clock * 1000, &fck, in dpi_set_mode() 127 pck = fck / lck_div / pck_div / 1000; in dpi_set_mode() 252 unsigned long fck; in dpi_check_timings() local 274 fck = dsi_cinfo.dsi_pll_hsdiv_dispc_clk; in dpi_check_timings() [all …]
|
D | dss.c | 407 cinfo->fck = prate / cinfo->fck_div; in dss_calc_clock_rates() 411 cinfo->fck = dss_clk_get_rate(DSS_CLK_FCK); in dss_calc_clock_rates() 434 DSSDBG("fck = %ld (%d)\n", cinfo->fck, cinfo->fck_div); in dss_set_clock_div() 441 cinfo->fck = dss_clk_get_rate(DSS_CLK_FCK); in dss_get_clock_div() 449 cinfo->fck_div = prate / (cinfo->fck); in dss_get_clock_div() 451 cinfo->fck_div = prate / (cinfo->fck / 2); in dss_get_clock_div() 475 unsigned long fck, max_dss_fck; in dss_calc_clock_div() local 486 fck = dss_clk_get_rate(DSS_CLK_FCK); in dss_calc_clock_div() 489 dss.cache_dss_cinfo.fck == fck)) { in dss_calc_clock_div() 513 fck = dss_clk_get_rate(DSS_CLK_FCK); in dss_calc_clock_div() [all …]
|
D | sdi.c | 56 unsigned long fck; in omapdss_sdi_display_enable() local 85 fck = dss_cinfo.fck; in omapdss_sdi_display_enable() 89 pck = fck / lck_div / pck_div / 1000; in omapdss_sdi_display_enable()
|
D | dsi.c | 2630 unsigned long fck; in dsi_set_lp_rx_timeout() local 2637 fck = dsi_fclk_rate(); in dsi_set_lp_rx_timeout() 2651 (total_ticks * 1000) / (fck / 1000 / 1000)); in dsi_set_lp_rx_timeout() 2656 unsigned long fck; in dsi_set_ta_timeout() local 2663 fck = dsi_fclk_rate(); in dsi_set_ta_timeout() 2677 (total_ticks * 1000) / (fck / 1000 / 1000)); in dsi_set_ta_timeout() 2682 unsigned long fck; in dsi_set_stop_state_counter() local 2689 fck = dsi_fclk_rate(); in dsi_set_stop_state_counter() 2703 (total_ticks * 1000) / (fck / 1000 / 1000)); in dsi_set_stop_state_counter() 2708 unsigned long fck; in dsi_set_hs_tx_timeout() local [all …]
|
D | dss.h | 136 unsigned long fck; member 431 void dispc_find_clk_divs(bool is_tft, unsigned long req_pck, unsigned long fck,
|
D | dispc.c | 2717 void dispc_find_clk_divs(bool is_tft, unsigned long req_pck, unsigned long fck, in dispc_find_clk_divs() argument 2730 unsigned long lck = fck / cur_ld; in dispc_find_clk_divs() 2757 cinfo->lck = fck / cinfo->lck_div; in dispc_find_clk_divs() 2790 unsigned long fck; in dispc_get_clock_div() local 2792 fck = dispc_fclk_rate(); in dispc_get_clock_div() 2797 cinfo->lck = fck / cinfo->lck_div; in dispc_get_clock_div()
|
/linux-2.6.39/drivers/video/omap/ |
D | sossi.c | 60 struct clk *fck; member 230 clk_set_rate(sossi.fck, sossi.fck_hz / div); in _set_timing() 231 clk_enable(sossi.fck); in _set_timing() 236 clk_disable(sossi.fck); in _set_timing() 419 clk_enable(sossi.fck); in sossi_setup_tearsync() 433 clk_disable(sossi.fck); in sossi_setup_tearsync() 460 clk_enable(sossi.fck); in sossi_write_command() 470 clk_disable(sossi.fck); in sossi_write_command() 475 clk_enable(sossi.fck); in sossi_write_data() 485 clk_disable(sossi.fck); in sossi_write_data() [all …]
|
D | dispc.c | 753 unsigned long fck, lck; in calc_ck_div() local 757 fck = clk_get_rate(dispc.dss1_fck); in calc_ck_div() 758 lck = fck; in calc_ck_div() 767 *lck_div = fck / lck; in calc_ck_div() 791 unsigned long fck; in set_lcd_timings() local 821 fck = clk_get_rate(dispc.dss1_fck); in set_lcd_timings() 822 panel->pixel_clock = fck / lck_div / pck_div / 1000; in set_lcd_timings()
|
/linux-2.6.39/drivers/spi/ |
D | omap_spi_100k.c | 95 struct clk *fck; member 322 clk_enable(spi100k->fck); in omap1_spi100k_setup() 327 clk_disable(spi100k->fck); in omap1_spi100k_setup() 341 clk_enable(spi100k->fck); in omap1_spi100k_work() 424 clk_disable(spi100k->fck); in omap1_spi100k_work() 538 spi100k->fck = clk_get(&pdev->dev, "fck"); in omap1_spi100k_probe() 539 if (IS_ERR(spi100k->fck)) { in omap1_spi100k_probe() 541 status = PTR_ERR(spi100k->fck); in omap1_spi100k_probe() 557 clk_put(spi100k->fck); in omap1_spi100k_probe() 594 clk_put(spi100k->fck); in omap1_spi100k_remove()
|
/linux-2.6.39/drivers/scsi/fnic/ |
D | cq_exch_desc.h | 93 u8 *fck, in cq_fcp_rq_desc_dec() argument 127 *fck = desc_ptr->fcs_fer_fck & CQ_FCP_RQ_DESC_FC_CRC_OK_MASK; in cq_fcp_rq_desc_dec()
|
/linux-2.6.39/drivers/media/video/ |
D | omap24xxcam.c | 75 if (cam->fck != NULL && !IS_ERR(cam->fck)) in omap24xxcam_clock_put() 76 clk_put(cam->fck); in omap24xxcam_clock_put() 78 cam->ick = cam->fck = NULL; in omap24xxcam_clock_put() 85 cam->fck = clk_get(cam->dev, "fck"); in omap24xxcam_clock_get() 86 if (IS_ERR(cam->fck)) { in omap24xxcam_clock_get() 88 rval = PTR_ERR(cam->fck); in omap24xxcam_clock_get() 105 clk_enable(cam->fck); in omap24xxcam_clock_on() 111 clk_disable(cam->fck); in omap24xxcam_clock_off()
|
D | omap24xxcam.h | 523 struct clk *fck; member
|
/linux-2.6.39/arch/arm/mach-omap2/ |
D | serial.c | 79 struct clk *fck; member
|