Home
last modified time | relevance | path

Searched refs:pkg (Results 1 – 25 of 86) sorted by relevance

1234

/linux/drivers/thunderbolt/
H A Dctl.c174 tb_cfg_request_find(struct tb_ctl *ctl, struct ctl_pkg *pkg) in tb_cfg_request_find() argument
178 mutex_lock(&pkg->ctl->request_queue_lock); in tb_cfg_request_find()
179 list_for_each_entry(iter, &pkg->ctl->request_queue, list) { in tb_cfg_request_find()
181 if (iter->match(iter, pkg)) { in tb_cfg_request_find()
187 mutex_unlock(&pkg->ctl->request_queue_lock); in tb_cfg_request_find()
195 static int check_header(const struct ctl_pkg *pkg, u32 len, in check_header() argument
198 struct tb_cfg_header *header = pkg->buffer; in check_header()
201 if (WARN(len != pkg->frame.size, in check_header()
203 len, pkg->frame.size)) in check_header()
205 if (WARN(type != pkg->frame.eof, "wrong eof (expected %#x, got %#x)\n", in check_header()
[all …]
H A Dicm.c128 struct icm_pkg_header *pkg; member
273 const struct ctl_pkg *pkg) in icm_match() argument
275 const struct icm_pkg_header *res_hdr = pkg->buffer; in icm_match()
278 if (pkg->frame.eof != req->response_type) in icm_match()
286 static bool icm_copy(struct tb_cfg_request *req, const struct ctl_pkg *pkg) in icm_copy() argument
288 const struct icm_pkg_header *hdr = pkg->buffer; in icm_copy()
293 memcpy(req->response + offset, pkg->buffer, req->response_size); in icm_copy()
747 const struct icm_fr_event_device_connected *pkg = in icm_fr_device_connected() local
761 link = pkg->link_info & ICM_LINK_INFO_LINK_MASK; in icm_fr_device_connected()
762 depth = (pkg->link_info & ICM_LINK_INFO_DEPTH_MASK) >> in icm_fr_device_connected()
[all …]
/linux/drivers/md/
H A Ddm-log-userspace-transfer.c86 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 …]
H A Ddm-log-userspace-base.c715 } 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/scripts/
H A DMakefile.package63 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/drivers/acpi/nfit/
H A Dintel.c58 TRAILING_OVERLAP(struct nd_cmd_pkg, pkg, nd_payload, in intel_security_flags()
61 .pkg = { in intel_security_flags()
122 TRAILING_OVERLAP(struct nd_cmd_pkg, pkg, nd_payload, in intel_security_freeze()
125 .pkg = { in intel_security_freeze()
154 TRAILING_OVERLAP(struct nd_cmd_pkg, pkg, nd_payload, in intel_security_change_key()
157 .pkg = { in intel_security_change_key()
195 TRAILING_OVERLAP(struct nd_cmd_pkg, pkg, nd_payload, in intel_security_unlock()
198 .pkg = { in intel_security_unlock()
233 TRAILING_OVERLAP(struct nd_cmd_pkg, pkg, nd_payload, in intel_security_disable()
236 .pkg = { in intel_security_disable()
[all …]
/linux/drivers/acpi/acpica/
H A Dutmisc.c218 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()
H A Dutstate.c209 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/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c465 int pkg = 0; in parse_cmdline_pkg() local
488 while (pkg <= end_pkg) { in parse_cmdline_pkg()
489 if (pkg > max_pkg_num) in parse_cmdline_pkg()
490 errx(1, "Requested pkg%d exceeds max pkg%d", pkg, max_pkg_num); in parse_cmdline_pkg()
491 pkg_selected_set |= 1 << pkg; in parse_cmdline_pkg()
492 pkg++; in parse_cmdline_pkg()
503 pkg = strtol(startp, &endp, 10); in parse_cmdline_pkg()
504 if (pkg > max_pkg_num) in parse_cmdline_pkg()
505 errx(1, "Requested pkg%d Exceeds max pkg%d", pkg, max_pkg_num); in parse_cmdline_pkg()
506 pkg_selected_set |= 1 << pkg; in parse_cmdline_pkg()
[all …]
/linux/tools/power/x86/intel-speed-select/
H A Disst-core-tpmi.c123 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()
234 info.socket_id = id->pkg; in tpmi_get_tdp_info()
257 fabric_info.socket_id = id->pkg; in tpmi_get_tdp_info()
297 info.socket_id = id->pkg; in tpmi_get_coremask_info()
323 info.socket_id = id->pkg; in tpmi_get_get_trls()
368 info.socket_id = id->pkg; in tpmi_get_trl_bucket_info()
[all …]
H A Disst-daemon.c43 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/
H A D.gitignore81 # RPM spec file (make rpm-pkg)
86 # Debian directory (make deb-pkg)
91 # Snap directory (make snap-pkg)
96 # tar directory (make tar*-pkg)
101 # pacman files (make pacman-pkg)
/linux/tools/testing/selftests/alsa/
H A DMakefile3 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/drivers/net/ethernet/intel/ice/
H A Dice_ddp.c34 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/drivers/net/ethernet/broadcom/
H A Dbgmac-bcma.c243 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/drivers/hid/
H A Dhid-goodix-spi.c573 struct goodix_hid_report_package *pkg; in goodix_hid_irq() local
599 pkg = (struct goodix_hid_report_package *)event->data; in goodix_hid_irq()
600 if (le16_to_cpu(pkg->size) < GOODIX_HID_PKG_LEN_SIZE) { in goodix_hid_irq()
602 le16_to_cpu(pkg->size)); in goodix_hid_irq()
605 hid_input_report(ts->hid, HID_INPUT_REPORT, pkg->data, in goodix_hid_irq()
606 le16_to_cpu(pkg->size) - GOODIX_HID_PKG_LEN_SIZE, 1); in goodix_hid_irq()
620 pkg = goodix_get_event_report(ts, ts->hid_report_addr + sizeof(*event), in goodix_hid_irq()
623 if (!pkg) { in goodix_hid_irq()
628 hid_input_report(ts->hid, HID_INPUT_REPORT, pkg->data, in goodix_hid_irq()
629 le16_to_cpu(pkg->size) - GOODIX_HID_PKG_LEN_SIZE, 1); in goodix_hid_irq()
/linux/tools/usb/ffs-aio-example/simple/host_app/
H A DMakefile3 LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0)
4 LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0)
/linux/tools/usb/ffs-aio-example/multibuff/host_app/
H A DMakefile3 LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0)
4 LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0)
/linux/tools/testing/selftests/filesystems/fuse/
H A DMakefile10 VAR_CFLAGS := $(shell pkg-config fuse --cflags 2>/dev/null)
15 VAR_LDLIBS := $(shell pkg-config fuse --libs 2>/dev/null)
/linux/tools/testing/selftests/memfd/
H A DMakefile9 VAR_CFLAGS := $(shell pkg-config fuse --cflags 2>/dev/null)
14 VAR_LDLIBS := $(shell pkg-config fuse --libs 2>/dev/null)
/linux/tools/testing/selftests/net/ovpn/
H A DMakefile5 VAR_CFLAGS = $(shell pkg-config --cflags libnl-3.0 libnl-genl-3.0 2>/dev/null)
13 VAR_LDLIBS = $(shell pkg-config --libs libnl-3.0 libnl-genl-3.0 2>/dev/null)
/linux/drivers/pinctrl/stm32/
H A Dpinctrl-stm32.h40 const unsigned int pkg; member
53 .pkg = _pkg, \
/linux/Documentation/translations/zh_CN/kbuild/
H A Dkbuild.rst170 对于 deb-pkg 目标,允许覆盖 deb-pkg 部署的正常启发式方法。通常 deb-pkg 尝试根据
/linux/scripts/package/
H A Dmkdebian212 gcc-${host_gnu} <!pkg.${sourcename}.nokernelheaders>,
214 libssl-dev:native, libssl-dev <!pkg.${sourcename}.nokernelheaders>,
243 Build-Profiles: <!pkg.${sourcename}.nokernelheaders>
258 Build-Profiles: <!pkg.${sourcename}.nokerneldbg>
/linux/drivers/nvdimm/
H A Dbus.c881 struct nd_cmd_pkg *pkg = buf; in nd_cmd_in_size() local
883 return pkg->nd_size_in; in nd_cmd_in_size()
922 struct nd_cmd_pkg *pkg = (struct nd_cmd_pkg *) in_field; in nd_cmd_out_size() local
924 return pkg->nd_size_out; in nd_cmd_out_size()
1035 struct nd_cmd_pkg pkg; in __nd_ioctl() local
1055 if (copy_from_user(&pkg, p, sizeof(pkg))) in __nd_ioctl()
1059 if (pkg.nd_family > NVDIMM_FAMILY_MAX) in __nd_ioctl()
1063 if (pkg.nd_family > NVDIMM_BUS_FAMILY_MAX) in __nd_ioctl()
1068 if (!test_bit(pkg.nd_family, mask)) in __nd_ioctl()
1117 func = pkg.nd_command; in __nd_ioctl()
[all …]

1234