/Linux-v5.4/drivers/thunderbolt/ |
D | ctl.c | 147 tb_cfg_request_find(struct tb_ctl *ctl, struct ctl_pkg *pkg) in tb_cfg_request_find() argument 152 mutex_lock(&pkg->ctl->request_queue_lock); in tb_cfg_request_find() 153 list_for_each_entry(req, &pkg->ctl->request_queue, list) { in tb_cfg_request_find() 155 if (req->match(req, pkg)) { in tb_cfg_request_find() 161 mutex_unlock(&pkg->ctl->request_queue_lock); in tb_cfg_request_find() 169 static int check_header(const struct ctl_pkg *pkg, u32 len, in check_header() argument 172 struct tb_cfg_header *header = pkg->buffer; in check_header() 175 if (WARN(len != pkg->frame.size, in check_header() 177 len, pkg->frame.size)) in check_header() 179 if (WARN(type != pkg->frame.eof, "wrong eof (expected %#x, got %#x)\n", in check_header() [all …]
|
D | icm.c | 105 struct icm_pkg_header *pkg; member 239 const struct ctl_pkg *pkg) in icm_match() argument 241 const struct icm_pkg_header *res_hdr = pkg->buffer; in icm_match() 244 if (pkg->frame.eof != req->response_type) in icm_match() 252 static bool icm_copy(struct tb_cfg_request *req, const struct ctl_pkg *pkg) in icm_copy() argument 254 const struct icm_pkg_header *hdr = pkg->buffer; in icm_copy() 259 memcpy(req->response + offset, pkg->buffer, req->response_size); in icm_copy() 696 const struct icm_fr_event_device_connected *pkg = in icm_fr_device_connected() local 710 link = pkg->link_info & ICM_LINK_INFO_LINK_MASK; in icm_fr_device_connected() 711 depth = (pkg->link_info & ICM_LINK_INFO_DEPTH_MASK) >> in icm_fr_device_connected() [all …]
|
D | dma_port.c | 66 const struct ctl_pkg *pkg) in dma_port_match() argument 68 u64 route = tb_cfg_get_route(pkg->buffer) & ~BIT_ULL(63); in dma_port_match() 70 if (pkg->frame.eof == TB_CFG_PKG_ERROR) in dma_port_match() 72 if (pkg->frame.eof != req->response_type) in dma_port_match() 76 if (pkg->frame.size != req->response_size) in dma_port_match() 82 static bool dma_port_copy(struct tb_cfg_request *req, const struct ctl_pkg *pkg) in dma_port_copy() argument 84 memcpy(req->response, pkg->buffer, req->response_size); in dma_port_copy()
|
D | xdomain.c | 27 struct tb_xdp_header *pkg; member 49 const struct ctl_pkg *pkg) in tb_xdomain_match() argument 51 switch (pkg->frame.eof) { in tb_xdomain_match() 56 const struct tb_xdp_header *res_hdr = pkg->buffer; in tb_xdomain_match() 59 if (pkg->frame.size < req->response_size / 4) in tb_xdomain_match() 82 const struct ctl_pkg *pkg) in tb_xdomain_copy() argument 84 memcpy(req->response, pkg->buffer, req->response_size); in tb_xdomain_copy() 507 const struct tb_xdp_header *pkg = xw->pkg; in tb_xdp_handle_request() local 508 const struct tb_xdomain_header *xhdr = &pkg->xd_hdr; in tb_xdp_handle_request() 532 switch (pkg->type) { in tb_xdp_handle_request() [all …]
|
/Linux-v5.4/drivers/md/ |
D | dm-log-userspace-transfer.c | 85 struct receiving_pkg *pkg; in fill_pkg() local 97 list_for_each_entry(pkg, &receiving_list, list) { in fill_pkg() 98 if (rtn_seq != pkg->seq) in fill_pkg() 102 pkg->error = -msg->ack; in fill_pkg() 108 if (pkg->error != -EAGAIN) in fill_pkg() 109 *(pkg->data_size) = 0; in fill_pkg() 110 } else if (tfr->data_size > *(pkg->data_size)) { in fill_pkg() 113 tfr->data_size, *(pkg->data_size)); in fill_pkg() 115 *(pkg->data_size) = 0; in fill_pkg() 116 pkg->error = -ENOSPC; in fill_pkg() [all …]
|
D | dm-log-userspace-base.c | 720 } pkg; in userspace_get_resync_work() local 725 rdata_size = sizeof(pkg); in userspace_get_resync_work() 727 NULL, 0, (char *)&pkg, &rdata_size); in userspace_get_resync_work() 729 *region = pkg.r; in userspace_get_resync_work() 730 return (r) ? r : (int)pkg.i; in userspace_get_resync_work() 746 } pkg; in userspace_set_region_sync() local 748 pkg.r = region; in userspace_set_region_sync() 749 pkg.i = (int64_t)in_sync; in userspace_set_region_sync() 752 (char *)&pkg, sizeof(pkg), NULL, NULL); in userspace_set_region_sync() 842 } pkg; in userspace_is_remote_recovering() local [all …]
|
/Linux-v5.4/scripts/ |
D | Makefile.package | 54 PHONY += rpm-pkg 55 rpm-pkg: 64 PHONY += binrpm-pkg 65 binrpm-pkg: 71 PHONY += deb-pkg 72 deb-pkg: 80 PHONY += bindeb-pkg 81 bindeb-pkg: 85 PHONY += intdeb-pkg 86 intdeb-pkg: [all …]
|
/Linux-v5.4/tools/power/cpupower/lib/ |
D | cpupower.c | 109 if (top1->pkg < top2->pkg) in __compare() 111 else if (top1->pkg > top2->pkg) in __compare() 145 &(cpu_top->core_info[cpu].pkg)) < 0) { in get_cpu_topology() 146 cpu_top->core_info[cpu].pkg = -1; in get_cpu_topology() 154 cpu_top->core_info[cpu].pkg = -1; in get_cpu_topology() 166 last_pkg = cpu_top->core_info[0].pkg; in get_cpu_topology() 168 if (cpu_top->core_info[cpu].pkg != last_pkg && in get_cpu_topology() 169 cpu_top->core_info[cpu].pkg != -1) { in get_cpu_topology() 171 last_pkg = cpu_top->core_info[cpu].pkg; in get_cpu_topology() 175 if (!(cpu_top->core_info[0].pkg == -1)) in get_cpu_topology()
|
/Linux-v5.4/drivers/acpi/nfit/ |
D | intel.c | 16 struct nd_cmd_pkg pkg; in intel_security_flags() member 19 .pkg = { in intel_security_flags() 81 struct nd_cmd_pkg pkg; in intel_security_freeze() member 84 .pkg = { in intel_security_freeze() 114 struct nd_cmd_pkg pkg; in intel_security_change_key() member 117 .pkg = { in intel_security_change_key() 158 struct nd_cmd_pkg pkg; in intel_security_unlock() member 161 .pkg = { in intel_security_unlock() 200 struct nd_cmd_pkg pkg; in intel_security_disable() member 203 .pkg = { in intel_security_disable() [all …]
|
/Linux-v5.4/drivers/gpu/drm/i915/display/ |
D | intel_acpi.c | 76 union acpi_object *pkg, *connector_count; in intel_dsm_platform_mux_info() local 78 pkg = acpi_evaluate_dsm_typed(dhandle, &intel_dsm_guid, in intel_dsm_platform_mux_info() 81 if (!pkg) { in intel_dsm_platform_mux_info() 86 connector_count = &pkg->package.elements[0]; in intel_dsm_platform_mux_info() 89 for (i = 1; i < pkg->package.count; i++) { in intel_dsm_platform_mux_info() 90 union acpi_object *obj = &pkg->package.elements[i]; in intel_dsm_platform_mux_info() 105 ACPI_FREE(pkg); in intel_dsm_platform_mux_info()
|
/Linux-v5.4/drivers/acpi/acpica/ |
D | utmisc.c | 218 this_index = state->pkg.index; in acpi_ut_walk_package_tree() 220 state->pkg.source_object->package.elements[this_index]; in acpi_ut_walk_package_tree() 221 state->pkg.this_target_obj = in acpi_ut_walk_package_tree() 222 &state->pkg.source_object->package.elements[this_index]; in acpi_ut_walk_package_tree() 243 state->pkg.index++; in acpi_ut_walk_package_tree() 244 while (state->pkg.index >= in acpi_ut_walk_package_tree() 245 state->pkg.source_object->package.count) { in acpi_ut_walk_package_tree() 271 state->pkg.index++; in acpi_ut_walk_package_tree() 290 state->pkg.this_target_obj, in acpi_ut_walk_package_tree()
|
D | utstate.c | 209 state->pkg.source_object = (union acpi_operand_object *)internal_object; in acpi_ut_create_pkg_state() 210 state->pkg.dest_object = external_object; in acpi_ut_create_pkg_state() 211 state->pkg.index = index; in acpi_ut_create_pkg_state() 212 state->pkg.num_packages = 1; in acpi_ut_create_pkg_state()
|
/Linux-v5.4/tools/power/x86/x86_energy_perf_policy/ |
D | x86_energy_perf_policy.c | 459 int pkg = 0; in parse_cmdline_pkg() local 482 while (pkg <= end_pkg) { in parse_cmdline_pkg() 483 if (pkg > max_pkg_num) in parse_cmdline_pkg() 484 errx(1, "Requested pkg%d exceeds max pkg%d", pkg, max_pkg_num); in parse_cmdline_pkg() 485 pkg_selected_set |= 1 << pkg; in parse_cmdline_pkg() 486 pkg++; in parse_cmdline_pkg() 497 pkg = strtol(startp, &endp, 10); in parse_cmdline_pkg() 498 if (pkg > max_pkg_num) in parse_cmdline_pkg() 499 errx(1, "Requested pkg%d Exceeds max pkg%d", pkg, max_pkg_num); in parse_cmdline_pkg() 500 pkg_selected_set |= 1 << pkg; in parse_cmdline_pkg() [all …]
|
/Linux-v5.4/scripts/package/ |
D | buildtar | 27 tar-pkg) 30 targz-pkg) 34 tarbz2-pkg) 38 tarxz-pkg)
|
/Linux-v5.4/ |
D | .gitignore | 66 # RPM spec file (make rpm-pkg) 71 # Debian directory (make deb-pkg) 76 # Snap directory (make snap-pkg) 81 # tar directory (make tar*-pkg)
|
/Linux-v5.4/scripts/kconfig/ |
D | gconf-cfg.sh | 13 if ! pkg-config --exists $PKG; then 22 if ! pkg-config --atleast-version=2.0.0 gtk+-2.0; then
|
D | qconf-cfg.sh | 14 if pkg-config --exists $PKG; then 29 echo >&2 "* Could not find Qt via pkg-config."
|
/Linux-v5.4/tools/usb/ffs-aio-example/multibuff/host_app/ |
D | Makefile | 3 LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0) 4 LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0)
|
/Linux-v5.4/tools/usb/ffs-aio-example/simple/host_app/ |
D | Makefile | 3 LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0) 4 LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0)
|
/Linux-v5.4/drivers/i2c/busses/ |
D | i2c-scmi.c | 93 union acpi_object *pkg; in acpi_smbus_cmi_access() local 188 pkg = buffer.pointer; in acpi_smbus_cmi_access() 189 if (pkg && pkg->type == ACPI_TYPE_PACKAGE) in acpi_smbus_cmi_access() 190 obj = pkg->package.elements; in acpi_smbus_cmi_access() 227 obj = pkg->package.elements + 1; in acpi_smbus_cmi_access() 235 obj = pkg->package.elements + 2; in acpi_smbus_cmi_access()
|
/Linux-v5.4/tools/testing/selftests/memfd/ |
D | Makefile | 11 fuse_mnt.o: CFLAGS += $(shell pkg-config fuse --cflags) 15 $(OUTPUT)/fuse_mnt: LDLIBS += $(shell pkg-config fuse --libs)
|
/Linux-v5.4/drivers/net/ethernet/broadcom/ |
D | bgmac-bcma.c | 231 if (ci->pkg == BCMA_PKG_ID_BCM47188 || in bgmac_probe() 232 ci->pkg == BCMA_PKG_ID_BCM47186) { in bgmac_probe() 236 if (ci->pkg == BCMA_PKG_ID_BCM5358) in bgmac_probe() 242 if (ci->pkg == BCMA_PKG_ID_BCM47189) in bgmac_probe() 246 if (ci->pkg == BCMA_PKG_ID_BCM47189) in bgmac_probe() 259 if (ci->pkg == 10) { in bgmac_probe()
|
/Linux-v5.4/drivers/pinctrl/stm32/ |
D | pinctrl-stm32.h | 35 const unsigned int pkg; member 48 .pkg = _pkg, \
|
/Linux-v5.4/tools/testing/selftests/gpio/ |
D | Makefile | 3 MOUNT_CFLAGS := $(shell pkg-config --cflags mount 2>/dev/null) 4 MOUNT_LDLIBS := $(shell pkg-config --libs mount 2>/dev/null)
|
/Linux-v5.4/drivers/net/ethernet/intel/ice/ |
D | ice_flex_pipe.c | 538 static enum ice_status ice_verify_pkg(struct ice_pkg_hdr *pkg, u32 len) in ice_verify_pkg() argument 543 if (len < sizeof(*pkg)) in ice_verify_pkg() 546 if (pkg->format_ver.major != ICE_PKG_FMT_VER_MAJ || in ice_verify_pkg() 547 pkg->format_ver.minor != ICE_PKG_FMT_VER_MNR || in ice_verify_pkg() 548 pkg->format_ver.update != ICE_PKG_FMT_VER_UPD || in ice_verify_pkg() 549 pkg->format_ver.draft != ICE_PKG_FMT_VER_DFT) in ice_verify_pkg() 553 seg_count = le32_to_cpu(pkg->seg_count); in ice_verify_pkg() 558 if (len < sizeof(*pkg) + ((seg_count - 1) * sizeof(pkg->seg_offset))) in ice_verify_pkg() 563 u32 off = le32_to_cpu(pkg->seg_offset[i]); in ice_verify_pkg() 570 seg = (struct ice_generic_seg_hdr *)((u8 *)pkg + off); in ice_verify_pkg() [all …]
|