/linux/drivers/acpi/acpica/ |
A D | utstring.c | 29 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 D | exconvrt.c | 20 acpi_ex_convert_to_ascii(u64 integer, u16 base, u8 *string, u8 max_length);
|
A D | acutils.h | 603 void acpi_ut_print_string(char *string, u16 max_length);
|
/linux/drivers/platform/x86/dell/dell-wmi-sysman/ |
A D | string-attributes.c | 47 (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()
|
A D | dell-wmi-sysman.h | 57 int max_length; member
|
/linux/drivers/dma/ |
A D | dma-axi-dmac.c | 131 unsigned int max_length; member 502 num_segments = DIV_ROUND_UP(period_len, chan->max_length); in axi_dmac_fill_linear_sg() 552 num_sgs += DIV_ROUND_UP(sg_dma_len(sg), chan->max_length); in axi_dmac_prep_slave_sg() 596 num_segments = DIV_ROUND_UP(period_len, chan->max_length); in axi_dmac_prep_dma_cyclic() 641 if (xt->sgl[0].size + dst_icg > chan->max_length || in axi_dmac_prep_interleaved() 642 xt->sgl[0].size + src_icg > chan->max_length) in axi_dmac_prep_interleaved() 647 if (chan->max_length / xt->sgl[0].size < xt->numf) in axi_dmac_prep_interleaved() 871 chan->max_length = axi_dmac_read(dmac, AXI_DMAC_REG_X_LENGTH); in axi_dmac_detect_caps() 872 if (chan->max_length != UINT_MAX) in axi_dmac_detect_caps() 873 chan->max_length++; in axi_dmac_detect_caps()
|
/linux/net/wireless/ |
A D | radiotap.c | 100 int max_length, const struct ieee80211_radiotap_vendor_namespaces *vns) in ieee80211_radiotap_iterator_init() argument 103 if (max_length < sizeof(struct ieee80211_radiotap_header)) in ieee80211_radiotap_iterator_init() 111 if (max_length < get_unaligned_le16(&radiotap_header->it_len)) in ieee80211_radiotap_iterator_init()
|
/linux/lib/zlib_deflate/ |
A D | deftree.c | 115 int max_length; /* max bit length for the codes */ member 363 int max_length = desc->stat_desc->max_length; in gen_bitlen() local 381 if (bits > max_length) bits = max_length, overflow++; in gen_bitlen() 401 bits = max_length-1; in gen_bitlen() 405 s->bl_count[max_length]--; in gen_bitlen() 417 for (bits = max_length; bits != 0; bits--) { in gen_bitlen()
|
/linux/drivers/media/usb/cpia2/ |
A D | cpia2_usb.c | 87 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()
|
A D | cpia2.h | 348 int max_length; member
|
A D | cpia2_core.c | 2278 cam->buffers[i].max_length = 0; in cpia2_allocate_buffers() 2285 cam->buffers[i].max_length = 0; in cpia2_allocate_buffers()
|
/linux/tools/perf/jvmti/ |
A D | libjvmti.c | 138 …y_class_filename(const char * class_sign, const char * file_name, char * result, size_t max_length) in copy_class_filename() argument 155 for (j = 0; i < (max_length - 1) && file_name && j < strlen(file_name); j++, i++) in copy_class_filename() 161 strlcpy(result, file_name, max_length); in copy_class_filename()
|
/linux/drivers/platform/x86/ |
A D | think-lmi.h | 29 uint32_t max_length; member
|
A D | think-lmi.c | 940 if (WARN_ON(pwdcfg.max_length >= TLMI_PWD_BUFSIZE)) in tlmi_analyze() 941 pwdcfg.max_length = TLMI_PWD_BUFSIZE - 1; in tlmi_analyze() 942 tlmi_priv.pwd_admin->maxlen = pwdcfg.max_length; in tlmi_analyze() 958 tlmi_priv.pwd_power->maxlen = pwdcfg.max_length; in tlmi_analyze()
|
/linux/drivers/net/ethernet/intel/e1000/ |
A D | e1000_hw.c | 21 u16 *max_length); 3237 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() 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() 4917 *max_length = e1000_igp_cable_length_170; in e1000_get_cable_length() [all …]
|
/linux/Documentation/networking/ |
A D | radiotap-headers.rst | 152 buf += iterator.max_length; 153 buflen -= iterator.max_length;
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
A D | dr_action.c | 1259 u8 max_length; in dr_action_modify_sw_to_hw_add() local 1274 max_length = hw_action_info->end - hw_action_info->start + 1; in dr_action_modify_sw_to_hw_add() 1280 max_length, in dr_action_modify_sw_to_hw_add() 1295 u8 offset, length, max_length; in dr_action_modify_sw_to_hw_set() local 1315 max_length = hw_action_info->end - hw_action_info->start + 1; in dr_action_modify_sw_to_hw_set() 1317 if (length + offset > max_length) { in dr_action_modify_sw_to_hw_set()
|
/linux/drivers/target/iscsi/ |
A D | iscsi_target_nego.c | 57 unsigned int max_length, in extract_param() argument 86 if (len >= max_length) { in extract_param() 88 " %d\n", len, max_length); in extract_param()
|
/linux/Documentation/ABI/testing/ |
A D | sysfs-class-firmware-attributes | 72 max_length:
|
/linux/include/net/ |
A D | cfg80211.h | 5805 int max_length,
|