Home
last modified time | relevance | path

Searched refs:pack (Results 1 – 25 of 196) sorted by relevance

12345678

/kernel/linux/linux-5.10/tools/usb/usbip/src/
Dusbip_network.h71 #define PACK_OP_IMPORT_REQUEST(pack, request) do {\ argument
74 #define PACK_OP_IMPORT_REPLY(pack, reply) do {\ argument
75 usbip_net_pack_usb_device(pack, &(reply)->udev);\
93 #define PACK_OP_EXPORT_REQUEST(pack, request) do {\ argument
94 usbip_net_pack_usb_device(pack, &(request)->udev);\
97 #define PACK_OP_EXPORT_REPLY(pack, reply) do {\ argument
114 #define PACK_OP_UNEXPORT_REQUEST(pack, request) do {\ argument
115 usbip_net_pack_usb_device(pack, &(request)->udev);\
118 #define PACK_OP_UNEXPORT_REPLY(pack, reply) do {\ argument
156 #define PACK_OP_DEVLIST_REQUEST(pack, request) do {\ argument
[all …]
Dusbip_network.c53 uint32_t usbip_net_pack_uint32_t(int pack, uint32_t num) in usbip_net_pack_uint32_t() argument
57 if (pack) in usbip_net_pack_uint32_t()
65 uint16_t usbip_net_pack_uint16_t(int pack, uint16_t num) in usbip_net_pack_uint16_t() argument
69 if (pack) in usbip_net_pack_uint16_t()
77 void usbip_net_pack_usb_device(int pack, struct usbip_usb_device *udev) in usbip_net_pack_usb_device() argument
79 udev->busnum = usbip_net_pack_uint32_t(pack, udev->busnum); in usbip_net_pack_usb_device()
80 udev->devnum = usbip_net_pack_uint32_t(pack, udev->devnum); in usbip_net_pack_usb_device()
81 udev->speed = usbip_net_pack_uint32_t(pack, udev->speed); in usbip_net_pack_usb_device()
83 udev->idVendor = usbip_net_pack_uint16_t(pack, udev->idVendor); in usbip_net_pack_usb_device()
84 udev->idProduct = usbip_net_pack_uint16_t(pack, udev->idProduct); in usbip_net_pack_usb_device()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgk20a.c43 struct gf100_gr_pack *pack; in gk20a_gr_av_to_init() local
53 pack = vzalloc((sizeof(*pack) * 2) + (sizeof(*init) * (nent + 1))); in gk20a_gr_av_to_init()
54 if (!pack) { in gk20a_gr_av_to_init()
59 init = (void *)(pack + 2); in gk20a_gr_av_to_init()
60 pack[0].init = init; in gk20a_gr_av_to_init()
72 *ppack = pack; in gk20a_gr_av_to_init()
93 struct gf100_gr_pack *pack; in gk20a_gr_aiv_to_init() local
103 pack = vzalloc((sizeof(*pack) * 2) + (sizeof(*init) * (nent + 1))); in gk20a_gr_aiv_to_init()
104 if (!pack) { in gk20a_gr_aiv_to_init()
109 init = (void *)(pack + 2); in gk20a_gr_aiv_to_init()
[all …]
Dgf100.h290 #define pack_for_each_init(init, pack, head) \ argument
291 for (pack = head; pack && pack->init; pack++) \
292 for (init = pack->init; init && init->count; init++)
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dgf100.c28 #define pack_for_each_init(init, pack, head) \ argument
29 for (pack = head; pack && pack->init; pack++) \
30 for (init = pack->init; init && init->count; init++)
36 const struct nvkm_therm_clkgate_pack *pack; in gf100_clkgate_init() local
40 pack_for_each_init(init, pack, p) { in gf100_clkgate_init()
/kernel/linux/linux-5.10/Documentation/networking/
D6pack.rst4 6pack Protocol
7 This is the 6pack-mini-HOWTO, written by
17 1. What is 6pack, and what are the advantages to KISS?
20 6pack is a transmission protocol for data exchange between the PC and
23 6pack has two major advantages:
37 (however, this feature is not supported yet by the Linux 6pack driver).
44 More details about 6pack are described in the file 6pack.ps that is located
47 2. Who has developed the 6pack protocol?
50 The 6pack protocol has been developed by Ekki Plicht DF4OR, Henning Rech
51 DF9IC and Gunter Jost DK7WJ. A driver for 6pack, written by Gunter Jost and
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
Dpio.c25 struct b43_pio_txpacket *pack) in generate_cookie() argument
38 cookie |= pack->index; in generate_cookie()
46 struct b43_pio_txpacket **pack) in parse_cookie() argument
74 *pack = &q->packets[pack_index]; in parse_cookie()
180 struct b43_pio_txpacket *pack; in b43_pio_cancel_tx_packets() local
184 pack = &(q->packets[i]); in b43_pio_cancel_tx_packets()
185 if (pack->skb) { in b43_pio_cancel_tx_packets()
186 ieee80211_free_txskb(q->dev->wl->hw, pack->skb); in b43_pio_cancel_tx_packets()
187 pack->skb = NULL; in b43_pio_cancel_tx_packets()
349 static void pio_tx_frame_2byte_queue(struct b43_pio_txpacket *pack, in pio_tx_frame_2byte_queue() argument
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dasus_atk0110.c278 union acpi_object *pack, in atk_get_pack_member() argument
307 return &pack->package.elements[offset]; in atk_get_pack_member()
494 union acpi_object *pack; in atk_ggrp() local
508 pack = buf.pointer; in atk_ggrp()
509 if (pack->type != ACPI_TYPE_PACKAGE) { in atk_ggrp()
511 ACPI_FREE(pack); in atk_ggrp()
515 if (pack->package.count < 1) { in atk_ggrp()
517 ACPI_FREE(pack); in atk_ggrp()
520 return pack; in atk_ggrp()
703 static void atk_pack_print(char *buf, size_t sz, union acpi_object *pack) in atk_pack_print() argument
[all …]
/kernel/linux/linux-5.10/arch/arm/lib/
Dio-readsw-armv4.S10 .macro pack, rd, hw1, hw2 macro
37 pack r3, r3, r4
41 pack r4, r4, r5
45 pack r5, r5, ip
49 pack ip, ip, lr
60 pack r3, r3, r4
64 pack r4, r4, ip
73 pack r3, r3, ip
/kernel/linux/linux-5.10/drivers/misc/ibmasm/
Di2o.h10 #pragma pack(1)
21 #pragma pack()
35 #pragma pack(1)
40 #pragma pack()
Ddot_command.h29 #pragma pack(1)
37 #pragma pack()
/kernel/linux/linux-5.10/tools/perf/scripts/python/
Dexport-to-postgresql.py732 file_header = struct.pack("!11sii", b"PGCOPY\n\377\r\n\0", 0, 0)
977 value = struct.pack(fmt, 2, 8, evsel_id, n, evsel_name)
984 value = struct.pack(fmt, 3, 8, machine_id, 4, pid, n, root_dir)
988 value = struct.pack("!hiqiqiqiiii", 5, 8, thread_id, 8, machine_id, 8, process_id, 4, pid, 4, tid)
995 value = struct.pack(fmt, 5, 8, comm_id, n, comm_str, 8, thread_id, 8, time, 1, exec_flag)
1000 value = struct.pack(fmt, 3, 8, comm_thread_id, 8, comm_id, 8, thread_id)
1011 value = struct.pack(fmt, 5, 8, dso_id, 8, machine_id, n1, short_name, n2, long_name, n3, build_id)
1018 …value = struct.pack(fmt, 6, 8, symbol_id, 8, dso_id, 8, sym_start, 8, sym_end, 4, binding, n, symb…
1025 value = struct.pack(fmt, 2, 4, branch_type, n, name)
1030 …value = struct.pack("!hiqiqiqiqiqiqiqiqiqiqiiiqiqiqiqiiiBiqiqiq", 20, 8, sample_id, 8, evsel_id, 8…
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/tpm2/
Dtpm2.py259 return struct.pack(fmt, self.session_handle, len(self.nonce),
277 return struct.pack(fmt, len(self.user_auth), self.user_auth,
310 return struct.pack(self.__fmt(),
412 cmd = struct.pack(fmt,
444 cmd = struct.pack(
458 cmd = struct.pack(fmt,
500 cmd = struct.pack(fmt,
515 cmd = struct.pack(fmt,
525 cmd = struct.pack(fmt,
535 cmd = struct.pack(fmt,
[all …]
/kernel/linux/linux-5.10/sound/usb/usx2y/
Dusx2yhwdeppcm.c101 int count, counts, pack; in usx2y_hwdep_urb_play_prepare() local
115 for (pack = 0; pack < nr_of_packs(); pack++) { in usx2y_hwdep_urb_play_prepare()
123 urb->iso_frame_desc[pack].offset = shm->captured_iso[shm->playback_iso_head].offset; in usx2y_hwdep_urb_play_prepare()
124 urb->iso_frame_desc[pack].length = shm->captured_iso[shm->playback_iso_head].length; in usx2y_hwdep_urb_play_prepare()
126 memset((char *)urb->transfer_buffer + urb->iso_frame_desc[pack].offset, 0, in usx2y_hwdep_urb_play_prepare()
127 urb->iso_frame_desc[pack].length); in usx2y_hwdep_urb_play_prepare()
140 int pack; in usx2y_usbpcm_urb_capt_iso_advance() local
141 for (pack = 0; pack < nr_of_packs(); ++pack) { in usx2y_usbpcm_urb_capt_iso_advance()
142 struct usb_iso_packet_descriptor *desc = urb->iso_frame_desc + pack; in usx2y_usbpcm_urb_capt_iso_advance()
148 shm->captured_iso[head].frame = urb->start_frame + pack; in usx2y_usbpcm_urb_capt_iso_advance()
[all …]
Dusbusx2yaudio.c117 int count, counts, pack; in usx2y_urb_play_prepare() local
122 for (pack = 0; pack < nr_of_packs(); pack++) { in usx2y_urb_play_prepare()
124 counts = cap_urb->iso_frame_desc[pack].actual_length / usx2y->stride; in usx2y_urb_play_prepare()
131 urb->iso_frame_desc[pack].offset = pack ? in usx2y_urb_play_prepare()
132 urb->iso_frame_desc[pack - 1].offset + in usx2y_urb_play_prepare()
133 urb->iso_frame_desc[pack - 1].length : in usx2y_urb_play_prepare()
135 urb->iso_frame_desc[pack].length = cap_urb->iso_frame_desc[pack].actual_length; in usx2y_urb_play_prepare()
471 unsigned long pack; in usx2y_urbs_start() local
475 for (pack = 0; pack < nr_of_packs(); pack++) { in usx2y_urbs_start()
476 urb->iso_frame_desc[pack].offset = subs->maxpacksize * pack; in usx2y_urbs_start()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/go7007/
Dgo7007-fw.c947 u16 pack[] = { in brctrl_to_package() local
1073 return copy_packages(code, pack, 6, space); in brctrl_to_package()
1083 u16 pack[] = { in config_package() local
1195 return copy_packages(code, pack, 5, space); in config_package()
1207 u16 pack[] = { in seqhead_to_package() local
1262 return copy_packages(code, pack, 3, space); in seqhead_to_package()
1286 u16 pack[] = { in avsync_to_package() local
1305 return copy_packages(code, pack, 1, space); in avsync_to_package()
1311 u16 pack[] = { in final_package() local
1368 return copy_packages(code, pack, 1, space); in final_package()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/
Dset_mode_types.h46 #pragma pack(push)
47 #pragma pack(1)
96 #pragma pack(pop)
/kernel/linux/linux-5.10/drivers/pnp/pnpbios/
Dpnpbios.h83 #pragma pack(1)
112 #pragma pack()
128 #pragma pack(1)
148 #pragma pack()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/
Dsmu_11_0_cdr_table.h29 #pragma pack(push, 1)
192 #pragma pack(pop)
Dsmu8.h27 #pragma pack(push, 1)
70 #pragma pack(pop)
Drv_ppsmc.h27 #pragma pack(push, 1)
92 #pragma pack(pop)
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Devergreen_smc.h28 #pragma pack(push, 1)
65 #pragma pack(pop)
/kernel/linux/linux-5.10/drivers/video/fbdev/mb862xx/
Dmb862xxfbdrv.c228 reg = pack(d_pitch(&fbi->var) / GC_L0M_L0W_UNIT, in mb862xxfb_set_par()
239 reg = pack(fbi->var.yres - 1, fbi->var.xres); in mb862xxfb_set_par()
253 reg = pack(fbi->var.xres - 1, fbi->var.xres - 1); in mb862xxfb_set_par()
255 reg = pack((fbi->var.yres - 1), vsp(&fbi->var)); in mb862xxfb_set_par()
258 pack((fbi->var.hsync_len - 1), hsp(&fbi->var)); in mb862xxfb_set_par()
260 outreg(disp, GC_HTP, pack(h_total(&fbi->var) - 1, 0)); in mb862xxfb_set_par()
261 outreg(disp, GC_VTR, pack(v_total(&fbi->var) - 1, 0)); in mb862xxfb_set_par()
277 reg = pack(var->yoffset, var->xoffset); in mb862xxfb_pan()
280 reg = pack(info->var.yres_virtual, info->var.xres_virtual); in mb862xxfb_pan()
334 pack((l1_cfg->sh << 11) / l1_cfg->dh, in mb862xxfb_ioctl()
[all …]
/kernel/linux/linux-5.10/drivers/staging/hisysevent/
Dhisysevent_builder.h20 #pragma pack(1)
54 #pragma pack()
/kernel/linux/linux-5.10/drivers/input/serio/
Dhil_mlc.c444 #define OUT(pack) \ argument
445 { HILSE_OUT, { .packet = pack }, 0, HILSEN_NEXT, HILSEN_DOZE, 0 },
456 #define OUT_DISC(pack) \ argument
457 { HILSE_OUT_DISC, { .packet = pack }, 0, 0, 0, 0 },
458 #define OUT_LAST(pack) \ argument
459 { HILSE_OUT_LAST, { .packet = pack }, 0, 0, 0, 0 },
637 hil_packet pack; in hilse_donode() local
673 pack = node->object.packet; in hilse_donode()
674 pack |= ((mlc->ddi + 1) << HIL_PKT_ADDR_SHIFT); in hilse_donode()
679 pack = node->object.packet; in hilse_donode()
[all …]

12345678