Home
last modified time | relevance | path

Searched refs:maximum (Results 1 – 25 of 86) sorted by relevance

1234

/drivers/media/platform/s5p-mfc/
Ds5p_mfc_enc.c128 .maximum = (1 << 16) - 1,
136 .maximum = V4L2_MPEG_VIDEO_MULTI_SICE_MODE_MAX_BYTES,
144 .maximum = (1 << 16) - 1,
152 .maximum = (1 << 30) - 1,
160 .maximum = (1 << 16) - 1,
169 .maximum = 1,
178 .maximum = (1 << 25) - 1,
186 .maximum = 1,
194 .maximum = (1 << 30) - 1,
203 .maximum = (1 << 16) - 1,
[all …]
Ds5p_mfc_dec.c179 .maximum = 16383,
188 .maximum = 1,
197 .maximum = 1,
206 .maximum = 1,
215 .maximum = 32,
1157 cfg.max = controls[i].maximum; in s5p_mfc_dec_ctrls_setup()
1171 controls[i].maximum, controls[i].step, in s5p_mfc_dec_ctrls_setup()
/drivers/hid/
Dhid-tmff.c58 static inline int tmff_scale_u16(unsigned int in, int minimum, int maximum) in tmff_scale_u16() argument
62 ret = (in * (maximum - minimum) / 0xffff) + minimum; in tmff_scale_u16()
65 if (ret > maximum) in tmff_scale_u16()
66 return maximum; in tmff_scale_u16()
71 static inline int tmff_scale_s8(int in, int minimum, int maximum) in tmff_scale_s8() argument
75 ret = (((in + 0x80) * (maximum - minimum)) / 0xff) + minimum; in tmff_scale_s8()
78 if (ret > maximum) in tmff_scale_s8()
79 return maximum; in tmff_scale_s8()
/drivers/media/usb/gspca/
Dautogain_functions.c72 else if (exposure < gspca_dev->exposure->maximum) in gspca_expo_autogain()
74 else if (gain < gspca_dev->gain->maximum) in gspca_expo_autogain()
124 gain_low = (s32)(gspca_dev->gain->maximum - gspca_dev->gain->minimum) / in gspca_coarse_grained_expo_autogain()
126 gain_high = (s32)(gspca_dev->gain->maximum - gspca_dev->gain->minimum) / in gspca_coarse_grained_expo_autogain()
137 exposure < gspca_dev->exposure->maximum) { in gspca_coarse_grained_expo_autogain()
148 if (gain > gspca_dev->gain->maximum) in gspca_coarse_grained_expo_autogain()
149 gain = gspca_dev->gain->maximum; in gspca_coarse_grained_expo_autogain()
Dpac7302.c397 v += (sd->brightness->val - (s32)sd->brightness->maximum) in setbrightcont()
398 * 150 / (s32)sd->brightness->maximum; /* 200 ? */ in setbrightcont()
399 v -= delta[i] * sd->contrast->val / (s32)sd->contrast->maximum; in setbrightcont()
422 v = a[i] * sd->saturation->val / (s32)sd->saturation->maximum; in setcolors()
/drivers/acpi/acpica/
Damlresrc.h175 u16 maximum; member
217 u16 maximum; member
228 u32 maximum; member
253 u64 maximum; member
265 u64 maximum; member
274 u32 maximum; member
283 u16 maximum; member
Drsdumpinfo.c114 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(io.maximum), "Address Maximum", NULL},
148 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(memory24.maximum), "Address Maximum",
163 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(memory32.maximum), "Address Maximum",
190 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.maximum), "Address Maximum",
207 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(address32.maximum), "Address Maximum",
224 {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(address64.maximum), "Address Maximum",
241 {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(ext_address64.maximum),
/drivers/media/platform/vsp1/
Dvsp1_uds.c81 unsigned int *minimum, unsigned int *maximum) in uds_output_limits() argument
84 *maximum = min(uds_output_size(input, UDS_MIN_FACTOR), UDS_MAX_SIZE); in uds_output_limits()
244 unsigned int maximum; in uds_try_format() local
263 uds_output_limits(format->width, &minimum, &maximum); in uds_try_format()
264 fmt->width = clamp(fmt->width, minimum, maximum); in uds_try_format()
265 uds_output_limits(format->height, &minimum, &maximum); in uds_try_format()
266 fmt->height = clamp(fmt->height, minimum, maximum); in uds_try_format()
/drivers/input/touchscreen/
Dof_touchscreen.c34 of_property_read_u32(np, "touchscreen-size-x", &absinfo->maximum); in touchscreen_parse_of_params()
38 of_property_read_u32(np, "touchscreen-size-y", &absinfo->maximum); in touchscreen_parse_of_params()
42 of_property_read_u32(np, "touchscreen-max-pressure", &absinfo->maximum); in touchscreen_parse_of_params()
/drivers/media/i2c/
Das3645a.c720 int maximum; in as3645a_init_controls() local
753 maximum = pdata->timeout_max; in as3645a_init_controls()
757 maximum, AS3645A_FLASH_TIMEOUT_STEP, maximum); in as3645a_init_controls()
759 flash->timeout = maximum; in as3645a_init_controls()
762 maximum = pdata->flash_max_current; in as3645a_init_controls()
766 maximum, AS3645A_FLASH_INTENSITY_STEP, maximum); in as3645a_init_controls()
768 flash->flash_current = (maximum - AS3645A_FLASH_INTENSITY_MIN) in as3645a_init_controls()
772 maximum = pdata->torch_max_current; in as3645a_init_controls()
776 AS3645A_TORCH_INTENSITY_MIN, maximum, in as3645a_init_controls()
/drivers/staging/media/omap24xx/
Dtcm825x.c110 .maximum = 63,
122 .maximum = 255,
134 .maximum = 255,
146 .maximum = 1,
158 .maximum = 0x1fff,
170 .maximum = 1,
182 .maximum = 1,
195 .maximum = 1,
207 .maximum = 0xff,
219 .maximum = 0xff,
[all …]
/drivers/acpi/
Dresource.c206 res->end = addr.maximum; in acpi_dev_resource_address_space()
211 len = addr.maximum - addr.minimum + 1; in acpi_dev_resource_address_space()
220 addr.maximum, in acpi_dev_resource_address_space()
257 res->end = ext_addr->maximum; in acpi_dev_resource_ext_address_space()
262 len = ext_addr->maximum - ext_addr->minimum + 1; in acpi_dev_resource_ext_address_space()
271 ext_addr->maximum, in acpi_dev_resource_ext_address_space()
/drivers/usb/host/
Dimx21-dbg.c107 imx21->etd_usage.maximum = max( in debug_etd_allocated()
109 imx21->etd_usage.maximum); in debug_etd_allocated()
120 imx21->dmem_usage.maximum = max( in debug_dmem_allocated()
122 imx21->dmem_usage.maximum); in debug_dmem_allocated()
251 etds_allocated, USB_NUM_ETD, imx21->etd_usage.maximum, in debug_status_show()
254 dmem_bytes, DMEM_SIZE, imx21->dmem_usage.maximum, in debug_status_show()
/drivers/mtd/ubi/
DKconfig18 This parameter defines the maximum difference between the highest
35 This option specifies the maximum bad physical eraseblocks UBI
40 NAND datasheets often specify the minimum and maximum NVM (Number of
41 Valid Blocks) for the flashes' endurance lifetime. The maximum
50 flash chip admits maximum 40 bad eraseblocks, and it is split on two
/drivers/media/v4l2-core/
Dv4l2-ctrls.c1222 ev->u.ctrl.maximum = ctrl->maximum; in fill_event()
1365 if ((ctrl)->maximum >= 0 && \
1366 val >= (ctrl)->maximum - (s32)((ctrl)->step / 2)) \
1367 val = (ctrl)->maximum; \
1371 (ctrl)->minimum, (ctrl)->maximum); \
1395 if (ctrl->maximum >= 0 && val >= ctrl->maximum - (s64)(ctrl->step / 2)) in std_validate()
1396 val = ctrl->maximum; in std_validate()
1399 val = clamp_t(s64, val, ctrl->minimum, ctrl->maximum); in std_validate()
1417 if (ptr.p_s32[idx] < ctrl->minimum || ptr.p_s32[idx] > ctrl->maximum) in std_validate()
1427 ptr.p_s32[idx] &= ctrl->maximum; in std_validate()
[all …]
Dv4l2-common.c99 if (ctrl->value < qctrl->minimum || ctrl->value > qctrl->maximum) in v4l2_ctrl_check()
107 (ctrl->value & ~qctrl->maximum)) in v4l2_ctrl_check()
129 qctrl->maximum = max; in v4l2_ctrl_query_fill()
151 (qctrl && (qmenu->index < qctrl->minimum || qmenu->index > qctrl->maximum))) in v4l2_ctrl_query_menu()
/drivers/staging/fwserial/
DKconfig19 Set this to the maximum number of serial ports you want the
27 Set this to the maximum number of serial ports each firewire
/drivers/atm/
Dambassador.h555 unsigned int maximum; // size - 1 (q implementation) member
564 unsigned int maximum; // size - 1 (q implementation) member
582 unsigned int maximum; // size - 1 (q implementation) member
Dambassador.c569 if (cq->pending < cq->maximum) { in command_do()
638 if (txq->pending < txq->maximum) { in tx_give()
695 if (rxq->pending < rxq->maximum) { in rx_give()
792 while (rxq->pending < rxq->maximum && rxq->pending < rxq->buffers_wanted) { in fill_rx_pool()
1446 c->pending, c->high, c->maximum); in amb_proc_read()
1452 t->pending, t->maximum, t->high, t->filled); in amb_proc_read()
1460 r->pending, r->maximum, r->buffers_wanted, r->low, r->emptied); in amb_proc_read()
1549 cq->maximum = cmds - 1; in create_queues()
1569 txq->maximum = txs - 1; in create_queues()
1598 rxq->maximum = rxs[pool] - 1; in create_queues()
/drivers/media/pci/cx88/
Dcx88-video.c163 s32 maximum; member
180 .maximum = 0xff,
190 .maximum = 0xff,
200 .maximum = 0xff,
213 .maximum = 0xff,
223 .maximum = 4,
235 .maximum = 1,
243 .maximum = 1,
251 .maximum = 1,
266 .maximum = 1,
[all …]
/drivers/pnp/pnpacpi/
Drsparser.c347 pnp_register_port_resource(dev, option_flags, io->minimum, io->maximum, in pnpacpi_parse_port_option()
367 pnp_register_mem_resource(dev, option_flags, p->minimum, p->maximum, in pnpacpi_parse_mem24_option()
379 pnp_register_mem_resource(dev, option_flags, p->minimum, p->maximum, in pnpacpi_parse_mem32_option()
767 io->maximum = p->end; in pnpacpi_encode_io()
808 memory24->maximum = p->end; in pnpacpi_encode_mem24()
832 memory32->maximum = p->end; in pnpacpi_encode_mem32()
/drivers/media/platform/
Dvino.c513 .maximum = 1,
521 .maximum = 1,
529 .maximum = INDYCAM_GAIN_MAX,
537 .maximum = INDYCAM_RED_SATURATION_MAX,
545 .maximum = INDYCAM_BLUE_SATURATION_MAX,
553 .maximum = INDYCAM_RED_BALANCE_MAX,
561 .maximum = INDYCAM_BLUE_BALANCE_MAX,
569 .maximum = INDYCAM_SHUTTER_MAX,
577 .maximum = INDYCAM_GAMMA_MAX,
591 .maximum = SAA7191_HUE_MAX,
[all …]
/drivers/mmc/card/
DKconfig73 bool "Turn on maximum speed control per block device"
80 control the write or read maximum KB/second speed behaviors.
/drivers/scsi/aic7xxx/
DKconfig.aic79xx24 fixed maximum, the driver will eventually lock to this maximum
DKconfig.aic7xxx29 fixed maximum, the driver will eventually lock to this maximum

1234