Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/thunderbolt/
Dctl.c147 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 …]
Dicm.c110 struct icm_pkg_header *pkg; member
255 const struct ctl_pkg *pkg) in icm_match() argument
257 const struct icm_pkg_header *res_hdr = pkg->buffer; in icm_match()
260 if (pkg->frame.eof != req->response_type) in icm_match()
268 static bool icm_copy(struct tb_cfg_request *req, const struct ctl_pkg *pkg) in icm_copy() argument
270 const struct icm_pkg_header *hdr = pkg->buffer; in icm_copy()
275 memcpy(req->response + offset, pkg->buffer, req->response_size); in icm_copy()
704 const struct icm_fr_event_device_connected *pkg = in icm_fr_device_connected() local
718 link = pkg->link_info & ICM_LINK_INFO_LINK_MASK; in icm_fr_device_connected()
719 depth = (pkg->link_info & ICM_LINK_INFO_DEPTH_MASK) >> in icm_fr_device_connected()
[all …]
Ddma_port.c66 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()
/kernel/linux/linux-5.10/drivers/md/
Ddm-log-userspace-transfer.c85 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 …]
Ddm-log-userspace-base.c720 } 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 …]
/kernel/linux/linux-5.10/scripts/
DMakefile.package54 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 …]
/kernel/linux/linux-5.10/tools/power/cpupower/lib/
Dcpupower.c109 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()
/kernel/linux/linux-5.10/drivers/acpi/nfit/
Dintel.c58 struct nd_cmd_pkg pkg; in intel_security_flags() member
61 .pkg = { in intel_security_flags()
123 struct nd_cmd_pkg pkg; in intel_security_freeze() member
126 .pkg = { in intel_security_freeze()
156 struct nd_cmd_pkg pkg; in intel_security_change_key() member
159 .pkg = { in intel_security_change_key()
200 struct nd_cmd_pkg pkg; in intel_security_unlock() member
203 .pkg = { in intel_security_unlock()
242 struct nd_cmd_pkg pkg; in intel_security_disable() member
245 .pkg = { in intel_security_disable()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
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()
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()
/kernel/linux/linux-5.10/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c459 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_acpi.c77 union acpi_object *pkg, *connector_count; in intel_dsm_platform_mux_info() local
79 pkg = acpi_evaluate_dsm_typed(dhandle, &intel_dsm_guid, in intel_dsm_platform_mux_info()
82 if (!pkg) { in intel_dsm_platform_mux_info()
87 if (!pkg->package.count) { in intel_dsm_platform_mux_info()
92 connector_count = &pkg->package.elements[0]; in intel_dsm_platform_mux_info()
95 for (i = 1; i < pkg->package.count; i++) { in intel_dsm_platform_mux_info()
96 union acpi_object *obj = &pkg->package.elements[i]; in intel_dsm_platform_mux_info()
124 ACPI_FREE(pkg); in intel_dsm_platform_mux_info()
/kernel/linux/linux-5.10/scripts/package/
Dbuildtar27 dir-pkg|tar-pkg)
30 targz-pkg)
34 tarbz2-pkg)
38 tarxz-pkg)
140 if [ "${1}" = dir-pkg ]; then
/kernel/linux/linux-5.10/scripts/dtc/
DMakefile14 ifeq ($(shell pkg-config --exists yaml-0.1 2>/dev/null && echo yes),)
23 HOSTCFLAGS_yamltree.o := $(shell pkg-config --cflags yaml-0.1)
25 HOSTLDLIBS_dtc := $(shell pkg-config yaml-0.1 --libs)
/kernel/linux/linux-5.10/scripts/kconfig/
Dgconf-cfg.sh13 if ! pkg-config --exists $PKG; then
22 if ! pkg-config --atleast-version=2.0.0 gtk+-2.0; then
Dqconf-cfg.sh14 if pkg-config --exists $PKG; then
29 echo >&2 "* Could not find Qt via pkg-config."
Dmconf-cfg.sh8 if pkg-config --exists $PKG; then
47 echo >&2 "* You may also need to install pkg-config to find the"
Dnconf-cfg.sh8 if pkg-config --exists $PKG; then
47 echo >&2 "* You may also need to install pkg-config to find the"
/kernel/linux/linux-5.10/
D.gitignore71 # RPM spec file (make rpm-pkg)
76 # Debian directory (make deb-pkg)
81 # Snap directory (make snap-pkg)
86 # tar directory (make tar*-pkg)
/kernel/linux/linux-5.10/tools/usb/ffs-aio-example/multibuff/host_app/
DMakefile3 LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0)
4 LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0)
/kernel/linux/linux-5.10/tools/usb/ffs-aio-example/simple/host_app/
DMakefile3 LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0)
4 LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0)
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-scmi.c93 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dbgmac-bcma.c231 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()
/kernel/linux/linux-5.10/tools/testing/selftests/memfd/
DMakefile11 VAR_CFLAGS := $(shell pkg-config fuse --cflags 2>/dev/null)
16 VAR_LDLIBS := $(shell pkg-config fuse --libs 2>/dev/null)
/kernel/linux/linux-5.10/drivers/pinctrl/stm32/
Dpinctrl-stm32.h35 const unsigned int pkg; member
48 .pkg = _pkg, \

1234