/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | ctl.c | 147 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 in check_header() 221 struct cfg_error_pkg *pkg = response->buffer; decode_error() local 245 parse_header(const struct ctl_pkg *pkg, u32 len, enum tb_cfg_pkg_type type, u64 route) parse_header() argument 307 tb_ctl_pkg_free(struct ctl_pkg *pkg) tb_ctl_pkg_free() argument 318 struct ctl_pkg *pkg = kzalloc(sizeof(*pkg), GFP_KERNEL); tb_ctl_pkg_alloc() local 337 struct ctl_pkg *pkg = container_of(frame, typeof(*pkg), frame); tb_ctl_tx_callback() local 352 struct ctl_pkg *pkg; tb_ctl_tx() local 381 tb_ctl_handle_event(struct tb_ctl *ctl, enum tb_cfg_pkg_type type, struct ctl_pkg *pkg, size_t size) tb_ctl_handle_event() argument 387 tb_ctl_rx_submit(struct ctl_pkg *pkg) tb_ctl_rx_submit() argument 397 tb_async_error(const struct ctl_pkg *pkg) tb_async_error() argument 418 struct ctl_pkg *pkg = container_of(frame, typeof(*pkg), frame); tb_ctl_rx_callback() local 730 struct cfg_error_pkg pkg = { tb_cfg_ack_plug() local 742 tb_cfg_match(const struct tb_cfg_request *req, const struct ctl_pkg *pkg) tb_cfg_match() argument 769 tb_cfg_copy(struct tb_cfg_request *req, const struct ctl_pkg *pkg) tb_cfg_copy() argument [all...] |
H A D | icm.c | 111 struct icm_pkg_header *pkg; member 256 const struct ctl_pkg *pkg) in icm_match() 258 const struct icm_pkg_header *res_hdr = pkg->buffer; in icm_match() 261 if (pkg->frame.eof != req->response_type) in icm_match() 269 static bool icm_copy(struct tb_cfg_request *req, const struct ctl_pkg *pkg) in icm_copy() argument 271 const struct icm_pkg_header *hdr = pkg->buffer; in icm_copy() 276 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 in icm_fr_device_connected() 255 icm_match(const struct tb_cfg_request *req, const struct ctl_pkg *pkg) icm_match() argument 852 const struct icm_fr_event_device_disconnected *pkg = icm_fr_device_disconnected() local 880 const struct icm_fr_event_xdomain_connected *pkg = icm_fr_xdomain_connected() local 966 const struct icm_fr_event_xdomain_disconnected *pkg = icm_fr_xdomain_disconnected() local 1170 const struct icm_tr_event_device_connected *pkg = __icm_tr_device_connected() local 1271 const struct icm_tr_event_device_disconnected *pkg = icm_tr_device_disconnected() local 1291 const struct icm_tr_event_xdomain_connected *pkg = icm_tr_xdomain_connected() local 1345 const struct icm_tr_event_xdomain_disconnected *pkg = icm_tr_xdomain_disconnected() local 1625 const struct icm_icl_event_rtd3_veto *pkg = icm_icl_rtd3_veto() local [all...] |
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | ctl.c | 159 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 in check_header() 232 struct cfg_error_pkg *pkg = response->buffer; decode_error() local 248 parse_header(const struct ctl_pkg *pkg, u32 len, enum tb_cfg_pkg_type type, u64 route) parse_header() argument 310 tb_ctl_pkg_free(struct ctl_pkg *pkg) tb_ctl_pkg_free() argument 321 struct ctl_pkg *pkg = kzalloc(sizeof(*pkg), GFP_KERNEL); tb_ctl_pkg_alloc() local 340 struct ctl_pkg *pkg = container_of(frame, typeof(*pkg), frame); tb_ctl_tx_callback() local 355 struct ctl_pkg *pkg; tb_ctl_tx() local 384 tb_ctl_handle_event(struct tb_ctl *ctl, enum tb_cfg_pkg_type type, struct ctl_pkg *pkg, size_t size) tb_ctl_handle_event() argument 390 tb_ctl_rx_submit(struct ctl_pkg *pkg) tb_ctl_rx_submit() argument 400 tb_async_error(const struct ctl_pkg *pkg) tb_async_error() argument 429 struct ctl_pkg *pkg = container_of(frame, typeof(*pkg), frame); tb_ctl_rx_callback() local 750 struct cfg_ack_pkg pkg = { tb_cfg_ack_notification() local 812 struct cfg_error_pkg pkg = { tb_cfg_ack_plug() local 824 tb_cfg_match(const struct tb_cfg_request *req, const struct ctl_pkg *pkg) tb_cfg_match() argument 851 tb_cfg_copy(struct tb_cfg_request *req, const struct ctl_pkg *pkg) tb_cfg_copy() argument [all...] |
H A D | icm.c | 127 struct icm_pkg_header *pkg; member 272 const struct ctl_pkg *pkg) in icm_match() 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 in icm_fr_device_connected() 271 icm_match(const struct tb_cfg_request *req, const struct ctl_pkg *pkg) icm_match() argument 870 const struct icm_fr_event_device_disconnected *pkg = icm_fr_device_disconnected() local 904 const struct icm_fr_event_xdomain_connected *pkg = icm_fr_xdomain_connected() local 990 const struct icm_fr_event_xdomain_disconnected *pkg = icm_fr_xdomain_disconnected() local 1201 const struct icm_tr_event_device_connected *pkg = __icm_tr_device_connected() local 1302 const struct icm_tr_event_device_disconnected *pkg = icm_tr_device_disconnected() local 1327 const struct icm_tr_event_xdomain_connected *pkg = icm_tr_xdomain_connected() local 1381 const struct icm_tr_event_xdomain_disconnected *pkg = icm_tr_xdomain_disconnected() local 1665 const struct icm_icl_event_rtd3_veto *pkg = icm_icl_rtd3_veto() local [all...] |
H A D | dma_port.c | 66 const struct ctl_pkg *pkg) in dma_port_match() 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() 65 dma_port_match(const struct tb_cfg_request *req, const struct ctl_pkg *pkg) dma_port_match() argument
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-log-userspace-transfer.c | 85 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 in fill_pkg() 179 struct receiving_pkg pkg; dm_consult_userspace() local [all...] |
H A D | dm-log-userspace-base.c | 720 } 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), NUL in userspace_set_region_sync() 842 } pkg; userspace_is_remote_recovering() local [all...] |
/kernel/linux/linux-6.6/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 in fill_pkg() 179 struct receiving_pkg pkg; dm_consult_userspace() local [all...] |
H A 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), NUL in userspace_set_region_sync() 839 } pkg; userspace_is_remote_recovering() local [all...] |
/kernel/linux/linux-5.10/tools/power/cpupower/lib/ |
H A D | cpupower.c | 109 if (top1->pkg < top2->pkg) in __compare() 111 else if (top1->pkg > top2->pkg) in __compare() 129 * Array is sorted after ->pkg, ->core, then ->cpu 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() 165 done by pkg value. */ in get_cpu_topology() 166 last_pkg = cpu_top->core_info[0].pkg; in get_cpu_topology() [all...] |
/kernel/linux/linux-6.6/tools/power/cpupower/lib/ |
H A D | cpupower.c | 137 if (top1->pkg < top2->pkg) in __compare() 139 else if (top1->pkg > top2->pkg) in __compare() 157 * Array is sorted after ->pkg, ->core, then ->cpu 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() 193 done by pkg value. */ in get_cpu_topology() 194 last_pkg = cpu_top->core_info[0].pkg; in get_cpu_topology() [all...] |
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/acpi/nfit/ |
H A D | intel.c | 58 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() 285 struct nd_cmd_pkg pkg; intel_security_erase() member 330 struct nd_cmd_pkg pkg; intel_security_query_overwrite() member 368 struct nd_cmd_pkg pkg; intel_security_overwrite() member 439 struct nd_cmd_pkg pkg; intel_bus_fwa_businfo() member 550 struct nd_cmd_pkg pkg; intel_bus_fwa_activate() member 614 struct nd_cmd_pkg pkg; intel_fwa_dimminfo() member 720 struct nd_cmd_pkg pkg; intel_fwa_arm() member [all...] |
/kernel/linux/linux-6.6/drivers/acpi/nfit/ |
H A 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() 281 struct nd_cmd_pkg pkg; intel_security_erase() member 322 struct nd_cmd_pkg pkg; intel_security_query_overwrite() member 358 struct nd_cmd_pkg pkg; intel_security_overwrite() member 411 struct nd_cmd_pkg pkg; intel_bus_fwa_businfo() member 522 struct nd_cmd_pkg pkg; intel_bus_fwa_activate() member 586 struct nd_cmd_pkg pkg; intel_fwa_dimminfo() member 692 struct nd_cmd_pkg pkg; intel_fwa_arm() member [all...] |
/kernel/linux/linux-6.6/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() 203 core_power_info.socket_id = id->pkg; in tpmi_get_ctdp_control() 227 info.socket_id = id->pkg; in tpmi_get_tdp_info() 279 info.socket_id = id->pkg; in tpmi_get_coremask_info() 305 info.socket_id = id->pkg; in tpmi_get_get_trls() 350 info.socket_id = id->pkg; in tpmi_get_trl_bucket_info() 375 info.socket_id = id->pkg; in tpmi_set_tdp_level() [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...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_acpi.c | 77 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/tools/power/x86/x86_energy_perf_policy/ |
H A D | x86_energy_perf_policy.c | 100 fprintf(stderr, "scope: --cpu cpu-list [--hwp-use-pkg #] | --pkg pkg-list\n"); in usage() 380 errx(1, "--cpu | --pkg"); in parse_cmdline_cpu() 459 int pkg = 0; in parse_cmdline_pkg() local 463 errx(1, "--pkg | --cpu"); in parse_cmdline_pkg() 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 in parse_cmdline_pkg() 756 print_hwp_request_pkg(int pkg, struct msr_hwp_request *h, char *str) print_hwp_request_pkg() argument 825 print_pkg_msrs(int pkg) print_pkg_msrs() argument 1033 update_hwp_request_pkg(int pkg) update_hwp_request_pkg() argument 1146 unsigned int pkg; get_pkg_num() local 1160 unsigned int pkg; set_max_cpu_pkg_num() local [all...] |
/kernel/linux/linux-6.6/tools/power/x86/x86_energy_perf_policy/ |
H A D | x86_energy_perf_policy.c | 103 fprintf(stderr, "scope: --cpu cpu-list [--hwp-use-pkg #] | --pkg pkg-list\n"); in usage() 383 errx(1, "--cpu | --pkg"); in parse_cmdline_cpu() 462 int pkg = 0; in parse_cmdline_pkg() local 466 errx(1, "--pkg | --cpu"); in parse_cmdline_pkg() 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 in parse_cmdline_pkg() 801 print_hwp_request_pkg(int pkg, struct msr_hwp_request *h, char *str) print_hwp_request_pkg() argument 914 print_pkg_msrs(int pkg) print_pkg_msrs() argument 1122 update_hwp_request_pkg(int pkg) update_hwp_request_pkg() argument 1235 unsigned int pkg; get_pkg_num() local 1249 unsigned int pkg; set_max_cpu_pkg_num() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_ddp.c | 27 * @pkg: pointer to the package buffer 33 static enum ice_ddp_state ice_verify_pkg(struct ice_pkg_hdr *pkg, u32 len) in ice_verify_pkg() argument 38 if (len < struct_size(pkg, seg_offset, 1)) in ice_verify_pkg() 41 if (pkg->pkg_format_ver.major != ICE_PKG_FMT_VER_MAJ || in ice_verify_pkg() 42 pkg->pkg_format_ver.minor != ICE_PKG_FMT_VER_MNR || in ice_verify_pkg() 43 pkg->pkg_format_ver.update != ICE_PKG_FMT_VER_UPD || in ice_verify_pkg() 44 pkg->pkg_format_ver.draft != ICE_PKG_FMT_VER_DFT) in ice_verify_pkg() 47 /* pkg must have at least one segment */ in ice_verify_pkg() 48 seg_count = le32_to_cpu(pkg->seg_count); in ice_verify_pkg() 53 if (len < struct_size(pkg, seg_offse in ice_verify_pkg() 1625 struct ice_aqc_get_pkg_info_resp *pkg; ice_chk_pkg_compat() local 1793 struct ice_pkg_hdr *pkg; ice_init_pkg() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/microsoft/mana/ |
H A 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 in mana_start_xmit() [all...] |