/drivers/hwmon/ |
H A D | lm75.h | 37 static inline u16 LM75_TEMP_TO_REG(long temp) argument 39 int ntemp = SENSORS_LIMIT(temp, LM75_TEMP_MIN, LM75_TEMP_MAX);
|
H A D | k8temp.c | 50 u32 temp[2][2]; /* core, place */ member in struct:k8temp_data 68 pci_read_config_dword(pdev, REG_TEMP, &data->temp[0][0]); 74 &data->temp[0][1]); 82 &data->temp[1][0]); 88 &data->temp[1][1]); 120 int temp; local 126 temp = TEMP_FROM_REG(data->temp[core][place]) + data->temp_offset; 128 return sprintf(buf, "%d\n", temp); 182 u32 temp; local [all...] |
H A D | lm73.c | 50 long temp; local 53 int status = kstrtol(buf, 10, &temp); 58 value = (short) SENSORS_LIMIT(temp/250, (LM73_TEMP_MIN*4), 71 int temp = ((s16) (i2c_smbus_read_word_swapped(client, local 73 return sprintf(buf, "%d\n", temp);
|
/drivers/pci/hotplug/ |
H A D | shpchp_pci.c | 112 struct pci_dev *temp = pci_get_slot(parent, local 114 if (!temp) 116 if (temp->hdr_type == PCI_HEADER_TYPE_BRIDGE) { 117 pci_read_config_byte(temp, PCI_BRIDGE_CONTROL, &bctl); 121 pci_name(temp)); 122 pci_dev_put(temp); 127 pci_remove_bus_device(temp); 128 pci_dev_put(temp);
|
H A D | pciehp_pci.c | 130 struct pci_dev *temp = pci_get_slot(parent, PCI_DEVFN(0, j)); local 131 if (!temp) 133 if (temp->hdr_type == PCI_HEADER_TYPE_BRIDGE && presence) { 134 pci_read_config_byte(temp, PCI_BRIDGE_CONTROL, &bctl); 138 pci_name(temp)); 139 pci_dev_put(temp); 144 pci_remove_bus_device(temp); 150 pci_read_config_word(temp, PCI_COMMAND, &command); 153 pci_write_config_word(temp, PCI_COMMAND, command); 155 pci_dev_put(temp); [all...] |
/drivers/staging/xgifb/ |
H A D | vb_util.c | 30 u8 temp; local 32 temp = xgifb_reg_get(port, index); /* XGINew_Part1Port index 02 */ 33 temp = (temp & data_and) | data_or; 34 xgifb_reg_set(port, index, temp); 39 u8 temp; local 41 temp = xgifb_reg_get(port, index); /* XGINew_Part1Port index 02 */ 42 temp &= data_and; 43 xgifb_reg_set(port, index, temp); 48 u8 temp; local [all...] |
/drivers/mmc/host/ |
H A D | sdhci-esdhc.h | 49 u32 temp; local 51 temp = sdhci_readl(host, ESDHC_SYSTEM_CONTROL); 52 temp &= ~(ESDHC_CLOCK_IPGEN | ESDHC_CLOCK_HCKEN | ESDHC_CLOCK_PEREN 54 sdhci_writel(host, temp, ESDHC_SYSTEM_CONTROL); 71 temp = sdhci_readl(host, ESDHC_SYSTEM_CONTROL); 72 temp |= (ESDHC_CLOCK_IPGEN | ESDHC_CLOCK_HCKEN | ESDHC_CLOCK_PEREN 75 sdhci_writel(host, temp, ESDHC_SYSTEM_CONTROL);
|
/drivers/staging/wlan-ng/ |
H A D | prism2usb.c | 206 struct list_head *temp; local 265 list_for_each_safe(entry, temp, &cleanlist) {
|
/drivers/acpi/acpica/ |
H A D | nsalloc.c | 66 u32 temp; local 79 temp = acpi_gbl_ns_node_list->total_allocated - 81 if (temp > acpi_gbl_ns_node_list->max_occupied) { 82 acpi_gbl_ns_node_list->max_occupied = temp;
|
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_temp.c | 33 nouveau_temp_vbios_parse(struct drm_device *dev, u8 *temp) argument 41 if (!temp) { 118 headerlen = temp[1]; 119 recordlen = temp[2]; 120 entries = temp[3]; 121 temp = temp + headerlen; 125 s16 value = ROM16(temp[1]); 127 switch (temp[0]) { 171 temp 308 u8 *temp = NULL; local [all...] |
/drivers/hid/usbhid/ |
H A D | hid-quirks.c | 214 struct quirks_list_struct *q, *temp; local 217 list_for_each_entry_safe(q, temp, &dquirks_list, node) {
|
/drivers/media/video/cx23885/ |
H A D | cx23885-f300.c | 90 u8 i, temp, ret = 0; local 92 temp = buf[0]; 94 temp += buf[i + 1]; 95 temp = (~temp + 1);/* get check sum */ 96 buf[1 + buf[0]] = temp; 111 temp = buf[0]; 112 temp += 2; 113 for (i = 0; i < temp; i++) 120 temp [all...] |
/drivers/net/ethernet/freescale/ |
H A D | gianfar_sysfs.c | 54 u32 temp; local 77 temp = gfar_read(®s->attr); 80 temp |= ATTR_BDSTASH; 82 temp &= ~(ATTR_BDSTASH); 84 gfar_write(®s->attr, temp); 109 u32 temp; local 126 temp = gfar_read(®s->attreli); 127 temp &= ~ATTRELI_EL_MASK; 128 temp |= ATTRELI_EL(length); 129 gfar_write(®s->attreli, temp); 168 u32 temp; local 216 u32 temp; local 256 u32 temp; local 297 u32 temp; local [all...] |
/drivers/s390/char/ |
H A D | vmcp.c | 139 int temp; local 150 temp = session->resp_code; 152 return put_user(temp, argp); 157 temp = get_user(session->bufsize, argp); 160 temp = -EINVAL; 163 return temp; 165 temp = session->resp_size; 167 return put_user(temp, argp);
|
/drivers/staging/cxt1e1/ |
H A D | comet.c | 496 volatile u_int32_t temp; local 516 temp = pci_read_32 ((u_int32_t *) &comet->xlpg_atest_pctl) & 0xfe; 517 pci_write_32 ((u_int32_t *) &comet->xlpg_atest_pctl, temp); 523 temp = pci_read_32 ((u_int32_t *) &comet->xlpg_atest_nctl) & 0xfe; 524 pci_write_32 ((u_int32_t *) &comet->xlpg_atest_nctl, temp);
|
/drivers/usb/host/ |
H A D | ehci-pci.c | 54 u32 temp; local 235 temp = pci_find_capability(pdev, 0x0a); 236 if (temp) { 237 pci_read_config_dword(pdev, temp, &temp); 238 temp >>= 16; 239 if ((temp & (3 << 13)) == (1 << 13)) { 240 temp &= 0x1fff; 241 ehci->debug = ehci_to_hcd(ehci)->regs + temp; 242 temp [all...] |
/drivers/usb/misc/ |
H A D | trancevibrator.c | 63 int temp, retval, old; local 65 temp = simple_strtoul(buf, NULL, 10); 66 if (temp > 255) 67 temp = 255; 68 else if (temp < 0) 69 temp = 0; 71 tv->speed = temp;
|
/drivers/usb/musb/ |
H A D | musb_virthub.c | 236 u32 temp; local 308 temp = 0; 309 *(__le32 *) buf = cpu_to_le32(temp); 386 temp = MUSB_TEST_J; 390 temp = MUSB_TEST_K; 394 temp = MUSB_TEST_SE0_NAK; 398 temp = MUSB_TEST_PACKET; 403 temp = MUSB_TEST_FORCE_HOST 411 temp = MUSB_TEST_FIFO_ACCESS; 416 musb_writeb(musb->mregs, MUSB_TESTMODE, temp); [all...] |
/drivers/video/backlight/ |
H A D | progear_bl.c | 65 u8 temp; local 83 pci_read_config_byte(sb_dev, SB_MPS1, &temp); 84 pci_write_config_byte(sb_dev, SB_MPS1, temp | 0x20);
|
/drivers/acpi/ |
H A D | container.c | 79 acpi_handle temp; local 84 status = acpi_get_handle(handle, "_STA", &temp);
|
/drivers/char/agp/ |
H A D | alpha-agp.c | 91 void *temp; local 96 temp = agp_bridge->current_size; 97 num_entries = A_SIZE_FIX(temp)->num_entries;
|
H A D | sgi-agp.c | 134 void *temp; local 144 temp = bridge->current_size; 148 num_entries = A_SIZE_8(temp)->num_entries; 151 num_entries = A_SIZE_16(temp)->num_entries; 154 num_entries = A_SIZE_32(temp)->num_entries; 157 num_entries = A_SIZE_FIX(temp)->num_entries;
|
/drivers/cpufreq/ |
H A D | exynos-cpufreq.c | 156 unsigned int temp; local 184 temp = locking_frequency; 192 locking_frequency = temp;
|
/drivers/gpu/drm/i915/ |
H A D | i915_gem_tiling.c | 428 char temp[64]; local 435 memcpy(temp, &vaddr[i], 64); 437 memcpy(&vaddr[i + 64], temp, 64);
|
/drivers/gpu/drm/radeon/ |
H A D | r200.c | 357 uint32_t temp = idx_value >> 4; local 359 track->textures[i].enabled = !!(temp & (1 << i));
|