Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/linux/dsa/
Docelot.h186 packing(extraction, rew_val, 116, 85, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_rew_val()
193 packing(extraction, &llen, 84, 79, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_len()
194 packing(extraction, &wlen, 78, 71, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_len()
201 packing(extraction, src_port, 46, 43, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_src_port()
206 packing(extraction, qos_class, 19, 17, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_qos_class()
211 packing(extraction, tag_type, 16, 16, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_tag_type()
216 packing(extraction, vlan_tci, 15, 0, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_vlan_tci()
221 packing(injection, &bypass, 127, 127, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_bypass()
226 packing(injection, &rew_op, 125, 117, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_rew_op()
231 packing(injection, &dest, 67, 56, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_dest()
[all …]
/linux-6.1.9/drivers/net/dsa/sja1105/
Dsja1105_static_config.c19 int rc = packing(buf, (u64 *)val, start, end, len, in sja1105_pack()
41 int rc = packing((void *)buf, val, start, end, len, in sja1105_unpack()
59 int rc = packing(buf, val, start, end, len, op, QUIRK_LSW32_IS_FIRST); in sja1105_packing()
1149 table->ops->packing(p, entry_ptr, PACK); in sja1105_static_config_pack()
1201 .packing = sja1105et_l2_lookup_entry_packing,
1207 .packing = sja1105_l2_policing_entry_packing,
1213 .packing = sja1105_vlan_lookup_entry_packing,
1219 .packing = sja1105_l2_forwarding_entry_packing,
1225 .packing = sja1105et_mac_config_entry_packing,
1231 .packing = sja1105et_l2_lookup_params_entry_packing,
[all …]
Dsja1105_static_config.h434 size_t (*packing)(void *buf, void *entry_ptr, enum packing_op op); member
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dpacking.rst5 :Original: Documentation/core-api/packing.rst
155 中描述的相匹配。然后,他们应该封装packing()函数,创建一个新的xxx_packing(),使用
158 packing()函数返回一个int类型的错误码,以防止程序员使用不正确的API。这些错误预计不
Dindex.rst50 packing
/linux-6.1.9/drivers/media/platform/intel/
Dpxa_camera.c238 enum pxa_mbus_packing packing; member
261 .packing = PXA_MBUS_PACKING_2X8_PADHI,
271 .packing = PXA_MBUS_PACKING_2X8_PADHI,
281 .packing = PXA_MBUS_PACKING_2X8_PADHI,
291 .packing = PXA_MBUS_PACKING_2X8_PADHI,
301 .packing = PXA_MBUS_PACKING_2X8_PADHI,
311 .packing = PXA_MBUS_PACKING_2X8_PADHI,
321 .packing = PXA_MBUS_PACKING_2X8_PADHI,
331 .packing = PXA_MBUS_PACKING_2X8_PADHI,
341 .packing = PXA_MBUS_PACKING_NONE,
[all …]
/linux-6.1.9/net/dsa/
Dtag_sja1105.c115 packing(buf, &meta->tstamp, 31, 0, 4, UNPACK, 0); in sja1105_meta_unpack()
116 packing(buf + 4, &meta->dmac_byte_4, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack()
117 packing(buf + 5, &meta->dmac_byte_3, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack()
118 packing(buf + 6, &meta->source_port, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack()
119 packing(buf + 7, &meta->switch_id, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack()
657 packing(rx_trailer, tstamp, 63, 0, 8, UNPACK, 0); in sja1110_rcv_inband_control_extension()
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/
Dlan966x_main.c307 packing(ifh, &bypass, IFH_POS_BYPASS + IFH_WID_BYPASS - 1, in lan966x_ifh_set_bypass()
313 packing(ifh, &bypass, IFH_POS_DSTS + IFH_WID_DSTS - 1, in lan966x_ifh_set_port()
319 packing(ifh, &bypass, IFH_POS_QOS_CLASS + IFH_WID_QOS_CLASS - 1, in lan966x_ifh_set_qos_class()
325 packing(ifh, &bypass, IFH_POS_IPV + IFH_WID_IPV - 1, in lan966x_ifh_set_ipv()
331 packing(ifh, &vid, IFH_POS_TCI + IFH_WID_TCI - 1, in lan966x_ifh_set_vid()
337 packing(ifh, &rew_op, IFH_POS_REW_CMD + IFH_WID_REW_CMD - 1, in lan966x_ifh_set_rew_op()
343 packing(ifh, &timestamp, IFH_POS_TIMESTAMP + IFH_WID_TIMESTAMP - 1, in lan966x_ifh_set_timestamp()
567 packing(ifh, src_port, IFH_POS_SRCPORT + IFH_WID_SRCPORT - 1, in lan966x_ifh_get_src_port()
573 packing(ifh, len, IFH_POS_LEN + IFH_WID_LEN - 1, in lan966x_ifh_get_len()
579 packing(ifh, timestamp, IFH_POS_TIMESTAMP + IFH_WID_TIMESTAMP - 1, in lan966x_ifh_get_timestamp()
/linux-6.1.9/lib/
Dpacking.c89 int packing(void *pbuf, u64 *uval, int startbit, int endbit, size_t pbuflen, in packing() function
211 EXPORT_SYMBOL(packing);
DKconfig26 bool "Generic bitfield packing and unpacking"
29 This option provides the packing() helper function, which permits
DMakefile165 obj-$(CONFIG_PACKING) += packing.o
/linux-6.1.9/include/linux/
Dpacking.h46 int packing(void *pbuf, u64 *uval, int startbit, int endbit, size_t pbuflen,
/linux-6.1.9/Documentation/core-api/
Dpacking.rst2 Generic bitfield packing and unpacking functions
159 describes. Then they should wrap the packing() function, creating a new
162 The packing() function returns an int-encoded error code, which protects the
Dindex.rst45 packing
/linux-6.1.9/Documentation/filesystems/
Dbtrfs.rst15 * Space efficient packing of small files
/linux-6.1.9/drivers/staging/vt6656/
Drxtx.h45 u16 packing; /* packing to 48 bytes */ member
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-bus-intel_th-devices-gth38 Description: (RW) Force flush data from byte packing buffer for the output
/linux-6.1.9/fs/reiserfs/
Dbitmap.c327 __le32 packing; in reiserfs_choose_packing() local
335 packing = INODE_PKEY(dir)->k_objectid; in reiserfs_choose_packing()
337 packing = INODE_PKEY(dir)->k_dir_id; in reiserfs_choose_packing()
339 packing = INODE_PKEY(dir)->k_objectid; in reiserfs_choose_packing()
340 return packing; in reiserfs_choose_packing()
/linux-6.1.9/drivers/staging/vt6655/
Drxtx.h43 u16 packing; /* packing to 48 bytes */ member
/linux-6.1.9/Documentation/arm/
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.1.9/drivers/staging/media/imx/
DTODO36 pixel components sampling size per each clock cycle and their packing mode
/linux-6.1.9/include/net/bluetooth/
Dbluetooth.h187 __u8 packing; member
/linux-6.1.9/Documentation/devicetree/bindings/soundwire/
Dqcom,sdw.txt103 Definition: should be 0 or 1 to indicate the block packing mode.
/linux-6.1.9/Documentation/admin-guide/mm/
Dmultigen_lru.rst99 optimize job scheduling (bin packing) to improve memory utilizations.
/linux-6.1.9/net/bluetooth/
Dhci_conn.c1683 cp.bis.packing = qos->packing; in hci_le_create_big()
1726 data.pdu.cp.packing = qos->packing; in hci_le_set_cig_params()

12