Home
last modified time | relevance | path

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

/Linux-v5.4/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.h601 void acpi_ut_print_string(char *string, u16 max_length);
/Linux-v5.4/drivers/dma/
Ddma-axi-dmac.c120 unsigned int max_length; member
493 num_segments = DIV_ROUND_UP(period_len, chan->max_length); in axi_dmac_fill_linear_sg()
543 num_sgs += DIV_ROUND_UP(sg_dma_len(sg), chan->max_length); in axi_dmac_prep_slave_sg()
587 num_segments = DIV_ROUND_UP(period_len, chan->max_length); in axi_dmac_prep_dma_cyclic()
632 if (xt->sgl[0].size + dst_icg > chan->max_length || in axi_dmac_prep_interleaved()
633 xt->sgl[0].size + src_icg > chan->max_length) in axi_dmac_prep_interleaved()
638 if (chan->max_length / xt->sgl[0].size < xt->numf) in axi_dmac_prep_interleaved()
793 chan->max_length = axi_dmac_read(dmac, AXI_DMAC_REG_X_LENGTH); in axi_dmac_detect_caps()
794 if (chan->max_length != UINT_MAX) in axi_dmac_detect_caps()
795 chan->max_length++; in axi_dmac_detect_caps()
/Linux-v5.4/net/wireless/
Dradiotap.c99 int max_length, const struct ieee80211_radiotap_vendor_namespaces *vns) in ieee80211_radiotap_iterator_init() argument
102 if (max_length < sizeof(struct ieee80211_radiotap_header)) in ieee80211_radiotap_iterator_init()
110 if (max_length < get_unaligned_le16(&radiotap_header->it_len)) in ieee80211_radiotap_iterator_init()
/Linux-v5.4/drivers/media/usb/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.c2266 cam->buffers[i].max_length = 0; in cpia2_allocate_buffers()
2273 cam->buffers[i].max_length = 0; in cpia2_allocate_buffers()
/Linux-v5.4/lib/zlib_deflate/
Ddeftree.c120 int max_length; /* max bit length for the codes */ member
417 int max_length = desc->stat_desc->max_length; in gen_bitlen() local
435 if (bits > max_length) bits = max_length, overflow++; in gen_bitlen()
455 bits = max_length-1; in gen_bitlen()
459 s->bl_count[max_length]--; in gen_bitlen()
471 for (bits = max_length; bits != 0; bits--) { in gen_bitlen()
/Linux-v5.4/tools/perf/jvmti/
Dlibjvmti.c143 …y_class_filename(const char * class_sign, const char * file_name, char * result, size_t max_length) in copy_class_filename() argument
160 for (j = 0; i < (max_length - 1) && file_name && j < strlen(file_name); j++, i++) in copy_class_filename()
166 strlcpy(result, file_name, max_length); in copy_class_filename()
/Linux-v5.4/Documentation/networking/
Dradiotap-headers.txt145 buf += iterator.max_length;
146 buflen -= iterator.max_length;
/Linux-v5.4/drivers/net/ethernet/intel/e1000/
De1000_hw.c21 u16 *max_length);
3245 u16 phy_data, min_length, max_length, average; in e1000_phy_igp_get_info() local
3291 ret_val = e1000_get_cable_length(hw, &min_length, &max_length); in e1000_phy_igp_get_info()
3296 average = (max_length + min_length) / 2; in e1000_phy_igp_get_info()
4899 u16 *max_length) in e1000_get_cable_length() argument
4906 *min_length = *max_length = 0; in e1000_get_cable_length()
4921 *max_length = e1000_igp_cable_length_50; in e1000_get_cable_length()
4925 *max_length = e1000_igp_cable_length_80; in e1000_get_cable_length()
4929 *max_length = e1000_igp_cable_length_110; in e1000_get_cable_length()
4933 *max_length = e1000_igp_cable_length_140; in e1000_get_cable_length()
[all …]
/Linux-v5.4/drivers/target/iscsi/
Discsi_target_nego.c58 unsigned int max_length, in extract_param() argument
87 if (len >= max_length) { in extract_param()
89 " %d\n", len, max_length); in extract_param()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c1222 u8 offset, length, max_length, action; in dr_action_modify_sw_to_hw() local
1241 max_length = hw_action_info->end - hw_action_info->start + 1; in dr_action_modify_sw_to_hw()
1250 if (length + offset > max_length) { in dr_action_modify_sw_to_hw()
1259 length = max_length; in dr_action_modify_sw_to_hw()
/Linux-v5.4/include/net/
Dcfg80211.h5132 int max_length,