/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_fdi.c | 287 u32 temp; in cpt_set_fdi_bc_bifurcation() local 289 temp = intel_de_read(dev_priv, SOUTH_CHICKEN1); in cpt_set_fdi_bc_bifurcation() 290 if (!!(temp & FDI_BC_BIFURCATION_SELECT) == enable) in cpt_set_fdi_bc_bifurcation() 300 temp &= ~FDI_BC_BIFURCATION_SELECT; in cpt_set_fdi_bc_bifurcation() 302 temp |= FDI_BC_BIFURCATION_SELECT; in cpt_set_fdi_bc_bifurcation() 306 intel_de_write(dev_priv, SOUTH_CHICKEN1, temp); in cpt_set_fdi_bc_bifurcation() 340 u32 temp; in intel_fdi_normal_train() local 344 temp = intel_de_read(dev_priv, reg); in intel_fdi_normal_train() 346 temp &= ~FDI_LINK_TRAIN_NONE_IVB; in intel_fdi_normal_train() 347 temp | in intel_fdi_normal_train() 382 u32 temp, tries; ilk_fdi_link_train() local 484 u32 temp, i, retry; gen6_fdi_link_train() local 620 u32 temp, i, j; ivb_manual_fdi_link_train() local 754 u32 temp, i, rx_ctl_val; hsw_fdi_link_train() local 897 u32 temp; ilk_fdi_pll_enable() local 951 u32 temp; ilk_fdi_disable() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | ohci-dbg.c | 13 #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, ®s->revision) & 0xff; in ohci_dump_status() 109 0x03 & (temp >> 4), (temp in ohci_dump_status() 197 u32 temp, i; ohci_dump_roothub() local 402 unsigned temp, size = count; show_list() local 468 size_t temp, size; fill_async_buffer() local 491 unsigned temp, size, seen_count; fill_periodic_buffer() local 587 unsigned temp, size; fill_registers_buffer() local [all...] |
H A D | ehci-dbg.c | 377 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() 475 unsigned temp, size; fill_async_buffer() local 515 unsigned temp, size; fill_bandwidth_buffer() local 599 unsigned temp = 0; output_buf_tds_dir() local 627 unsigned temp, size, seen_count; fill_periodic_buffer() local 760 unsigned temp, size, i; fill_registers_buffer() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | ohci-dbg.c | 13 #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, ®s->revision) & 0xff; in ohci_dump_status() 109 0x03 & (temp >> 4), (temp in ohci_dump_status() 197 u32 temp, i; ohci_dump_roothub() local 402 unsigned temp, size = count; show_list() local 468 size_t temp, size; fill_async_buffer() local 491 unsigned temp, size, seen_count; fill_periodic_buffer() local 587 unsigned temp, size; fill_registers_buffer() local [all...] |
H A D | ehci-dbg.c | 377 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() 475 unsigned temp, size; fill_async_buffer() local 515 unsigned temp, size; fill_bandwidth_buffer() local 599 unsigned temp = 0; output_buf_tds_dir() local 627 unsigned temp, size, seen_count; fill_periodic_buffer() local 760 unsigned temp, size, i; fill_registers_buffer() local [all...] |
H A D | ehci-hub.c | 150 u32 temp; in ehci_adjust_port_wakeup_flags() local 168 temp = ehci_readl(ehci, hostpc_reg); in ehci_adjust_port_wakeup_flags() 169 ehci_writel(ehci, temp & ~HOSTPC_PHCD, hostpc_reg); in ehci_adjust_port_wakeup_flags() 200 temp = ehci_readl(ehci, hostpc_reg); in ehci_adjust_port_wakeup_flags() 201 ehci_writel(ehci, temp | HOSTPC_PHCD, hostpc_reg); in ehci_adjust_port_wakeup_flags() 379 u32 temp; in ehci_bus_resume() local 429 temp = ehci_readl(ehci, &ehci->regs->port_status[i]); in ehci_bus_resume() 430 if ((temp & PORT_PE) && in ehci_bus_resume() 431 !(temp & (PORT_SUSPEND | PORT_RESUME))) { in ehci_bus_resume() 432 ehci_dbg(ehci, "Port status(0x%x) is wrong\n", temp); in ehci_bus_resume() 621 u32 temp, status; ehci_hub_status_data() local 703 u16 temp; ehci_hub_descriptor() local 743 u32 temp, temp1, status; ehci_hub_control() local 1211 u32 temp = ehci_readl(ehci, status_reg) & ~PORT_RWC_BITS; ehci_port_power() local [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/ |
H A D | cx231xx-417.c | 355 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 in mc417_register_write() 414 u32 temp; mc417_register_read() local 489 u32 temp; mc417_memory_write() local 551 u32 temp = 0; mc417_memory_read() local 849 u32 temp = 0; mci_write_memory_to_gpio() local [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/cx231xx/ |
H A D | cx231xx-417.c | 355 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 in mc417_register_write() 414 u32 temp; mc417_register_read() local 489 u32 temp; mc417_memory_write() local 551 u32 temp = 0; mc417_memory_read() local 849 u32 temp = 0; mci_write_memory_to_gpio() local [all...] |
/kernel/linux/linux-5.10/fs/jffs2/ |
H A D | summary.c | 118 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 160 struct jffs2_sum_xattr_mem *temp; jffs2_sum_add_xattr_mem() local 178 struct jffs2_sum_xref_mem *temp; jffs2_sum_add_xref_mem() local 195 union jffs2_sum_mem *temp; jffs2_sum_clean_collected() local 265 struct jffs2_sum_inode_mem *temp = jffs2_sum_add_kvec() local 282 struct jffs2_sum_dirent_mem *temp = jffs2_sum_add_kvec() local 316 struct jffs2_sum_xattr_mem *temp; jffs2_sum_add_kvec() local 331 struct jffs2_sum_xref_mem *temp; jffs2_sum_add_kvec() local 678 union jffs2_sum_mem *temp; jffs2_sum_write_data() local [all...] |
/kernel/linux/linux-6.6/fs/jffs2/ |
H A D | summary.c | 118 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 160 struct jffs2_sum_xattr_mem *temp; jffs2_sum_add_xattr_mem() local 178 struct jffs2_sum_xref_mem *temp; jffs2_sum_add_xref_mem() local 195 union jffs2_sum_mem *temp; jffs2_sum_clean_collected() local 265 struct jffs2_sum_inode_mem *temp = jffs2_sum_add_kvec() local 282 struct jffs2_sum_dirent_mem *temp = jffs2_sum_add_kvec() local 316 struct jffs2_sum_xattr_mem *temp; jffs2_sum_add_kvec() local 331 struct jffs2_sum_xref_mem *temp; jffs2_sum_add_kvec() local 678 union jffs2_sum_mem *temp; jffs2_sum_write_data() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/bdc/ |
H 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() 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 in bdc_dbg_regs() 36 u32 temp; bdc_dump_epsts() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/bdc/ |
H 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() 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 in bdc_dbg_regs() 36 u32 temp; bdc_dump_epsts() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_93cx6.c | 107 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() 155 uint8_t temp; ahc_read_seeprom() local 226 uint8_t temp; ahc_write_seeprom() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_93cx6.c | 107 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() 155 uint8_t temp; ahc_read_seeprom() local 226 uint8_t temp; ahc_write_seeprom() local [all...] |
/kernel/linux/linux-5.10/drivers/thermal/ |
H A D | thermal_hwmon.c | 55 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() 135 struct thermal_hwmon_temp *temp; thermal_add_hwmon_sysfs() local 219 struct thermal_hwmon_temp *temp; thermal_remove_hwmon_sysfs() local [all...] |
/kernel/linux/linux-6.6/drivers/thermal/ |
H A D | thermal_hwmon.c | 56 struct thermal_hwmon_temp *temp in temp_input_show() local 59 struct thermal_zone_device *tz = temp->tz; in temp_input_show() 74 struct thermal_hwmon_temp *temp in temp_crit_show() local 77 struct thermal_zone_device *tz = temp->tz; in temp_crit_show() 122 struct thermal_hwmon_temp *temp; in thermal_hwmon_lookup_temp() local 125 list_for_each_entry(temp, &hwmon->tz_list, hwmon_node) in thermal_hwmon_lookup_temp() 126 if (temp->tz == tz) { in thermal_hwmon_lookup_temp() 128 return temp; in thermal_hwmon_lookup_temp() 137 int temp; in thermal_zone_crit_temp_valid() local 138 return tz->ops->get_crit_temp && !tz->ops->get_crit_temp(tz, &temp); in thermal_zone_crit_temp_valid() 144 struct thermal_hwmon_temp *temp; thermal_add_hwmon_sysfs() local 227 struct thermal_hwmon_temp *temp; thermal_remove_hwmon_sysfs() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/dsi/phy/ |
H A D | dsi_phy.c | 32 s32 temp; in dsi_dphy_timing_calc_clk_zero() local 35 temp = 300 * coeff - ((timing->clk_prepare >> 1) + 1) * 2 * ui; in dsi_dphy_timing_calc_clk_zero() 36 tmin = S_DIV_ROUND_UP(temp, ui) - 2; in dsi_dphy_timing_calc_clk_zero() 46 temp = (timing->hs_rqst + timing->clk_prepare + clk_z) & 0x7; in dsi_dphy_timing_calc_clk_zero() 47 timing->clk_zero = clk_z + 8 - temp; in dsi_dphy_timing_calc_clk_zero() 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() 76 timing->hs_rqst = temp; in msm_dsi_dphy_timing_calc() 78 timing->hs_rqst = max_t(s32, 0, temp in msm_dsi_dphy_timing_calc() 161 s32 temp; msm_dsi_dphy_timing_calc_v2() local 276 s32 temp; msm_dsi_dphy_timing_calc_v3() local 387 s32 temp; msm_dsi_dphy_timing_calc_v4() local 477 s32 temp; msm_dsi_cphy_timing_calc_v4() local [all...] |
/kernel/linux/linux-5.10/lib/xz/ |
H A D | xz_dec_stream.c | 129 } 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 in fill_temp() [all...] |
/kernel/linux/linux-6.6/lib/xz/ |
H A D | xz_dec_stream.c | 129 } 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 in fill_temp() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/phy/ |
H A D | dsi_phy.c | 30 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 in msm_dsi_dphy_timing_calc() 159 s32 temp; msm_dsi_dphy_timing_calc_v2() local 274 s32 temp; msm_dsi_dphy_timing_calc_v3() local 383 s32 temp; msm_dsi_dphy_timing_calc_v4() local [all...] |
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-ali15x3.c | 124 unsigned char temp; in ali15x3_setup() local 137 pci_read_config_byte(ALI15X3_dev, SMBATPC, &temp); in ali15x3_setup() 138 if (temp & ALI15X3_LOCK) { in ali15x3_setup() 139 temp &= ~ALI15X3_LOCK; in ali15x3_setup() 140 pci_write_config_byte(ALI15X3_dev, SMBATPC, temp); in ali15x3_setup() 185 pci_read_config_byte(ALI15X3_dev, SMBCOM, &temp); in ali15x3_setup() 186 if ((temp & 1) == 0) { in ali15x3_setup() 188 pci_write_config_byte(ALI15X3_dev, SMBCOM, temp | 0x01); in ali15x3_setup() 192 pci_read_config_byte(ALI15X3_dev, SMBHSTCFG, &temp); in ali15x3_setup() 193 if ((temp in ali15x3_setup() 221 int temp; ali15x3_transaction() local 337 int temp; ali15x3_access() local [all...] |
H A D | i2c-imx-lpi2c.c | 120 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 in lpi2c_imx_start() 182 unsigned int temp; lpi2c_imx_stop() local 206 unsigned int temp; lpi2c_imx_config() local 259 unsigned int temp; lpi2c_imx_master_enable() local 289 u32 temp; lpi2c_imx_master_disable() local 341 unsigned int temp, remaining; lpi2c_imx_set_rx_watermark() local 377 unsigned int temp, data; lpi2c_imx_read_rxfifo() local 432 unsigned int temp; lpi2c_imx_read() local 449 unsigned int temp; lpi2c_imx_xfer() local 508 unsigned int temp; lpi2c_imx_isr() local 548 unsigned int temp; lpi2c_imx_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-ali15x3.c | 124 unsigned char temp; in ali15x3_setup() local 137 pci_read_config_byte(ALI15X3_dev, SMBATPC, &temp); in ali15x3_setup() 138 if (temp & ALI15X3_LOCK) { in ali15x3_setup() 139 temp &= ~ALI15X3_LOCK; in ali15x3_setup() 140 pci_write_config_byte(ALI15X3_dev, SMBATPC, temp); in ali15x3_setup() 186 pci_read_config_byte(ALI15X3_dev, SMBCOM, &temp); in ali15x3_setup() 187 if ((temp & 1) == 0) { in ali15x3_setup() 189 pci_write_config_byte(ALI15X3_dev, SMBCOM, temp | 0x01); in ali15x3_setup() 193 pci_read_config_byte(ALI15X3_dev, SMBHSTCFG, &temp); in ali15x3_setup() 194 if ((temp in ali15x3_setup() 222 int temp; ali15x3_transaction() local 338 int temp; ali15x3_access() local [all...] |
H A D | i2c-imx-lpi2c.c | 120 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 in lpi2c_imx_start() 182 unsigned int temp; lpi2c_imx_stop() local 206 unsigned int temp; lpi2c_imx_config() local 262 unsigned int temp; lpi2c_imx_master_enable() local 292 u32 temp; lpi2c_imx_master_disable() local 344 unsigned int temp, remaining; lpi2c_imx_set_rx_watermark() local 380 unsigned int temp, data; lpi2c_imx_read_rxfifo() local 435 unsigned int temp; lpi2c_imx_read() local 452 unsigned int temp; lpi2c_imx_xfer() local 511 unsigned int temp; lpi2c_imx_isr() local 549 unsigned int temp; lpi2c_imx_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | adt7470.c | 151 s8 temp[ADT7470_TEMP_COUNT]; member 221 /* Delay is 200ms * number of temp sensors. */ in adt7470_read_temperatures() 245 data->temp[i] = i2c_smbus_read_byte_data(client, in adt7470_read_temperatures() 247 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; num_temp_sensors_store() local 464 long temp; temp_min_store() local 496 long temp; temp_max_store() local 571 long temp; fan_max_store() local 607 long temp; fan_min_store() local 649 long temp; force_pwm_max_store() local 682 long temp; pwm_store() local 776 long temp; pwm_max_store() local 807 long temp; pwm_min_store() local 847 long temp; pwm_tmin_store() local 881 long temp; pwm_auto_store() local 939 long temp; pwm_auto_temp_store() local [all...] |