Searched refs:pkg (Results 1 - 58 of 58) sorted by relevance

/linux-4.4.14/tools/usb/ffs-aio-example/multibuff/host_app/
H A DMakefile2 LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0)
3 LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0)
/linux-4.4.14/tools/usb/ffs-aio-example/simple/host_app/
H A DMakefile2 LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0)
3 LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0)
/linux-4.4.14/drivers/thunderbolt/
H A Dctl.c149 static int check_header(struct ctl_pkg *pkg, u32 len, enum tb_cfg_pkg_type type, check_header() argument
152 struct tb_cfg_header *header = pkg->buffer; check_header()
155 if (WARN(len != pkg->frame.size, check_header()
157 len, pkg->frame.size)) check_header()
159 if (WARN(type != pkg->frame.eof, "wrong eof (expected %#x, got %#x)\n", check_header()
160 type, pkg->frame.eof)) check_header()
162 if (WARN(pkg->frame.sof, "wrong sof (expected 0x0, got %#x)\n", check_header()
163 pkg->frame.sof)) check_header()
203 struct cfg_error_pkg *pkg = response->buffer; decode_error() local
205 res.response_route = get_route(pkg->header); decode_error()
207 res.err = check_header(response, sizeof(*pkg), TB_CFG_PKG_ERROR, decode_error()
208 get_route(pkg->header)); decode_error()
212 WARN(pkg->zero1, "pkg->zero1 is %#x\n", pkg->zero1); decode_error()
213 WARN(pkg->zero2, "pkg->zero1 is %#x\n", pkg->zero1); decode_error()
214 WARN(pkg->zero3, "pkg->zero1 is %#x\n", pkg->zero1); decode_error()
216 res.tb_error = pkg->error; decode_error()
217 res.response_port = pkg->port; decode_error()
222 static struct tb_cfg_result parse_header(struct ctl_pkg *pkg, u32 len, parse_header() argument
225 struct tb_cfg_header *header = pkg->buffer; parse_header()
228 if (pkg->frame.eof == TB_CFG_PKG_ERROR) parse_header()
229 return decode_error(pkg); parse_header()
233 res.err = check_header(pkg, len, type, route); parse_header()
295 static void tb_ctl_pkg_free(struct ctl_pkg *pkg) tb_ctl_pkg_free() argument
297 if (pkg) { tb_ctl_pkg_free()
298 dma_pool_free(pkg->ctl->frame_pool, tb_ctl_pkg_free()
299 pkg->buffer, pkg->frame.buffer_phy); tb_ctl_pkg_free()
300 kfree(pkg); tb_ctl_pkg_free()
306 struct ctl_pkg *pkg = kzalloc(sizeof(*pkg), GFP_KERNEL); tb_ctl_pkg_alloc() local
307 if (!pkg) tb_ctl_pkg_alloc()
309 pkg->ctl = ctl; tb_ctl_pkg_alloc()
310 pkg->buffer = dma_pool_alloc(ctl->frame_pool, GFP_KERNEL, tb_ctl_pkg_alloc()
311 &pkg->frame.buffer_phy); tb_ctl_pkg_alloc()
312 if (!pkg->buffer) { tb_ctl_pkg_alloc()
313 kfree(pkg); tb_ctl_pkg_alloc()
316 return pkg; tb_ctl_pkg_alloc()
325 struct ctl_pkg *pkg = container_of(frame, typeof(*pkg), frame); tb_ctl_tx_callback() local
326 tb_ctl_pkg_free(pkg); tb_ctl_tx_callback()
340 struct ctl_pkg *pkg; tb_ctl_tx() local
350 pkg = tb_ctl_pkg_alloc(ctl); tb_ctl_tx()
351 if (!pkg) tb_ctl_tx()
353 pkg->frame.callback = tb_ctl_tx_callback; tb_ctl_tx()
354 pkg->frame.size = len + 4; tb_ctl_tx()
355 pkg->frame.sof = type; tb_ctl_tx()
356 pkg->frame.eof = type; tb_ctl_tx()
357 cpu_to_be32_array(pkg->buffer, data, len / 4); tb_ctl_tx()
358 *(__be32 *) (pkg->buffer + len) = tb_crc(pkg->buffer, len); tb_ctl_tx()
360 res = ring_tx(ctl->tx, &pkg->frame); tb_ctl_tx()
362 tb_ctl_pkg_free(pkg); tb_ctl_tx()
372 struct cfg_event_pkg *pkg = response->buffer; tb_ctl_handle_plug_event() local
373 u64 route = get_route(pkg->header); tb_ctl_handle_plug_event()
375 if (check_header(response, sizeof(*pkg), TB_CFG_PKG_EVENT, route)) { tb_ctl_handle_plug_event()
380 if (tb_cfg_error(ctl, route, pkg->port, TB_CFG_ERROR_ACK_PLUG_EVENT)) tb_ctl_handle_plug_event()
382 route, pkg->port); tb_ctl_handle_plug_event()
383 WARN(pkg->zero, "pkg->zero is %#x\n", pkg->zero); tb_ctl_handle_plug_event()
384 ctl->callback(ctl->callback_data, route, pkg->port, pkg->unplug); tb_ctl_handle_plug_event()
387 static void tb_ctl_rx_submit(struct ctl_pkg *pkg) tb_ctl_rx_submit() argument
389 ring_rx(pkg->ctl->rx, &pkg->frame); /* tb_ctl_rx_submit()
400 struct ctl_pkg *pkg = container_of(frame, typeof(*pkg), frame); tb_ctl_rx_callback() local
409 tb_ctl_err(pkg->ctl, "RX: invalid size %#x, dropping packet\n", tb_ctl_rx_callback()
415 if (*(__be32 *) (pkg->buffer + frame->size) tb_ctl_rx_callback()
416 != tb_crc(pkg->buffer, frame->size)) { tb_ctl_rx_callback()
417 tb_ctl_err(pkg->ctl, tb_ctl_rx_callback()
421 be32_to_cpu_array(pkg->buffer, pkg->buffer, frame->size / 4); tb_ctl_rx_callback()
424 tb_ctl_handle_plug_event(pkg->ctl, pkg); tb_ctl_rx_callback()
427 if (!kfifo_put(&pkg->ctl->response_fifo, pkg)) { tb_ctl_rx_callback()
428 tb_ctl_err(pkg->ctl, "RX: fifo is full\n"); tb_ctl_rx_callback()
431 complete(&pkg->ctl->response_ready); tb_ctl_rx_callback()
434 tb_ctl_rx_submit(pkg); tb_ctl_rx_callback()
445 struct ctl_pkg *pkg; tb_ctl_rx() local
452 if (!kfifo_get(&ctl->response_fifo, &pkg)) { tb_ctl_rx()
457 res = parse_header(pkg, length, type, route); tb_ctl_rx()
459 memcpy(buffer, pkg->buffer, length); tb_ctl_rx()
460 tb_ctl_rx_submit(pkg); tb_ctl_rx()
580 struct cfg_error_pkg pkg = { tb_cfg_error() local
586 return tb_ctl_tx(ctl, &pkg, sizeof(pkg), TB_CFG_PKG_ERROR); tb_cfg_error()
/linux-4.4.14/tools/power/cpupower/utils/helpers/
H A Dtopology.c43 if (top1->pkg < top2->pkg) __compare()
45 else if (top1->pkg > top2->pkg) __compare()
63 * Array is sorted after ->pkg, ->core, then ->cpu
79 &(cpu_top->core_info[cpu].pkg)) < 0) { get_cpu_topology()
80 cpu_top->core_info[cpu].pkg = -1; get_cpu_topology()
88 cpu_top->core_info[cpu].pkg = -1; get_cpu_topology()
99 done by pkg value. */ get_cpu_topology()
100 last_pkg = cpu_top->core_info[0].pkg; get_cpu_topology()
102 if (cpu_top->core_info[cpu].pkg != last_pkg && get_cpu_topology()
103 cpu_top->core_info[cpu].pkg != -1) { get_cpu_topology()
105 last_pkg = cpu_top->core_info[cpu].pkg; get_cpu_topology()
109 if (!cpu_top->core_info[0].pkg == -1) get_cpu_topology()
115 for (cpu = 0; cpu_top->core_info[cpu].pkg = 0 && cpu < cpus; cpu++) { get_cpu_topology()
H A Dhelpers.h96 int pkg; member in struct:cpuid_core_info
/linux-4.4.14/tools/testing/selftests/memfd/
H A DMakefile15 fuse_mnt.o: CFLAGS += $(shell pkg-config fuse --cflags)
16 fuse_mnt: LDFLAGS += $(shell pkg-config fuse --libs)
/linux-4.4.14/drivers/md/
H A Ddm-log-userspace-transfer.c85 struct receiving_pkg *pkg; fill_pkg() local
97 list_for_each_entry(pkg, &receiving_list, list) { fill_pkg()
98 if (rtn_seq != pkg->seq) fill_pkg()
102 pkg->error = -msg->ack; fill_pkg()
108 if (pkg->error != -EAGAIN) fill_pkg()
109 *(pkg->data_size) = 0; fill_pkg()
110 } else if (tfr->data_size > *(pkg->data_size)) { fill_pkg()
113 tfr->data_size, *(pkg->data_size)); fill_pkg()
115 *(pkg->data_size) = 0; fill_pkg()
116 pkg->error = -ENOSPC; fill_pkg()
118 pkg->error = tfr->error; fill_pkg()
119 memcpy(pkg->data, tfr->data, tfr->data_size); fill_pkg()
120 *(pkg->data_size) = tfr->data_size; fill_pkg()
122 complete(&pkg->complete); fill_pkg()
179 struct receiving_pkg pkg; dm_consult_userspace() local
217 memset(&pkg, 0, sizeof(pkg)); dm_consult_userspace()
218 init_completion(&pkg.complete); dm_consult_userspace()
219 pkg.seq = tfr->seq; dm_consult_userspace()
220 pkg.data_size = rdata_size; dm_consult_userspace()
221 pkg.data = rdata; dm_consult_userspace()
223 list_add(&(pkg.list), &receiving_list); dm_consult_userspace()
234 list_del_init(&(pkg.list)); dm_consult_userspace()
240 tmo = wait_for_completion_timeout(&(pkg.complete), DM_ULOG_RETRY_TIMEOUT); dm_consult_userspace()
242 list_del_init(&(pkg.list)); dm_consult_userspace()
248 request_type, pkg.seq); dm_consult_userspace()
252 r = pkg.error; dm_consult_userspace()
H A Ddm-log-userspace-base.c721 } pkg; userspace_get_resync_work() local
726 rdata_size = sizeof(pkg); userspace_get_resync_work()
728 NULL, 0, (char *)&pkg, &rdata_size); userspace_get_resync_work()
730 *region = pkg.r; userspace_get_resync_work()
731 return (r) ? r : (int)pkg.i; userspace_get_resync_work()
747 } pkg; userspace_set_region_sync() local
749 pkg.r = region; userspace_set_region_sync()
750 pkg.i = (int64_t)in_sync; userspace_set_region_sync()
753 (char *)&pkg, sizeof(pkg), NULL, NULL); userspace_set_region_sync()
843 } pkg; userspace_is_remote_recovering() local
844 size_t rdata_size = sizeof(pkg); userspace_is_remote_recovering()
861 (char *)&pkg, &rdata_size); userspace_is_remote_recovering()
865 lc->in_sync_hint = pkg.in_sync_hint; userspace_is_remote_recovering()
867 return (int)pkg.is_recovering; userspace_is_remote_recovering()
/linux-4.4.14/scripts/package/
H A DMakefile21 # Note that the rpm-pkg target cannot be used with KBUILD_OUTPUT,
22 # but the binrpm-pkg target can; for some reason O= gets ignored.
38 echo "binrpm-pkg or bindeb-pkg target instead."; \
47 # rpm-pkg
49 rpm-pkg rpm: FORCE
58 # binrpm-pkg
60 binrpm-pkg: FORCE
90 deb-pkg: FORCE
96 bindeb-pkg: FORCE
105 tar%pkg: FORCE
112 # perf-pkg - generate a source tarball with perf source
136 perf-%pkg: FORCE
142 @echo ' rpm-pkg - Build both source and binary RPM kernel packages'
143 @echo ' binrpm-pkg - Build only the binary kernel RPM package'
144 @echo ' deb-pkg - Build both source and binary deb kernel packages'
145 @echo ' bindeb-pkg - Build only the binary kernel deb package'
146 @echo ' tar-pkg - Build the kernel as an uncompressed tarball'
147 @echo ' targz-pkg - Build the kernel as a gzip compressed tarball'
148 @echo ' tarbz2-pkg - Build the kernel as a bzip2 compressed tarball'
149 @echo ' tarxz-pkg - Build the kernel as a xz compressed tarball'
150 @echo ' perf-tar-src-pkg - Build $(perf-tar).tar source tarball'
151 @echo ' perf-targz-src-pkg - Build $(perf-tar).tar.gz source tarball'
152 @echo ' perf-tarbz2-src-pkg - Build $(perf-tar).tar.bz2 source tarball'
153 @echo ' perf-tarxz-src-pkg - Build $(perf-tar).tar.xz source tarball'
H A Dbuilddeb408 if [ "x$1" = "xdeb-pkg" ]
417 \$(MAKE) KDEB_SOURCENAME=${sourcename} KDEB_PKGVERSION=${packageversion} bindeb-pkg
/linux-4.4.14/scripts/kconfig/lxdialog/
H A Dcheck-lxdialog.sh7 pkg-config --libs ncursesw 2>/dev/null && exit
8 pkg-config --libs ncurses 2>/dev/null && exit
24 if pkg-config --cflags ncursesw 2>/dev/null; then
26 elif pkg-config --cflags ncurses 2>/dev/null; then
/linux-4.4.14/tools/thermal/tmon/
H A DMakefile21 TMON_LIBS += $(shell pkg-config --libs $(STATIC) panelw ncursesw 2> /dev/null || \
22 pkg-config --libs $(STATIC) panel ncurses 2> /dev/null || \
25 CFLAGS += $(shell pkg-config --cflags $(STATIC) panelw ncursesw 2> /dev/null || \
26 pkg-config --cflags $(STATIC) panel ncurses 2> /dev/null)
/linux-4.4.14/drivers/gpu/drm/i915/
H A Dintel_acpi.c81 union acpi_object *pkg, *connector_count; intel_dsm_platform_mux_info() local
83 pkg = acpi_evaluate_dsm_typed(intel_dsm_priv.dhandle, intel_dsm_guid, intel_dsm_platform_mux_info()
86 if (!pkg) { intel_dsm_platform_mux_info()
91 connector_count = &pkg->package.elements[0]; intel_dsm_platform_mux_info()
94 for (i = 1; i < pkg->package.count; i++) { intel_dsm_platform_mux_info()
95 union acpi_object *obj = &pkg->package.elements[i]; intel_dsm_platform_mux_info()
110 ACPI_FREE(pkg); intel_dsm_platform_mux_info()
/linux-4.4.14/scripts/kconfig/
H A DMakefile216 HOSTLOADLIBES_gconf = `pkg-config --libs gtk+-2.0 gmodule-2.0 libglade-2.0`
217 HOSTCFLAGS_gconf.o = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0` \
223 pkg-config --libs menuw panelw ncursesw 2>/dev/null \
224 || pkg-config --libs menu panel ncurses 2>/dev/null \
235 if pkg-config --exists Qt5Core; then \
236 cflags="-std=c++11 -fPIC `pkg-config --cflags Qt5Core Qt5Gui Qt5Widgets`"; \
237 libs=`pkg-config --libs Qt5Core Qt5Gui Qt5Widgets`; \
238 moc=`pkg-config --variable=host_bins Qt5Core`/moc; \
239 elif pkg-config --exists QtCore; then \
240 cflags=`pkg-config --cflags QtCore QtGui`; \
241 libs=`pkg-config --libs QtCore QtGui`; \
242 moc=`pkg-config --variable=moc_location QtCore`; \
245 echo >&2 "* Could not find Qt via pkg-config."; \
262 @if `pkg-config --exists gtk+-2.0 gmodule-2.0 libglade-2.0`; then \
263 if `pkg-config --atleast-version=2.0.0 gtk+-2.0`; then \
/linux-4.4.14/arch/xtensa/variants/dc233c/include/variant/
H A Dcore.h91 #define XCHAL_HAVE_VECTORFPU2005 0 /* vector floating-point pkg */
92 #define XCHAL_HAVE_FP 0 /* floating point pkg */
93 #define XCHAL_HAVE_DFP 0 /* double precision FP pkg */
94 #define XCHAL_HAVE_DFP_accel 0 /* double precision FP acceleration pkg */
95 #define XCHAL_HAVE_VECTRA1 0 /* Vectra I pkg */
96 #define XCHAL_HAVE_VECTRALX 0 /* Vectra LX pkg */
97 #define XCHAL_HAVE_HIFIPRO 0 /* HiFiPro Audio Engine pkg */
98 #define XCHAL_HAVE_HIFI2 0 /* HiFi2 Audio Engine pkg */
100 #define XCHAL_HAVE_CONNXD2 0 /* ConnX D2 pkg */
101 #define XCHAL_HAVE_BBE16 0 /* ConnX BBE16 pkg */
105 #define XCHAL_HAVE_BSP3 0 /* ConnX BSP3 pkg */
106 #define XCHAL_HAVE_SSP16 0 /* ConnX SSP16 pkg */
108 #define XCHAL_HAVE_TURBO16 0 /* ConnX Turbo16 pkg */
109 #define XCHAL_HAVE_BBP16 0 /* ConnX BBP16 pkg */
/linux-4.4.14/drivers/i2c/busses/
H A Di2c-scmi.c92 union acpi_object *pkg; acpi_smbus_cmi_access() local
185 pkg = buffer.pointer; acpi_smbus_cmi_access()
186 if (pkg && pkg->type == ACPI_TYPE_PACKAGE) acpi_smbus_cmi_access()
187 obj = pkg->package.elements; acpi_smbus_cmi_access()
224 obj = pkg->package.elements + 1; acpi_smbus_cmi_access()
232 obj = pkg->package.elements + 2; acpi_smbus_cmi_access()
/linux-4.4.14/arch/xtensa/variants/de212/include/variant/
H A Dcore.h107 #define XCHAL_HAVE_HIFIPRO 0 /* HiFiPro Audio Engine pkg */
108 #define XCHAL_HAVE_HIFI4 0 /* HiFi4 Audio Engine pkg */
110 #define XCHAL_HAVE_HIFI3 0 /* HiFi3 Audio Engine pkg */
112 #define XCHAL_HAVE_HIFI2 0 /* HiFi2 Audio Engine pkg */
117 #define XCHAL_HAVE_VECTORFPU2005 0 /* vector or user floating-point pkg */
118 #define XCHAL_HAVE_USER_DPFPU 0 /* user DP floating-point pkg */
119 #define XCHAL_HAVE_USER_SPFPU 0 /* user DP floating-point pkg */
125 #define XCHAL_HAVE_DFP 0 /* double precision FP pkg */
130 #define XCHAL_HAVE_DFP_ACCEL 0 /* double precision FP acceleration pkg */
135 #define XCHAL_HAVE_VECTRA1 0 /* Vectra I pkg */
136 #define XCHAL_HAVE_VECTRALX 0 /* Vectra LX pkg */
138 #define XCHAL_HAVE_CONNXD2 0 /* ConnX D2 pkg */
140 #define XCHAL_HAVE_BBE16 0 /* ConnX BBE16 pkg */
145 #define XCHAL_HAVE_BSP3 0 /* ConnX BSP3 pkg */
147 #define XCHAL_HAVE_SSP16 0 /* ConnX SSP16 pkg */
149 #define XCHAL_HAVE_TURBO16 0 /* ConnX Turbo16 pkg */
150 #define XCHAL_HAVE_BBP16 0 /* ConnX BBP16 pkg */
/linux-4.4.14/drivers/soc/tegra/fuse/
H A Dspeedo-tegra30.c154 pr_err("Tegra Unknown pkg %d\n", package_id); rev_sku_to_speedo_ids()
171 pr_err("Tegra Unknown pkg %d\n", package_id); rev_sku_to_speedo_ids()
188 pr_err("Tegra Unknown pkg %d\n", package_id); rev_sku_to_speedo_ids()
225 pr_err("Tegra Unknown pkg %d\n", package_id); rev_sku_to_speedo_ids()
/linux-4.4.14/drivers/acpi/acpica/
H A Dutmisc.c253 this_index = state->pkg.index; acpi_ut_walk_package_tree()
255 state->pkg.source_object->package.elements[this_index]; acpi_ut_walk_package_tree()
276 state->pkg.index++; acpi_ut_walk_package_tree()
277 while (state->pkg.index >= acpi_ut_walk_package_tree()
278 state->pkg.source_object->package.count) { acpi_ut_walk_package_tree()
304 state->pkg.index++; acpi_ut_walk_package_tree()
322 state->pkg. acpi_ut_walk_package_tree()
H A Dutstate.c245 state->pkg.source_object = (union acpi_operand_object *)internal_object; acpi_ut_create_pkg_state()
246 state->pkg.dest_object = external_object; acpi_ut_create_pkg_state()
247 state->pkg.index = index; acpi_ut_create_pkg_state()
248 state->pkg.num_packages = 1; acpi_ut_create_pkg_state()
H A Dutcopy.c259 this_index = state->pkg.index; acpi_ut_copy_ielement_to_eelement()
261 &((union acpi_object *)(state->pkg.dest_object))->package. acpi_ut_copy_ielement_to_eelement()
290 state->pkg.this_target_obj = target_object; acpi_ut_copy_ielement_to_eelement()
838 this_index = state->pkg.index; acpi_ut_copy_ielement_to_ielement()
840 &state->pkg.dest_object->package.elements[this_index]; acpi_ut_copy_ielement_to_ielement()
888 state->pkg.this_target_obj = target_object; acpi_ut_copy_ielement_to_ielement()
H A Dexdebug.c68 * index - Current package element, zero if not pkg
H A Dutobject.c609 state->pkg.this_target_obj = NULL; acpi_ut_get_element_length()
H A Ddsobject.c156 * objects (int/buf/str/pkg). acpi_ds_build_internal_object()
H A Daclocal.h682 struct acpi_pkg_state pkg; member in union:acpi_generic_state
H A Dnsrepair2.c966 acpi_ut_remove_reference(*source); /* Remove one ref for being in pkg */ acpi_ns_remove_element()
/linux-4.4.14/arch/xtensa/variants/fsf/include/variant/
H A Dcore.h67 #define XCHAL_HAVE_VECTORFPU2005 0 /* vector floating-point pkg */
68 #define XCHAL_HAVE_FP 0 /* floating point pkg */
69 #define XCHAL_HAVE_VECTRA1 0 /* Vectra I pkg */
70 #define XCHAL_HAVE_VECTRALX 0 /* Vectra LX pkg */
71 #define XCHAL_HAVE_HIFI2 0 /* HiFi2 Audio Engine pkg */
/linux-4.4.14/tools/power/cpupower/utils/idle_monitor/
H A Dcpupower-monitor.c143 /* Be careful CPUs may got resorted for pkg value do not just use cpu */ print_results()
147 cpu_top.core_info[cpu].pkg == -1) print_results()
151 printf("%4d|", cpu_top.core_info[cpu].pkg); print_results()
198 cpu_top.core_info[cpu].pkg != -1) { print_results()
/linux-4.4.14/arch/xtensa/variants/dc232b/include/variant/
H A Dcore.h68 #define XCHAL_HAVE_VECTORFPU2005 0 /* vector floating-point pkg */
69 #define XCHAL_HAVE_FP 0 /* floating point pkg */
70 #define XCHAL_HAVE_VECTRA1 0 /* Vectra I pkg */
71 #define XCHAL_HAVE_VECTRALX 0 /* Vectra LX pkg */
72 #define XCHAL_HAVE_HIFI2 0 /* HiFi2 Audio Engine pkg */
/linux-4.4.14/drivers/edac/
H A Dsb_edac.c856 static inline u8 sad_pkg_socket(u8 pkg) sad_pkg_socket() argument
859 return ((pkg >> 3) << 2) | (pkg & 0x3); sad_pkg_socket()
862 static inline u8 sad_pkg_ha(u8 pkg) sad_pkg_ha() argument
864 return (pkg >> 2) & 0x1; sad_pkg_ha()
1095 u32 pkg = sad_pkg(pvt->info.interleave_pkg, reg, j); get_memory_layout() local
1096 if (j > 0 && sad_interl == pkg) get_memory_layout()
1100 n_sads, j, pkg); get_memory_layout()
1218 u8 ch_way, sck_way, pkg, sad_ha = 0, ch_add = 0; get_memory_error_data() local
1274 u32 pkg = sad_pkg(pvt->info.interleave_pkg, reg, sad_way); get_memory_error_data() local
1275 if (sad_way > 0 && sad_interl == pkg) get_memory_error_data()
1277 sad_interleave[sad_way] = pkg; get_memory_error_data()
1328 pkg = sad_pkg(pvt->info.interleave_pkg, reg, idx); get_memory_error_data()
1329 *socket = sad_pkg_socket(pkg); get_memory_error_data()
1330 sad_ha = sad_pkg_ha(pkg); get_memory_error_data()
1346 pkg = sad_pkg(pvt->info.interleave_pkg, reg, idx); get_memory_error_data()
1347 *socket = sad_pkg_socket(pkg); get_memory_error_data()
1348 sad_ha = sad_pkg_ha(pkg); get_memory_error_data()
/linux-4.4.14/arch/x86/kernel/cpu/
H A Dperf_event_intel_rapl.c10 * counters (pp0, pkg, dram).
22 * pkg counter: consumption of the whole processor package
422 RAPL_EVENT_ATTR_STR(energy-pkg , rapl_pkg, "event=0x02");
427 RAPL_EVENT_ATTR_STR(energy-pkg.unit , rapl_pkg_unit, "Joules");
435 RAPL_EVENT_ATTR_STR(energy-pkg.scale, rapl_pkg_scale, "2.3283064365386962890625e-10");
H A Dperf_event_intel_cstate.c496 /* cpu exit for cstate pkg */
532 /* cpu init for cstate pkg */ cstate_cpu_init()
H A Dperf_event_intel_cqm.c1143 EVENT_ATTR_STR(llc_occupancy.per-pkg, intel_cqm_llc_pkg, "1");
/linux-4.4.14/drivers/net/ethernet/broadcom/
H A Dbgmac.c842 if ((ci->id == BCMA_CHIP_ID_BCM5357 && ci->pkg != 10) || bgmac_phy_init()
843 (ci->id == BCMA_CHIP_ID_BCM4749 && ci->pkg != 10) || bgmac_phy_init()
844 (ci->id == BCMA_CHIP_ID_BCM53572 && ci->pkg != 9)) { bgmac_phy_init()
1036 if ((ci->id == BCMA_CHIP_ID_BCM5357 && ci->pkg == BCMA_PKG_ID_BCM47186) || bgmac_chip_reset()
1037 (ci->id == BCMA_CHIP_ID_BCM4749 && ci->pkg == 10) || bgmac_chip_reset()
1038 (ci->id == BCMA_CHIP_ID_BCM53572 && ci->pkg == BCMA_PKG_ID_BCM47188)) bgmac_chip_reset()
1080 } else if (ci->id == BCMA_CHIP_ID_BCM5357 && ci->pkg == BCMA_PKG_ID_BCM5358) { bgmac_chip_reset()
1082 } else if ((ci->id == BCMA_CHIP_ID_BCM5357 && ci->pkg == BCMA_PKG_ID_BCM47186) || bgmac_chip_reset()
1083 (ci->id == BCMA_CHIP_ID_BCM4749 && ci->pkg == 10) || bgmac_chip_reset()
1084 (ci->id == BCMA_CHIP_ID_BCM53572 && ci->pkg == BCMA_PKG_ID_BCM47188)) { bgmac_chip_reset()
/linux-4.4.14/drivers/thermal/
H A Dintel_powerclamp.c345 /* calculate pkg cstate vs tsc ratio */ powerclamp_adjust_controls()
488 /* calculate pkg cstate vs tsc ratio */ poll_pkg_cstate()
513 /* check if pkg cstate counter is completely 0, abort in this case */ start_power_clamp()
515 pr_err("pkg cstate counter not functional, abort\n"); start_power_clamp()
H A Dx86_pkg_temp_thermal.c501 pr_debug("thermal_device_remove: pkg: %d cpu %d ref_cnt %d\n", pkg_temp_thermal_device_remove()
/linux-4.4.14/tools/build/feature/
H A DMakefile42 PKG_CONFIG := $(CROSS_COMPILE)pkg-config
/linux-4.4.14/drivers/usb/host/
H A Dbcma-hcd.c221 if (dev->bus->chipinfo.pkg == BCMA_PKG_ID_BCM4707 || bcma_hcd_init_chip_arm()
222 dev->bus->chipinfo.pkg == BCMA_PKG_ID_BCM4708) bcma_hcd_init_chip_arm()
/linux-4.4.14/drivers/bcma/
H A Dscan.c449 chipinfo->pkg = (tmp & BCMA_CC_ID_PKG) >> BCMA_CC_ID_PKG_SHIFT; bcma_detect_chip()
454 chip_id, chipinfo->rev, chipinfo->pkg); bcma_detect_chip()
H A Ddriver_chipcommon_pmu.c218 if (bus->chipinfo.pkg == 9 || bus->chipinfo.pkg == 11) bcma_chipco_bcm4331_ext_pa_lines_ctl()
H A Ddriver_mips.c67 dev->bus->chipinfo.pkg == 11 && bcma_core_mips_bcm5357b0_quirk()
/linux-4.4.14/drivers/hwmon/
H A Dcoretemp.c700 * We are bringing the _first_ core in this pkg get_core_online()
701 * online. So, initialize per-pkg data structures and get_core_online()
760 * If all cores in this pkg are offline, remove the device.
/linux-4.4.14/drivers/gpu/drm/gma500/
H A Dmdfld_dsi_pkg_sender.c382 /* send pkg */ send_pkg()
610 DRM_ERROR("Create DSI pkg sender failed\n"); mdfld_dsi_pkg_sender_init()
/linux-4.4.14/include/linux/mfd/
H A Drtsx_usb.h48 #define CHECK_PKG(ucr, pkg) ((ucr)->package == (pkg))
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/
H A Ddebug.c98 bus->chipinfo.id, bus->chipinfo.rev, bus->chipinfo.pkg, brcms_debugfs_hardware_read()
H A Dd11.h924 #define TX_STATUS_INTERMEDIATE (1 << 6) /* intermediate or 1st ampdu pkg */
951 #define TX_STATUS_BA_BMAP03_MASK 0xF000 /* ba bitmap 0:3 in 1st pkg */
952 #define TX_STATUS_BA_BMAP03_SHIFT 12 /* ba bitmap 0:3 in 1st pkg */
953 #define TX_STATUS_BA_BMAP47_MASK 0x001E /* ba bitmap 4:7 in 2nd pkg */
954 #define TX_STATUS_BA_BMAP47_SHIFT 3 /* ba bitmap 4:7 in 2nd pkg */
H A Daiutils.c483 sih->chippkg = pbus->chipinfo.pkg; ai_doattach()
/linux-4.4.14/drivers/net/wireless/b43/
H A Dbus.c126 dev->chip_pkg = core->bus->chipinfo.pkg; b43_bus_dev_bcma_init()
/linux-4.4.14/tools/perf/util/
H A Dstat.c251 pr_err("failed to read per-pkg counter\n"); process_counter_values()
H A Dpmu.c180 snprintf(path, PATH_MAX, "%s/%s.per-pkg", dir, name); perf_pmu__parse_per_pkg()
270 if (len > 8 && !strcmp(name + len - 8, ".per-pkg")) pmu_alias_info_file()
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/
H A Dhnae.c125 /* Allocate memory for raw pkg, and map with dma */ hnae_alloc_buffers()
H A Dhns_enet.c524 /* poll one pkg*/ hns_nic_rx_poll_one()
/linux-4.4.14/tools/power/x86/turbostat/
H A Dturbostat.c471 /* if showing only 1st thread in pkg and this isn't one, bail out */ format_counters()
886 /* sum per-pkg values only for 1st core in pkg */ sum_counters()
1394 fprintf(stderr, " (%s%s%s%s%slocked: pkg-cstate-limit=%d: %s)\n", dump_nhm_cst_cfg()
2911 fprintf(stderr, "cpu %d pkg %d core %d\n", topology_probe()
2974 * increment topo.num_cores when 1st core in pkg seen
/linux-4.4.14/include/linux/bcma/
H A Dbcma.h28 u8 pkg; member in struct:bcma_chipinfo
/linux-4.4.14/drivers/staging/rts5208/
H A Drtsx_chip.h943 #define CHECK_BARO_PKG(chip, pkg) ((chip)->baro_pkg == (pkg))
/linux-4.4.14/
H A DMakefile478 kernelversion %src-pkg
1229 %src-pkg: FORCE
1231 %pkg: include/config/kernel.release FORCE
/linux-4.4.14/drivers/scsi/megaraid/
H A Dmegaraid_sas.h827 * Define FW pkg version (set in envt v'bles on OEM basis)
/linux-4.4.14/include/linux/
H A Dsched.h988 #define SD_SHARE_PKG_RESOURCES 0x0200 /* Domain members share cpu pkg resources */

Completed in 2401 milliseconds