Home
last modified time | relevance | path

Searched refs:packing (Results 1 – 24 of 24) sorted by relevance

/linux/include/linux/dsa/
H A Docelot.h189 packing(extraction, rew_val, 116, 85, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_rew_val()
196 packing(extraction, &llen, 84, 79, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_len()
197 packing(extraction, &wlen, 78, 71, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_len()
204 packing(extraction, src_port, 46, 43, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_src_port()
209 packing(extraction, qos_class, 19, 17, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_qos_class()
214 packing(extraction, tag_type, 16, 16, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_tag_type()
219 packing(extraction, vlan_tci, 15, 0, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_vlan_tci()
224 packing(injection, &bypass, 127, 127, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_bypass()
229 packing(injection, &rew_op, 125, 117, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_rew_op()
234 packing(injection, &dest, 67, 56, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_dest()
[all …]
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_static_config.c19 int rc = packing(buf, (u64 *)val, start, end, len, in sja1105_pack()
37 int rc = packing((void *)buf, val, start, end, len, in sja1105_unpack()
55 int rc = packing(buf, val, start, end, len, op, QUIRK_LSW32_IS_FIRST); in sja1105_packing()
1145 table->ops->packing(p, entry_ptr, PACK); in sja1105_static_config_pack()
1197 .packing = sja1105et_l2_lookup_entry_packing,
1203 .packing = sja1105_l2_policing_entry_packing,
1209 .packing = sja1105_vlan_lookup_entry_packing,
1215 .packing = sja1105_l2_forwarding_entry_packing,
1221 .packing = sja1105et_mac_config_entry_packing,
1227 .packing = sja1105et_l2_lookup_params_entry_packing,
[all …]
H A Dsja1105_static_config.h434 size_t (*packing)(void *buf, void *entry_ptr, enum packing_op op); member
/linux/Documentation/translations/zh_CN/core-api/
H A Dpacking.rst5 :Original: Documentation/core-api/packing.rst
155 中描述的相匹配。然后,他们应该封装packing()函数,创建一个新的xxx_packing(),使用
158 packing()函数返回一个int类型的错误码,以防止程序员使用不正确的API。这些错误预计不
H A Dindex.rst50 packing
/linux/drivers/media/platform/intel/
H A Dpxa_camera.c239 enum pxa_mbus_packing packing; member
262 .packing = PXA_MBUS_PACKING_2X8_PADHI,
272 .packing = PXA_MBUS_PACKING_2X8_PADHI,
282 .packing = PXA_MBUS_PACKING_2X8_PADHI,
292 .packing = PXA_MBUS_PACKING_2X8_PADHI,
302 .packing = PXA_MBUS_PACKING_2X8_PADHI,
312 .packing = PXA_MBUS_PACKING_2X8_PADHI,
322 .packing = PXA_MBUS_PACKING_2X8_PADHI,
332 .packing = PXA_MBUS_PACKING_2X8_PADHI,
342 .packing = PXA_MBUS_PACKING_NONE,
[all …]
/linux/Documentation/core-api/
H A Dpacking.rst2 Generic bitfield packing and unpacking functions
159 concept of groups of 4 bytes is intrinsic to the packing API (not to be
164 accessible through the buffer. The packing API assumes discontinuities were not
234 packing()
239 The packing() function returns an int-encoded error code, which protects the
241 during runtime, therefore it is reasonable to wrap packing() into a custom
253 err = packing(buf, val, startbit, endbit, len, op, QUIRK_LSW32_IS_FIRST);
274 These are const-correct variants of packing(), and eliminate the last "enum
277 Calling pack(...) is equivalent, and preferred, to calling packing(..., PACK).
279 Calling unpack(...) is equivalent, and preferred, to calling packing(..., UNPACK).
H A Dindex.rst49 packing
/linux/Documentation/userspace-api/media/v4l/
H A Dmetafmt-generic.rst62 The packing of the data follows the MIPI CSI-2 specification and the padding of
106 The packing of the data follows the MIPI CSI-2 specification and the padding of
152 The packing of the data follows the MIPI CSI-2 specification and the padding of
195 The packing of the data follows the MIPI CSI-2 specification and the padding of
198 Some devices support more efficient packing of metadata in conjunction with
244 The packing of the data follows the MIPI CSI-2 specification and the padding of
247 Some devices support more efficient packing of metadata in conjunction with
297 The packing of the data follows the MIPI CSI-2 specification and the padding of
300 Some devices support more efficient packing of metadata in conjunction with
H A Dpixfmt-yuv-luma.rst215 the RAW10, RAW12 and RAW14 packing scheme as defined by the MIPI CSI-2
/linux/net/dsa/
H A Dtag_sja1105.c117 packing(buf, &meta->tstamp, 31, 0, 4, UNPACK, 0); in sja1105_meta_unpack()
118 packing(buf + 4, &meta->dmac_byte_3, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack()
119 packing(buf + 5, &meta->dmac_byte_4, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack()
120 packing(buf + 6, &meta->source_port, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack()
121 packing(buf + 7, &meta->switch_id, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack()
610 packing(rx_trailer, tstamp, 63, 0, 8, UNPACK, 0); in sja1110_rcv_inband_control_extension()
/linux/Documentation/filesystems/
H A Dbtrfs.rst15 * Space efficient packing of small files
H A Derofs.rst239 2 flat file data with tail packing data inline (no extent);
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-intel_th-devices-gth38 Description: (RW) Force flush data from byte packing buffer for the output
/linux/include/linux/
H A Dpacking.h101 int packing(void *pbuf, u64 *uval, int startbit, int endbit, size_t pbuflen,
/linux/Documentation/admin-guide/mm/
H A Dmultigen_lru.rst99 optimize job scheduling (bin packing) to improve memory utilizations.
/linux/Documentation/bpf/
H A Dmap_devmap.rst22 - While ``BPF_MAP_TYPE_DEVMAP_HASH`` allows for densely packing the net devices
/linux/lib/
H A DMakefile151 obj-$(CONFIG_PACKING) += packing.o
/linux/net/bluetooth/
H A Dhci_conn.c1907 cp.bis.packing = qos->bcast.packing; in hci_le_create_big()
1937 pdu->packing = qos->ucast.packing; in set_cig_params_sync()
H A Diso.c986 .packing = 0x00,
1823 if (qos->ucast.packing > 0x01) in check_ucast_qos()
1843 if (qos->bcast.packing > 0x01) in check_bcast_qos()
/linux/include/net/bluetooth/
H A Dhci.h2168 __u8 packing; member
2217 __u8 packing; member
/linux/Documentation/userspace-api/media/mediactl/
H A Dmedia-types.rst156 a subset of dithering, pixel encoding conversion and packing
/linux/Documentation/RCU/Design/Requirements/
H A DRequirements.rst2370 when packing structures containing fields of type ``rcu_head``. Why not
/linux/
H A DMAINTAINERS20540 F: Documentation/core-api/packing.rst
20541 F: include/linux/packing.h
20542 F: lib/packing.c