CX23888_IR_REFCLK_FREQ 181 drivers/media/pci/cx23885/cx23888-ir.c DIV_ROUND_CLOSEST(CX23888_IR_REFCLK_FREQ / 1000000 * ns, 1000)); CX23888_IR_REFCLK_FREQ 188 drivers/media/pci/cx23885/cx23888-ir.c CX23888_IR_REFCLK_FREQ / 1000000); CX23888_IR_REFCLK_FREQ 194 drivers/media/pci/cx23885/cx23888-ir.c DIV_ROUND_CLOSEST(CX23888_IR_REFCLK_FREQ, freq * 16)); CX23888_IR_REFCLK_FREQ 199 drivers/media/pci/cx23885/cx23888-ir.c return DIV_ROUND_CLOSEST(CX23888_IR_REFCLK_FREQ, (divider + 1) * 16); CX23888_IR_REFCLK_FREQ 206 drivers/media/pci/cx23885/cx23888-ir.c DIV_ROUND_CLOSEST(CX23888_IR_REFCLK_FREQ, freq * rollovers)); CX23888_IR_REFCLK_FREQ 212 drivers/media/pci/cx23885/cx23888-ir.c return DIV_ROUND_CLOSEST(CX23888_IR_REFCLK_FREQ, CX23888_IR_REFCLK_FREQ 235 drivers/media/pci/cx23885/cx23888-ir.c DIV_ROUND_CLOSEST(CX23888_IR_REFCLK_FREQ / 1000000 * ns, 1000)); CX23888_IR_REFCLK_FREQ 242 drivers/media/pci/cx23885/cx23888-ir.c CX23888_IR_REFCLK_FREQ / 1000000); CX23888_IR_REFCLK_FREQ 248 drivers/media/pci/cx23885/cx23888-ir.c return DIV_ROUND_CLOSEST(count, CX23888_IR_REFCLK_FREQ / 1000000); CX23888_IR_REFCLK_FREQ 262 drivers/media/pci/cx23885/cx23888-ir.c CX23888_IR_REFCLK_FREQ / 1000000); CX23888_IR_REFCLK_FREQ 275 drivers/media/pci/cx23885/cx23888-ir.c rem = do_div(n, CX23888_IR_REFCLK_FREQ / 1000000); /* / MHz => ns */ CX23888_IR_REFCLK_FREQ 276 drivers/media/pci/cx23885/cx23888-ir.c if (rem >= CX23888_IR_REFCLK_FREQ / 1000000 / 2) CX23888_IR_REFCLK_FREQ 291 drivers/media/pci/cx23885/cx23888-ir.c rem = do_div(n, CX23888_IR_REFCLK_FREQ / 1000000); /* / MHz => us */ CX23888_IR_REFCLK_FREQ 292 drivers/media/pci/cx23885/cx23888-ir.c if (rem >= CX23888_IR_REFCLK_FREQ / 1000000 / 2) CX23888_IR_REFCLK_FREQ 309 drivers/media/pci/cx23885/cx23888-ir.c clocks = CX23888_IR_REFCLK_FREQ / 1000000 * (u64) ns; /* millicycles */