| /drivers/media/usb/cx231xx/ |
| A D | cx231xx-417.c | 359 temp = temp << 10; in mc417_register_write() 368 temp = temp << 10; in mc417_register_write() 375 temp = temp << 10; in mc417_register_write() 382 temp = temp << 10; in mc417_register_write() 389 temp = temp << 10; in mc417_register_write() 396 temp = temp << 10; in mc417_register_write() 403 temp = temp << 10; in mc417_register_write() 419 temp = temp << 10; in mc417_register_read() 426 temp = temp << 10; in mc417_register_read() 433 temp = temp << 10; in mc417_register_read() [all …]
|
| /drivers/usb/host/ |
| A D | ohci-dbg.c | 19 } temp;}) 104 u32 temp; in ohci_dump_status() local 109 0x03 & (temp >> 4), (temp & 0x0f), in ohci_dump_status() 116 temp, in ohci_dump_status() 172 num, temp, \ 217 temp, in ohci_dump_roothub() 224 temp, in ohci_dump_roothub() 477 temp += show_list(ohci, buf->page + temp, size - temp, in fill_async_buffer() 481 return temp; in fill_async_buffer() 524 for (temp = 0; temp < seen_count; temp++) { in fill_periodic_buffer() [all …]
|
| A D | ehci-dbg.c | 412 size -= temp; in qh_lines() 413 next += temp; in qh_lines() 462 size -= temp; in qh_lines() 463 next += temp; in qh_lines() 533 size -= temp; in fill_bandwidth_buffer() 603 temp++; in output_buf_tds_dir() 677 for (temp = 0; temp < seen_count; temp++) { in fill_periodic_buffer() 849 temp = scnprintf(next, size, fmt, temp, scratch); in fill_registers_buffer() 855 temp = scnprintf(next, size, fmt, temp, scratch); in fill_registers_buffer() 861 temp = scnprintf(next, size, fmt, temp, scratch); in fill_registers_buffer() [all …]
|
| A D | ehci-hub.c | 150 u32 temp; in ehci_adjust_port_wakeup_flags() local 379 u32 temp; in ehci_bus_resume() local 621 u32 temp, status; in ehci_hub_status_data() local 666 temp = 0; in ehci_hub_status_data() 703 u16 temp; in ehci_hub_descriptor() local 715 memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); in ehci_hub_descriptor() 755 temp = 0; in ehci_hub_control() 874 if (temp & PORT_CSC) in ehci_hub_control() 993 if (temp & PORT_PE) in ehci_hub_control() 1008 if (temp & PORT_OC) in ehci_hub_control() [all …]
|
| A D | xhci-hub.c | 259 u16 temp; in xhci_common_hub_descriptor() local 264 temp = 0; in xhci_common_hub_descriptor() 283 u16 temp; in xhci_usb2_hub_descriptor() local 650 u32 temp; in xhci_set_port_power() local 658 temp = xhci_port_state_to_neutral(temp); in xhci_set_port_power() 822 temp = xhci_port_state_to_neutral(temp); in xhci_set_remote_wake_mask() 850 temp = xhci_port_state_to_neutral(temp); in xhci_test_and_clear_bit() 1319 temp = xhci_port_state_to_neutral(temp); in xhci_hub_control() 1367 temp = xhci_port_state_to_neutral(temp); in xhci_hub_control() 1503 temp = (temp | PORT_RESET); in xhci_hub_control() [all …]
|
| A D | ohci-hub.c | 105 unsigned temp; in ohci_rh_suspend() local 157 u32 temp, enables; in ohci_rh_resume() local 273 temp = 0; in ohci_rh_resume() 280 temp |= OHCI_CLF; in ohci_rh_resume() 286 temp |= OHCI_BLF; in ohci_rh_resume() 295 if (temp) in ohci_rh_resume() 543 u16 temp; in ohci_hub_descriptor() local 623 u32 temp = 0; in root_port_reset() local 654 port, temp); in root_port_reset() 686 u32 temp; in ohci_hub_control() local [all …]
|
| /drivers/gpu/drm/i915/display/ |
| A D | intel_fdi.c | 419 u32 temp; in cpt_set_fdi_bc_bifurcation() local 471 u32 temp; in intel_fdi_normal_train() local 512 u32 temp, tries; in ilk_fdi_link_train() local 613 u32 temp, i, retry; in gen6_fdi_link_train() local 748 u32 temp, i, j; in ivb_manual_fdi_link_train() local 779 temp &= ~FDI_TX_ENABLE; in ivb_manual_fdi_link_train() 786 temp &= ~FDI_RX_ENABLE; in ivb_manual_fdi_link_train() 1029 u32 temp; in ilk_fdi_pll_enable() local 1082 u32 temp; in ilk_fdi_disable() local 1090 temp &= ~(0x7 << 16); in ilk_fdi_disable() [all …]
|
| /drivers/gpu/drm/msm/dsi/phy/ |
| A D | dsi_phy.c | 32 s32 temp; in dsi_dphy_timing_calc_clk_zero() local 62 s32 temp; in msm_dsi_dphy_timing_calc() local 74 temp = lpx / ui; in msm_dsi_dphy_timing_calc() 75 if (temp & 0x1) in msm_dsi_dphy_timing_calc() 96 temp = 145 * coeff + 10 * ui - temp; in msm_dsi_dphy_timing_calc() 112 temp = 60 * coeff + 52 * ui - 24 * ui - temp; in msm_dsi_dphy_timing_calc() 119 temp += 8 * ui + lpx; in msm_dsi_dphy_timing_calc() 161 s32 temp; in msm_dsi_dphy_timing_calc_v2() local 276 s32 temp; in msm_dsi_dphy_timing_calc_v3() local 387 s32 temp; in msm_dsi_dphy_timing_calc_v4() local [all …]
|
| /drivers/thermal/ |
| A D | thermal_hwmon.c | 120 if (temp->tz == tz) { in thermal_hwmon_lookup_temp() 122 return temp; in thermal_hwmon_lookup_temp() 131 int temp; in thermal_zone_crit_temp_valid() local 163 temp = kzalloc(sizeof(*temp), GFP_KERNEL); in thermal_add_hwmon_sysfs() 164 if (!temp) { in thermal_add_hwmon_sysfs() 169 temp->tz = tz; in thermal_add_hwmon_sysfs() 172 snprintf(temp->temp_input.name, sizeof(temp->temp_input.name), in thermal_add_hwmon_sysfs() 174 temp->temp_input.attr.attr.name = temp->temp_input.name; in thermal_add_hwmon_sysfs() 186 temp->temp_crit.attr.attr.name = temp->temp_crit.name; in thermal_add_hwmon_sysfs() 207 kfree(temp); in thermal_add_hwmon_sysfs() [all …]
|
| /drivers/usb/gadget/udc/bdc/ |
| A D | bdc_dbg.c | 15 u32 temp; in bdc_dbg_regs() local 18 temp = bdc_readl(bdc->regs, BDC_BDCCFG0); in bdc_dbg_regs() 20 temp = bdc_readl(bdc->regs, BDC_BDCCFG1); in bdc_dbg_regs() 22 temp = bdc_readl(bdc->regs, BDC_BDCCAP0); in bdc_dbg_regs() 24 temp = bdc_readl(bdc->regs, BDC_BDCCAP1); in bdc_dbg_regs() 26 temp = bdc_readl(bdc->regs, BDC_USPC); in bdc_dbg_regs() 28 temp = bdc_readl(bdc->regs, BDC_DVCSA); in bdc_dbg_regs() 30 temp = bdc_readl(bdc->regs, BDC_DVCSB); in bdc_dbg_regs() 36 u32 temp; in bdc_dump_epsts() local 38 temp = bdc_readl(bdc->regs, BDC_EPSTS0); in bdc_dump_epsts() [all …]
|
| A D | bdc_core.c | 52 u32 temp; in bdc_stop() local 75 u32 temp; in bdc_reset() local 98 u32 temp; in bdc_run() local 109 temp |= BDC_COP_RUN; in bdc_run() 110 temp |= BDC_COS; in bdc_run() 218 u32 temp; in bdc_mem_init() local 236 temp |= size; in bdc_mem_init() 256 temp &= ~0xffff; in bdc_mem_init() 257 temp |= INT_CLS; in bdc_mem_init() 284 temp |= BDC_GIE; in bdc_mem_init() [all …]
|
| /drivers/ras/amd/atl/ |
| A D | umc.c | 147 u32 temp; in get_umc_info_mi300() local 240 u32 temp; in convert_dram_to_norm_addr_mi300() local 255 bank ^= temp << i; in convert_dram_to_norm_addr_mi300() 264 pc ^= temp; in convert_dram_to_norm_addr_mi300() 272 temp = (col >> i) & 0x1; in convert_dram_to_norm_addr_mi300() 273 addr |= temp << bit_shifts.col[i]; in convert_dram_to_norm_addr_mi300() 278 temp = (bank >> i) & 0x1; in convert_dram_to_norm_addr_mi300() 279 addr |= temp << bit_shifts.bank[i]; in convert_dram_to_norm_addr_mi300() 284 temp = (row >> i) & 0x1; in convert_dram_to_norm_addr_mi300() 299 temp = (sid >> i) & 0x1; in convert_dram_to_norm_addr_mi300() [all …]
|
| /drivers/scsi/aic7xxx/ |
| A D | aic7xxx_93cx6.c | 107 uint8_t temp; in send_seeprom_cmd() local 117 temp ^= sd->sd_DO; 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() 155 uint8_t temp; in ahc_read_seeprom() local 172 temp ^= sd->sd_DO; in ahc_read_seeprom() 178 temp ^= sd->sd_DO; in ahc_read_seeprom() 226 uint8_t temp; in ahc_write_seeprom() local 254 temp ^= sd->sd_DO; in ahc_write_seeprom() [all …]
|
| /drivers/video/fbdev/sis/ |
| A D | init301.c | 652 if(index > temp) index = temp; in SiS_GetRatePtr() 1828 if(temp == 0) temp = 0x02; in SiS_GetLCDResInfo() 1842 if(temp < 0x0f) temp &= 0x07; in SiS_GetLCDResInfo() 1845 temp = SiS300SeriesLCDRes[temp]; in SiS_GetLCDResInfo() 5386 if(!temp) temp++; in SiS_SetCRT2FIFO_300() 5779 if(temp & 0x07) temp += 8; in SiS_SetGroup1_LVDS() 6054 temp = temp | ((tempecx >> 8) & 0x07); in SiS_SetGroup1_LVDS() 10289 temp = SiS310_TVAntiFlick1[temp][index]; in SetAntiFlicker() 10328 temp = SiS310_TVEdge1[temp][index]; in SetEdgeEnhance() 11110 temp = SiS300_OEMLCDDelay5[temp][index]; in SetOEMLCDDelay() [all …]
|
| /drivers/i2c/busses/ |
| A D | i2c-ali15x3.c | 124 unsigned char temp; in ali15x3_setup() local 139 temp &= ~ALI15X3_LOCK; in ali15x3_setup() 187 if ((temp & 1) == 0) { in ali15x3_setup() 194 if ((temp & 1) == 0) { in ali15x3_setup() 222 int temp; in ali15x3_transaction() local 232 temp = inb_p(SMBHSTSTS); in ali15x3_transaction() 275 temp); in ali15x3_transaction() 336 int temp; in ali15x3_access() local 342 temp = inb_p(SMBHSTSTS); in ali15x3_access() 414 if (temp) in ali15x3_access() [all …]
|
| A D | i2c-isch.c | 86 int temp; in sch_transaction() local 97 if (temp) { in sch_transaction() 99 if (temp & 0x01) in sch_transaction() 101 if (temp & 0x06) in sch_transaction() 105 if (temp) { in sch_transaction() 113 temp |= 0x10; in sch_transaction() 131 if (temp & 0x06) { in sch_transaction() 164 int i, len, temp, rc; in sch_access() local 168 if (temp & 0x08) { in sch_access() 173 if (!temp) { in sch_access() [all …]
|
| A D | i2c-ali1535.c | 131 unsigned char temp; in ali1535_setup() local 184 if ((temp & 1) == 0) { in ali1535_setup() 214 int temp; in ali1535_transaction() local 224 temp = inb_p(SMBHSTSTS); in ali1535_transaction() 250 temp); in ali1535_transaction() 252 temp = inb_p(SMBHSTSTS); in ali1535_transaction() 259 temp = inb_p(SMBHSTSTS); in ali1535_transaction() 283 temp = inb_p(SMBHSTSTS); in ali1535_transaction() 284 } while (((temp & ALI1535_STS_BUSY) && !(temp & ALI1535_STS_IDLE)) in ali1535_transaction() 342 int temp; in ali1535_access() local [all …]
|
| A D | i2c-imx.c | 381 unsigned int temp; in i2c_imx_clear_irq() local 540 unsigned int temp; in i2c_imx_bus_busy() local 714 temp |= I2CR_MSTA; in i2c_imx_start() 907 int temp; in i2c_imx_slave_init() local 919 temp |= I2CR_IIEN; in i2c_imx_slave_init() 1578 (temp & I2CR_IEN ? 1 : 0), (temp & I2CR_IIEN ? 1 : 0), in i2c_imx_xfer_common() 1579 (temp & I2CR_MSTA ? 1 : 0), (temp & I2CR_MTX ? 1 : 0), in i2c_imx_xfer_common() 1580 (temp & I2CR_TXAK ? 1 : 0), (temp & I2CR_RSTA ? 1 : 0)); in i2c_imx_xfer_common() 1585 (temp & I2SR_ICF ? 1 : 0), (temp & I2SR_IAAS ? 1 : 0), in i2c_imx_xfer_common() 1586 (temp & I2SR_IBB ? 1 : 0), (temp & I2SR_IAL ? 1 : 0), in i2c_imx_xfer_common() [all …]
|
| A D | i2c-imx-lpi2c.c | 205 unsigned int temp; in lpi2c_imx_bus_busy() local 255 unsigned int temp; in lpi2c_imx_start() local 351 temp = MCR_RST; in lpi2c_imx_master_enable() 360 temp |= MCR_MEN; in lpi2c_imx_master_enable() 374 u32 temp; in lpi2c_imx_master_disable() local 377 temp &= ~MCR_MEN; in lpi2c_imx_master_disable() 432 temp = 0; in lpi2c_imx_set_rx_watermark() 526 u32 temp; in lpi2c_imx_write_atomic() local 572 u32 temp; in lpi2c_imx_read_atomic() local 648 u16 temp; in lpi2c_imx_alloc_rx_cmd_buf() local [all …]
|
| /drivers/char/agp/ |
| A D | ali-agp.c | 24 u32 temp; in ali_fetch_size() local 28 temp &= ~(0xfffffff0); in ali_fetch_size() 45 u32 temp; in ali_tlbflush() local 48 temp &= 0xfffffff0; in ali_tlbflush() 56 u32 temp; in ali_cleanup() local 72 u32 temp; in ali_configure() local 79 temp = (((temp & 0x00000ff0) | (agp_bridge->gatt_bus_addr & 0xfffff000)) in ali_configure() 129 u32 temp; in m1541_cache_flush() local 136 &temp); in m1541_cache_flush() 147 u32 temp; in m1541_alloc_page() local [all …]
|
| /drivers/hwmon/peci/ |
| A D | cputemp.c | 65 } temp; member 100 priv->temp.target.tjmax = in update_temp_target() 105 priv->temp.target.tcontrol = priv->temp.target.tjmax - tcontrol_margin; in update_temp_target() 108 priv->temp.target.tthrottle = priv->temp.target.tjmax - tthrottle_offset; in update_temp_target() 136 *val = priv->temp.target.tjmax - priv->temp.target.tcontrol; in get_temp_target() 182 u16 temp; in get_die_temp() local 192 if (!dts_valid(temp)) { in get_die_temp() 201 priv->temp.die.value = (s32)tjmax + dts_ten_dot_six_to_millidegree(temp); in get_die_temp() 206 *val = priv->temp.die.value; in get_die_temp() 238 priv->temp.dts.value = in get_dts() [all …]
|
| /drivers/gpu/drm/gma500/ |
| A D | oaktrail_hdmi_i2c.c | 79 u32 temp; in hdmi_i2c_irq_enable() local 81 temp = HDMI_READ(HDMI_HICR); in hdmi_i2c_irq_enable() 83 HDMI_WRITE(HDMI_HICR, temp); in hdmi_i2c_irq_enable() 97 u32 temp; in xfer_read() local 179 u32 temp; in hdmi_i2c_read() local 190 temp = HDMI_READ(HDMI_HISR); in hdmi_i2c_read() 206 u32 temp; in hdmi_i2c_transaction_done() local 209 temp = HDMI_READ(HDMI_HISR); in hdmi_i2c_transaction_done() 255 u32 temp; in oaktrail_hdmi_i2c_gpio_fix() local 263 temp = readl(base + 0x44); in oaktrail_hdmi_i2c_gpio_fix() [all …]
|
| /drivers/hwmon/ |
| A D | adt7462.c | 802 temp = clamp_val(temp, -64000, 191000); in temp_min_store() 901 temp = DIV_ROUND_CLOSEST(temp, x); in volt_max_store() 941 temp = DIV_ROUND_CLOSEST(temp, x); in volt_min_store() 1025 temp = FAN_RPM_TO_PERIOD(temp); in fan_min_store() 1027 temp = clamp_val(temp, 1, 255); in fan_min_store() 1103 temp = clamp_val(temp, 0, 255); in pwm_store() 1131 temp = clamp_val(temp, 0, 255); in pwm_max_store() 1161 temp = clamp_val(temp, 0, 255); in pwm_min_store() 1193 temp = clamp_val(temp, 0, 15000); in pwm_hyst_store() 1194 temp = DIV_ROUND_CLOSEST(temp, 1000); in pwm_hyst_store() [all …]
|
| /drivers/gpio/ |
| A D | gpio-amd8111.c | 100 u8 temp; in amd_gpio_set() local 104 temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_set() 105 …temp = (temp & AMD_GPIO_DEBOUNCE) | AMD_GPIO_MODE_OUT | (value ? AMD_GPIO_X_OUT_HI : AMD_GPIO_X_OU… in amd_gpio_set() 106 iowrite8(temp, agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_set() 117 u8 temp; in amd_gpio_get() local 119 temp = ioread8(agp->pm + AMD_REG_GPIO(offset)); in amd_gpio_get() 123 return (temp & AMD_GPIO_RTIN) ? 1 : 0; in amd_gpio_get() 129 u8 temp; in amd_gpio_dirout() local 134 …temp = (temp & AMD_GPIO_DEBOUNCE) | AMD_GPIO_MODE_OUT | (value ? AMD_GPIO_X_OUT_HI : AMD_GPIO_X_OU… in amd_gpio_dirout() 146 u8 temp; in amd_gpio_dirin() local [all …]
|
| /drivers/media/pci/cx23885/ |
| A D | cx23885-f300.c | 77 u8 i, temp, ret = 0; in f300_xfer() local 79 temp = buf[0]; in f300_xfer() 81 temp += buf[i + 1]; in f300_xfer() 82 temp = (~temp + 1);/* get check sum */ in f300_xfer() 83 buf[1 + buf[0]] = temp; in f300_xfer() 98 temp = buf[0]; in f300_xfer() 99 temp += 2; in f300_xfer() 107 temp = 0; in f300_xfer() 111 temp = 1; in f300_xfer() 124 if (temp > 14) in f300_xfer() [all …]
|