Home
last modified time | relevance | path

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

1234

/drivers/media/platform/s5p-mfc/
Ds5p_mfc_enc.c117 .maximum = (1 << 16) - 1,
125 .maximum = V4L2_MPEG_VIDEO_MULTI_SLICE_MODE_MAX_BYTES,
133 .maximum = (1 << 16) - 1,
141 .maximum = (1 << 30) - 1,
149 .maximum = (1 << 16) - 1,
158 .maximum = 1,
167 .maximum = (1 << 25) - 1,
175 .maximum = 1,
183 .maximum = (1 << 30) - 1,
192 .maximum = (1 << 16) - 1,
[all …]
Ds5p_mfc_dec.c166 .maximum = 16383,
174 .maximum = 16383,
183 .maximum = 1,
191 .maximum = 1,
199 .maximum = 1,
208 .maximum = 1,
217 .maximum = 32,
1149 cfg.max = controls[i].maximum; in s5p_mfc_dec_ctrls_setup()
1163 controls[i].maximum, controls[i].step, in s5p_mfc_dec_ctrls_setup()
/drivers/input/touchscreen/
Dof_touchscreen.c47 absinfo->maximum = max; in touchscreen_set_params()
70 unsigned int minimum, maximum, fuzz; in touchscreen_parse_properties() local
86 &maximum); in touchscreen_parse_properties()
91 touchscreen_set_params(input, axis_x, minimum, maximum - 1, fuzz); in touchscreen_parse_properties()
99 &maximum); in touchscreen_parse_properties()
104 touchscreen_set_params(input, axis_y, minimum, maximum - 1, fuzz); in touchscreen_parse_properties()
110 &maximum); in touchscreen_parse_properties()
116 touchscreen_set_params(input, axis, 0, maximum, fuzz); in touchscreen_parse_properties()
128 absinfo->maximum -= absinfo->minimum; in touchscreen_parse_properties()
136 absinfo->maximum -= absinfo->minimum; in touchscreen_parse_properties()
/drivers/media/usb/gspca/
Dautogain_functions.c59 else if (exposure < gspca_dev->exposure->maximum) in gspca_expo_autogain()
61 else if (gain < gspca_dev->gain->maximum) in gspca_expo_autogain()
111 gain_low = (s32)(gspca_dev->gain->maximum - gspca_dev->gain->minimum) / in gspca_coarse_grained_expo_autogain()
113 gain_high = (s32)(gspca_dev->gain->maximum - gspca_dev->gain->minimum) / in gspca_coarse_grained_expo_autogain()
124 exposure < gspca_dev->exposure->maximum) { in gspca_coarse_grained_expo_autogain()
135 if (gain > gspca_dev->gain->maximum) in gspca_coarse_grained_expo_autogain()
136 gain = gspca_dev->gain->maximum; in gspca_coarse_grained_expo_autogain()
Dpac7302.c383 v += (sd->brightness->val - (s32)sd->brightness->maximum) in setbrightcont()
384 * 150 / (s32)sd->brightness->maximum; /* 200 ? */ in setbrightcont()
385 v -= delta[i] * sd->contrast->val / (s32)sd->contrast->maximum; in setbrightcont()
408 v = a[i] * sd->saturation->val / (s32)sd->saturation->maximum; in setcolors()
/drivers/hid/
Dhid-tmff.c48 static inline int tmff_scale_u16(unsigned int in, int minimum, int maximum) in tmff_scale_u16() argument
52 ret = (in * (maximum - minimum) / 0xffff) + minimum; in tmff_scale_u16()
55 if (ret > maximum) in tmff_scale_u16()
56 return maximum; in tmff_scale_u16()
61 static inline int tmff_scale_s8(int in, int minimum, int maximum) in tmff_scale_s8() argument
65 ret = (((in + 0x80) * (maximum - minimum)) / 0xff) + minimum; in tmff_scale_s8()
68 if (ret > maximum) in tmff_scale_s8()
69 return maximum; in tmff_scale_s8()
/drivers/crypto/nx/
Dnx-842.c137 if (c->maximum > BOUNCE_BUFFER_SIZE) in check_constraints()
138 c->maximum = BOUNCE_BUFFER_SIZE; in check_constraints()
181 if (slen > c->maximum) in compress()
182 adj_slen = slen = c->maximum; in compress()
212 if (dlen > c->maximum) in compress()
213 dlen = c->maximum; in compress()
273 DIV_ROUND_UP(p.iremain, c.maximum)); in nx842_crypto_compress()
281 p.iremain > c.maximum || in nx842_crypto_compress()
285 p.oremain > c.maximum || in nx842_crypto_compress()
365 if (slen > c->maximum) in decompress()
[all …]
Dnx-842-pseries.c26 .maximum = PAGE_SIZE, /* dynamic, max_sync_size */
51 if (*len > nx842_pseries_constraints.maximum) { in check_constraints()
54 nx842_pseries_constraints.maximum); in check_constraints()
57 *len = nx842_pseries_constraints.maximum; in check_constraints()
677 nx842_pseries_constraints.maximum = devdata->max_sync_size; in nx842_OF_upd_maxsyncop()
/drivers/acpi/acpica/
Damlresrc.h144 u16 maximum; member
186 u16 maximum; member
197 u32 maximum; member
222 u64 maximum; member
234 u64 maximum; member
243 u32 maximum; member
252 u16 maximum; member
Drsdumpinfo.c78 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(io.maximum), "Address Maximum", NULL},
112 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(memory24.maximum), "Address Maximum",
127 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(memory32.maximum), "Address Maximum",
154 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.address.maximum),
171 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(address32.address.maximum),
188 {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(address64.address.maximum),
205 {ACPI_RSD_UINT64, ACPI_RSD_OFFSET(ext_address64.address.maximum),
/drivers/media/platform/vsp1/
Dvsp1_uds.c77 unsigned int *minimum, unsigned int *maximum) in uds_output_limits() argument
80 *maximum = min(uds_output_size(input, UDS_MIN_FACTOR), UDS_MAX_SIZE); in uds_output_limits()
172 unsigned int maximum; in uds_try_format() local
191 uds_output_limits(format->width, &minimum, &maximum); in uds_try_format()
192 fmt->width = clamp(fmt->width, minimum, maximum); in uds_try_format()
193 uds_output_limits(format->height, &minimum, &maximum); in uds_try_format()
194 fmt->height = clamp(fmt->height, minimum, maximum); in uds_try_format()
/drivers/staging/media/atomisp/pci/
Datomisp_ioctl.c56 .maximum = 1,
65 .maximum = 0xff,
74 .maximum = 0xff,
83 .maximum = 0xff,
92 .maximum = 2,
101 .maximum = 9,
110 .maximum = 0xffff,
119 .maximum = 1,
128 .maximum = 1,
137 .maximum = 1,
[all …]
/drivers/usb/host/
Dimx21-dbg.c94 imx21->etd_usage.maximum = max( in debug_etd_allocated()
96 imx21->etd_usage.maximum); in debug_etd_allocated()
107 imx21->dmem_usage.maximum = max( in debug_dmem_allocated()
109 imx21->dmem_usage.maximum); in debug_dmem_allocated()
238 etds_allocated, USB_NUM_ETD, imx21->etd_usage.maximum, in debug_status_show()
241 dmem_bytes, DMEM_SIZE, imx21->dmem_usage.maximum, in debug_status_show()
/drivers/mtd/ubi/
DKconfig19 This parameter defines the maximum difference between the highest
36 This option specifies the maximum bad physical eraseblocks UBI
41 NAND datasheets often specify the minimum and maximum NVM (Number of
42 Valid Blocks) for the flashes' endurance lifetime. The maximum
51 flash chip admits maximum 40 bad eraseblocks, and it is split on two
/drivers/staging/fwserial/
DKconfig20 Set this to the maximum number of serial ports you want the
28 Set this to the maximum number of serial ports each firewire
/drivers/staging/media/atomisp/include/media/
Dlm3554.h35 .maximum = (_maximum), \
47 .maximum = 1, \
/drivers/media/pci/cx88/
Dcx88-video.c141 s32 maximum; member
158 .maximum = 0xff,
168 .maximum = 0xff,
178 .maximum = 0xff,
191 .maximum = 0xff,
201 .maximum = 4,
215 .maximum = 1,
223 .maximum = 1,
231 .maximum = 1,
246 .maximum = 1,
[all …]
/drivers/media/v4l2-core/
Dv4l2-ctrls.c1634 ev->u.ctrl.maximum = ctrl->maximum; in fill_event()
1816 if ((ctrl)->maximum >= 0 && \
1817 val >= (ctrl)->maximum - (s32)((ctrl)->step / 2)) \
1818 val = (ctrl)->maximum; \
1822 (ctrl)->minimum, (ctrl)->maximum); \
2086 if (ctrl->maximum >= 0 && val >= ctrl->maximum - (s64)(ctrl->step / 2)) in std_validate()
2087 val = ctrl->maximum; in std_validate()
2090 val = clamp_t(s64, val, ctrl->minimum, ctrl->maximum); in std_validate()
2108 if (ptr.p_s32[idx] < ctrl->minimum || ptr.p_s32[idx] > ctrl->maximum) in std_validate()
2119 ptr.p_s32[idx] &= ctrl->maximum; in std_validate()
[all …]
/drivers/atm/
Dambassador.h540 unsigned int maximum; // size - 1 (q implementation) member
549 unsigned int maximum; // size - 1 (q implementation) member
567 unsigned int maximum; // size - 1 (q implementation) member
Dambassador.c554 if (cq->pending < cq->maximum) { in command_do()
623 if (txq->pending < txq->maximum) { in tx_give()
680 if (rxq->pending < rxq->maximum) { in rx_give()
777 while (rxq->pending < rxq->maximum && rxq->pending < rxq->buffers_wanted) { in fill_rx_pool()
1431 c->pending, c->high, c->maximum); in amb_proc_read()
1437 t->pending, t->maximum, t->high, t->filled); in amb_proc_read()
1445 r->pending, r->maximum, r->buffers_wanted, r->low, r->emptied); in amb_proc_read()
1534 cq->maximum = cmds - 1; in create_queues()
1554 txq->maximum = txs - 1; in create_queues()
1583 rxq->maximum = rxs[pool] - 1; in create_queues()
/drivers/pnp/pnpacpi/
Drsparser.c354 pnp_register_port_resource(dev, option_flags, io->minimum, io->maximum, in pnpacpi_parse_port_option()
374 pnp_register_mem_resource(dev, option_flags, p->minimum, p->maximum, in pnpacpi_parse_mem24_option()
386 pnp_register_mem_resource(dev, option_flags, p->minimum, p->maximum, in pnpacpi_parse_mem32_option()
774 io->maximum = p->end; in pnpacpi_encode_io()
815 memory24->maximum = p->end; in pnpacpi_encode_mem24()
839 memory32->maximum = p->end; in pnpacpi_encode_mem32()
/drivers/scsi/aic7xxx/
DKconfig.aic79xx25 fixed maximum, the driver will eventually lock to this maximum
DKconfig.aic7xxx30 fixed maximum, the driver will eventually lock to this maximum
/drivers/scsi/mpt3sas/
DKconfig58 This option allows you to specify the maximum number of scatter-
70 This option allows you to specify the maximum number of scatter-
/drivers/net/wimax/i2400m/
DKconfig28 Select the maximum debug verbosity level to be compiled into

1234