Home
last modified time | relevance | path

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

/drivers/acpi/acpica/
A 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()
A Dexconvrt.c21 u16 base, u8 *string, u8 max_length, u8 leading_zeros);
A Dacutils.h618 void acpi_ut_print_string(char *string, u16 max_length);
/drivers/platform/x86/dell/dell-wmi-sysman/
A Dstring-attributes.c48 (in_len > wmi_priv.str_data[instance_id].max_length)) in validate_str_input()
78 attribute_n_property_show(max_length, str);
80 __ATTR_RO(max_length);
154 wmi_priv.str_data[instance_id].max_length = (uintptr_t) str_obj[MAX_LEN].string.pointer; in populate_str_data()
A Ddell-wmi-sysman.h57 int max_length; member
/drivers/platform/x86/hp/hp-bioscfg/
A Dstring-attributes.c42 if (in_len < string_data->min_length || in_len > string_data->max_length) in validate_string_input()
74 ATTRIBUTE_N_PROPERTY_SHOW(max_length, string);
76 __ATTR_RO(max_length);
245 string_data->max_length = int_value; in hp_populate_string_elements_from_package()
330 &string_data->max_length); in hp_populate_string_elements_from_buffer()
A Dbioscfg.h137 u32 max_length; member
/drivers/dma/
A Ddma-axi-dmac.c154 unsigned int max_length; member
592 num_segments = DIV_ROUND_UP(period_len, chan->max_length); in axi_dmac_fill_linear_sg()
638 num_sgs += DIV_ROUND_UP(vecs[i].len, chan->max_length); in axi_dmac_prep_peripheral_dma_vec()
679 num_sgs += DIV_ROUND_UP(sg_dma_len(sg), chan->max_length); in axi_dmac_prep_slave_sg()
723 num_segments = DIV_ROUND_UP(period_len, chan->max_length); in axi_dmac_prep_dma_cyclic()
773 if (xt->sgl[0].size + dst_icg > chan->max_length || in axi_dmac_prep_interleaved()
774 xt->sgl[0].size + src_icg > chan->max_length) in axi_dmac_prep_interleaved()
779 if (chan->max_length / xt->sgl[0].size < xt->numf) in axi_dmac_prep_interleaved()
1010 chan->max_length = axi_dmac_read(dmac, AXI_DMAC_REG_X_LENGTH); in axi_dmac_detect_caps()
1011 if (chan->max_length != UINT_MAX) in axi_dmac_detect_caps()
[all …]
/drivers/platform/x86/lenovo/
A Dthink-lmi.h53 uint32_t max_length; member
A Dthink-lmi.c322 if (WARN_ON(pwdcfg->core.max_length >= TLMI_PWD_BUFSIZE)) in tlmi_get_pwd_settings()
323 pwdcfg->core.max_length = TLMI_PWD_BUFSIZE - 1; in tlmi_get_pwd_settings()
1552 new_pwd->maxlen = tlmi_priv.pwdcfg.core.max_length; in tlmi_create_auth()
/drivers/net/ethernet/intel/e1000/
A De1000_hw.c22 u16 *max_length);
3238 u16 phy_data, min_length, max_length, average; in e1000_phy_igp_get_info() local
3288 average = (max_length + min_length) / 2; in e1000_phy_igp_get_info()
4875 u16 *max_length) in e1000_get_cable_length() argument
4882 *min_length = *max_length = 0; in e1000_get_cable_length()
4896 *max_length = e1000_igp_cable_length_50; in e1000_get_cable_length()
4900 *max_length = e1000_igp_cable_length_80; in e1000_get_cable_length()
4904 *max_length = e1000_igp_cable_length_110; in e1000_get_cable_length()
4908 *max_length = e1000_igp_cable_length_140; in e1000_get_cable_length()
4912 *max_length = e1000_igp_cable_length_170; in e1000_get_cable_length()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
A Ddr_action.c1602 u8 max_length; in dr_action_modify_sw_to_hw_add() local
1617 max_length = hw_action_info->end - hw_action_info->start + 1; in dr_action_modify_sw_to_hw_add()
1623 max_length, in dr_action_modify_sw_to_hw_add()
1638 u8 offset, length, max_length; in dr_action_modify_sw_to_hw_set() local
1658 max_length = hw_action_info->end - hw_action_info->start + 1; in dr_action_modify_sw_to_hw_set()
1660 if (length + offset > max_length) { in dr_action_modify_sw_to_hw_set()
/drivers/target/iscsi/
A Discsi_target_nego.c58 unsigned int max_length, in extract_param() argument
90 if (len >= max_length) { in extract_param()
92 " %d\n", len, max_length); in extract_param()
/drivers/accel/qaic/
A Dsahara.c71 __le32 max_length; member
287 le32_to_cpu(context->rx->hello.max_length), in sahara_hello()

Completed in 38 milliseconds