/linux-6.12.1/drivers/thunderbolt/ |
D | ctl.c | 164 tb_cfg_request_find(struct tb_ctl *ctl, struct ctl_pkg *pkg) in tb_cfg_request_find() argument 168 mutex_lock(&pkg->ctl->request_queue_lock); in tb_cfg_request_find() 169 list_for_each_entry(iter, &pkg->ctl->request_queue, list) { in tb_cfg_request_find() 171 if (iter->match(iter, pkg)) { in tb_cfg_request_find() 177 mutex_unlock(&pkg->ctl->request_queue_lock); in tb_cfg_request_find() 185 static int check_header(const struct ctl_pkg *pkg, u32 len, in check_header() argument 188 struct tb_cfg_header *header = pkg->buffer; in check_header() 191 if (WARN(len != pkg->frame.size, in check_header() 193 len, pkg->frame.size)) in check_header() 195 if (WARN(type != pkg->frame.eof, "wrong eof (expected %#x, got %#x)\n", in check_header() [all …]
|
D | icm.c | 127 struct icm_pkg_header *pkg; member 272 const struct ctl_pkg *pkg) in icm_match() argument 274 const struct icm_pkg_header *res_hdr = pkg->buffer; in icm_match() 277 if (pkg->frame.eof != req->response_type) in icm_match() 285 static bool icm_copy(struct tb_cfg_request *req, const struct ctl_pkg *pkg) in icm_copy() argument 287 const struct icm_pkg_header *hdr = pkg->buffer; in icm_copy() 292 memcpy(req->response + offset, pkg->buffer, req->response_size); in icm_copy() 722 const struct icm_fr_event_device_connected *pkg = in icm_fr_device_connected() local 736 link = pkg->link_info & ICM_LINK_INFO_LINK_MASK; in icm_fr_device_connected() 737 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()
|
/linux-6.12.1/drivers/md/ |
D | dm-log-userspace-transfer.c | 86 struct receiving_pkg *pkg; in fill_pkg() local 98 list_for_each_entry(pkg, &receiving_list, list) { in fill_pkg() 99 if (rtn_seq != pkg->seq) in fill_pkg() 103 pkg->error = -msg->ack; in fill_pkg() 109 if (pkg->error != -EAGAIN) in fill_pkg() 110 *(pkg->data_size) = 0; in fill_pkg() 111 } else if (tfr->data_size > *(pkg->data_size)) { in fill_pkg() 113 tfr->request_type, 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 | 715 } pkg; in userspace_get_resync_work() local 720 rdata_size = sizeof(pkg); in userspace_get_resync_work() 722 NULL, 0, (char *)&pkg, &rdata_size); in userspace_get_resync_work() 724 *region = pkg.r; in userspace_get_resync_work() 725 return (r) ? r : (int)pkg.i; in userspace_get_resync_work() 741 } pkg; in userspace_set_region_sync() local 743 pkg.r = region; in userspace_set_region_sync() 744 pkg.i = (int64_t)in_sync; in userspace_set_region_sync() 747 (char *)&pkg, sizeof(pkg), NULL, NULL); in userspace_set_region_sync() 839 } pkg; in userspace_is_remote_recovering() local [all …]
|
/linux-6.12.1/scripts/ |
D | Makefile.package | 63 PHONY += rpm-pkg srcrpm-pkg binrpm-pkg 69 rpm-pkg: private build-type := a 70 srcrpm-pkg: private build-type := s 71 binrpm-pkg: private build-type := b 73 rpm-pkg srcrpm-pkg: rpm-sources 74 rpm-pkg srcrpm-pkg binrpm-pkg: rpmbuild/SPECS/kernel.spec 117 PHONY += deb-pkg srcdeb-pkg bindeb-pkg 119 deb-pkg: private build-type := source,binary 120 srcdeb-pkg: private build-type := source 121 bindeb-pkg: private build-type := binary [all …]
|
/linux-6.12.1/tools/power/cpupower/lib/ |
D | cpupower.c | 137 if (top1->pkg < top2->pkg) in __compare() 139 else if (top1->pkg > top2->pkg) in __compare() 173 &(cpu_top->core_info[cpu].pkg)) < 0) { in get_cpu_topology() 174 cpu_top->core_info[cpu].pkg = -1; in get_cpu_topology() 182 cpu_top->core_info[cpu].pkg = -1; in get_cpu_topology() 194 last_pkg = cpu_top->core_info[0].pkg; in get_cpu_topology() 196 if (cpu_top->core_info[cpu].pkg != last_pkg && in get_cpu_topology() 197 cpu_top->core_info[cpu].pkg != -1) { in get_cpu_topology() 199 last_pkg = cpu_top->core_info[cpu].pkg; in get_cpu_topology() 203 if (!(cpu_top->core_info[0].pkg == -1)) in get_cpu_topology()
|
/linux-6.12.1/drivers/acpi/nfit/ |
D | intel.c | 59 struct nd_cmd_pkg pkg; in intel_security_flags() member 62 .pkg = { in intel_security_flags() 124 struct nd_cmd_pkg pkg; in intel_security_freeze() member 127 .pkg = { in intel_security_freeze() 157 struct nd_cmd_pkg pkg; in intel_security_change_key() member 160 .pkg = { in intel_security_change_key() 199 struct nd_cmd_pkg pkg; in intel_security_unlock() member 202 .pkg = { in intel_security_unlock() 238 struct nd_cmd_pkg pkg; in intel_security_disable() member 241 .pkg = { in intel_security_disable() [all …]
|
/linux-6.12.1/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-6.12.1/tools/power/x86/x86_energy_perf_policy/ |
D | x86_energy_perf_policy.c | 462 int pkg = 0; in parse_cmdline_pkg() local 485 while (pkg <= end_pkg) { in parse_cmdline_pkg() 486 if (pkg > max_pkg_num) in parse_cmdline_pkg() 487 errx(1, "Requested pkg%d exceeds max pkg%d", pkg, max_pkg_num); in parse_cmdline_pkg() 488 pkg_selected_set |= 1 << pkg; in parse_cmdline_pkg() 489 pkg++; in parse_cmdline_pkg() 500 pkg = strtol(startp, &endp, 10); in parse_cmdline_pkg() 501 if (pkg > max_pkg_num) in parse_cmdline_pkg() 502 errx(1, "Requested pkg%d Exceeds max pkg%d", pkg, max_pkg_num); in parse_cmdline_pkg() 503 pkg_selected_set |= 1 << pkg; in parse_cmdline_pkg() [all …]
|
/linux-6.12.1/tools/power/x86/intel-speed-select/ |
D | isst-core-tpmi.c | 123 info.socket_id = id->pkg; in tpmi_is_punit_valid() 140 info.socket_id = id->pkg; in tpmi_read_pm_config() 157 info.socket_id = id->pkg; in tpmi_get_config_levels() 182 info.socket_id = id->pkg; in tpmi_get_ctdp_control() 209 core_power_info.socket_id = id->pkg; in tpmi_get_ctdp_control() 233 info.socket_id = id->pkg; in tpmi_get_tdp_info() 285 info.socket_id = id->pkg; in tpmi_get_coremask_info() 311 info.socket_id = id->pkg; in tpmi_get_get_trls() 356 info.socket_id = id->pkg; in tpmi_get_trl_bucket_info() 381 info.socket_id = id->pkg; in tpmi_set_tdp_level() [all …]
|
D | isst-daemon.c | 43 if (id->pkg < 0 || id->die < 0 || id->punit < 0) { in process_level_change() 49 if (tm - per_package_levels_tm[id->pkg][id->die][id->punit] < 2) in process_level_change() 52 per_package_levels_tm[id->pkg][id->die][id->punit] = tm; in process_level_change() 61 id->pkg, id->die, pkg_dev.current_level); in process_level_change() 68 if (per_package_levels_info[id->pkg][id->die][id->punit] == pkg_dev.current_level) in process_level_change() 72 id->cpu, id->pkg, id->die, per_package_levels_info[id->pkg][id->die][id->punit], in process_level_change() 75 per_package_levels_info[id->pkg][id->die][id->punit] = pkg_dev.current_level; in process_level_change()
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_acpi.c | 84 union acpi_object *pkg, *connector_count; in intel_dsm_platform_mux_info() local 86 pkg = acpi_evaluate_dsm_typed(dhandle, &intel_dsm_guid, in intel_dsm_platform_mux_info() 89 if (!pkg) { in intel_dsm_platform_mux_info() 94 if (!pkg->package.count) { in intel_dsm_platform_mux_info() 99 connector_count = &pkg->package.elements[0]; in intel_dsm_platform_mux_info() 102 for (i = 1; i < pkg->package.count; i++) { in intel_dsm_platform_mux_info() 103 union acpi_object *obj = &pkg->package.elements[i]; in intel_dsm_platform_mux_info() 131 ACPI_FREE(pkg); in intel_dsm_platform_mux_info()
|
/linux-6.12.1/ |
D | .gitignore | 77 # RPM spec file (make rpm-pkg) 82 # Debian directory (make deb-pkg) 87 # Snap directory (make snap-pkg) 92 # tar directory (make tar*-pkg) 97 # pacman files (make pacman-pkg)
|
/linux-6.12.1/tools/testing/selftests/alsa/ |
D | Makefile | 3 ifneq ($(shell pkg-config --exists alsa && echo 0 || echo 1),0) 8 CFLAGS += $(shell pkg-config --cflags alsa) $(KHDR_INCLUDES) 9 LDLIBS += $(shell pkg-config --libs alsa)
|
/linux-6.12.1/drivers/net/ethernet/microsoft/mana/ |
D | mana_en.c | 228 struct mana_tx_package pkg = {}; in mana_start_xmit() local 248 pkg.tx_oob.s_oob.vcq_num = cq->gdma_id; in mana_start_xmit() 249 pkg.tx_oob.s_oob.vsq_frame = txq->vsq_frame; in mana_start_xmit() 252 pkg.tx_oob.l_oob.long_vp_offset = txq->vp_offset; in mana_start_xmit() 255 pkg.tx_oob.s_oob.short_vp_offset = txq->vp_offset; in mana_start_xmit() 260 pkg.tx_oob.l_oob.inject_vlan_pri_tag = 1; in mana_start_xmit() 261 pkg.tx_oob.l_oob.pcp = skb_vlan_tag_get_prio(skb); in mana_start_xmit() 262 pkg.tx_oob.l_oob.dei = skb_vlan_tag_get_cfi(skb); in mana_start_xmit() 263 pkg.tx_oob.l_oob.vlan_id = skb_vlan_tag_get_id(skb); in mana_start_xmit() 266 pkg.tx_oob.s_oob.pkt_fmt = pkt_fmt; in mana_start_xmit() [all …]
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-scmi.c | 86 union acpi_object *pkg; in acpi_smbus_cmi_access() local 181 pkg = buffer.pointer; in acpi_smbus_cmi_access() 182 if (pkg && pkg->type == ACPI_TYPE_PACKAGE) in acpi_smbus_cmi_access() 183 obj = pkg->package.elements; in acpi_smbus_cmi_access() 220 obj = pkg->package.elements + 1; in acpi_smbus_cmi_access() 228 obj = pkg->package.elements + 2; in acpi_smbus_cmi_access()
|
/linux-6.12.1/drivers/thermal/intel/ |
D | intel_tcc.c | 167 static u32 get_temp_mask(bool pkg) in get_temp_mask() argument 169 return pkg ? intel_tcc_temp_masks.pkg_digital_readout : in get_temp_mask() 279 int intel_tcc_get_temp(int cpu, int *temp, bool pkg) in intel_tcc_get_temp() argument 281 u32 msr = pkg ? MSR_IA32_PACKAGE_THERM_STATUS : MSR_IA32_THERM_STATUS; in intel_tcc_get_temp() 300 mask = get_temp_mask(pkg); in intel_tcc_get_temp()
|
/linux-6.12.1/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-6.12.1/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-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_ddp.c | 34 static enum ice_ddp_state ice_verify_pkg(const struct ice_pkg_hdr *pkg, u32 len) in ice_verify_pkg() argument 39 if (len < struct_size(pkg, seg_offset, 1)) in ice_verify_pkg() 42 if (pkg->pkg_format_ver.major != ICE_PKG_FMT_VER_MAJ || in ice_verify_pkg() 43 pkg->pkg_format_ver.minor != ICE_PKG_FMT_VER_MNR || in ice_verify_pkg() 44 pkg->pkg_format_ver.update != ICE_PKG_FMT_VER_UPD || in ice_verify_pkg() 45 pkg->pkg_format_ver.draft != ICE_PKG_FMT_VER_DFT) in ice_verify_pkg() 49 seg_count = le32_to_cpu(pkg->seg_count); in ice_verify_pkg() 54 if (len < struct_size(pkg, seg_offset, seg_count)) in ice_verify_pkg() 59 u32 off = le32_to_cpu(pkg->seg_offset[i]); in ice_verify_pkg() 66 seg = (void *)pkg + off; in ice_verify_pkg() [all …]
|
/linux-6.12.1/drivers/net/ethernet/broadcom/ |
D | bgmac-bcma.c | 243 if ((ci->id == BCMA_CHIP_ID_BCM5357 && ci->pkg == BCMA_PKG_ID_BCM47186) || in bgmac_probe() 244 (ci->id == BCMA_CHIP_ID_BCM53572 && ci->pkg == BCMA_PKG_ID_BCM47188)) { in bgmac_probe() 248 if (ci->id == BCMA_CHIP_ID_BCM5357 && ci->pkg == BCMA_PKG_ID_BCM5358) in bgmac_probe() 254 if (ci->pkg == BCMA_PKG_ID_BCM47189) in bgmac_probe() 258 if (ci->pkg == BCMA_PKG_ID_BCM47189) in bgmac_probe() 271 if (ci->pkg == 10) { in bgmac_probe()
|
/linux-6.12.1/drivers/hid/ |
D | hid-goodix-spi.c | 568 struct goodix_hid_report_package *pkg; in goodix_hid_irq() local 594 pkg = (struct goodix_hid_report_package *)event->data; in goodix_hid_irq() 595 if (le16_to_cpu(pkg->size) < GOODIX_HID_PKG_LEN_SIZE) { in goodix_hid_irq() 597 le16_to_cpu(pkg->size)); in goodix_hid_irq() 600 hid_input_report(ts->hid, HID_INPUT_REPORT, pkg->data, in goodix_hid_irq() 601 le16_to_cpu(pkg->size) - GOODIX_HID_PKG_LEN_SIZE, 1); in goodix_hid_irq() 615 pkg = goodix_get_event_report(ts, ts->hid_report_addr + sizeof(*event), in goodix_hid_irq() 618 if (!pkg) { in goodix_hid_irq() 623 hid_input_report(ts->hid, HID_INPUT_REPORT, pkg->data, in goodix_hid_irq() 624 le16_to_cpu(pkg->size) - GOODIX_HID_PKG_LEN_SIZE, 1); in goodix_hid_irq()
|
/linux-6.12.1/tools/testing/selftests/memfd/ |
D | Makefile | 9 VAR_CFLAGS := $(shell pkg-config fuse --cflags 2>/dev/null) 14 VAR_LDLIBS := $(shell pkg-config fuse --libs 2>/dev/null)
|