Home
last modified time | relevance | path

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

1234

/Linux-v6.1/drivers/thunderbolt/
Dctl.c159 tb_cfg_request_find(struct tb_ctl *ctl, struct ctl_pkg *pkg) in tb_cfg_request_find() argument
163 mutex_lock(&pkg->ctl->request_queue_lock); in tb_cfg_request_find()
164 list_for_each_entry(iter, &pkg->ctl->request_queue, list) { in tb_cfg_request_find()
166 if (iter->match(iter, pkg)) { in tb_cfg_request_find()
172 mutex_unlock(&pkg->ctl->request_queue_lock); in tb_cfg_request_find()
180 static int check_header(const struct ctl_pkg *pkg, u32 len, in check_header() argument
183 struct tb_cfg_header *header = pkg->buffer; in check_header()
186 if (WARN(len != pkg->frame.size, in check_header()
188 len, pkg->frame.size)) in check_header()
190 if (WARN(type != pkg->frame.eof, "wrong eof (expected %#x, got %#x)\n", in check_header()
[all …]
Dicm.c126 struct icm_pkg_header *pkg; member
271 const struct ctl_pkg *pkg) in icm_match() argument
273 const struct icm_pkg_header *res_hdr = pkg->buffer; in icm_match()
276 if (pkg->frame.eof != req->response_type) in icm_match()
284 static bool icm_copy(struct tb_cfg_request *req, const struct ctl_pkg *pkg) in icm_copy() argument
286 const struct icm_pkg_header *hdr = pkg->buffer; in icm_copy()
291 memcpy(req->response + offset, pkg->buffer, req->response_size); in icm_copy()
724 const struct icm_fr_event_device_connected *pkg = in icm_fr_device_connected() local
738 link = pkg->link_info & ICM_LINK_INFO_LINK_MASK; in icm_fr_device_connected()
739 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()
/Linux-v6.1/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()
845 } pkg; in userspace_is_remote_recovering() local
[all …]
/Linux-v6.1/scripts/
DMakefile.package57 PHONY += rpm-pkg
58 rpm-pkg:
67 PHONY += binrpm-pkg
68 binrpm-pkg:
74 PHONY += deb-pkg
75 deb-pkg:
83 PHONY += bindeb-pkg
84 bindeb-pkg:
88 PHONY += intdeb-pkg
89 intdeb-pkg:
[all …]
/Linux-v6.1/tools/power/cpupower/lib/
Dcpupower.c130 if (top1->pkg < top2->pkg) in __compare()
132 else if (top1->pkg > top2->pkg) in __compare()
166 &(cpu_top->core_info[cpu].pkg)) < 0) { in get_cpu_topology()
167 cpu_top->core_info[cpu].pkg = -1; in get_cpu_topology()
175 cpu_top->core_info[cpu].pkg = -1; in get_cpu_topology()
187 last_pkg = cpu_top->core_info[0].pkg; in get_cpu_topology()
189 if (cpu_top->core_info[cpu].pkg != last_pkg && in get_cpu_topology()
190 cpu_top->core_info[cpu].pkg != -1) { in get_cpu_topology()
192 last_pkg = cpu_top->core_info[cpu].pkg; in get_cpu_topology()
196 if (!(cpu_top->core_info[0].pkg == -1)) in get_cpu_topology()
/Linux-v6.1/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 …]
/Linux-v6.1/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()
/Linux-v6.1/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c462 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-v6.1/scripts/package/
Dbuildtar27 dir-pkg|tar-pkg)
30 targz-pkg)
34 tarbz2-pkg)
38 tarxz-pkg)
42 tarzst-pkg)
152 if [ "${1}" = dir-pkg ]; then
/Linux-v6.1/tools/power/x86/intel-speed-select/
Disst-daemon.c42 if (id->pkg < 0 || id->die < 0) { in process_level_change()
48 if (tm - per_package_levels_tm[id->pkg][id->die] < 2) in process_level_change()
51 per_package_levels_tm[id->pkg][id->die] = tm; in process_level_change()
60 id->pkg, id->die, pkg_dev.current_level); in process_level_change()
67 if (per_package_levels_info[id->pkg][id->die] == pkg_dev.current_level) in process_level_change()
71 id->cpu, id->pkg, id->die, per_package_levels_info[id->pkg][id->die], in process_level_change()
74 per_package_levels_info[id->pkg][id->die] = pkg_dev.current_level; in process_level_change()
/Linux-v6.1/drivers/gpu/drm/i915/display/
Dintel_acpi.c84 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-v6.1/drivers/net/ethernet/microsoft/mana/
Dmana_en.c138 struct mana_tx_package pkg = {}; in mana_start_xmit() local
157 pkg.tx_oob.s_oob.vcq_num = cq->gdma_id; in mana_start_xmit()
158 pkg.tx_oob.s_oob.vsq_frame = txq->vsq_frame; in mana_start_xmit()
161 pkg.tx_oob.l_oob.long_vp_offset = txq->vp_offset; in mana_start_xmit()
164 pkg.tx_oob.s_oob.short_vp_offset = txq->vp_offset; in mana_start_xmit()
167 pkg.tx_oob.s_oob.pkt_fmt = pkt_fmt; in mana_start_xmit()
170 pkg.wqe_req.inline_oob_size = sizeof(struct mana_tx_short_oob); in mana_start_xmit()
172 pkg.wqe_req.inline_oob_size = sizeof(struct mana_tx_oob); in mana_start_xmit()
174 pkg.wqe_req.inline_oob_data = &pkg.tx_oob; in mana_start_xmit()
175 pkg.wqe_req.flags = 0; in mana_start_xmit()
[all …]
/Linux-v6.1/
D.gitignore74 # RPM spec file (make rpm-pkg)
79 # Debian directory (make deb-pkg)
84 # Snap directory (make snap-pkg)
89 # tar directory (make tar*-pkg)
/Linux-v6.1/tools/testing/selftests/alsa/
DMakefile4 CFLAGS += $(shell pkg-config --cflags alsa)
5 LDLIBS += $(shell pkg-config --libs alsa)
/Linux-v6.1/drivers/i2c/busses/
Di2c-scmi.c89 union acpi_object *pkg; in acpi_smbus_cmi_access() local
184 pkg = buffer.pointer; in acpi_smbus_cmi_access()
185 if (pkg && pkg->type == ACPI_TYPE_PACKAGE) in acpi_smbus_cmi_access()
186 obj = pkg->package.elements; in acpi_smbus_cmi_access()
223 obj = pkg->package.elements + 1; in acpi_smbus_cmi_access()
231 obj = pkg->package.elements + 2; in acpi_smbus_cmi_access()
/Linux-v6.1/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)
/Linux-v6.1/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)
/Linux-v6.1/drivers/net/ethernet/broadcom/
Dbgmac-bcma.c243 if (ci->pkg == BCMA_PKG_ID_BCM47188 || in bgmac_probe()
244 ci->pkg == BCMA_PKG_ID_BCM47186) { in bgmac_probe()
248 if (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-v6.1/tools/tracing/latency/
DMakefile4 VAR_CFLAGS := $(shell pkg-config --cflags libtracefs 2>/dev/null)
5 VAR_LDLIBS := $(shell pkg-config --libs libtracefs 2>/dev/null)
/Linux-v6.1/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)
/Linux-v6.1/drivers/pinctrl/stm32/
Dpinctrl-stm32.h36 const unsigned int pkg; member
49 .pkg = _pkg, \
/Linux-v6.1/arch/x86/events/amd/
Dpower.c167 EVENT_ATTR_STR(power-pkg, power_pkg, "event=0x01");
169 EVENT_ATTR_STR(power-pkg.unit, power_pkg_unit, "mWatts");
172 EVENT_ATTR_STR(power-pkg.scale, power_pkg_scale, "1.000000e-3");

1234