Searched refs:pkg (Results 26 - 50 of 84) sorted by relevance

1234

/linux-master/drivers/thunderbolt/
H A Ddma_port.c66 const struct ctl_pkg *pkg)
68 u64 route = tb_cfg_get_route(pkg->buffer) & ~BIT_ULL(63);
70 if (pkg->frame.eof == TB_CFG_PKG_ERROR)
72 if (pkg->frame.eof != req->response_type)
76 if (pkg->frame.size != req->response_size)
82 static bool dma_port_copy(struct tb_cfg_request *req, const struct ctl_pkg *pkg) argument
84 memcpy(req->response, pkg->buffer, req->response_size);
65 dma_port_match(const struct tb_cfg_request *req, const struct ctl_pkg *pkg) argument
H A Dctl.h87 const struct ctl_pkg *pkg);
88 bool (*copy)(struct tb_cfg_request *req, const struct ctl_pkg *pkg);
H A Dxdomain.c57 struct tb_xdp_header *pkg; member in struct:xdomain_request_work
90 const struct ctl_pkg *pkg)
92 switch (pkg->frame.eof) {
97 const struct tb_xdp_header *res_hdr = pkg->buffer;
100 if (pkg->frame.size < req->response_size / 4)
123 const struct ctl_pkg *pkg)
125 memcpy(req->response, pkg->buffer, req->response_size);
730 const struct tb_xdp_header *pkg = xw->pkg; local
731 const struct tb_xdomain_header *xhdr = &pkg
89 tb_xdomain_match(const struct tb_cfg_request *req, const struct ctl_pkg *pkg) argument
122 tb_xdomain_copy(struct tb_cfg_request *req, const struct ctl_pkg *pkg) argument
[all...]
/linux-master/arch/x86/include/asm/
H A Dtopology.h189 static inline int topology_phys_to_logical_pkg(unsigned int pkg) argument
191 return topology_get_logical_id(pkg << x86_topo_system.dom_shifts[TOPO_PKG_DOMAIN],
224 static inline int topology_phys_to_logical_pkg(unsigned int pkg) { return 0; } argument
/linux-master/drivers/net/ethernet/broadcom/
H A Dbgmac-bcma.c243 if ((ci->id == BCMA_CHIP_ID_BCM5357 && ci->pkg == BCMA_PKG_ID_BCM47186) ||
244 (ci->id == BCMA_CHIP_ID_BCM53572 && ci->pkg == BCMA_PKG_ID_BCM47188)) {
248 if (ci->id == BCMA_CHIP_ID_BCM5357 && ci->pkg == BCMA_PKG_ID_BCM5358)
254 if (ci->pkg == BCMA_PKG_ID_BCM47189)
258 if (ci->pkg == BCMA_PKG_ID_BCM47189)
271 if (ci->pkg == 10) {
H A Dbgmac-bcma-mdio.c150 if ((ci->id == BCMA_CHIP_ID_BCM5357 && ci->pkg != 10) ||
151 (ci->id == BCMA_CHIP_ID_BCM4749 && ci->pkg != 10) ||
152 (ci->id == BCMA_CHIP_ID_BCM53572 && ci->pkg != 9)) {
/linux-master/tools/tracing/rtla/
H A DMakefile.rtla13 $(call allow-override,PKG_CONFIG,pkg-config)
/linux-master/tools/verification/rv/
H A DMakefile.rv13 $(call allow-override,PKG_CONFIG,pkg-config)
/linux-master/drivers/i2c/busses/
H A Di2c-scmi.c86 union acpi_object *pkg; local
181 pkg = buffer.pointer;
182 if (pkg && pkg->type == ACPI_TYPE_PACKAGE)
183 obj = pkg->package.elements;
220 obj = pkg->package.elements + 1;
228 obj = pkg->package.elements + 2;
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_ddp.c27 * @pkg: pointer to the package buffer
33 static enum ice_ddp_state ice_verify_pkg(struct ice_pkg_hdr *pkg, u32 len) argument
38 if (len < struct_size(pkg, seg_offset, 1))
41 if (pkg->pkg_format_ver.major != ICE_PKG_FMT_VER_MAJ ||
42 pkg->pkg_format_ver.minor != ICE_PKG_FMT_VER_MNR ||
43 pkg->pkg_format_ver.update != ICE_PKG_FMT_VER_UPD ||
44 pkg->pkg_format_ver.draft != ICE_PKG_FMT_VER_DFT)
47 /* pkg must have at least one segment */
48 seg_count = le32_to_cpu(pkg->seg_count);
53 if (len < struct_size(pkg, seg_offse
2154 struct ice_pkg_hdr *pkg; local
[all...]
/linux-master/drivers/platform/x86/intel/uncore-frequency/
H A Duncore-frequency-tpmi.c243 int ret, i, pkg = 0; local
288 pkg = plat_info->package_id;
372 cluster_info->uncore_data.package_id = pkg;
395 tpmi_uncore->root_cluster.uncore_data.package_id = pkg;
/linux-master/arch/x86/events/amd/
H A 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");
/linux-master/drivers/net/ethernet/microsoft/mana/
H A Dmana_en.c228 struct mana_tx_package pkg = {}; local
248 pkg.tx_oob.s_oob.vcq_num = cq->gdma_id;
249 pkg.tx_oob.s_oob.vsq_frame = txq->vsq_frame;
252 pkg.tx_oob.l_oob.long_vp_offset = txq->vp_offset;
255 pkg.tx_oob.s_oob.short_vp_offset = txq->vp_offset;
260 pkg.tx_oob.l_oob.inject_vlan_pri_tag = 1;
261 pkg.tx_oob.l_oob.pcp = skb_vlan_tag_get_prio(skb);
262 pkg.tx_oob.l_oob.dei = skb_vlan_tag_get_cfi(skb);
263 pkg.tx_oob.l_oob.vlan_id = skb_vlan_tag_get_id(skb);
266 pkg
[all...]
/linux-master/drivers/acpi/acpica/
H A Dutcopy.c225 this_index = state->pkg.index;
227 (state->pkg.dest_object))->
256 state->pkg.this_target_obj = target_object;
803 this_index = state->pkg.index;
805 &state->pkg.dest_object->package.elements[this_index];
853 state->pkg.this_target_obj = target_object;
/linux-master/tools/power/cpupower/utils/idle_monitor/
H A Dcpupower-monitor.c148 /* Be careful CPUs may got resorted for pkg value do not just use cpu */
152 cpu_top.core_info[cpu].pkg == -1)
156 printf("%4d|", cpu_top.core_info[cpu].pkg);
203 cpu_top.core_info[cpu].pkg != -1) {
/linux-master/drivers/nvdimm/
H A Dbus.c881 struct nd_cmd_pkg *pkg = buf; local
883 return pkg->nd_size_in;
922 struct nd_cmd_pkg *pkg = (struct nd_cmd_pkg *) in_field; local
924 return pkg->nd_size_out;
1036 struct nd_cmd_pkg pkg; local
1057 if (copy_from_user(&pkg, p, sizeof(pkg)))
1061 if (pkg.nd_family > NVDIMM_FAMILY_MAX)
1065 if (pkg.nd_family > NVDIMM_BUS_FAMILY_MAX)
1070 if (!test_bit(pkg
[all...]
/linux-master/tools/tracing/latency/
H A DMakefile33 export PKG_CONFIG := pkg-config
/linux-master/drivers/net/thunderbolt/
H A Dmain.c420 const struct thunderbolt_ip_login *pkg = buf; local
430 if (!uuid_equal(&pkg->hdr.initiator_uuid, net->xd->remote_uuid))
432 if (!uuid_equal(&pkg->hdr.target_uuid, net->xd->local_uuid))
435 route = ((u64)pkg->hdr.route_hi << 32) | pkg->hdr.route_lo;
440 sequence = pkg->hdr.length_sn & TBIP_HDR_SN_MASK;
442 command_id = pkg->hdr.command_id;
444 switch (pkg->hdr.type) {
451 pkg->hdr.command_id);
457 net->remote_transmit_path = pkg
[all...]
/linux-master/drivers/platform/x86/intel/speed_select_if/
H A Disst_tpmi_core.c1277 int i, ret, pkg = 0, inst = 0; local
1295 pkg = plat_info->package_id;
1296 if (pkg >= topology_max_packages()) {
1297 dev_err(&auxdev->dev, "Invalid package id :%x\n", pkg);
1301 if (isst_common.sst_inst[pkg])
1330 tpmi_sst->power_domain_info[i].package_id = pkg;
1351 tpmi_sst->package_id = pkg;
1355 if (isst_common.max_index < pkg)
1356 isst_common.max_index = pkg;
1357 isst_common.sst_inst[pkg]
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Dpapr_scm.c729 dev_dbg(&p->pdev->dev, "Invalid pkg size=%u\n",
738 dev_dbg(&p->pdev->dev, "Invalid pkg family=0x%llx\n",
982 struct nd_cmd_pkg *pkg)
985 struct nd_pkg_pdsm *pdsm_pkg = (struct nd_pkg_pdsm *)pkg->nd_payload;
986 enum papr_pdsm pdsm = (enum papr_pdsm)pkg->nd_command;
1003 pkg->nd_size_in != (pdsc->size_in + ND_PDSM_HDR_SIZE)) {
1005 pdsm, pkg->nd_size_in);
1011 pkg->nd_size_out != (pdsc->size_out + ND_PDSM_HDR_SIZE)) {
1013 pdsm, pkg->nd_size_out);
1026 pkg
981 papr_scm_service_pdsm(struct papr_scm_priv *p, struct nd_cmd_pkg *pkg) argument
[all...]
/linux-master/tools/power/x86/intel-speed-select/
H A Disst-config.c417 id->pkg = get_physical_package_id(cpu);
418 if (id->pkg >= MAX_PACKAGE_COUNT)
419 id->pkg = -1;
436 if (id->pkg == tid.pkg && id->die == tid.die && id->punit == tid.punit)
555 if (id.pkg < 0 || id.die < 0 || id.punit < 0)
558 valid_mask[id.pkg][id.die] = 1;
560 if (cpus[id.pkg][id.die][id.punit] == -1)
561 cpus[id.pkg][id.die][id.punit] = i;
574 id.pkg
[all...]
/linux-master/drivers/edac/
H A Dsb_edac.c1089 static inline u8 sad_pkg_socket(u8 pkg) argument
1092 return ((pkg >> 3) << 2) | (pkg & 0x3);
1095 static inline u8 sad_pkg_ha(u8 pkg) argument
1097 return (pkg >> 2) & 0x1;
1353 u32 first_pkg, pkg; local
1446 pkg = sad_pkg(pvt->info.interleave_pkg,
1449 if ((pkg & 0x8) == 0) {
1455 pkg);
1459 if (pkg
1828 u32 pkg = sad_pkg(pvt->info.interleave_pkg, reg, j); local
2046 u8 ch_way, sck_way, pkg, sad_ha = 0, rankid = 0; local
2103 u32 pkg = sad_pkg(pvt->info.interleave_pkg, reg, sad_way); local
[all...]
/linux-master/arch/x86/events/
H A Drapl.c14 * counters (pp0, pkg, dram).
26 * pkg counter: consumption of the whole processor package
394 RAPL_EVENT_ATTR_STR(energy-pkg , rapl_pkg, "event=0x02");
400 RAPL_EVENT_ATTR_STR(energy-pkg.unit , rapl_pkg_unit, "Joules");
409 RAPL_EVENT_ATTR_STR(energy-pkg.scale, rapl_pkg_scale, "2.3283064365386962890625e-10");
/linux-master/drivers/bcma/
H A Dscan.c448 chipinfo->pkg = (tmp & BCMA_CC_ID_PKG) >> BCMA_CC_ID_PKG_SHIFT;
453 chip_id, chipinfo->rev, chipinfo->pkg);
/linux-master/drivers/net/wireless/broadcom/b43/
H A Dbus.c113 dev->chip_pkg = core->bus->chipinfo.pkg;

Completed in 247 milliseconds

1234