Searched defs:temp (Results 1 - 25 of 480) sorted by relevance

1234567891011>>

/drivers/hwmon/
H A Dlm75.h37 static inline u16 LM75_TEMP_TO_REG(long temp) argument
39 int ntemp = SENSORS_LIMIT(temp, LM75_TEMP_MIN, LM75_TEMP_MAX);
H A Dk8temp.c50 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 Dlm73.c50 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 Dshpchp_pci.c112 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 Dpciehp_pci.c130 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 Dvb_util.c30 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 Dsdhci-esdhc.h49 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 Dprism2usb.c206 struct list_head *temp; local
265 list_for_each_safe(entry, temp, &cleanlist) {
/drivers/acpi/acpica/
H A Dnsalloc.c66 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 Dnouveau_temp.c33 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 Dhid-quirks.c214 struct quirks_list_struct *q, *temp; local
217 list_for_each_entry_safe(q, temp, &dquirks_list, node) {
/drivers/media/video/cx23885/
H A Dcx23885-f300.c90 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 Dgianfar_sysfs.c54 u32 temp; local
77 temp = gfar_read(&regs->attr);
80 temp |= ATTR_BDSTASH;
82 temp &= ~(ATTR_BDSTASH);
84 gfar_write(&regs->attr, temp);
109 u32 temp; local
126 temp = gfar_read(&regs->attreli);
127 temp &= ~ATTRELI_EL_MASK;
128 temp |= ATTRELI_EL(length);
129 gfar_write(&regs->attreli, temp);
168 u32 temp; local
216 u32 temp; local
256 u32 temp; local
297 u32 temp; local
[all...]
/drivers/s390/char/
H A Dvmcp.c139 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 Dcomet.c496 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 Dehci-pci.c54 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 Dtrancevibrator.c63 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 Dmusb_virthub.c236 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 Dprogear_bl.c65 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 Dcontainer.c79 acpi_handle temp; local
84 status = acpi_get_handle(handle, "_STA", &temp);
/drivers/char/agp/
H A Dalpha-agp.c91 void *temp; local
96 temp = agp_bridge->current_size;
97 num_entries = A_SIZE_FIX(temp)->num_entries;
H A Dsgi-agp.c134 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 Dexynos-cpufreq.c156 unsigned int temp; local
184 temp = locking_frequency;
192 locking_frequency = temp;
/drivers/gpu/drm/i915/
H A Di915_gem_tiling.c428 char temp[64]; local
435 memcpy(temp, &vaddr[i], 64);
437 memcpy(&vaddr[i + 64], temp, 64);
/drivers/gpu/drm/radeon/
H A Dr200.c357 uint32_t temp = idx_value >> 4; local
359 track->textures[i].enabled = !!(temp & (1 << i));

Completed in 526 milliseconds

1234567891011>>