Home
last modified time | relevance | path

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

1234567

/Linux-v4.19/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.c65 void usbip_net_pack_uint32_t(int pack, uint32_t *num) in usbip_net_pack_uint32_t() argument
69 if (pack) in usbip_net_pack_uint32_t()
77 void usbip_net_pack_uint16_t(int pack, uint16_t *num) in usbip_net_pack_uint16_t() argument
81 if (pack) in usbip_net_pack_uint16_t()
89 void usbip_net_pack_usb_device(int pack, struct usbip_usb_device *udev) in usbip_net_pack_usb_device() argument
91 usbip_net_pack_uint32_t(pack, &udev->busnum); in usbip_net_pack_usb_device()
92 usbip_net_pack_uint32_t(pack, &udev->devnum); in usbip_net_pack_usb_device()
93 usbip_net_pack_uint32_t(pack, &udev->speed); in usbip_net_pack_usb_device()
95 usbip_net_pack_uint16_t(pack, &udev->idVendor); in usbip_net_pack_usb_device()
96 usbip_net_pack_uint16_t(pack, &udev->idProduct); in usbip_net_pack_usb_device()
[all …]
/Linux-v4.19/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.h280 #define pack_for_each_init(init, pack, head) \ argument
281 for (pack = head; pack && pack->init; pack++) \
282 for (init = pack->init; init && init->count; init++)
/Linux-v4.19/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-v4.19/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-v4.19/drivers/net/wireless/broadcom/b43/
Dpio.c38 struct b43_pio_txpacket *pack) in generate_cookie() argument
51 cookie |= pack->index; in generate_cookie()
59 struct b43_pio_txpacket **pack) in parse_cookie() argument
87 *pack = &q->packets[pack_index]; in parse_cookie()
193 struct b43_pio_txpacket *pack; in b43_pio_cancel_tx_packets() local
197 pack = &(q->packets[i]); in b43_pio_cancel_tx_packets()
198 if (pack->skb) { in b43_pio_cancel_tx_packets()
199 ieee80211_free_txskb(q->dev->wl->hw, pack->skb); in b43_pio_cancel_tx_packets()
200 pack->skb = NULL; in b43_pio_cancel_tx_packets()
362 static void pio_tx_frame_2byte_queue(struct b43_pio_txpacket *pack, in pio_tx_frame_2byte_queue() argument
[all …]
/Linux-v4.19/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()
705 static void atk_pack_print(char *buf, size_t sz, union acpi_object *pack) in atk_pack_print() argument
[all …]
/Linux-v4.19/arch/arm/lib/
Dio-readsw-armv4.S13 .macro pack, rd, hw1, hw2 macro
40 pack r3, r3, r4
44 pack r4, r4, r5
48 pack r5, r5, ip
52 pack ip, ip, lr
63 pack r3, r3, r4
67 pack r4, r4, ip
76 pack r3, r3, ip
/Linux-v4.19/drivers/misc/ibmasm/
Di2o.h24 #pragma pack(1)
35 #pragma pack()
49 #pragma pack(1)
54 #pragma pack()
Ddot_command.h43 #pragma pack(1)
51 #pragma pack()
Dr_heartbeat.c34 #pragma pack(1)
47 #pragma pack()
/Linux-v4.19/sound/usb/usx2y/
Dusx2yhwdeppcm.c113 int count, counts, pack; in usX2Y_hwdep_urb_play_prepare() local
127 for (pack = 0; pack < nr_of_packs(); pack++) { in usX2Y_hwdep_urb_play_prepare()
135 urb->iso_frame_desc[pack].offset = shm->captured_iso[shm->playback_iso_head].offset; in usX2Y_hwdep_urb_play_prepare()
136 urb->iso_frame_desc[pack].length = shm->captured_iso[shm->playback_iso_head].length; in usX2Y_hwdep_urb_play_prepare()
138 memset((char *)urb->transfer_buffer + urb->iso_frame_desc[pack].offset, 0, in usX2Y_hwdep_urb_play_prepare()
139 urb->iso_frame_desc[pack].length); in usX2Y_hwdep_urb_play_prepare()
152 int pack; in usX2Y_usbpcm_urb_capt_iso_advance() local
153 for (pack = 0; pack < nr_of_packs(); ++pack) { in usX2Y_usbpcm_urb_capt_iso_advance()
154 struct usb_iso_packet_descriptor *desc = urb->iso_frame_desc + pack; in usX2Y_usbpcm_urb_capt_iso_advance()
160 shm->captured_iso[head].frame = urb->start_frame + pack; in usX2Y_usbpcm_urb_capt_iso_advance()
[all …]
Dusbusx2yaudio.c131 int count, counts, pack; in usX2Y_urb_play_prepare() local
136 for (pack = 0; pack < nr_of_packs(); pack++) { in usX2Y_urb_play_prepare()
138 counts = cap_urb->iso_frame_desc[pack].actual_length / usX2Y->stride; in usX2Y_urb_play_prepare()
145 urb->iso_frame_desc[pack].offset = pack ? in usX2Y_urb_play_prepare()
146 urb->iso_frame_desc[pack - 1].offset + in usX2Y_urb_play_prepare()
147 urb->iso_frame_desc[pack - 1].length : in usX2Y_urb_play_prepare()
149 urb->iso_frame_desc[pack].length = cap_urb->iso_frame_desc[pack].actual_length; in usX2Y_urb_play_prepare()
485 unsigned long pack; in usX2Y_urbs_start() local
489 for (pack = 0; pack < nr_of_packs(); pack++) { in usX2Y_urbs_start()
490 urb->iso_frame_desc[pack].offset = subs->maxpacksize * pack; in usX2Y_urbs_start()
[all …]
/Linux-v4.19/tools/perf/scripts/python/
Dexport-to-postgresql.py507 file_header = struct.pack("!11sii", "PGCOPY\n\377\r\n\0", 0, 0)
675 value = struct.pack(fmt, 2, 8, evsel_id, n, evsel_name)
681 value = struct.pack(fmt, 3, 8, machine_id, 4, pid, n, root_dir)
685 value = struct.pack("!hiqiqiqiiii", 5, 8, thread_id, 8, machine_id, 8, process_id, 4, pid, 4, tid)
691 value = struct.pack(fmt, 2, 8, comm_id, n, comm_str)
696 value = struct.pack(fmt, 3, 8, comm_thread_id, 8, comm_id, 8, thread_id)
704 value = struct.pack(fmt, 5, 8, dso_id, 8, machine_id, n1, short_name, n2, long_name, n3, build_id)
710 …value = struct.pack(fmt, 6, 8, symbol_id, 8, dso_id, 8, sym_start, 8, sym_end, 4, binding, n, symb…
716 value = struct.pack(fmt, 2, 4, branch_type, n, name)
721 …value = struct.pack("!hiqiqiqiqiqiqiqiqiqiqiiiqiqiqiqiiiBiq", 18, 8, sample_id, 8, evsel_id, 8, ma…
[all …]
/Linux-v4.19/drivers/media/usb/go7007/
Dgo7007-fw.c955 u16 pack[] = { in brctrl_to_package() local
1081 return copy_packages(code, pack, 6, space); in brctrl_to_package()
1091 u16 pack[] = { in config_package() local
1203 return copy_packages(code, pack, 5, space); in config_package()
1215 u16 pack[] = { in seqhead_to_package() local
1270 return copy_packages(code, pack, 3, space); in seqhead_to_package()
1294 u16 pack[] = { in avsync_to_package() local
1313 return copy_packages(code, pack, 1, space); in avsync_to_package()
1319 u16 pack[] = { in final_package() local
1376 return copy_packages(code, pack, 1, space); in final_package()
[all …]
/Linux-v4.19/drivers/pnp/pnpbios/
Dpnpbios.h96 #pragma pack(1)
125 #pragma pack()
141 #pragma pack(1)
161 #pragma pack()
/Linux-v4.19/drivers/gpu/drm/amd/display/include/
Dset_mode_types.h46 #pragma pack(push)
47 #pragma pack(1)
105 #pragma pack(pop)
/Linux-v4.19/drivers/gpu/drm/radeon/
Devergreen_smc.h28 #pragma pack(push, 1)
65 #pragma pack(pop)
/Linux-v4.19/drivers/video/fbdev/mb862xx/
Dmb862xxfbdrv.c230 reg = pack(d_pitch(&fbi->var) / GC_L0M_L0W_UNIT, in mb862xxfb_set_par()
241 reg = pack(fbi->var.yres - 1, fbi->var.xres); in mb862xxfb_set_par()
255 reg = pack(fbi->var.xres - 1, fbi->var.xres - 1); in mb862xxfb_set_par()
257 reg = pack((fbi->var.yres - 1), vsp(&fbi->var)); in mb862xxfb_set_par()
260 pack((fbi->var.hsync_len - 1), hsp(&fbi->var)); in mb862xxfb_set_par()
262 outreg(disp, GC_HTP, pack(h_total(&fbi->var) - 1, 0)); in mb862xxfb_set_par()
263 outreg(disp, GC_VTR, pack(v_total(&fbi->var) - 1, 0)); in mb862xxfb_set_par()
279 reg = pack(var->yoffset, var->xoffset); in mb862xxfb_pan()
282 reg = pack(info->var.yres_virtual, info->var.xres_virtual); in mb862xxfb_pan()
336 pack((l1_cfg->sh << 11) / l1_cfg->dh, in mb862xxfb_ioctl()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/inc/
Dsmu8.h27 #pragma pack(push, 1)
70 #pragma pack(pop)
Drv_ppsmc.h27 #pragma pack(push, 1)
93 #pragma pack(pop)
/Linux-v4.19/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-v4.19/include/net/
Dbond_3ad.h113 #pragma pack(1)
172 #pragma pack()
180 #pragma pack(8)
259 #pragma pack()
/Linux-v4.19/drivers/usb/usbip/
Dusbip_common.c353 int pack) in usbip_pack_cmd_submit() argument
361 if (pack) { in usbip_pack_cmd_submit()
378 int pack) in usbip_pack_ret_submit() argument
382 if (pack) { in usbip_pack_ret_submit()
398 int pack) in usbip_pack_pdu() argument
402 usbip_pack_cmd_submit(pdu, urb, pack); in usbip_pack_pdu()
405 usbip_pack_ret_submit(pdu, urb, pack); in usbip_pack_pdu()
539 struct usb_iso_packet_descriptor *uiso, int pack) in usbip_pack_iso() argument
541 if (pack) { in usbip_pack_iso()

1234567