Lines Matching refs:frequency
29 u32 frequency; member
315 u32 frequency; in ascot2e_set_params() local
321 __func__, p->frequency / 1000); in ascot2e_set_params()
331 frequency = roundup(p->frequency / 1000, 25); in ascot2e_set_params()
354 data[0] = (frequency > 500000) ? 16 : 32; in ascot2e_set_params()
357 data[0] = (frequency > 500000) ? 2 : 4; in ascot2e_set_params()
375 data[5] = (frequency > 500000) ? 0x08 : 0x0c; in ascot2e_set_params()
377 data[5] = (frequency > 500000) ? 0x30 : 0x38; in ascot2e_set_params()
431 data[0] = (u8)(frequency & 0xFF); /* 0x10: FRF_L */ in ascot2e_set_params()
432 data[1] = (u8)((frequency >> 8) & 0xFF); /* 0x11: FRF_M */ in ascot2e_set_params()
433 data[2] = (u8)((frequency >> 16) & 0x0F); /* 0x12: FRF_H (bit[3:0]) */ in ascot2e_set_params()
447 priv->frequency = frequency; in ascot2e_set_params()
451 static int ascot2e_get_frequency(struct dvb_frontend *fe, u32 *frequency) in ascot2e_get_frequency() argument
455 *frequency = priv->frequency * 1000; in ascot2e_get_frequency()