Home
last modified time | relevance | path

Searched full:temp (Results 1 – 25 of 2965) sorted by relevance

12345678910>>...119

/kernel/linux/linux-4.19/drivers/staging/comedi/
Dcomedi_compat32.c99 } temp; in compat_chaninfo() local
110 err |= __get_user(temp.uint, &chaninfo32->subdev); in compat_chaninfo()
111 err |= __put_user(temp.uint, &chaninfo->subdev); in compat_chaninfo()
112 err |= __get_user(temp.uptr, &chaninfo32->maxdata_list); in compat_chaninfo()
113 err |= __put_user(compat_ptr(temp.uptr), &chaninfo->maxdata_list); in compat_chaninfo()
114 err |= __get_user(temp.uptr, &chaninfo32->flaglist); in compat_chaninfo()
115 err |= __put_user(compat_ptr(temp.uptr), &chaninfo->flaglist); in compat_chaninfo()
116 err |= __get_user(temp.uptr, &chaninfo32->rangelist); in compat_chaninfo()
117 err |= __put_user(compat_ptr(temp.uptr), &chaninfo->rangelist); in compat_chaninfo()
133 } temp; in compat_rangeinfo() local
[all …]
/kernel/linux/linux-5.10/drivers/usb/host/
Dohci-dbg.c13 #define edstring(ed_type) ({ char *temp; \
15 case PIPE_CONTROL: temp = "ctrl"; break; \
16 case PIPE_BULK: temp = "bulk"; break; \
17 case PIPE_INTERRUPT: temp = "intr"; break; \
18 default: temp = "isoc"; break; \
19 } temp;})
104 u32 temp; in ohci_dump_status() local
106 temp = ohci_readl (controller, &regs->revision) & 0xff; in ohci_dump_status()
109 0x03 & (temp >> 4), (temp & 0x0f), in ohci_dump_status()
110 (temp & 0x0100) ? "with" : "NO", in ohci_dump_status()
[all …]
Dehci-dbg.c377 unsigned temp; in qh_lines() local
398 temp = scnprintf(next, size, in qh_lines()
412 size -= temp; in qh_lines()
413 next += temp; in qh_lines()
446 temp = scnprintf(next, size, in qh_lines()
455 size -= temp; in qh_lines()
456 next += temp; in qh_lines()
457 if (temp == size) in qh_lines()
461 temp = scnprintf(next, size, "\n"); in qh_lines()
462 size -= temp; in qh_lines()
[all …]
/kernel/linux/linux-4.19/drivers/usb/host/
Dohci-dbg.c13 #define edstring(ed_type) ({ char *temp; \
15 case PIPE_CONTROL: temp = "ctrl"; break; \
16 case PIPE_BULK: temp = "bulk"; break; \
17 case PIPE_INTERRUPT: temp = "intr"; break; \
18 default: temp = "isoc"; break; \
19 } temp;})
104 u32 temp; in ohci_dump_status() local
106 temp = ohci_readl (controller, &regs->revision) & 0xff; in ohci_dump_status()
109 0x03 & (temp >> 4), (temp & 0x0f), in ohci_dump_status()
110 (temp & 0x0100) ? "with" : "NO", in ohci_dump_status()
[all …]
Dehci-dbg.c377 unsigned temp; in qh_lines() local
398 temp = scnprintf(next, size, in qh_lines()
412 size -= temp; in qh_lines()
413 next += temp; in qh_lines()
446 temp = scnprintf(next, size, in qh_lines()
455 size -= temp; in qh_lines()
456 next += temp; in qh_lines()
457 if (temp == size) in qh_lines()
461 temp = scnprintf(next, size, "\n"); in qh_lines()
462 size -= temp; in qh_lines()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/
Dcx231xx-417.c355 u32 temp; in mc417_register_write() local
358 temp = 0x82 | MCI_REGISTER_DATA_BYTE0 | ((value & 0x000000FF) << 8); in mc417_register_write()
359 temp = temp << 10; in mc417_register_write()
360 status = set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
363 temp = temp | (0x05 << 10); in mc417_register_write()
364 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
367 temp = 0x82 | MCI_REGISTER_DATA_BYTE1 | (value & 0x0000FF00); in mc417_register_write()
368 temp = temp << 10; in mc417_register_write()
369 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
370 temp = temp | (0x05 << 10); in mc417_register_write()
[all …]
/kernel/linux/linux-4.19/drivers/thermal/
Dthermal_hwmon.c53 struct thermal_hwmon_temp *temp in temp_input_show() local
56 struct thermal_zone_device *tz = temp->tz; in temp_input_show()
71 struct thermal_hwmon_temp *temp in temp_crit_show() local
74 struct thermal_zone_device *tz = temp->tz; in temp_crit_show()
111 struct thermal_hwmon_temp *temp; in thermal_hwmon_lookup_temp() local
114 list_for_each_entry(temp, &hwmon->tz_list, hwmon_node) in thermal_hwmon_lookup_temp()
115 if (temp->tz == tz) { in thermal_hwmon_lookup_temp()
117 return temp; in thermal_hwmon_lookup_temp()
126 int temp; in thermal_zone_crit_temp_valid() local
127 return tz->ops->get_crit_temp && !tz->ops->get_crit_temp(tz, &temp); in thermal_zone_crit_temp_valid()
[all …]
/kernel/linux/linux-5.10/drivers/thermal/
Dthermal_hwmon.c55 struct thermal_hwmon_temp *temp in temp_input_show() local
58 struct thermal_zone_device *tz = temp->tz; in temp_input_show()
73 struct thermal_hwmon_temp *temp in temp_crit_show() local
76 struct thermal_zone_device *tz = temp->tz; in temp_crit_show()
113 struct thermal_hwmon_temp *temp; in thermal_hwmon_lookup_temp() local
116 list_for_each_entry(temp, &hwmon->tz_list, hwmon_node) in thermal_hwmon_lookup_temp()
117 if (temp->tz == tz) { in thermal_hwmon_lookup_temp()
119 return temp; in thermal_hwmon_lookup_temp()
128 int temp; in thermal_zone_crit_temp_valid() local
129 return tz->ops->get_crit_temp && !tz->ops->get_crit_temp(tz, &temp); in thermal_zone_crit_temp_valid()
[all …]
/kernel/linux/linux-4.19/fs/jffs2/
Dsummary.c118 struct jffs2_sum_inode_mem *temp = kmalloc(sizeof(struct jffs2_sum_inode_mem), GFP_KERNEL); in jffs2_sum_add_inode_mem() local
120 if (!temp) in jffs2_sum_add_inode_mem()
123 temp->nodetype = ri->nodetype; in jffs2_sum_add_inode_mem()
124 temp->inode = ri->ino; in jffs2_sum_add_inode_mem()
125 temp->version = ri->version; in jffs2_sum_add_inode_mem()
126 temp->offset = cpu_to_je32(ofs); /* relative offset from the beginning of the jeb */ in jffs2_sum_add_inode_mem()
127 temp->totlen = ri->totlen; in jffs2_sum_add_inode_mem()
128 temp->next = NULL; in jffs2_sum_add_inode_mem()
130 return jffs2_sum_add_mem(s, (union jffs2_sum_mem *)temp); in jffs2_sum_add_inode_mem()
136 struct jffs2_sum_dirent_mem *temp = in jffs2_sum_add_dirent_mem() local
[all …]
/kernel/linux/linux-5.10/fs/jffs2/
Dsummary.c118 struct jffs2_sum_inode_mem *temp = kmalloc(sizeof(struct jffs2_sum_inode_mem), GFP_KERNEL); in jffs2_sum_add_inode_mem() local
120 if (!temp) in jffs2_sum_add_inode_mem()
123 temp->nodetype = ri->nodetype; in jffs2_sum_add_inode_mem()
124 temp->inode = ri->ino; in jffs2_sum_add_inode_mem()
125 temp->version = ri->version; in jffs2_sum_add_inode_mem()
126 temp->offset = cpu_to_je32(ofs); /* relative offset from the beginning of the jeb */ in jffs2_sum_add_inode_mem()
127 temp->totlen = ri->totlen; in jffs2_sum_add_inode_mem()
128 temp->next = NULL; in jffs2_sum_add_inode_mem()
130 return jffs2_sum_add_mem(s, (union jffs2_sum_mem *)temp); in jffs2_sum_add_inode_mem()
136 struct jffs2_sum_dirent_mem *temp = in jffs2_sum_add_dirent_mem() local
[all …]
/kernel/linux/linux-4.19/drivers/media/usb/cx231xx/
Dcx231xx-417.c368 u32 temp; in mc417_register_write() local
371 temp = 0x82 | MCI_REGISTER_DATA_BYTE0 | ((value & 0x000000FF) << 8); in mc417_register_write()
372 temp = temp << 10; in mc417_register_write()
373 status = set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
376 temp = temp | (0x05 << 10); in mc417_register_write()
377 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
380 temp = 0x82 | MCI_REGISTER_DATA_BYTE1 | (value & 0x0000FF00); in mc417_register_write()
381 temp = temp << 10; in mc417_register_write()
382 set_itvc_reg(dev, ITVC_WRITE_DIR, temp); in mc417_register_write()
383 temp = temp | (0x05 << 10); in mc417_register_write()
[all …]
/kernel/linux/linux-4.19/drivers/usb/gadget/udc/bdc/
Dbdc_dbg.c15 u32 temp; in bdc_dbg_regs() local
18 temp = bdc_readl(bdc->regs, BDC_BDCCFG0); in bdc_dbg_regs()
19 dev_vdbg(bdc->dev, "bdccfg0:0x%08x\n", temp); in bdc_dbg_regs()
20 temp = bdc_readl(bdc->regs, BDC_BDCCFG1); in bdc_dbg_regs()
21 dev_vdbg(bdc->dev, "bdccfg1:0x%08x\n", temp); in bdc_dbg_regs()
22 temp = bdc_readl(bdc->regs, BDC_BDCCAP0); in bdc_dbg_regs()
23 dev_vdbg(bdc->dev, "bdccap0:0x%08x\n", temp); in bdc_dbg_regs()
24 temp = bdc_readl(bdc->regs, BDC_BDCCAP1); in bdc_dbg_regs()
25 dev_vdbg(bdc->dev, "bdccap1:0x%08x\n", temp); in bdc_dbg_regs()
26 temp = bdc_readl(bdc->regs, BDC_USPC); in bdc_dbg_regs()
[all …]
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/bdc/
Dbdc_dbg.c15 u32 temp; in bdc_dbg_regs() local
18 temp = bdc_readl(bdc->regs, BDC_BDCCFG0); in bdc_dbg_regs()
19 dev_vdbg(bdc->dev, "bdccfg0:0x%08x\n", temp); in bdc_dbg_regs()
20 temp = bdc_readl(bdc->regs, BDC_BDCCFG1); in bdc_dbg_regs()
21 dev_vdbg(bdc->dev, "bdccfg1:0x%08x\n", temp); in bdc_dbg_regs()
22 temp = bdc_readl(bdc->regs, BDC_BDCCAP0); in bdc_dbg_regs()
23 dev_vdbg(bdc->dev, "bdccap0:0x%08x\n", temp); in bdc_dbg_regs()
24 temp = bdc_readl(bdc->regs, BDC_BDCCAP1); in bdc_dbg_regs()
25 dev_vdbg(bdc->dev, "bdccap1:0x%08x\n", temp); in bdc_dbg_regs()
26 temp = bdc_readl(bdc->regs, BDC_USPC); in bdc_dbg_regs()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy.c30 s32 temp; in dsi_dphy_timing_calc_clk_zero() local
33 temp = 300 * coeff - ((timing->clk_prepare >> 1) + 1) * 2 * ui; in dsi_dphy_timing_calc_clk_zero()
34 tmin = S_DIV_ROUND_UP(temp, ui) - 2; in dsi_dphy_timing_calc_clk_zero()
44 temp = (timing->hs_rqst + timing->clk_prepare + clk_z) & 0x7; in dsi_dphy_timing_calc_clk_zero()
45 timing->clk_zero = clk_z + 8 - temp; in dsi_dphy_timing_calc_clk_zero()
60 s32 temp; in msm_dsi_dphy_timing_calc() local
72 temp = lpx / ui; in msm_dsi_dphy_timing_calc()
73 if (temp & 0x1) in msm_dsi_dphy_timing_calc()
74 timing->hs_rqst = temp; in msm_dsi_dphy_timing_calc()
76 timing->hs_rqst = max_t(s32, 0, temp - 2); in msm_dsi_dphy_timing_calc()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy.c38 s32 temp; in dsi_dphy_timing_calc_clk_zero() local
41 temp = 300 * coeff - ((timing->clk_prepare >> 1) + 1) * 2 * ui; in dsi_dphy_timing_calc_clk_zero()
42 tmin = S_DIV_ROUND_UP(temp, ui) - 2; in dsi_dphy_timing_calc_clk_zero()
52 temp = (timing->hs_rqst + timing->clk_prepare + clk_z) & 0x7; in dsi_dphy_timing_calc_clk_zero()
53 timing->clk_zero = clk_z + 8 - temp; in dsi_dphy_timing_calc_clk_zero()
68 s32 temp; in msm_dsi_dphy_timing_calc() local
80 temp = lpx / ui; in msm_dsi_dphy_timing_calc()
81 if (temp & 0x1) in msm_dsi_dphy_timing_calc()
82 timing->hs_rqst = temp; in msm_dsi_dphy_timing_calc()
84 timing->hs_rqst = max_t(s32, 0, temp - 2); in msm_dsi_dphy_timing_calc()
[all …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-imx-lpi2c.c120 unsigned int temp; in lpi2c_imx_bus_busy() local
123 temp = readl(lpi2c_imx->base + LPI2C_MSR); in lpi2c_imx_bus_busy()
126 if (temp & MSR_ALF) { in lpi2c_imx_bus_busy()
127 writel(temp, lpi2c_imx->base + LPI2C_MSR); in lpi2c_imx_bus_busy()
131 if (temp & (MSR_BBF | MSR_MBF)) in lpi2c_imx_bus_busy()
166 unsigned int temp; in lpi2c_imx_start() local
168 temp = readl(lpi2c_imx->base + LPI2C_MCR); in lpi2c_imx_start()
169 temp |= MCR_RRF | MCR_RTF; in lpi2c_imx_start()
170 writel(temp, lpi2c_imx->base + LPI2C_MCR); in lpi2c_imx_start()
173 temp = i2c_8bit_addr_from_msg(msgs) | (GEN_START << 8); in lpi2c_imx_start()
[all …]
/kernel/linux/linux-4.19/drivers/staging/xgifb/
Dvb_util.h19 u8 temp; in xgifb_reg_and_or() local
21 temp = xgifb_reg_get(port, index); in xgifb_reg_and_or()
22 temp = (u8)((temp & data_and) | data_or); in xgifb_reg_and_or()
23 xgifb_reg_set(port, index, temp); in xgifb_reg_and_or()
29 u8 temp; in xgifb_reg_and() local
31 temp = xgifb_reg_get(port, index); in xgifb_reg_and()
32 temp = (u8)(temp & data_and); in xgifb_reg_and()
33 xgifb_reg_set(port, index, temp); in xgifb_reg_and()
39 u8 temp; in xgifb_reg_or() local
41 temp = xgifb_reg_get(port, index); in xgifb_reg_or()
[all …]
Dvb_setmode.c52 unsigned char temp; in InitTo330Pointer() local
60 temp = xgifb_reg_get(pVBInfo->P3c4, 0x3B); in InitTo330Pointer()
62 if (((temp & 0x88) == 0x80) || ((temp & 0x88) == 0x08)) in InitTo330Pointer()
250 unsigned short sync, temp; in XGI_SetSync() local
255 temp = 0x2F; in XGI_SetSync()
256 temp |= sync; in XGI_SetSync()
257 outb(temp, pVBInfo->P3c2); /* Set Misc(3c2) */ in XGI_SetSync()
585 unsigned char temp; in XGI_SetXG27FPBits() local
588 temp = xgifb_reg_get(pVBInfo->P3d4, 0x37); in XGI_SetXG27FPBits()
589 temp = (temp & 3) << 6; in XGI_SetXG27FPBits()
[all …]
/kernel/linux/linux-4.19/drivers/i2c/busses/
Di2c-imx-lpi2c.c126 unsigned int temp; in lpi2c_imx_bus_busy() local
129 temp = readl(lpi2c_imx->base + LPI2C_MSR); in lpi2c_imx_bus_busy()
132 if (temp & MSR_ALF) { in lpi2c_imx_bus_busy()
133 writel(temp, lpi2c_imx->base + LPI2C_MSR); in lpi2c_imx_bus_busy()
137 if (temp & (MSR_BBF | MSR_MBF)) in lpi2c_imx_bus_busy()
172 unsigned int temp; in lpi2c_imx_start() local
174 temp = readl(lpi2c_imx->base + LPI2C_MCR); in lpi2c_imx_start()
175 temp |= MCR_RRF | MCR_RTF; in lpi2c_imx_start()
176 writel(temp, lpi2c_imx->base + LPI2C_MCR); in lpi2c_imx_start()
179 temp = i2c_8bit_addr_from_msg(msgs) | (GEN_START << 8); in lpi2c_imx_start()
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dadt7470.c150 s8 temp[ADT7470_TEMP_COUNT]; member
220 /* Delay is 200ms * number of temp sensors. */ in adt7470_read_temperatures()
244 data->temp[i] = i2c_smbus_read_byte_data(client, in adt7470_read_temperatures()
246 if (data->temp[i]) in adt7470_read_temperatures()
309 data->temp[i] = i2c_smbus_read_byte_data(client, in adt7470_update_device()
406 long temp; in auto_update_interval_store() local
408 if (kstrtol(buf, 10, &temp)) in auto_update_interval_store()
411 temp = clamp_val(temp, 0, 60000); in auto_update_interval_store()
414 data->auto_update_interval = temp; in auto_update_interval_store()
433 long temp; in num_temp_sensors_store() local
[all …]
/kernel/linux/linux-4.19/lib/xz/
Dxz_dec_stream.c129 } temp; member
152 * Fill s->temp by copying data starting from b->in[b->in_pos]. Caller
153 * must have set s->temp.pos to indicate how much data we are supposed
154 * to copy into s->temp.buf. Return true once s->temp.pos has reached
155 * s->temp.size.
160 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp()
162 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp()
164 s->temp.pos += copy_size; in fill_temp()
166 if (s->temp.pos == s->temp.size) { in fill_temp()
167 s->temp.pos = 0; in fill_temp()
[all …]
/kernel/linux/linux-5.10/lib/xz/
Dxz_dec_stream.c129 } temp; member
152 * Fill s->temp by copying data starting from b->in[b->in_pos]. Caller
153 * must have set s->temp.pos to indicate how much data we are supposed
154 * to copy into s->temp.buf. Return true once s->temp.pos has reached
155 * s->temp.size.
160 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp()
162 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp()
164 s->temp.pos += copy_size; in fill_temp()
166 if (s->temp.pos == s->temp.size) { in fill_temp()
167 s->temp.pos = 0; in fill_temp()
[all …]
/kernel/linux/linux-4.19/drivers/char/agp/
Dali-agp.c24 u32 temp; in ali_fetch_size() local
27 pci_read_config_dword(agp_bridge->dev, ALI_ATTBASE, &temp); in ali_fetch_size()
28 temp &= ~(0xfffffff0); in ali_fetch_size()
32 if (temp == values[i].size_value) { in ali_fetch_size()
45 u32 temp; in ali_tlbflush() local
47 pci_read_config_dword(agp_bridge->dev, ALI_TLBCTRL, &temp); in ali_tlbflush()
48 temp &= 0xfffffff0; in ali_tlbflush()
49 temp |= (1<<0 | 1<<1); in ali_tlbflush()
50 pci_write_config_dword(agp_bridge->dev, ALI_TAGCTRL, temp); in ali_tlbflush()
56 u32 temp; in ali_cleanup() local
[all …]
/kernel/linux/linux-5.10/drivers/char/agp/
Dali-agp.c24 u32 temp; in ali_fetch_size() local
27 pci_read_config_dword(agp_bridge->dev, ALI_ATTBASE, &temp); in ali_fetch_size()
28 temp &= ~(0xfffffff0); in ali_fetch_size()
32 if (temp == values[i].size_value) { in ali_fetch_size()
45 u32 temp; in ali_tlbflush() local
47 pci_read_config_dword(agp_bridge->dev, ALI_TLBCTRL, &temp); in ali_tlbflush()
48 temp &= 0xfffffff0; in ali_tlbflush()
49 temp |= (1<<0 | 1<<1); in ali_tlbflush()
50 pci_write_config_dword(agp_bridge->dev, ALI_TAGCTRL, temp); in ali_tlbflush()
56 u32 temp; in ali_cleanup() local
[all …]
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/
Daic7xxx_93cx6.c107 uint8_t temp; in send_seeprom_cmd() local
111 temp = sd->sd_MS ^ sd->sd_CS; in send_seeprom_cmd()
112 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); in send_seeprom_cmd()
117 temp ^= sd->sd_DO; in send_seeprom_cmd()
118 SEEPROM_OUTB(sd, temp); in send_seeprom_cmd()
120 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); in send_seeprom_cmd()
123 temp ^= sd->sd_DO; in send_seeprom_cmd()
133 uint8_t temp; in reset_seeprom() local
135 temp = sd->sd_MS; in reset_seeprom()
136 SEEPROM_OUTB(sd, temp); in reset_seeprom()
[all …]

12345678910>>...119