Home
last modified time | relevance | path

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

1234

/drivers/media/platform/s5p-mfc/
Ds5p_mfc_enc.c126 .maximum = (1 << 16) - 1,
134 .maximum = V4L2_MPEG_VIDEO_MULTI_SICE_MODE_MAX_BYTES,
142 .maximum = (1 << 16) - 1,
150 .maximum = (1 << 30) - 1,
158 .maximum = (1 << 16) - 1,
167 .maximum = 1,
176 .maximum = (1 << 25) - 1,
184 .maximum = 1,
192 .maximum = (1 << 30) - 1,
201 .maximum = (1 << 16) - 1,
[all …]
Ds5p_mfc_dec.c178 .maximum = 16383,
187 .maximum = 1,
196 .maximum = 1,
205 .maximum = 1,
214 .maximum = 32,
1142 cfg.max = controls[i].maximum; in s5p_mfc_dec_ctrls_setup()
1156 controls[i].maximum, controls[i].step, in s5p_mfc_dec_ctrls_setup()
/drivers/input/touchscreen/
Dof_touchscreen.c49 absinfo->maximum = max; in touchscreen_set_params()
67 unsigned int maximum, fuzz; in touchscreen_parse_properties() local
78 &maximum); in touchscreen_parse_properties()
83 touchscreen_set_params(input, axis, maximum - 1, fuzz); in touchscreen_parse_properties()
89 &maximum); in touchscreen_parse_properties()
94 touchscreen_set_params(input, axis, maximum - 1, fuzz); in touchscreen_parse_properties()
100 &maximum); in touchscreen_parse_properties()
106 touchscreen_set_params(input, axis, maximum, fuzz); in touchscreen_parse_properties()
/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/hid/
Dhid-tmff.c60 static inline int tmff_scale_u16(unsigned int in, int minimum, int maximum) in tmff_scale_u16() argument
64 ret = (in * (maximum - minimum) / 0xffff) + minimum; in tmff_scale_u16()
67 if (ret > maximum) in tmff_scale_u16()
68 return maximum; in tmff_scale_u16()
73 static inline int tmff_scale_s8(int in, int minimum, int maximum) in tmff_scale_s8() argument
77 ret = (((in + 0x80) * (maximum - minimum)) / 0xff) + minimum; in tmff_scale_s8()
80 if (ret > maximum) in tmff_scale_s8()
81 return maximum; in tmff_scale_s8()
/drivers/crypto/nx/
Dnx-842.c146 if (c->maximum > BOUNCE_BUFFER_SIZE) in check_constraints()
147 c->maximum = BOUNCE_BUFFER_SIZE; in check_constraints()
190 if (slen > c->maximum) in compress()
191 adj_slen = slen = c->maximum; in compress()
221 if (dlen > c->maximum) in compress()
222 dlen = c->maximum; in compress()
282 DIV_ROUND_UP(p.iremain, c.maximum)); in nx842_crypto_compress()
290 p.iremain > c.maximum || in nx842_crypto_compress()
294 p.oremain > c.maximum || in nx842_crypto_compress()
374 if (slen > c->maximum) in decompress()
[all …]
Dnx-842-pseries.c39 .maximum = PAGE_SIZE, /* dynamic, max_sync_size */
64 if (*len > nx842_pseries_constraints.maximum) { in check_constraints()
67 nx842_pseries_constraints.maximum); in check_constraints()
70 *len = nx842_pseries_constraints.maximum; in check_constraints()
692 nx842_pseries_constraints.maximum = devdata->max_sync_size; in nx842_OF_upd_maxsyncop()
/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.address.maximum),
207 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(address32.address.maximum),
224 {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(address64.address.maximum),
241 {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(ext_address64.address.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()
248 unsigned int maximum; in uds_try_format() local
267 uds_output_limits(format->width, &minimum, &maximum); in uds_try_format()
268 fmt->width = clamp(fmt->width, minimum, maximum); in uds_try_format()
269 uds_output_limits(format->height, &minimum, &maximum); in uds_try_format()
270 fmt->height = clamp(fmt->height, minimum, maximum); in uds_try_format()
/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/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.c1227 ev->u.ctrl.maximum = ctrl->maximum; in fill_event()
1370 if ((ctrl)->maximum >= 0 && \
1371 val >= (ctrl)->maximum - (s32)((ctrl)->step / 2)) \
1372 val = (ctrl)->maximum; \
1376 (ctrl)->minimum, (ctrl)->maximum); \
1400 if (ctrl->maximum >= 0 && val >= ctrl->maximum - (s64)(ctrl->step / 2)) in std_validate()
1401 val = ctrl->maximum; in std_validate()
1404 val = clamp_t(s64, val, ctrl->minimum, ctrl->maximum); in std_validate()
1422 if (ptr.p_s32[idx] < ctrl->minimum || ptr.p_s32[idx] > ctrl->maximum) in std_validate()
1432 ptr.p_s32[idx] &= ctrl->maximum; in std_validate()
[all …]
/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/media/pci/cx88/
Dcx88-video.c159 s32 maximum; member
176 .maximum = 0xff,
186 .maximum = 0xff,
196 .maximum = 0xff,
209 .maximum = 0xff,
219 .maximum = 4,
231 .maximum = 1,
239 .maximum = 1,
247 .maximum = 1,
262 .maximum = 1,
[all …]
/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/pnp/pnpacpi/
Drsparser.c348 pnp_register_port_resource(dev, option_flags, io->minimum, io->maximum, in pnpacpi_parse_port_option()
368 pnp_register_mem_resource(dev, option_flags, p->minimum, p->maximum, in pnpacpi_parse_mem24_option()
380 pnp_register_mem_resource(dev, option_flags, p->minimum, p->maximum, in pnpacpi_parse_mem32_option()
768 io->maximum = p->end; in pnpacpi_encode_io()
809 memory24->maximum = p->end; in pnpacpi_encode_mem24()
833 memory32->maximum = p->end; in pnpacpi_encode_mem32()
/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
/drivers/scsi/mpt3sas/
DKconfig57 This option allows you to specify the maximum number of scatter-
69 This option allows you to specify the maximum number of scatter-
/drivers/media/platform/vivid/
DKconfig29 This allows you to specify the maximum number of devices supported

1234