/linux-4.4.14/arch/s390/kernel/ |
H A D | perf_cpum_sf.c | 346 struct sf_raw_sample *sfr = (struct sf_raw_sample *) RAWSAMPLE_REG(hwc); event_sample_size() local 353 sample_size = sfr->bsdes; event_sample_size() 355 sample_size += sfr->dsdes; event_sample_size() 370 struct sf_raw_sample *sfr; allocate_buffers() local 388 sfr_size = ALIGN((sizeof(*sfr) - sizeof(sfr->diag) + cpuhw->qsi.dsdes) + allocate_buffers() 391 sfr = kzalloc(sfr_size, GFP_KERNEL); allocate_buffers() 392 if (!sfr) allocate_buffers() 394 sfr->size = sfr_size; allocate_buffers() 395 sfr->bsdes = cpuhw->qsi.bsdes; allocate_buffers() 396 sfr->dsdes = cpuhw->qsi.dsdes; allocate_buffers() 397 RAWSAMPLE_REG(hwc) = (unsigned long) sfr; allocate_buffers() 650 struct sf_raw_sample *sfr; hw_reset_registers() local 656 sfr = (struct sf_raw_sample *) RAWSAMPLE_REG(hwc); hw_reset_registers() 657 memset(&sfr->basic, 0, sizeof(sfr->basic)); hw_reset_registers() 658 memset(&sfr->diag, 0, sfr->dsdes); hw_reset_registers() 976 static int perf_push_sample(struct perf_event *event, struct sf_raw_sample *sfr) perf_push_sample() argument 986 raw.size = sfr->size; perf_push_sample() 987 raw.data = sfr; perf_push_sample() 1000 regs.psw.addr = sfr->basic.ia; perf_push_sample() 1001 if (sfr->basic.T) perf_push_sample() 1003 if (sfr->basic.W) perf_push_sample() 1005 if (sfr->basic.P) perf_push_sample() 1007 switch (sfr->basic.AS) { perf_push_sample() 1028 if (sfr->basic.gpp) perf_push_sample() 1096 static void sfr_store_sample(struct sf_raw_sample *sfr, sfr_store_sample() argument 1099 if (likely(sfr->format & PERF_CPUM_SF_BASIC_MODE)) sfr_store_sample() 1100 sfr->basic = sample->basic; sfr_store_sample() 1101 if (sfr->format & PERF_CPUM_SF_DIAG_MODE) sfr_store_sample() 1102 memcpy(&sfr->diag, &sample->diag, sfr->dsdes); sfr_store_sample() 1145 struct sf_raw_sample *sfr; hw_collect_samples() local 1149 sfr = (struct sf_raw_sample *) RAWSAMPLE_REG(&event->hw); hw_collect_samples() 1150 sfr->format = flags & PERF_CPUM_SF_MODE_MASK; hw_collect_samples() 1172 sfr_store_sample(sfr, sample); hw_collect_samples() 1173 *overflow = perf_push_sample(event, sfr); hw_collect_samples()
|
/linux-4.4.14/arch/x86/boot/ |
H A D | apm.c | 8 * (sfr@canb.auug.org.au)
|
/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
H A D | hdmi5_core.c | 60 unsigned long long sfr; hdmi_core_ddc_init() local 63 sfr = iclk / sfr_div; /* SFR_DIV */ hdmi_core_ddc_init() 64 sfr /= 1000; /* SFR clock in kHz */ hdmi_core_ddc_init() 76 v = DIV_ROUND_UP_ULL(ss_scl_high * sfr, 1000000); hdmi_core_ddc_init() 83 v = DIV_ROUND_UP_ULL(ss_scl_low * sfr, 1000000); hdmi_core_ddc_init() 90 v = DIV_ROUND_UP_ULL(fs_scl_high * sfr, 1000000); hdmi_core_ddc_init() 97 v = DIV_ROUND_UP_ULL(fs_scl_low * sfr, 1000000); hdmi_core_ddc_init() 104 v = DIV_ROUND_UP_ULL(sda_hold * sfr, 1000000); hdmi_core_ddc_init()
|
/linux-4.4.14/include/linux/ |
H A D | apm_bios.h | 3 * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au)
|
/linux-4.4.14/drivers/hwmon/ |
H A D | smsc47m192.c | 126 u8 sfr = i2c_smbus_read_byte_data(client, SMSC47M192_REG_SFR); smsc47m192_update_device() local 153 if (sfr & 0x10) { smsc47m192_update_device() 357 u8 sfr = i2c_smbus_read_byte_data(client, SMSC47M192_REG_SFR); set_temp_offset() local 376 (sfr & 0xef) | (nr == 0 ? 0x10 : 0)); set_temp_offset() 380 } else if ((sfr & 0x10) == (nr == 0 ? 0x10 : 0)) set_temp_offset() 532 u8 sfr = i2c_smbus_read_byte_data(client, SMSC47M192_REG_SFR); smsc47m192_init_client() local 536 (sfr & 0xfd) | 0x02); smsc47m192_init_client()
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
H A D | stb0899_algo.c | 41 static u32 stb0899_calc_srate(u32 master_clk, u8 *sfr) 47 /* sfr is of size 20 bit, stored with an offset of 4 bit */ 48 tmp = (((u32)sfr[0]) << 16) | (((u32)sfr[1]) << 8) | sfr[2]; 63 u8 sfr[3]; 65 stb0899_read_regs(state, STB0899_SFRH, sfr, 3); 67 return stb0899_calc_srate(internal->master_clk, sfr); 81 u8 sfr[3]; stb0899_set_srate() local 98 * sfr = SFR << 4; stb0899_set_srate() 104 sfr[0] = tmp >> 16; stb0899_set_srate() 105 sfr[1] = tmp >> 8; stb0899_set_srate() 106 sfr[2] = tmp; stb0899_set_srate() 108 stb0899_write_regs(state, STB0899_SFRH, sfr, 3); stb0899_set_srate()
|
H A D | stv0299.c | 248 u8 sfr[3]; stv0299_get_symbolrate() local 253 stv0299_readregs (state, 0x1f, sfr, 3); stv0299_get_symbolrate() 256 srate = (sfr[0] << 8) | sfr[1]; stv0299_get_symbolrate() 259 srate += (sfr[2] >> 4) * Mclk / 256; stv0299_get_symbolrate()
|
/linux-4.4.14/include/uapi/linux/ |
H A D | apm_bios.h | 3 * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au)
|
/linux-4.4.14/sound/aoa/soundbus/i2sbus/ |
H A D | pcm.c | 337 int sfr = 0; /* serial format register */ i2sbus_pcm_prepare() local 450 &sfr) < 0) { i2sbus_pcm_prepare() 456 sfr |= I2S_SF_SERIAL_FORMAT_I2S_32X; i2sbus_pcm_prepare() 459 sfr |= I2S_SF_SERIAL_FORMAT_I2S_64X; i2sbus_pcm_prepare() 463 sfr |= I2S_SF_SCLK_MASTER; i2sbus_pcm_prepare() 486 if (in_le32(&i2sdev->intfregs->serial_format) == sfr i2sbus_pcm_prepare() 514 out_le32(&i2sdev->intfregs->serial_format, sfr); i2sbus_pcm_prepare()
|
/linux-4.4.14/drivers/power/ |
H A D | ds2780_battery.c | 592 u8 sfr; ds2780_get_pio_pin() local 596 ret = ds2780_read8(dev_info, &sfr, DS2780_SFR_REG); ds2780_get_pio_pin() 600 ret = sprintf(buf, "%d\n", sfr & DS2780_SFR_REG_PIOSC); ds2780_get_pio_pin()
|
H A D | ds2781_battery.c | 594 u8 sfr; ds2781_get_pio_pin() local 598 ret = ds2781_read8(dev_info, &sfr, DS2781_SFR); ds2781_get_pio_pin() 602 ret = sprintf(buf, "%d\n", sfr & DS2781_SFR_PIOSC); ds2781_get_pio_pin()
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | apm_32.c | 3 * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au) 26 * April 1996, Stephen Rothwell (sfr@canb.auug.org.au) 144 * modified by sfr). 146 * <andy_henroid@yahoo.com> fixed by sfr). 148 * <tmh@magenta-logic.com> and <zlatko@iskon.hr>) modified by sfr. 159 * (Arjan van de Ven <arjanv@redhat.com>) modified by sfr. 177 * Daemonize now gets rid of our controlling terminal (sfr). 179 * idle_threshold (sfr). 180 * Change name of kernel apm daemon (as it no longer idles) (sfr).
|
/linux-4.4.14/drivers/char/ |
H A D | apm-emulation.c | 4 * adapted from the APM BIOS driver for Linux by Stephen Rothwell (sfr@linuxcare.com)
|
/linux-4.4.14/fs/ |
H A D | locks.c | 114 * Stephen Rothwell <sfr@canb.auug.org.au>, June, 2000. 1543 * XXX: sfr & willy disagree over whether F_INPROGRESS
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
H A D | intel_runtime_pm.c | 945 * b. The other bits such as sfr settings / modesel may all vlv_dpio_cmn_power_well_enable()
|