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

/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.c722 } pkg; userspace_get_resync_work() local
727 rdata_size = sizeof(pkg); userspace_get_resync_work()
729 NULL, 0, (char *)&pkg, &rdata_size); userspace_get_resync_work()
731 *region = pkg.r; userspace_get_resync_work()
732 return (r) ? r : (int)pkg.i; userspace_get_resync_work()
748 } pkg; userspace_set_region_sync() local
750 pkg.r = region; userspace_set_region_sync()
751 pkg.i = (int64_t)in_sync; userspace_set_region_sync()
754 (char *)&pkg, sizeof(pkg), NULL, NULL); userspace_set_region_sync()
844 } pkg; userspace_is_remote_recovering() local
845 size_t rdata_size = sizeof(pkg); userspace_is_remote_recovering()
862 (char *)&pkg, &rdata_size); userspace_is_remote_recovering()
866 lc->in_sync_hint = pkg.in_sync_hint; userspace_is_remote_recovering()
868 return (int)pkg.is_recovering; userspace_is_remote_recovering()
/linux-4.1.27/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()
93 done by pkg value. */ get_cpu_topology()
94 last_pkg = cpu_top->core_info[0].pkg; get_cpu_topology()
96 if(cpu_top->core_info[cpu].pkg != last_pkg) { get_cpu_topology()
97 last_pkg = cpu_top->core_info[cpu].pkg; get_cpu_topology()
106 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.1.27/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.
36 # rpm-pkg
38 rpm-pkg rpm: FORCE
42 echo "binrpm-pkg target instead."; \
57 # binrpm-pkg
59 binrpm-pkg: FORCE
89 deb-pkg: FORCE
98 tar%pkg: FORCE
105 # perf-pkg - generate a source tarball with perf source
129 perf-%pkg: FORCE
135 @echo ' rpm-pkg - Build both source and binary RPM kernel packages'
136 @echo ' binrpm-pkg - Build only the binary kernel package'
137 @echo ' deb-pkg - Build the kernel as a deb package'
138 @echo ' tar-pkg - Build the kernel as an uncompressed tarball'
139 @echo ' targz-pkg - Build the kernel as a gzip compressed tarball'
140 @echo ' tarbz2-pkg - Build the kernel as a bzip2 compressed tarball'
141 @echo ' tarxz-pkg - Build the kernel as a xz compressed tarball'
142 @echo ' perf-tar-src-pkg - Build $(perf-tar).tar source tarball'
143 @echo ' perf-targz-src-pkg - Build $(perf-tar).tar.gz source tarball'
144 @echo ' perf-tarbz2-src-pkg - Build $(perf-tar).tar.bz2 source tarball'
145 @echo ' perf-tarxz-src-pkg - Build $(perf-tar).tar.xz source tarball'
/linux-4.1.27/scripts/kconfig/
H A DMakefile204 HOSTLOADLIBES_gconf = `pkg-config --libs gtk+-2.0 gmodule-2.0 libglade-2.0`
205 HOSTCFLAGS_gconf.o = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0` \
211 pkg-config --libs menuw panelw ncursesw 2>/dev/null \
212 || pkg-config --libs menu panel ncurses 2>/dev/null \
222 @set -e; $(kecho) " CHECK qt"; dir=""; pkg=""; \
223 if ! pkg-config --exists QtCore 2> /dev/null; then \
225 pkg-config --exists qt 2> /dev/null && pkg=qt; \
226 pkg-config --exists qt-mt 2> /dev/null && pkg=qt-mt; \
227 if [ -n "$$pkg" ]; then \
228 cflags="\$$(shell pkg-config $$pkg --cflags)"; \
229 libs="\$$(shell pkg-config $$pkg --libs)"; \
230 moc="\$$(shell pkg-config $$pkg --variable=prefix)/bin/moc"; \
231 dir="$$(pkg-config $$pkg --variable=prefix)"; \
240 echo >&2 "* either qmake can be found or install pkg-config or set"; \
261 cflags="\$$(shell pkg-config QtCore QtGui Qt3Support --cflags)"; \
262 libs="\$$(shell pkg-config QtCore QtGui Qt3Support --libs)"; \
263 moc="\$$(shell pkg-config QtCore --variable=moc_location)"; \
264 [ -n "$$moc" ] || moc="\$$(shell pkg-config QtCore --variable=prefix)/bin/moc"; \
278 @if `pkg-config --exists gtk+-2.0 gmodule-2.0 libglade-2.0`; then \
279 if `pkg-config --atleast-version=2.0.0 gtk+-2.0`; then \
/linux-4.1.27/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.1.27/tools/testing/selftests/memfd/
H A DMakefile15 $(CC) $(CFLAGS) fuse_mnt.c `pkg-config fuse --cflags --libs` -o fuse_mnt
/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_acpi.c82 union acpi_object *pkg, *connector_count; intel_dsm_platform_mux_info() local
84 pkg = acpi_evaluate_dsm_typed(intel_dsm_priv.dhandle, intel_dsm_guid, intel_dsm_platform_mux_info()
87 if (!pkg) { intel_dsm_platform_mux_info()
92 connector_count = &pkg->package.elements[0]; intel_dsm_platform_mux_info()
95 for (i = 1; i < pkg->package.count; i++) { intel_dsm_platform_mux_info()
96 union acpi_object *obj = &pkg->package.elements[i]; intel_dsm_platform_mux_info()
111 ACPI_FREE(pkg); intel_dsm_platform_mux_info()
/linux-4.1.27/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 || \
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/acpi/acpica/
H A Dutmisc.c252 this_index = state->pkg.index; acpi_ut_walk_package_tree()
254 state->pkg.source_object->package.elements[this_index]; acpi_ut_walk_package_tree()
275 state->pkg.index++; acpi_ut_walk_package_tree()
276 while (state->pkg.index >= acpi_ut_walk_package_tree()
277 state->pkg.source_object->package.count) { acpi_ut_walk_package_tree()
303 state->pkg.index++; acpi_ut_walk_package_tree()
321 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.c58 * 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.h653 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.1.27/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.1.27/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.1.27/drivers/edac/
H A Dsb_edac.c777 static inline u8 sad_pkg_socket(u8 pkg) sad_pkg_socket() argument
780 return ((pkg >> 3) << 2) | (pkg & 0x3); sad_pkg_socket()
783 static inline u8 sad_pkg_ha(u8 pkg) sad_pkg_ha() argument
785 return (pkg >> 2) & 0x1; sad_pkg_ha()
1024 u32 pkg = sad_pkg(pvt->info.interleave_pkg, reg, j); get_memory_layout() local
1025 if (j > 0 && sad_interl == pkg) get_memory_layout()
1029 n_sads, j, pkg); get_memory_layout()
1147 u8 ch_way, sck_way, pkg, sad_ha = 0; get_memory_error_data() local
1203 u32 pkg = sad_pkg(pvt->info.interleave_pkg, reg, sad_way); get_memory_error_data() local
1204 if (sad_way > 0 && sad_interl == pkg) get_memory_error_data()
1206 sad_interleave[sad_way] = pkg; get_memory_error_data()
1257 pkg = sad_pkg(pvt->info.interleave_pkg, reg, idx); get_memory_error_data()
1258 *socket = sad_pkg_socket(pkg); get_memory_error_data()
1259 sad_ha = sad_pkg_ha(pkg); get_memory_error_data()
1273 pkg = sad_pkg(pvt->info.interleave_pkg, reg, idx); get_memory_error_data()
1274 *socket = sad_pkg_socket(pkg); get_memory_error_data()
1275 sad_ha = sad_pkg_ha(pkg); get_memory_error_data()
/linux-4.1.27/arch/x86/kernel/cpu/
H A Dperf_event_intel_rapl.c10 * counters (pp0, pkg, dram).
22 * pkg counter: consumption of the whole processor package
425 RAPL_EVENT_ATTR_STR(energy-pkg , rapl_pkg, "event=0x02");
430 RAPL_EVENT_ATTR_STR(energy-pkg.unit , rapl_pkg_unit, "Joules");
438 RAPL_EVENT_ATTR_STR(energy-pkg.scale, rapl_pkg_scale, "2.3283064365386962890625e-10");
H A Dperf_event_intel_cqm.c1137 EVENT_ATTR_STR(llc_occupancy.per-pkg, intel_cqm_llc_pkg, "1");
/linux-4.1.27/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.1.27/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.1.27/tools/build/feature/
H A DMakefile39 PKG_CONFIG := $(CROSS_COMPILE)pkg-config
/linux-4.1.27/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.1.27/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()
148 printf("%4d|", cpu_top.core_info[cpu].pkg); print_results()
/linux-4.1.27/drivers/hwmon/
H A Dcoretemp.c699 * We are bringing the _first_ core in this pkg get_core_online()
700 * online. So, initialize per-pkg data structures and get_core_online()
759 * If all cores in this pkg are offline, remove the device.
/linux-4.1.27/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.1.27/include/linux/mfd/
H A Drtsx_usb.h48 #define CHECK_PKG(ucr, pkg) ((ucr)->package == (pkg))
/linux-4.1.27/drivers/net/wireless/b43/
H A Dbus.c126 dev->chip_pkg = core->bus->chipinfo.pkg; b43_bus_dev_bcma_init()
/linux-4.1.27/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.1.27/tools/perf/util/
H A Dpmu.c172 snprintf(path, PATH_MAX, "%s/%s.per-pkg", dir, name); perf_pmu__parse_per_pkg()
250 if (len > 8 && !strcmp(name + len - 8, ".per-pkg")) pmu_alias_info_file()
/linux-4.1.27/tools/power/x86/turbostat/
H A Dturbostat.c466 /* if showing only 1st thread in pkg and this isn't one, bail out */ format_counters()
877 /* sum per-pkg values only for 1st core in pkg */ sum_counters()
1376 fprintf(stderr, " (%s%s%s%s%slocked: pkg-cstate-limit=%d: %s)\n", dump_nhm_cst_cfg()
2800 fprintf(stderr, "cpu %d pkg %d core %d\n", topology_probe()
2863 * increment topo.num_cores when 1st core in pkg seen
/linux-4.1.27/include/linux/bcma/
H A Dbcma.h28 u8 pkg; member in struct:bcma_chipinfo
/linux-4.1.27/drivers/staging/rts5208/
H A Drtsx_chip.h943 #define CHECK_BARO_PKG(chip, pkg) ((chip)->baro_pkg == (pkg))
/linux-4.1.27/
H A DMakefile488 kernelversion %src-pkg
1230 %src-pkg: FORCE
1232 %pkg: include/config/kernel.release FORCE
/linux-4.1.27/drivers/scsi/megaraid/
H A Dmegaraid_sas.h796 * Define FW pkg version (set in envt v'bles on OEM basis)
/linux-4.1.27/tools/perf/
H A Dbuiltin-stat.c436 pr_err("failed to read per-pkg counter\n"); read_cb()
/linux-4.1.27/include/linux/
H A Dsched.h915 #define SD_SHARE_PKG_RESOURCES 0x0200 /* Domain members share cpu pkg resources */

Completed in 6371 milliseconds