Home
last modified time | relevance | path

Searched refs:resolution (Results 1 – 25 of 42) sorted by relevance

12

/drivers/hwmon/
Dlm75.c75 u8 resolution; /* In bits, between 9 and 12 */ member
105 temp = ((data->temp[attr->index] >> (16 - data->resolution)) * 1000) in show_temp()
106 >> (data->resolution - 8); in show_temp()
120 u8 resolution; in set_temp() local
131 resolution = data->resolution_limits; in set_temp()
133 resolution = data->resolution; in set_temp()
137 data->temp[nr] = DIV_ROUND_CLOSEST(temp << (resolution - 8), in set_temp()
138 1000) << (16 - resolution); in set_temp()
195 data->resolution = 12; in lm75_probe()
203 data->resolution = 11; in lm75_probe()
[all …]
Dsch56xx-common.c274 unsigned int resolution; in watchdog_set_timeout() local
280 resolution = 1; in watchdog_set_timeout()
282 resolution = 60; in watchdog_set_timeout()
284 if (timeout < resolution || timeout > (resolution * 255)) in watchdog_set_timeout()
287 if (resolution == 1) in watchdog_set_timeout()
308 data->watchdog_preset = DIV_ROUND_UP(timeout, resolution); in watchdog_set_timeout()
309 wddev->timeout = data->watchdog_preset * resolution; in watchdog_set_timeout()
Dfschmd.c715 int ret, resolution; in watchdog_set_timeout() local
720 resolution = 2; in watchdog_set_timeout()
722 resolution = 60; in watchdog_set_timeout()
724 if (timeout < resolution || timeout > (resolution * 255)) in watchdog_set_timeout()
733 if (resolution == 2) in watchdog_set_timeout()
738 data->watchdog_preset = DIV_ROUND_UP(timeout, resolution); in watchdog_set_timeout()
748 ret = data->watchdog_preset * resolution; in watchdog_set_timeout()
/drivers/acpi/acpica/
Dhwtimer.c63 acpi_status acpi_get_timer_resolution(u32 * resolution) in acpi_get_timer_resolution() argument
67 if (!resolution) { in acpi_get_timer_resolution()
72 *resolution = 24; in acpi_get_timer_resolution()
74 *resolution = 32; in acpi_get_timer_resolution()
/drivers/staging/iio/resolver/
Dad2s1210.c90 u8 resolution; member
179 ad2s1210_res_pins[(st->resolution - 10)/2][0]); in ad2s1210_set_resolution_pin()
181 ad2s1210_res_pins[(st->resolution - 10)/2][1]); in ad2s1210_set_resolution_pin()
325 st->resolution in ad2s1210_store_control()
329 if (data != st->resolution) in ad2s1210_store_control()
346 return sprintf(buf, "%d\n", st->resolution); in ad2s1210_show_resolution()
385 st->resolution in ad2s1210_store_resolution()
389 if (data != st->resolution) in ad2s1210_store_resolution()
511 pos >>= 16 - st->resolution; in ad2s1210_read_raw()
518 vel >>= 16 - st->resolution; in ad2s1210_read_raw()
[all …]
/drivers/staging/comedi/drivers/
Ddas1800.c218 int resolution; /* bits of ai resolution */ member
235 .resolution = 12,
246 .resolution = 12,
257 .resolution = 12,
268 .resolution = 12,
279 .resolution = 16,
290 .resolution = 16,
301 .resolution = 12,
312 .resolution = 12,
323 .resolution = 12,
[all …]
Ddas800.c116 int resolution; member
189 .resolution = 12,
195 .resolution = 12,
201 .resolution = 12,
207 .resolution = 12,
213 .resolution = 12,
219 .resolution = 12,
225 .resolution = 16,
266 if (thisboard->resolution == 16) in das800_enable()
426 if (thisboard->resolution == 12 && gain > 0) in das800_ai_do_cmd()
[all …]
/drivers/input/mouse/
Dlifebook.c232 static void lifebook_set_resolution(struct psmouse *psmouse, unsigned int resolution) in lifebook_set_resolution() argument
237 if (resolution == 0 || resolution > 400) in lifebook_set_resolution()
238 resolution = 400; in lifebook_set_resolution()
240 p = params[resolution / 100]; in lifebook_set_resolution()
242 psmouse->resolution = 50 << p; in lifebook_set_resolution()
Dlogips2pp.c182 static void ps2pp_set_resolution(struct psmouse *psmouse, unsigned int resolution) in ps2pp_set_resolution() argument
184 if (resolution > 400) { in ps2pp_set_resolution()
192 psmouse->resolution = 800; in ps2pp_set_resolution()
194 psmouse_set_resolution(psmouse, resolution); in ps2pp_set_resolution()
Dpsmouse.h62 unsigned int resolution; member
69 void (*set_resolution)(struct psmouse *psmouse, unsigned int resolution);
107 void psmouse_set_resolution(struct psmouse *psmouse, unsigned int resolution);
Dpsmouse-base.c57 module_param_named(resolution, psmouse_resolution, uint, 0644);
58 MODULE_PARM_DESC(resolution, "Resolution, in dpi.");
82 PSMOUSE_DEFINE_ATTR(resolution, S_IWUSR | S_IRUGO,
83 (void *) offsetof(struct psmouse, resolution),
426 void psmouse_set_resolution(struct psmouse *psmouse, unsigned int resolution) in psmouse_set_resolution() argument
431 if (resolution == 0 || resolution > 200) in psmouse_set_resolution()
432 resolution = 200; in psmouse_set_resolution()
434 p = params[resolution / 50]; in psmouse_set_resolution()
436 psmouse->resolution = 25 << p; in psmouse_set_resolution()
1118 psmouse->set_resolution(psmouse, psmouse->resolution); in psmouse_initialize()
[all …]
/drivers/video/console/
DKconfig80 Select 80 if you use a 640x480 resolution by default.
88 Select 25 if you use a 640x480 resolution by default.
150 This is the "high resolution" font for the VGA frame buffer (the one
156 Given the resolution provided by the frame buffer device, answer N
164 This is the "high resolution" font for the VGA frame buffer (the one
209 This is the high resolution console font for Sun machines. Say Y.
215 This is the high resolution console font for Sun machines with very
223 This is a high resolution console font for machines with very
/drivers/media/i2c/m5mols/
Dm5mols_core.c506 u32 *resolution) in __find_resolution() argument
530 *resolution = match->reg; in __find_resolution()
575 u32 resolution = 0; in m5mols_set_fmt() local
578 ret = __find_resolution(sd, format, &type, &resolution); in m5mols_set_fmt()
594 info->resolution = resolution; in m5mols_set_fmt()
704 ret = m5mols_write(sd, PARM_MON_SIZE, info->resolution); in m5mols_start_monitor()
Dm5mols_capture.c123 ret = m5mols_write(sd, CAPP_MAIN_IMAGE_SIZE, info->resolution); in m5mols_start_capture()
Dm5mols.h242 u8 resolution; member
/drivers/input/
DKconfig110 int "Horizontal screen resolution"
116 screen resolution you are using to correctly scale the data. If
120 int "Vertical screen resolution"
126 screen resolution you are using to correctly scale the data. If
/drivers/media/pci/cx23885/
Dcx23888-ir.c809 p->resolution = clock_divider_to_resolution(rxclk_divider); in cx23888_ir_rx_s_parameters()
810 o->resolution = p->resolution; in cx23888_ir_rx_s_parameters()
927 p->resolution = clock_divider_to_resolution(txclk_divider); in cx23888_ir_tx_s_parameters()
928 o->resolution = p->resolution; in cx23888_ir_tx_s_parameters()
/drivers/media/i2c/cx25840/
Dcx25840-ir.c828 p->resolution = clock_divider_to_resolution(rxclk_divider); in cx25840_ir_rx_s_parameters()
829 o->resolution = p->resolution; in cx25840_ir_rx_s_parameters()
1004 p->resolution = clock_divider_to_resolution(txclk_divider); in cx25840_ir_tx_s_parameters()
1005 o->resolution = p->resolution; in cx25840_ir_tx_s_parameters()
/drivers/staging/iio/Documentation/
Dsysfs-bus-iio-adc-ad7280a18 36.9 minutes. The resolution of the timer is 71.5 sec.
/drivers/atm/
Deni.h43 int resolution; /* shaping divider */ member
/drivers/video/
Dauo_k190x.c446 struct panel_info *panel = &panel_table[par->resolution]; in auok190xfb_check_var()
1053 panel = &panel_table[board->resolution]; in auok190x_common_probe()
1055 par->resolution = board->resolution; in auok190x_common_probe()
Dauo_k1900fb.c73 init_param |= AUOK1900_INIT_RESOLUTION(par->resolution); in auok1900_init()
Dauo_k1901fb.c112 init_param |= AUOK1901_INIT_RESOLUTION(par->resolution); in auok1901_init()
/drivers/isdn/i4l/
Disdn_ttyfax.c704 char *rp = &f->resolution; in isdn_tty_cmd_FCLASS2()
750 char *rp = &f->resolution; in isdn_tty_cmd_FCLASS2()
834 char *rp = &f->resolution; in isdn_tty_cmd_FCLASS2()
/drivers/staging/crystalhd/
Dcrystalhd_fw_if.h223 uint32_t resolution; member

12