Home
last modified time | relevance | path

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

/drivers/acpi/acpica/
Dutstring.c29 void acpi_ut_print_string(char *string, u16 max_length) in acpi_ut_print_string() argument
39 for (i = 0; (i < max_length) && string[i]; i++) { in acpi_ut_print_string()
105 if (i == max_length && string[i]) { in acpi_ut_print_string()
Dexconvrt.c20 acpi_ex_convert_to_ascii(u64 integer, u16 base, u8 *string, u8 max_length);
Dacutils.h603 void acpi_ut_print_string(char *string, u16 max_length);
/drivers/platform/x86/dell/dell-wmi-sysman/
Dstring-attributes.c47 (in_len > wmi_priv.str_data[instance_id].max_length)) in validate_str_input()
77 attribute_n_property_show(max_length, str);
79 __ATTR_RO(max_length);
153 wmi_priv.str_data[instance_id].max_length = (uintptr_t) str_obj[MAX_LEN].string.pointer; in populate_str_data()
Ddell-wmi-sysman.h57 int max_length; member
/drivers/dma/
Ddma-axi-dmac.c135 unsigned int max_length; member
506 num_segments = DIV_ROUND_UP(period_len, chan->max_length); in axi_dmac_fill_linear_sg()
556 num_sgs += DIV_ROUND_UP(sg_dma_len(sg), chan->max_length); in axi_dmac_prep_slave_sg()
600 num_segments = DIV_ROUND_UP(period_len, chan->max_length); in axi_dmac_prep_dma_cyclic()
645 if (xt->sgl[0].size + dst_icg > chan->max_length || in axi_dmac_prep_interleaved()
646 xt->sgl[0].size + src_icg > chan->max_length) in axi_dmac_prep_interleaved()
651 if (chan->max_length / xt->sgl[0].size < xt->numf) in axi_dmac_prep_interleaved()
875 chan->max_length = axi_dmac_read(dmac, AXI_DMAC_REG_X_LENGTH); in axi_dmac_detect_caps()
876 if (chan->max_length != UINT_MAX) in axi_dmac_detect_caps()
877 chan->max_length++; in axi_dmac_detect_caps()
/drivers/staging/media/deprecated/cpia2/
Dcpia2_usb.c87 if(cam->workbuff->length > cam->workbuff->max_length) in process_frame()
88 cam->workbuff->max_length = cam->workbuff->length; in process_frame()
110 cam->workbuff->length < cam->workbuff->max_length) { in process_frame()
113 0, cam->workbuff->max_length- in process_frame()
116 cam->workbuff->max_length = cam->workbuff->length; in process_frame()
300 if(cam->workbuff->length > cam->workbuff->max_length) in cpia2_usb_complete()
301 cam->workbuff->max_length = in cpia2_usb_complete()
Dcpia2.h348 int max_length; member
Dcpia2_core.c2278 cam->buffers[i].max_length = 0; in cpia2_allocate_buffers()
2285 cam->buffers[i].max_length = 0; in cpia2_allocate_buffers()
/drivers/platform/x86/
Dthink-lmi.h35 uint32_t max_length; member
Dthink-lmi.c327 if (WARN_ON(pwdcfg->core.max_length >= TLMI_PWD_BUFSIZE)) in tlmi_get_pwd_settings()
328 pwdcfg->core.max_length = TLMI_PWD_BUFSIZE - 1; in tlmi_get_pwd_settings()
1404 new_pwd->maxlen = tlmi_priv.pwdcfg.core.max_length; in tlmi_create_auth()
/drivers/net/ethernet/intel/e1000/
De1000_hw.c21 u16 *max_length);
3237 u16 phy_data, min_length, max_length, average; in e1000_phy_igp_get_info() local
3283 ret_val = e1000_get_cable_length(hw, &min_length, &max_length); in e1000_phy_igp_get_info()
3288 average = (max_length + min_length) / 2; in e1000_phy_igp_get_info()
4879 u16 *max_length) in e1000_get_cable_length() argument
4886 *min_length = *max_length = 0; in e1000_get_cable_length()
4901 *max_length = e1000_igp_cable_length_50; in e1000_get_cable_length()
4905 *max_length = e1000_igp_cable_length_80; in e1000_get_cable_length()
4909 *max_length = e1000_igp_cable_length_110; in e1000_get_cable_length()
4913 *max_length = e1000_igp_cable_length_140; in e1000_get_cable_length()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c1366 u8 max_length; in dr_action_modify_sw_to_hw_add() local
1381 max_length = hw_action_info->end - hw_action_info->start + 1; in dr_action_modify_sw_to_hw_add()
1387 max_length, in dr_action_modify_sw_to_hw_add()
1402 u8 offset, length, max_length; in dr_action_modify_sw_to_hw_set() local
1422 max_length = hw_action_info->end - hw_action_info->start + 1; in dr_action_modify_sw_to_hw_set()
1424 if (length + offset > max_length) { in dr_action_modify_sw_to_hw_set()
/drivers/target/iscsi/
Discsi_target_nego.c57 unsigned int max_length, in extract_param() argument
89 if (len >= max_length) { in extract_param()
91 " %d\n", len, max_length); in extract_param()