Home
last modified time | relevance | path

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

1234567

/Linux-v5.4/tools/usb/usbip/src/
Dusbip_network.h35 #define PACK_OP_COMMON(pack, op_common) do {\ argument
36 usbip_net_pack_uint16_t(pack, &(op_common)->version);\
37 usbip_net_pack_uint16_t(pack, &(op_common)->code);\
38 usbip_net_pack_uint32_t(pack, &(op_common)->status);\
77 #define PACK_OP_IMPORT_REQUEST(pack, request) do {\ argument
80 #define PACK_OP_IMPORT_REPLY(pack, reply) do {\ argument
81 usbip_net_pack_usb_device(pack, &(reply)->udev);\
99 #define PACK_OP_EXPORT_REQUEST(pack, request) do {\ argument
100 usbip_net_pack_usb_device(pack, &(request)->udev);\
103 #define PACK_OP_EXPORT_REPLY(pack, reply) do {\ argument
[all …]
Dusbip_network.c53 void 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 void 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 usbip_net_pack_uint32_t(pack, &udev->busnum); in usbip_net_pack_usb_device()
80 usbip_net_pack_uint32_t(pack, &udev->devnum); in usbip_net_pack_usb_device()
81 usbip_net_pack_uint32_t(pack, &udev->speed); in usbip_net_pack_usb_device()
83 usbip_net_pack_uint16_t(pack, &udev->idVendor); in usbip_net_pack_usb_device()
84 usbip_net_pack_uint16_t(pack, &udev->idProduct); in usbip_net_pack_usb_device()
[all …]
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgk20a.c41 struct gf100_gr_pack *pack; in gk20a_gr_av_to_init() local
51 pack = vzalloc((sizeof(*pack) * 2) + (sizeof(*init) * (nent + 1))); in gk20a_gr_av_to_init()
52 if (!pack) { in gk20a_gr_av_to_init()
57 init = (void *)(pack + 2); in gk20a_gr_av_to_init()
58 pack[0].init = init; in gk20a_gr_av_to_init()
70 *ppack = pack; in gk20a_gr_av_to_init()
90 struct gf100_gr_pack *pack; in gk20a_gr_aiv_to_init() local
100 pack = vzalloc((sizeof(*pack) * 2) + (sizeof(*init) * (nent + 1))); in gk20a_gr_aiv_to_init()
101 if (!pack) { in gk20a_gr_aiv_to_init()
106 init = (void *)(pack + 2); in gk20a_gr_aiv_to_init()
[all …]
Dgf100.h292 #define pack_for_each_init(init, pack, head) \ argument
293 for (pack = head; pack && pack->init; pack++) \
294 for (init = pack->init; init && init->count; init++)
/Linux-v5.4/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()
/Linux-v5.4/Documentation/networking/
D6pack.txt1 This is the 6pack-mini-HOWTO, written by
10 1. What is 6pack, and what are the advantages to KISS?
12 6pack is a transmission protocol for data exchange between the PC and
15 6pack has two major advantages:
28 (however, this feature is not supported yet by the Linux 6pack driver).
35 More details about 6pack are described in the file 6pack.ps that is located
38 2. Who has developed the 6pack protocol?
40 The 6pack protocol has been developed by Ekki Plicht DF4OR, Henning Rech
41 DF9IC and Gunter Jost DK7WJ. A driver for 6pack, written by Gunter Jost and
43 They have also written a firmware for TNCs to perform the 6pack
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/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
/Linux-v5.4/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()
/Linux-v5.4/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 …]
/Linux-v5.4/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,
309 return struct.pack(self.__fmt(),
392 cmd = struct.pack(fmt,
424 cmd = struct.pack(
438 cmd = struct.pack(fmt,
480 cmd = struct.pack(fmt,
494 cmd = struct.pack(fmt,
504 cmd = struct.pack(fmt,
514 cmd = struct.pack(fmt,
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/drivers/gpu/drm/amd/display/include/
Dset_mode_types.h46 #pragma pack(push)
47 #pragma pack(1)
96 #pragma pack(pop)
/Linux-v5.4/drivers/pnp/pnpbios/
Dpnpbios.h83 #pragma pack(1)
112 #pragma pack()
128 #pragma pack(1)
148 #pragma pack()
/Linux-v5.4/drivers/gpu/drm/radeon/
Devergreen_smc.h28 #pragma pack(push, 1)
65 #pragma pack(pop)
/Linux-v5.4/drivers/video/fbdev/mb862xx/
Dmb862xxfbdrv.c226 reg = pack(d_pitch(&fbi->var) / GC_L0M_L0W_UNIT, in mb862xxfb_set_par()
237 reg = pack(fbi->var.yres - 1, fbi->var.xres); in mb862xxfb_set_par()
251 reg = pack(fbi->var.xres - 1, fbi->var.xres - 1); in mb862xxfb_set_par()
253 reg = pack((fbi->var.yres - 1), vsp(&fbi->var)); in mb862xxfb_set_par()
256 pack((fbi->var.hsync_len - 1), hsp(&fbi->var)); in mb862xxfb_set_par()
258 outreg(disp, GC_HTP, pack(h_total(&fbi->var) - 1, 0)); in mb862xxfb_set_par()
259 outreg(disp, GC_VTR, pack(v_total(&fbi->var) - 1, 0)); in mb862xxfb_set_par()
275 reg = pack(var->yoffset, var->xoffset); in mb862xxfb_pan()
278 reg = pack(info->var.yres_virtual, info->var.xres_virtual); in mb862xxfb_pan()
332 pack((l1_cfg->sh << 11) / l1_cfg->dh, in mb862xxfb_ioctl()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/inc/
Dsmu8.h27 #pragma pack(push, 1)
70 #pragma pack(pop)
Drv_ppsmc.h27 #pragma pack(push, 1)
92 #pragma pack(pop)
Darcturus_ppsmc.h27 #pragma pack(push, 1)
118 #pragma pack(pop)
/Linux-v5.4/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 …]
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa2/
Ddprtc-cmd.h27 #pragma pack(push, 1)
70 #pragma pack(pop)

1234567