Home
last modified time | relevance | path

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

12

/linux-6.15/include/linux/dsa/
H A Docelot.h196 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()
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()
239 packing(injection, &qos_class, 19, 17, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_qos_class()
244 packing(injection, &dest, 67, 57, OCELOT_TAG_LEN, PACK, 0); in seville_ifh_set_dest()
249 packing(injection, &src, 46, 43, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_src()
254 packing(injection, &tag_type, 16, 16, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_tag_type()
[all …]
/linux-6.15/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()
1145 table->ops->packing(p, entry_ptr, PACK); in sja1105_static_config_pack()
1251 .packing = sja1105_retagging_entry_packing,
1267 .packing = sja1105_schedule_entry_packing,
1279 .packing = sja1105_vl_lookup_entry_packing,
1369 .packing = sja1105_retagging_entry_packing,
1439 .packing = sja1105_retagging_entry_packing,
1455 .packing = sja1105_schedule_entry_packing,
1643 .packing = sja1105_schedule_entry_packing,
[all …]
H A Dsja1105_static_config.h434 size_t (*packing)(void *buf, void *entry_ptr, enum packing_op op); member
/linux-6.15/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-6.15/drivers/media/platform/intel/
H A Dpxa_camera.c239 enum pxa_mbus_packing packing; member
342 .packing = PXA_MBUS_PACKING_NONE,
352 .packing = PXA_MBUS_PACKING_NONE,
362 .packing = PXA_MBUS_PACKING_NONE,
372 .packing = PXA_MBUS_PACKING_NONE,
382 .packing = PXA_MBUS_PACKING_EXTEND16,
392 .packing = PXA_MBUS_PACKING_NONE,
402 .packing = PXA_MBUS_PACKING_EXTEND16,
482 .packing = PXA_MBUS_PACKING_NONE,
564 switch (mf->packing) { in pxa_mbus_bytes_per_line()
[all …]
/linux-6.15/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.rst47 packing
/linux-6.15/Documentation/userspace-api/media/v4l/
H A Dmetafmt-generic.rst61 The packing of the data follows the MIPI CSI-2 specification and the padding of
105 The packing of the data follows the MIPI CSI-2 specification and the padding of
151 The packing of the data follows the MIPI CSI-2 specification and the padding of
194 The packing of the data follows the MIPI CSI-2 specification and the padding of
197 Some devices support more efficient packing of metadata in conjunction with
243 The packing of the data follows the MIPI CSI-2 specification and the padding of
246 Some devices support more efficient packing of metadata in conjunction with
296 The packing of the data follows the MIPI CSI-2 specification and the padding of
299 Some devices support more efficient packing of metadata in conjunction with
H A Dpixfmt-yuv-luma.rst214 the RAW10, RAW12 and RAW14 packing scheme as defined by the MIPI CSI-2
/linux-6.15/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()
601 packing(rx_trailer, tstamp, 63, 0, 8, UNPACK, 0); in sja1110_rcv_inband_control_extension()
/linux-6.15/lib/
H A Dpacking.c342 int packing(void *pbuf, u64 *uval, int startbit, int endbit, size_t pbuflen, in packing() function
350 EXPORT_SYMBOL(packing);
H A DKconfig26 bool "Generic bitfield packing and unpacking"
30 This option provides the packing() helper function, which permits
44 tristate "KUnit tests for packing library" if !KUNIT_ALL_TESTS
48 This builds KUnit tests for the packing library.
H A Dpacking_test.c369 KUNIT_ARRAY_PARAM_DESC(packing, cases, desc);
H A DMakefile150 obj-$(CONFIG_PACKING) += packing.o
/linux-6.15/Documentation/filesystems/
H A Dbtrfs.rst15 * Space efficient packing of small files
/linux-6.15/Documentation/ABI/testing/
H A Dsysfs-bus-intel_th-devices-gth38 Description: (RW) Force flush data from byte packing buffer for the output
/linux-6.15/include/net/bluetooth/
H A Dbluetooth.h183 __u8 packing; member
193 __u8 packing; member
/linux-6.15/Documentation/arch/arm/
H A Dvlocks.rst125 * By packing the members of the currently_voting array close together,
174 packing of the currently_voting array does not work with cached
/linux-6.15/Documentation/devicetree/bindings/dma/stm32/
H A Dst,stm32-dma3.yaml99 -bit 16: Prevent packing/unpacking mode
/linux-6.15/include/linux/
H A Dpacking.h97 int packing(void *pbuf, u64 *uval, int startbit, int endbit, size_t pbuflen,
/linux-6.15/Documentation/devicetree/bindings/soundwire/
H A Dqcom,soundwire.yaml144 Indicate the block packing mode.
/linux-6.15/Documentation/admin-guide/mm/
H A Dmultigen_lru.rst99 optimize job scheduling (bin packing) to improve memory utilizations.
/linux-6.15/Documentation/bpf/
H A Dmap_devmap.rst22 - While ``BPF_MAP_TYPE_DEVMAP_HASH`` allows for densely packing the net devices
/linux-6.15/net/bluetooth/
H A Dhci_conn.c1754 cp.bis.packing = qos->bcast.packing; in hci_le_create_big()
1780 pdu->packing = qos->ucast.packing; in set_cig_params_sync()

12