| /linux/drivers/thunderbolt/ |
| H A D | ctl.c | 174 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 (!tb_cfg_request_is_canceled(iter) && 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 D | icm.c | 128 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() 753 const struct icm_fr_event_device_connected *pkg = in icm_fr_device_connected() local 767 link = pkg->link_info & ICM_LINK_INFO_LINK_MASK; in icm_fr_device_connected() 768 depth = (pkg in icm_fr_device_connected() 901 const struct icm_fr_event_device_disconnected *pkg = icm_fr_device_disconnected() local 935 const struct icm_fr_event_xdomain_connected *pkg = icm_fr_xdomain_connected() local 1021 const struct icm_fr_event_xdomain_disconnected *pkg = icm_fr_xdomain_disconnected() local 1243 const struct icm_tr_event_device_connected *pkg = __icm_tr_device_connected() local 1344 const struct icm_tr_event_device_disconnected *pkg = icm_tr_device_disconnected() local 1369 const struct icm_tr_event_xdomain_connected *pkg = icm_tr_xdomain_connected() local 1423 const struct icm_tr_event_xdomain_disconnected *pkg = icm_tr_xdomain_disconnected() local 1708 const struct icm_icl_event_rtd3_veto *pkg = icm_icl_rtd3_veto() local [all...] |
| /linux/drivers/md/ |
| H A 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 …]
|
| /linux/scripts/ |
| H A D | Makefile.package | 47 # rpm-pkg srcrpm-pkg binrpm-pkg 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 srcrp [all...] |
| /linux/drivers/acpi/nfit/ |
| H A D | intel.c | 58 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 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()
|
| H A 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/drivers/platform/x86/intel/pmc/ |
| H A D | pwrm_telemetry.c | 41 static bool is_valid_entry(union acpi_object *pkg) in is_valid_entry() argument 45 if (!pkg || pkg->type != ACPI_TYPE_PACKAGE || pkg->package.count != ENTRY_LEN) in is_valid_entry() 48 if (pkg->package.elements[0].type != ACPI_TYPE_STRING) in is_valid_entry() 52 if (pkg->package.elements[i].type != ACPI_TYPE_INTEGER) in is_valid_entry() 101 union acpi_object *pkg; in pmc_parse_telem_dsd() local 105 pkg = &disc_pkg->package.elements[i]; in pmc_parse_telem_dsd() 106 if (!is_valid_entry(pkg)) in pmc_parse_telem_dsd() 111 value = pkg->package.elements[j].integer.value; in pmc_parse_telem_dsd()
|
| /linux/tools/power/x86/x86_energy_perf_policy/ |
| H A D | x86_energy_perf_policy.c | 134 fprintf(stderr, "scope: --cpu cpu-list [--hwp-use-pkg #] | --pkg pkg-list\n"); 416 errx(1, "--cpu | --pkg"); in parse_cmdline_cpu() 496 int pkg = 0; in parse_cmdline_pkg() 500 errx(1, "--pkg | --cpu"); in parse_cmdline_pkg() 520 while (pkg <= end_pkg) { in parse_cmdline_pkg() 521 if (pkg > max_pkg_num) in parse_cmdline_pkg() 522 errx(1, "Requested pkg%d exceeds max pkg in parse_cmdline_pkg() 486 int pkg = 0; parse_cmdline_pkg() local 949 print_hwp_request_pkg(int pkg,struct msr_hwp_request * h,char * str) print_hwp_request_pkg() argument 1112 print_pkg_msrs(int pkg) print_pkg_msrs() argument 1309 update_hwp_request_pkg_msr(int pkg) update_hwp_request_pkg_msr() argument 1430 unsigned int pkg; get_pkg_num() local 1445 unsigned int pkg; set_max_cpu_pkg_num() local [all...] |
| /linux/tools/power/x86/intel-speed-select/ |
| H A 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() 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 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() 60 debug_printf("Get Config level %d pkg:%d die:%d current_level:%d\n", id->cpu, 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() 71 debug_printf("**Config level change for cpu:%d pkg:%d die:%d from %d to %d\n", 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][i in process_level_change() [all...] |
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_acpi.c | 87 union acpi_object *pkg, *connector_count; in intel_dsm_platform_mux_info() local 89 pkg = acpi_evaluate_dsm_typed(dhandle, &intel_dsm_guid, in intel_dsm_platform_mux_info() 92 if (!pkg) { in intel_dsm_platform_mux_info() 97 if (!pkg->package.count) { in intel_dsm_platform_mux_info() 99 ACPI_FREE(pkg); in intel_dsm_platform_mux_info() 103 connector_count = &pkg->package.elements[0]; in intel_dsm_platform_mux_info() 106 for (i = 1; i < pkg->package.count; i++) { in intel_dsm_platform_mux_info() 107 union acpi_object *obj = &pkg->package.elements[i]; in intel_dsm_platform_mux_info() 135 ACPI_FREE(pkg); in intel_dsm_platform_mux_info()
|
| /linux/tools/testing/selftests/filesystems/fuse/ |
| H A D | Makefile | 16 VAR_CFLAGS := $(shell pkg-config fuse3 --cflags 2>/dev/null) 21 VAR_LDLIBS := $(shell pkg-config fuse3 --libs 2>/dev/null)
|
| /linux/tools/testing/selftests/alsa/ |
| H A 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/drivers/i2c/busses/ |
| H A 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/sound/soc/codecs/ |
| H A D | fs210x.c | 235 const struct fs_cmd_pkg *pkg, in fs210x_set_cmd_pkg() argument 240 if (pkg->cmd >= 0x00 && pkg->cmd <= FS210X_REG_MAX) { in fs210x_set_cmd_pkg() 241 *offset = sizeof(pkg->regv); in fs210x_set_cmd_pkg() 242 return fs210x_write_reg_val(fs210x, &pkg->regv); in fs210x_set_cmd_pkg() 243 } else if (pkg->cmd == FS_CMD_UPDATE) { in fs210x_set_cmd_pkg() 244 *offset = sizeof(pkg->regb); in fs210x_set_cmd_pkg() 245 return fs210x_write_reg_bits(fs210x, &pkg->regb); in fs210x_set_cmd_pkg() 246 } else if (pkg->cmd == FS_CMD_DELAY) { in fs210x_set_cmd_pkg() 247 if (pkg in fs210x_set_cmd_pkg() 263 const struct fs_cmd_pkg *pkg; fs210x_reg_write_table() local [all...] |
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ddp.c | 28 * @pkg: pointer to the package buffer 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() 48 /* pkg must have at least one segment */ in ice_verify_pkg() 49 seg_count = le32_to_cpu(pkg->seg_count); in ice_verify_pkg() 54 if (len < struct_size(pkg, seg_offse in ice_verify_pkg() 2206 struct ice_pkg_hdr *pkg; ice_init_pkg() local [all...] |
| /linux/drivers/net/ethernet/broadcom/ |
| H A 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/tools/usb/ffs-aio-example/simple/host_app/ |
| H A D | Makefile | 3 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 D | Makefile | 3 LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0) 4 LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0)
|
| /linux/tools/testing/selftests/memfd/ |
| H A D | Makefile | 9 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 D | Makefile | 5 CFLAGS += $(shell pkg-config --cflags mbedcrypto-3 mbedtls-3 2>/dev/null) 7 VAR_CFLAGS = $(shell pkg-config --cflags libnl-3.0 libnl-genl-3.0 2>/dev/null) 13 MTLS_LDLIBS= $(shell pkg-config --libs mbedcrypto-3 mbedtls-3 2>/dev/null) 19 NL_LDLIBS = $(shell pkg-config --libs libnl-3.0 libnl-genl-3.0 2>/dev/null)
|
| /linux/drivers/pinctrl/stm32/ |
| H A D | pinctrl-stm32.h | 40 const unsigned int pkg; member 53 .pkg = _pkg, \
|
| /linux/drivers/net/ethernet/microsoft/mana/ |
| H A D | mana_en.c | 364 struct mana_tx_package pkg = {}; in mana_start_xmit() 400 pkg.tx_oob.s_oob.vcq_num = cq->gdma_id; in mana_start_xmit() 401 pkg.tx_oob.s_oob.vsq_frame = txq->vsq_frame; in mana_start_xmit() 404 pkg.tx_oob.l_oob.long_vp_offset = txq->vp_offset; in mana_start_xmit() 407 pkg.tx_oob.s_oob.short_vp_offset = txq->vp_offset; in mana_start_xmit() 412 pkg.tx_oob.l_oob.inject_vlan_pri_tag = 1; in mana_start_xmit() 413 pkg.tx_oob.l_oob.pcp = skb_vlan_tag_get_prio(skb); in mana_start_xmit() 414 pkg.tx_oob.l_oob.dei = skb_vlan_tag_get_cfi(skb); in mana_start_xmit() 415 pkg.tx_oob.l_oob.vlan_id = skb_vlan_tag_get_id(skb); in mana_start_xmit() 418 pkg in mana_start_xmit() 357 struct mana_tx_package pkg = {}; mana_start_xmit() local [all...] |
| /linux/scripts/package/ |
| H A D | mkdebian | 212 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>
|