Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - P index

CONFIG_PACKING: Generic bitfield packing and unpacking

General informations

The Linux kernel configuration item CONFIG_PACKING:

Help text

This option provides the packing() helper function, which permits converting bitfields between a CPU-usable representation and a memory representation that can have any combination of these quirks: - Is little endian (bytes are reversed within a 32-bit group) - The least-significant 32-bit word comes first (within a 64-bit group) - The most significant bit of a byte is at its right (bit 0 of a register description is numerically 2^7). Drivers may use these helpers to match the bit indices as described in the data sheets of the peripherals they are in control of.

When in doubt, say N.

Hardware

LKDDb

Raw data from LKDDb:

Sources

This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - P index

Automatically generated (in year 2019). See also LKDDb sources on GitLab