/Linux-v4.19/drivers/thunderbolt/ |
D | ctl.c | 146 tb_cfg_request_find(struct tb_ctl *ctl, struct ctl_pkg *pkg) in tb_cfg_request_find() argument 151 mutex_lock(&pkg->ctl->request_queue_lock); in tb_cfg_request_find() 152 list_for_each_entry(req, &pkg->ctl->request_queue, list) { in tb_cfg_request_find() 154 if (req->match(req, pkg)) { in tb_cfg_request_find() 160 mutex_unlock(&pkg->ctl->request_queue_lock); in tb_cfg_request_find() 168 static int check_header(const struct ctl_pkg *pkg, u32 len, in check_header() argument 171 struct tb_cfg_header *header = pkg->buffer; in check_header() 174 if (WARN(len != pkg->frame.size, in check_header() 176 len, pkg->frame.size)) in check_header() 178 if (WARN(type != pkg->frame.eof, "wrong eof (expected %#x, got %#x)\n", in check_header() [all …]
|
D | icm.c | 99 struct icm_pkg_header *pkg; member 174 const struct ctl_pkg *pkg) in icm_match() argument 176 const struct icm_pkg_header *res_hdr = pkg->buffer; in icm_match() 179 if (pkg->frame.eof != req->response_type) in icm_match() 187 static bool icm_copy(struct tb_cfg_request *req, const struct ctl_pkg *pkg) in icm_copy() argument 189 const struct icm_pkg_header *hdr = pkg->buffer; in icm_copy() 194 memcpy(req->response + offset, pkg->buffer, req->response_size); in icm_copy() 579 const struct icm_fr_event_device_connected *pkg = in icm_fr_device_connected() local 591 link = pkg->link_info & ICM_LINK_INFO_LINK_MASK; in icm_fr_device_connected() 592 depth = (pkg->link_info & ICM_LINK_INFO_DEPTH_MASK) >> in icm_fr_device_connected() [all …]
|
D | dma_port.c | 69 const struct ctl_pkg *pkg) in dma_port_match() argument 71 u64 route = tb_cfg_get_route(pkg->buffer) & ~BIT_ULL(63); in dma_port_match() 73 if (pkg->frame.eof == TB_CFG_PKG_ERROR) in dma_port_match() 75 if (pkg->frame.eof != req->response_type) in dma_port_match() 79 if (pkg->frame.size != req->response_size) in dma_port_match() 85 static bool dma_port_copy(struct tb_cfg_request *req, const struct ctl_pkg *pkg) in dma_port_copy() argument 87 memcpy(req->response, pkg->buffer, req->response_size); in dma_port_copy()
|
D | xdomain.c | 29 struct tb_xdp_header *pkg; member 51 const struct ctl_pkg *pkg) in tb_xdomain_match() argument 53 switch (pkg->frame.eof) { in tb_xdomain_match() 58 const struct tb_xdp_header *res_hdr = pkg->buffer; in tb_xdomain_match() 61 if (pkg->frame.size < req->response_size / 4) in tb_xdomain_match() 84 const struct ctl_pkg *pkg) in tb_xdomain_copy() argument 86 memcpy(req->response, pkg->buffer, req->response_size); in tb_xdomain_copy() 465 const struct tb_xdp_header *pkg = xw->pkg; in tb_xdp_handle_request() local 466 const struct tb_xdomain_header *xhdr = &pkg->xd_hdr; in tb_xdp_handle_request() 490 switch (pkg->type) { in tb_xdp_handle_request() [all …]
|
D | tb.c | 322 const struct cfg_event_pkg *pkg = buf; in tb_handle_event() local 331 route = tb_cfg_get_route(&pkg->header); in tb_handle_event() 333 if (tb_cfg_error(tb->ctl, route, pkg->port, in tb_handle_event() 336 pkg->port); in tb_handle_event() 345 ev->port = pkg->port; in tb_handle_event() 346 ev->unplug = pkg->unplug; in tb_handle_event()
|
/Linux-v4.19/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-v4.19/tools/power/cpupower/lib/ |
D | cpupower.c | 110 if (top1->pkg < top2->pkg) in __compare() 112 else if (top1->pkg > top2->pkg) in __compare() 146 &(cpu_top->core_info[cpu].pkg)) < 0) { in get_cpu_topology() 147 cpu_top->core_info[cpu].pkg = -1; in get_cpu_topology() 155 cpu_top->core_info[cpu].pkg = -1; in get_cpu_topology() 167 last_pkg = cpu_top->core_info[0].pkg; in get_cpu_topology() 169 if (cpu_top->core_info[cpu].pkg != last_pkg && in get_cpu_topology() 170 cpu_top->core_info[cpu].pkg != -1) { in get_cpu_topology() 172 last_pkg = cpu_top->core_info[cpu].pkg; in get_cpu_topology() 176 if (!(cpu_top->core_info[0].pkg == -1)) in get_cpu_topology()
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | intel_acpi.c | 74 union acpi_object *pkg, *connector_count; in intel_dsm_platform_mux_info() local 76 pkg = acpi_evaluate_dsm_typed(dhandle, &intel_dsm_guid, in intel_dsm_platform_mux_info() 79 if (!pkg) { in intel_dsm_platform_mux_info() 84 connector_count = &pkg->package.elements[0]; in intel_dsm_platform_mux_info() 87 for (i = 1; i < pkg->package.count; i++) { in intel_dsm_platform_mux_info() 88 union acpi_object *obj = &pkg->package.elements[i]; in intel_dsm_platform_mux_info() 103 ACPI_FREE(pkg); in intel_dsm_platform_mux_info()
|
/Linux-v4.19/drivers/acpi/acpica/ |
D | utmisc.c | 217 this_index = state->pkg.index; in acpi_ut_walk_package_tree() 219 state->pkg.source_object->package.elements[this_index]; in acpi_ut_walk_package_tree() 220 state->pkg.this_target_obj = in acpi_ut_walk_package_tree() 221 &state->pkg.source_object->package.elements[this_index]; in acpi_ut_walk_package_tree() 242 state->pkg.index++; in acpi_ut_walk_package_tree() 243 while (state->pkg.index >= in acpi_ut_walk_package_tree() 244 state->pkg.source_object->package.count) { in acpi_ut_walk_package_tree() 270 state->pkg.index++; in acpi_ut_walk_package_tree() 289 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-v4.19/tools/power/x86/x86_energy_perf_policy/ |
D | x86_energy_perf_policy.c | 460 int pkg = 0; in parse_cmdline_pkg() local 483 while (pkg <= end_pkg) { in parse_cmdline_pkg() 484 if (pkg > max_pkg_num) in parse_cmdline_pkg() 485 errx(1, "Requested pkg%d exceeds max pkg%d", pkg, max_pkg_num); in parse_cmdline_pkg() 486 pkg_selected_set |= 1 << pkg; in parse_cmdline_pkg() 487 pkg++; in parse_cmdline_pkg() 498 pkg = strtol(startp, &endp, 10); in parse_cmdline_pkg() 499 if (pkg > max_pkg_num) in parse_cmdline_pkg() 500 errx(1, "Requested pkg%d Exceeds max pkg%d", pkg, max_pkg_num); in parse_cmdline_pkg() 501 pkg_selected_set |= 1 << pkg; in parse_cmdline_pkg() [all …]
|
/Linux-v4.19/scripts/package/ |
D | Makefile | 53 rpm-pkg: FORCE 62 binrpm-pkg: FORCE 70 deb-pkg: FORCE 78 bindeb-pkg: FORCE 82 intdeb-pkg: FORCE 89 snap-pkg: FORCE 105 tar%pkg: FORCE 136 perf-%pkg: FORCE
|
D | buildtar | 27 tar-pkg) 30 targz-pkg) 34 tarbz2-pkg) 38 tarxz-pkg)
|
/Linux-v4.19/arch/x86/events/intel/ |
D | uncore.c | 835 int pkg; in uncore_free_boxes() local 837 for (pkg = 0; pkg < max_packages; pkg++) in uncore_free_boxes() 838 kfree(pmu->boxes[pkg]); in uncore_free_boxes() 945 int phys_id, pkg, ret; in uncore_pci_probe() local 951 pkg = topology_phys_to_logical_pkg(phys_id); in uncore_pci_probe() 952 if (pkg < 0) in uncore_pci_probe() 958 uncore_extra_pci_dev[pkg].dev[idx] = pdev; in uncore_pci_probe() 997 if (WARN_ON_ONCE(pmu->boxes[pkg] != NULL)) in uncore_pci_probe() 1011 box->pkgid = pkg; in uncore_pci_probe() 1017 pmu->boxes[pkg] = box; in uncore_pci_probe() [all …]
|
/Linux-v4.19/ |
D | .gitignore | 62 # RPM spec file (make rpm-pkg) 67 # Debian directory (make deb-pkg) 72 # Snap directory (make snap-pkg) 77 # tar directory (make tar*-pkg)
|
/Linux-v4.19/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-v4.19/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-v4.19/tools/usb/ffs-aio-example/simple/host_app/ |
D | Makefile | 2 LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0) 3 LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0)
|
/Linux-v4.19/drivers/i2c/busses/ |
D | i2c-scmi.c | 96 union acpi_object *pkg; in acpi_smbus_cmi_access() local 191 pkg = buffer.pointer; in acpi_smbus_cmi_access() 192 if (pkg && pkg->type == ACPI_TYPE_PACKAGE) in acpi_smbus_cmi_access() 193 obj = pkg->package.elements; in acpi_smbus_cmi_access() 230 obj = pkg->package.elements + 1; in acpi_smbus_cmi_access() 238 obj = pkg->package.elements + 2; in acpi_smbus_cmi_access()
|
/Linux-v4.19/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-v4.19/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-v4.19/arch/x86/include/asm/ |
D | topology.h | 126 int topology_phys_to_logical_pkg(unsigned int pkg); 133 static inline int topology_phys_to_logical_pkg(unsigned int pkg) { return 0; } in topology_phys_to_logical_pkg() argument
|
/Linux-v4.19/arch/x86/events/amd/ |
D | power.c | 181 EVENT_ATTR_STR(power-pkg, power_pkg, "event=0x01"); 183 EVENT_ATTR_STR(power-pkg.unit, power_pkg_unit, "mWatts"); 186 EVENT_ATTR_STR(power-pkg.scale, power_pkg_scale, "1.000000e-3");
|