Home
last modified time | relevance | path

Searched full:convert (Results 1 – 25 of 2026) sorted by relevance

12345678910>>...82

/linux/arch/arm/mach-omap2/
H A Dpmic-cpcap.c21 * omap_cpcap_vsel_to_uv - convert CPCAP VSEL value to microvolts DC
22 * @vsel: CPCAP VSEL value to convert
35 * omap_cpcap_uv_to_vsel - convert microvolts DC to CPCAP VSEL value
36 * @uv: microvolts DC to convert
85 * omap_max8952_vsel_to_uv - convert MAX8952 VSEL value to microvolts DC
86 * @vsel: MAX8952 VSEL value to convert
99 * omap_max8952_uv_to_vsel - convert microvolts DC to MAX8952 VSEL value
100 * @uv: microvolts DC to convert
132 * omap_fan535503_vsel_to_uv - convert FAN535503 VSEL value to microvolts DC
133 * @vsel: FAN535503 VSEL value to convert
[all …]
/linux/tools/perf/Documentation/
H A Dperf-data.txt19 convert::
21 It's possible to set data-convert debug variable to get debug messages from conversion,
23 perf --debug data-convert data convert ...
25 OPTIONS for 'convert'
34 Convert time to wall clock time.
48 Convert all events, including non-sample events (comm, fork, ...), to output.
49 Default is off, only convert samples.
/linux/fs/ocfs2/dlm/
H A Ddlmconvert.c120 mlog(ML_ERROR, "attempted to convert a lock with a lock " in __dlmconvert_master()
126 /* must be on grant queue to convert */ in __dlmconvert_master()
128 mlog(ML_ERROR, "attempted to convert a lock not on grant " in __dlmconvert_master()
137 /* EX + LKM_VALBLK + convert == set lvb */ in __dlmconvert_master()
193 mlog(0, "doing in-place convert for nonlocal lock\n"); in __dlmconvert_master()
210 mlog(0, "failed to convert NOQUEUE lock %.*s from " in __dlmconvert_master()
281 mlog(0, "last convert request returned DLM_RECOVERING, but " in dlmconvert_remote()
293 /* move lock to local convert queue */ in dlmconvert_remote()
323 * DLM_RECOVERING and retry convert */ in dlmconvert_remote()
330 "to granted list, retry convert.\n", in dlmconvert_remote()
[all …]
H A Ddlmlock.c548 int convert = 0, recovery = 0; in dlmlock() local
552 * lock and convert paths, especially in the retry blocks */ in dlmlock()
569 convert = (flags & LKM_CONVERT); in dlmlock()
573 (!dlm_is_recovery_lock(name, namelen) || convert) ) { in dlmlock()
577 if (convert && (flags & LKM_LOCAL)) { in dlmlock()
578 mlog(ML_ERROR, "strange LOCAL convert request!\n"); in dlmlock()
582 if (convert) { in dlmlock()
583 /* CONVERT request */ in dlmlock()
588 mlog(ML_ERROR, "NULL lock pointer in convert " in dlmlock()
595 mlog(ML_ERROR, "NULL lockres pointer in convert " in dlmlock()
[all …]
/linux/tools/perf/tests/
H A Dbitmap.c46 TEST_ASSERT_VAL("failed to convert map", test_bitmap("1")); in test__bitmap_print()
47 TEST_ASSERT_VAL("failed to convert map", test_bitmap("1,5")); in test__bitmap_print()
48 TEST_ASSERT_VAL("failed to convert map", test_bitmap("1,3,5,7,9,11,13,15,17,19,21-40")); in test__bitmap_print()
49 TEST_ASSERT_VAL("failed to convert map", test_bitmap("2-5")); in test__bitmap_print()
50 TEST_ASSERT_VAL("failed to convert map", test_bitmap("1,3-6,8-10,24,35-37")); in test__bitmap_print()
51 TEST_ASSERT_VAL("failed to convert map", test_bitmap("1,3-6,8-10,24,35-37")); in test__bitmap_print()
52 TEST_ASSERT_VAL("failed to convert map", test_bitmap("1-10,12-20,22-30,32-40")); in test__bitmap_print()
/linux/tools/perf/
H A Dbuiltin-data.c8 #include "data-convert.h"
24 static const char * const data_subcommands[] = { "convert", NULL };
27 "perf data convert [<options>]",
41 OPT_STRING(0, "to-json", &to_json, NULL, "Convert to JSON format"),
43 OPT_STRING(0, "to-ctf", &to_ctf, NULL, "Convert to CTF format"),
44 OPT_BOOLEAN(0, "tod", &opts.tod, "Convert time to wall clock time"),
47 OPT_BOOLEAN(0, "all", &opts.all, "Convert all events"),
96 { "convert", "converts data file between formats", cmd_data_convert },
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_common.c14 * hinic_cpu_to_be32 - convert data to big endian 32 bit format
15 * @data: the data to convert
16 * @len: length of data to convert
32 * hinic_be32_to_cpu - convert data from big endian 32 bit format
33 * @data: the data to convert
34 * @len: length of data to convert
/linux/fs/xfs/libxfs/
H A Dxfs_dir2.h50 * Convert inode mode to directory entry filetype
133 * Convert dataptr to byte in file space
142 * Convert byte in file space to dataptr. It had better be aligned.
151 * Convert byte in space to (DB) block
160 * Convert dataptr to a block number
169 * Convert byte in space to offset in a block
178 * Convert dataptr to a byte offset in a block
187 * Convert block and offset to byte in space
197 * Convert block (DB) to block (dablk)
206 * Convert byte in space to (DA) block
[all …]
H A Dxfs_rtbitmap.h36 /* Convert an rgbno into an rt extent number. */
92 /* Convert an rt block count into an rt extent count. */
125 /* Convert an rt block number into an rt extent number. */
178 /* Convert an rt extent number to a file block offset in the rt bitmap file. */
190 /* Convert an rt extent number to a word offset within an rt bitmap block. */
206 /* Convert a file block offset in the rt bitmap file to an rt extent number. */
236 /* Convert an ondisk bitmap word to its incore representation. */
265 * Convert a rt extent length and rt bitmap block number to a xfs_suminfo_t
278 * Convert an xfs_suminfo_t offset to a file block offset within the rt summary
293 * Convert an xfs_suminfo_t offset to an info word offset within an rt summary
/linux/Documentation/filesystems/iomap/
H A Dporting.rst17 Why Convert?
20 There are several reasons to convert a filesystem to iomap:
32 convert the old buffer_head path to use them.
44 How Do I Convert a Filesystem?
73 Once the read-only functions are working like this, convert each high
78 It is suggested to convert swap file activation, ``SEEK_DATA``, and
95 Then convert the direct I/O write path to iomap, and start running fsx
100 Now, convert any remaining file operations to call the iomap functions.
/linux/fs/jfs/
H A Djfs_dmap.h62 * convert disk block number to the logical block number of the dmap
76 * convert disk block number to the logical block number of the LEVEL 0
91 * convert disk block number to the logical block number of the LEVEL 1
106 * convert disk block number to the logical block number of the dmapctl
113 * convert aggregate map size to the zero origin dmapctl level of the
119 /* convert disk block number to allocation group number.
123 /* convert allocation group number to starting disk block
259 /* convert number of blocks to log2 number of blocks, rounding up to
264 /* convert number of leafs to log2 leaf value */
267 /* convert leaf index to log2 leaf value */
[all …]
/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-ctrl.h69 /* Convert a given mask/val to a custom symbolic value */
75 /* Convert a symbolic value to a mask/value pair */
80 /* Convert a given mask/val to a symbolic value */
86 /* Convert a symbolic value to a mask/value pair */
91 /* Convert a given mask/val to a symbolic value - must already be
/linux/drivers/media/common/videobuf2/
H A Dframe_vector.c90 * But it shouldn't really fail to convert pfns back... in put_vaddr_frames()
103 * frame_vector_to_pages - convert frame vector to contain page pointers
104 * @vec: frame vector to convert
106 * Convert @vec to contain array of page pointers. If the conversion is
131 * frame_vector_to_pfns - convert frame vector to contain pfns
132 * @vec: frame vector to convert
134 * Convert @vec to contain array of pfns.
/linux/fs/adfs/
H A Dinode.c88 * Convert ADFS attributes and filetype to Linux permission.
131 * Convert Linux permission to ADFS attribute. We try to do the reverse
169 * Convert an ADFS time to Unix time. ADFS has a 40-bit centi-second time
171 * of time to convert from RISC OS epoch to Unix epoch.
188 /* convert 40-bit centi-seconds to 32-bit seconds in adfs_adfs2unix_time()
197 /* convert from RISC OS to Unix epoch */ in adfs_adfs2unix_time()
212 /* Convert an Unix time to ADFS time for an entry that is already stamped. */
218 /* convert from Unix to RISC OS epoch */ in adfs_unix2adfs_time()
221 /* convert from nanoseconds to centiseconds */ in adfs_unix2adfs_time()
296 * Validate and convert a changed access mode/time to their ADFS equivalents.
/linux/fs/smb/server/
H A Dunicode.c17 * cifs_mapchar() - convert a host-endian char to proper char in codepage
80 /* convert SURROGATE_PAIR and IVS */ in cifs_mapchar()
137 * smb_from_utf16() - convert utf16le string to local charset
145 * Convert a little-endian utf16le string (as sent by the server) to a string
225 * smb_strtoUTF16() - Convert character string to unicode string
243 * convert utf8 -> utf16, we assume we have enough space in smb_strtoUTF16()
284 * Take a string given by the server, convert it to the local codepage and
322 * Convert 16 bit Unicode pathname to wire format from string in current code
328 * smbConvertToUTF16() - convert string from local charset to utf16
335 * Convert 16 bit Unicode pathname to wire format from string in current code
[all …]
/linux/include/drm/ttm/
H A Dttm_backup.h13 * ttm_backup_handle_to_page_ptr() - Convert handle to struct page pointer
14 * @handle: The handle to convert.
41 * ttm_backup_page_ptr_to_handle() - Convert a struct page pointer to a handle
42 * @page: The struct page pointer to convert
/linux/sound/core/seq/
H A Dseq_ump_convert.c361 /* convert UMP packet from MIDI 1.0 to MIDI 2.0 and deliver it */
431 /* convert UMP packet from MIDI 2.0 to MIDI 1.0 and deliver it */
503 /* convert UMP to a legacy ALSA seq event and deliver it */
581 /* Convert from UMP packet and deliver */
627 /* convert note on/off event to MIDI 1.0 UMP */
642 /* convert CC event to MIDI 1.0 UMP */
655 /* convert one-parameter control event to MIDI 1.0 UMP */
667 /* convert pitchbend event to MIDI 1.0 UMP */
683 /* convert 14bit control event to MIDI 1.0 UMP; split to two events */
704 /* convert RPN/NRPN event to MIDI 1.0 UMP; split to four events */
[all …]
/linux/lib/
H A Dbitmap-str.c16 * bitmap_parse_user - convert an ASCII hex string in a user buffer into a bitmap
43 * bitmap_print_to_pagebuf - convert bitmap to list or hex format ASCII string
46 * @maskp: pointer to bitmap to convert
69 * bitmap_print_to_buf - convert bitmap to list or hex format ASCII string
74 * @maskp: pointer to bitmap to convert
97 * bitmap_print_bitmask_to_buf - convert bitmap to hex bitmask format ASCII string
99 * @maskp: pointer to bitmap to convert
188 * bitmap_print_list_to_buf - convert bitmap to decimal list format ASCII string
190 * @maskp: pointer to bitmap to convert
347 * bitmap_parselist - convert list format ASCII string to bitmap
[all …]
/linux/drivers/acpi/acpica/
H A Dexconvrt.c34 * DESCRIPTION: Convert an ACPI Object to an integer.
74 * Convert the buffer/string to an integer. Note that both buffers and in acpi_ex_convert_to_integer()
75 * strings are treated as raw data - we don't convert ascii to hex for in acpi_ex_convert_to_integer()
89 * Convert string to an integer - for most cases, the string must be in acpi_ex_convert_to_integer()
123 * Convert buffer to an integer - we simply grab enough raw data in acpi_ex_convert_to_integer()
170 * DESCRIPTION: Convert an ACPI Object to a Buffer
257 * DESCRIPTION: Convert an ACPI Integer to a hex or decimal string
379 * DESCRIPTION: Convert an ACPI Object to a string. Supports both implicit
458 /* Convert integer to string */ in acpi_ex_convert_to_string()
560 * Convert buffer bytes to hex or decimal values in acpi_ex_convert_to_string()
[all …]
H A Dnsconvert.c30 * DESCRIPTION: Attempt to convert a String/Buffer object to an Integer.
94 * DESCRIPTION: Attempt to convert a Integer/Buffer object to a String.
109 * Integer-to-String conversion. Commonly, convert in acpi_ns_convert_to_string()
177 * DESCRIPTION: Attempt to convert a Integer/String/Package object to a Buffer.
196 * Convert the Integer to a packed-byte buffer. _MAT and other in acpi_ns_convert_to_buffer()
281 * DESCRIPTION: Attempt to convert a String object to a Unicode string Buffer.
312 * The original object is an ASCII string. Convert this string to in acpi_ns_convert_to_unicode()
327 /* Convert ASCII to Unicode */ in acpi_ns_convert_to_unicode()
347 * DESCRIPTION: Attempt to convert a Integer object to a resource_template
426 * DESCRIPTION: Attempt to convert a Integer object to a object_reference.
[all …]
/linux/sound/core/
H A Dump_convert.c68 /* convert a UMP System message to MIDI 1.0 byte stream */
86 /* convert a UMP MIDI 1.0 Channel Voice message to MIDI 1.0 byte stream */
101 /* convert a UMP MIDI 2.0 Channel Voice message to MIDI 1.0 byte stream */
169 /* convert a UMP 7-bit SysEx message to MIDI 1.0 byte stream */
209 * snd_ump_convert_from_ump - convert from UMP to legacy MIDI
214 * Convert from a UMP packet @data to MIDI 1.0 bytes at @buf.
244 /* convert MIDI 1.0 SysEx to a UMP packet */
278 /* convert to a UMP System message */
328 /* convert to a MIDI 1.0 Channel Voice message */
514 * snd_ump_convert_to_ump - convert legacy MIDI byte to UMP packet
[all …]
/linux/fs/smb/client/
H A Dcifs_unicode.c29 /* Convert character using the SFU - "Services for Unix" remapping range */
63 /* Convert character using the SFM - "Services for Mac" remapping range */
107 * cifs_mapchar - convert a host-endian char to proper char in codepage
140 /* convert SURROGATE_PAIR and IVS */ in cifs_mapchar()
155 * cifs_from_utf16 - convert utf16le string to local charset
163 * Convert a little-endian utf16le string (as sent by the server) to a string
244 * FUNCTION: Convert character string to unicode string
258 * convert utf8 -> utf16, we assume we have enough space in cifs_strtoUTF16()
341 * Take a string given by the server, convert it to the local codepage and
447 * Convert 16 bit Unicode pathname to wire format from string in current code
[all …]
/linux/drivers/media/platform/allegro-dvt/
H A Dnal-h264.h5 * Convert NAL units between raw byte sequence payloads (RBSP) and C structs.
197 * Convert the &enum v4l2_mpeg_video_h264_profile to profile_idc as specified
222 * Convert the &enum v4l2_mpeg_video_h264_level to level_idc as specified in
271 * Convert the &enum v4l2_quantization to video_full_range_flag as specified in
294 * Convert the &enum v4l2_colorspace to color_primaries as specified in
330 * Convert the &enum v4l2_xfer_func to transfer_characteristics as specified in
361 * Convert the &enum v4l2_ycbcr_encoding to matrix_coefficients as specified in
/linux/Documentation/devicetree/bindings/sound/
H A Ddai-params.yaml15 convert-channels:
21 convert-sample-format:
31 convert-rate:
/linux/drivers/staging/octeon/
H A Dethernet-util.h9 * cvm_oct_get_buffer_ptr - convert packet data address to pointer
21 * INTERFACE - convert IPD port to logical interface
39 * INDEX - convert IPD/PKO port number to the port's interface index

12345678910>>...82