Home
last modified time | relevance | path

Searched refs:max_length (Results 1 – 20 of 20) sorted by relevance

/drivers/isdn/hardware/eicon/
Ddqueue.c18 int max_length, int max_segments) in diva_data_q_init() argument
22 q->max_length = max_length; in diva_data_q_init()
32 if (!(q->data[i] = diva_os_malloc(0, q->max_length))) { in diva_data_q_init()
59 return (q->max_length); in diva_data_q_get_max_length()
Distream.c49 int max_length,
151 int max_length, in diva_istream_read() argument
169 if (tmp[1] > max_length) { in diva_istream_read()
179 to_read = min(max_length, (int)tmp[1]); in diva_istream_read()
189 max_length -= to_read; in diva_istream_read()
Ddqueue.h10 int max_length; member
20 int max_length, int max_segments);
Ddiva.h19 int max_length, divas_xdi_copy_to_user_fn_t cp_fn);
Dum_idi.h27 int max_length, divas_um_idi_copy_to_user_fn_t cp_fn);
Ddebug_if.h62 int diva_get_trace_filter(int max_length, char *filter);
Ddiva.c482 int max_length, divas_xdi_copy_to_user_fn_t cp_fn) in diva_xdi_read() argument
497 if (max_length < a->xdi_mbox.data_length) { in diva_xdi_read()
499 a->controller, max_length, in diva_xdi_read()
Ddi.h111 int max_length,
Dum_idi.c304 int max_length, divas_um_idi_copy_to_user_fn_t cp_fn) in diva_um_idi_read() argument
325 DBG_TRC(("A(%d) E(%08x) read(%d)", a->adapter_nr, e, max_length)); in diva_um_idi_read()
349 max_length) { in diva_um_idi_read()
Ddivasync.h181 int max_length,
Ddebug.c2030 int diva_get_trace_filter(int max_length, char *filter) { in diva_get_trace_filter() argument
2036 if (max_length >= len) { in diva_get_trace_filter()
/drivers/acpi/acpica/
Dutstring.c65 void acpi_ut_print_string(char *string, u16 max_length) in acpi_ut_print_string() argument
75 for (i = 0; (i < max_length) && string[i]; i++) { in acpi_ut_print_string()
141 if (i == max_length && string[i]) { in acpi_ut_print_string()
Dexconvrt.c54 acpi_ex_convert_to_ascii(u64 integer, u16 base, u8 *string, u8 max_length);
Dacutils.h605 void acpi_ut_print_string(char *string, u16 max_length);
/drivers/dma/
Ddma-axi-dmac.c107 unsigned int max_length; member
165 if (len == 0 || len > chan->max_length) in axi_dmac_check_len()
456 if (xt->sgl[0].size + dst_icg > chan->max_length || in axi_dmac_prep_interleaved()
457 xt->sgl[0].size + src_icg > chan->max_length) in axi_dmac_prep_interleaved()
462 if (chan->max_length / xt->sgl[0].size < xt->numf) in axi_dmac_prep_interleaved()
551 chan->max_length = UINT_MAX; in axi_dmac_parse_chan_dt()
553 chan->max_length = (1ULL << val) - 1; in axi_dmac_parse_chan_dt()
616 dma_set_max_seg_size(&pdev->dev, dmac->chan.max_length); in axi_dmac_probe()
/drivers/media/usb/cpia2/
Dcpia2_usb.c100 if(cam->workbuff->length > cam->workbuff->max_length) in process_frame()
101 cam->workbuff->max_length = cam->workbuff->length; in process_frame()
123 cam->workbuff->length < cam->workbuff->max_length) { in process_frame()
126 0, cam->workbuff->max_length- in process_frame()
129 cam->workbuff->max_length = cam->workbuff->length; in process_frame()
313 if(cam->workbuff->length > cam->workbuff->max_length) in cpia2_usb_complete()
314 cam->workbuff->max_length = in cpia2_usb_complete()
Dcpia2.h361 int max_length; member
Dcpia2_core.c2261 cam->buffers[i].max_length = 0; in cpia2_allocate_buffers()
2268 cam->buffers[i].max_length = 0; in cpia2_allocate_buffers()
/drivers/net/ethernet/intel/e1000/
De1000_hw.c46 u16 *max_length);
3270 u16 phy_data, min_length, max_length, average; in e1000_phy_igp_get_info() local
3316 ret_val = e1000_get_cable_length(hw, &min_length, &max_length); in e1000_phy_igp_get_info()
3321 average = (max_length + min_length) / 2; in e1000_phy_igp_get_info()
4922 u16 *max_length) in e1000_get_cable_length() argument
4929 *min_length = *max_length = 0; in e1000_get_cable_length()
4944 *max_length = e1000_igp_cable_length_50; in e1000_get_cable_length()
4948 *max_length = e1000_igp_cable_length_80; in e1000_get_cable_length()
4952 *max_length = e1000_igp_cable_length_110; in e1000_get_cable_length()
4956 *max_length = e1000_igp_cable_length_140; in e1000_get_cable_length()
[all …]
/drivers/target/iscsi/
Discsi_target_nego.c63 unsigned int max_length, in extract_param() argument
92 if (len >= max_length) { in extract_param()
94 " %d\n", len, max_length); in extract_param()