/drivers/video/fbdev/matrox/ |
D | matroxfb_misc.c | 543 minfo->values.pll.system = get_unaligned_le16(bd->pins + 28) ? in parse_pins1() 547 minfo->values.reg.mctlwtst = 0x00030101; in parse_pins1() 555 minfo->values.pll.system = 50000; in default_pins1() 557 minfo->values.reg.mctlwtst = 0x00030101; in default_pins1() 565 minfo->values.reg.mctlwtst = ((bd->pins[51] & 0x01) ? 0x00000001 : 0) | in parse_pins2() 569 minfo->values.pll.system = (bd->pins[43] == 0xFF) ? 50000 : ((bd->pins[43] + 100) * 1000); in parse_pins2() 579 minfo->values.reg.mctlwtst = 0x00030101; in default_pins2() 580 minfo->values.pll.system = 50000; in default_pins2() 589 minfo->values.reg.mctlwtst = get_unaligned_le32(bd->pins + 48) == 0xFFFFFFFF ? in parse_pins3() 592 minfo->values.reg.memrdbk = ((bd->pins[57] << 21) & 0x1E000000) | in parse_pins3() [all …]
|
D | matroxfb_DAC1064.c | 720 pci_write_config_dword(minfo->pcidev, PCI_OPTION3_REG, minfo->values.reg.opt3 & ~0x00300C03); in g450_mclk_init() 723 if (((minfo->values.reg.opt3 & 0x000003) == 0x000003) || in g450_mclk_init() 724 ((minfo->values.reg.opt3 & 0x000C00) == 0x000C00) || in g450_mclk_init() 725 ((minfo->values.reg.opt3 & 0x300000) == 0x300000)) { in g450_mclk_init() 726 matroxfb_g450_setclk(minfo, minfo->values.pll.video, M_VIDEO_PLL); in g450_mclk_init() 736 matroxfb_g450_setclk(minfo, minfo->values.pll.system, M_SYSTEM_PLL); in g450_mclk_init() 740 pci_write_config_dword(minfo->pcidev, PCI_OPTION3_REG, minfo->values.reg.opt3); in g450_mclk_init() 753 minfo->hw.MXoptionReg |= 0x00207E00 & minfo->values.reg.opt; in g450_memory_init() 755 pci_write_config_dword(minfo->pcidev, PCI_OPTION2_REG, minfo->values.reg.opt2); in g450_memory_init() 757 mga_outl(M_CTLWTST, minfo->values.reg.mctlwtst); in g450_memory_init() [all …]
|
/drivers/char/ |
D | tb0219.c | 102 uint16_t values; in get_gpio_input_pin() local 104 values = tb0219_read(TB0219_GPIO_INPUT); in get_gpio_input_pin() 105 if (values & (1 << pin)) in get_gpio_input_pin() 113 uint16_t values; in get_gpio_output_pin() local 115 values = tb0219_read(TB0219_GPIO_OUTPUT); in get_gpio_output_pin() 116 if (values & (1 << pin)) in get_gpio_output_pin() 124 uint16_t values; in get_dip_switch() local 126 values = tb0219_read(TB0219_DIP_SWITCH); in get_dip_switch() 127 if (values & (1 << pin)) in get_dip_switch()
|
/drivers/media/usb/dvb-usb/ |
D | af9005.c | 58 int readwrite, int type, u8 * values, int len) in af9005_generic_read_write() argument 99 obuf[8 + i] = values[i]; in af9005_generic_read_write() 102 obuf[8] = values[0]; in af9005_generic_read_write() 141 values[i] = ibuf[8 + i]; in af9005_generic_read_write() 162 u8 * values, int len) in af9005_read_ofdm_registers() argument 168 values, len); in af9005_read_ofdm_registers() 172 debug_dump(values, len, deb_reg); in af9005_read_ofdm_registers() 192 u8 * values, int len) in af9005_write_ofdm_registers() argument 196 debug_dump(values, len, deb_reg); in af9005_write_ofdm_registers() 200 values, len); in af9005_write_ofdm_registers() [all …]
|
/drivers/net/bonding/ |
D | bond_options.c | 195 .values = bond_mode_tbl, 203 .values = bond_pps_tbl, 210 .values = bond_xmit_hashtype_tbl, 219 .values = bond_arp_validate_tbl, 226 .values = bond_arp_all_targets_tbl, 234 .values = bond_fail_over_mac_tbl, 243 .values = bond_intmax_tbl, 257 .values = bond_intmax_tbl, 264 .values = bond_intmax_tbl, 273 .values = bond_lacp_rate_tbl, [all …]
|
/drivers/gpu/drm/ |
D | drm_dp_helper.c | 490 u8 values[3]; in drm_dp_link_probe() local 495 err = drm_dp_dpcd_read(aux, DP_DPCD_REV, values, sizeof(values)); in drm_dp_link_probe() 499 link->revision = values[0]; in drm_dp_link_probe() 500 link->rate = drm_dp_bw_code_to_link_rate(values[1]); in drm_dp_link_probe() 501 link->num_lanes = values[2] & DP_MAX_LANE_COUNT_MASK; in drm_dp_link_probe() 503 if (values[2] & DP_ENHANCED_FRAME_CAP) in drm_dp_link_probe() 557 u8 values[2]; in drm_dp_link_configure() local 560 values[0] = drm_dp_link_rate_to_bw_code(link->rate); in drm_dp_link_configure() 561 values[1] = link->num_lanes; in drm_dp_link_configure() 564 values[1] |= DP_LANE_COUNT_ENHANCED_FRAME_EN; in drm_dp_link_configure() [all …]
|
/drivers/i2c/muxes/ |
D | i2c-mux-gpio.c | 67 unsigned *values, *gpios; in i2c_mux_gpio_probe_dt() local 88 values = devm_kzalloc(&pdev->dev, in i2c_mux_gpio_probe_dt() 89 sizeof(*mux->data.values) * mux->data.n_values, in i2c_mux_gpio_probe_dt() 91 if (!values) { in i2c_mux_gpio_probe_dt() 97 of_property_read_u32(child, "reg", values + i); in i2c_mux_gpio_probe_dt() 100 mux->data.values = values; in i2c_mux_gpio_probe_dt() 202 initial_state = mux->data.values[0]; in i2c_mux_gpio_probe() 230 mux->data.values[i], class, in i2c_mux_gpio_probe()
|
/drivers/char/agp/ |
D | via-agp.c | 27 struct aper_size_info_8 *values; in via_fetch_size() local 29 values = A_SIZE_8(agp_bridge->driver->aperture_sizes); in via_fetch_size() 32 if (temp == values[i].size_value) { in via_fetch_size() 34 agp_bridge->current_size = (void *) (values + i); in via_fetch_size() 36 return values[i].size; in via_fetch_size() 109 struct aper_size_info_16 *values; in via_fetch_size_agp3() local 111 values = A_SIZE_16(agp_bridge->driver->aperture_sizes); in via_fetch_size_agp3() 116 if (temp == values[i].size_value) { in via_fetch_size_agp3() 118 agp_bridge->current_size = (void *) (values + i); in via_fetch_size_agp3() 120 return values[i].size; in via_fetch_size_agp3()
|
D | i460-agp.c | 108 struct aper_size_info_8 *values; in i460_fetch_size() local 124 values = A_SIZE_8(agp_bridge->driver->aperture_sizes); in i460_fetch_size() 153 values[i].num_entries = (values[i].size << 8) >> (I460_IO_PAGE_SHIFT - 12); in i460_fetch_size() 154 values[i].page_order = ilog2((sizeof(u32)*values[i].num_entries) >> PAGE_SHIFT); in i460_fetch_size() 159 if ((temp & I460_AGPSIZ_MASK) == values[i].size_value) { in i460_fetch_size() 160 agp_bridge->previous_size = agp_bridge->current_size = (void *) (values + i); in i460_fetch_size() 162 return values[i].size; in i460_fetch_size()
|
D | sis-agp.c | 27 struct aper_size_info_8 *values; in sis_fetch_size() local 30 values = A_SIZE_8(agp_bridge->driver->aperture_sizes); in sis_fetch_size() 32 if ((temp_size == values[i].size_value) || in sis_fetch_size() 34 (values[i].size_value & ~(0x07)))) { in sis_fetch_size() 36 agp_bridge->current_size = (void *) (values + i); in sis_fetch_size() 39 return values[i].size; in sis_fetch_size()
|
D | intel-agp.c | 21 struct aper_size_info_16 *values; in intel_fetch_size() local 24 values = A_SIZE_16(agp_bridge->driver->aperture_sizes); in intel_fetch_size() 27 if (temp == values[i].size_value) { in intel_fetch_size() 28 agp_bridge->previous_size = agp_bridge->current_size = (void *) (values + i); in intel_fetch_size() 30 return values[i].size; in intel_fetch_size() 40 struct aper_size_info_8 *values; in __intel_8xx_fetch_size() local 42 values = A_SIZE_8(agp_bridge->driver->aperture_sizes); in __intel_8xx_fetch_size() 45 if (temp == values[i].size_value) { in __intel_8xx_fetch_size() 47 agp_bridge->current_size = (void *) (values + i); in __intel_8xx_fetch_size() 49 return values[i].size; in __intel_8xx_fetch_size()
|
D | ali-agp.c | 25 struct aper_size_info_32 *values; in ali_fetch_size() local 29 values = A_SIZE_32(agp_bridge->driver->aperture_sizes); in ali_fetch_size() 32 if (temp == values[i].size_value) { in ali_fetch_size() 34 agp_bridge->current_size = (void *) (values + i); in ali_fetch_size() 36 return values[i].size; in ali_fetch_size()
|
/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_string.h | 87 int max, __u32 **values); 89 cfs_expr_list_values_free(__u32 *values, int num) in cfs_expr_list_values_free() argument 94 LIBCFS_FREE(values, num * sizeof(values[0])); in cfs_expr_list_values_free()
|
/drivers/input/touchscreen/ |
D | cyttsp_i2c_common.c | 37 u16 addr, u8 length, void *values) in cyttsp_i2c_read_block_data() argument 53 .buf = values, in cyttsp_i2c_read_block_data() 67 u16 addr, u8 length, const void *values) in cyttsp_i2c_write_block_data() argument 83 memcpy(&xfer_buf[1], values, length); in cyttsp_i2c_write_block_data()
|
D | cyttsp_core.h | 116 const void *values); 118 void *values); 149 u8 length, const void *values); 151 u8 length, void *values);
|
/drivers/net/wireless/zd1211rw/ |
D | zd_chip.c | 105 int zd_ioread32v_locked(struct zd_chip *chip, u32 *values, const zd_addr_t *addr, in zd_ioread32v_locked() argument 138 values[i] = (v16[j] << 16) | v16[j+1]; in zd_ioread32v_locked() 309 u32 *values, unsigned int count) in zd_ioread32v() argument 314 r = zd_ioread32v_locked(chip, values, addresses, count); in zd_ioread32v() 441 static int read_values(struct zd_chip *chip, u8 *values, size_t count, in read_values() argument 456 values[i++] = v; in read_values() 457 values[i++] = v >> 8; in read_values() 458 values[i++] = v >> 16; in read_values() 459 values[i++] = v >> 24; in read_values() 463 values[i] = v >> (8*(i%3)); in read_values() [all …]
|
/drivers/of/ |
D | of_pci.c | 78 const __be32 *values; in of_pci_parse_bus_range() local 81 values = of_get_property(node, "bus-range", &len); in of_pci_parse_bus_range() 82 if (!values || len < sizeof(*values) * 2) in of_pci_parse_bus_range() 86 res->start = be32_to_cpup(values++); in of_pci_parse_bus_range() 87 res->end = be32_to_cpup(values); in of_pci_parse_bus_range()
|
/drivers/mfd/ |
D | stmpe-i2c.c | 34 static int i2c_block_read(struct stmpe *stmpe, u8 reg, u8 length, u8 *values) in i2c_block_read() argument 38 return i2c_smbus_read_i2c_block_data(i2c, reg, length, values); in i2c_block_read() 42 const u8 *values) in i2c_block_write() argument 46 return i2c_smbus_write_i2c_block_data(i2c, reg, length, values); in i2c_block_write()
|
D | stmpe-spi.c | 35 static int spi_block_read(struct stmpe *stmpe, u8 reg, u8 length, u8 *values) in spi_block_read() argument 43 *(values + i) = ret; in spi_block_read() 50 const u8 *values) in spi_block_write() argument 55 ret = spi_reg_write(stmpe, reg, *(values + i - 1)); in spi_block_write()
|
/drivers/rtc/ |
D | rtc-ds1307.c | 119 u8 length, u8 *values); 121 u8 length, const u8 *values); 191 u8 command, u8 length, u8 *values) in ds1307_read_block_data_once() argument 199 values[i] = data; in ds1307_read_block_data_once() 205 u8 length, u8 *values) in ds1307_read_block_data() argument 212 ret = ds1307_read_block_data_once(client, command, length, values); in ds1307_read_block_data() 221 memcpy(oldvalues, values, length); in ds1307_read_block_data() 223 values); in ds1307_read_block_data() 226 } while (memcmp(oldvalues, values, length)); in ds1307_read_block_data() 231 u8 length, const u8 *values) in ds1307_write_block_data() argument [all …]
|
D | rtc-rx8581.c | 59 u8 length, u8 *values); 61 u8 length, const u8 *values); 67 u8 length, u8 *values) in rx8581_read_block_data() argument 75 values[i] = data; in rx8581_read_block_data() 81 u8 length, const u8 *values) in rx8581_write_block_data() argument 87 values[i]); in rx8581_write_block_data()
|
/drivers/soc/tegra/ |
D | pmc.c | 611 u32 value, values[2]; in tegra_pmc_parse_dt() local 647 values, ARRAY_SIZE(values))) in tegra_pmc_parse_dt() 650 pmc->core_osc_time = values[0]; in tegra_pmc_parse_dt() 651 pmc->core_pmu_time = values[1]; in tegra_pmc_parse_dt() 670 if (of_property_read_u32_array(np, "nvidia,lp0-vec", values, in tegra_pmc_parse_dt() 671 ARRAY_SIZE(values))) in tegra_pmc_parse_dt() 675 pmc->lp0_vec_phys = values[0]; in tegra_pmc_parse_dt() 676 pmc->lp0_vec_size = values[1]; in tegra_pmc_parse_dt()
|
/drivers/ata/ |
D | ahci_imx.c | 375 const struct reg_value *values; member 458 .values = gpr13_tx_level, 463 .values = gpr13_tx_boost, 468 .values = gpr13_tx_atten, 473 .values = gpr13_rx_eq, 509 if (prop->values[j].of_value == of_val) { in imx_ahci_parse_props() 511 prop->name, of_val, prop->values[j].reg_value); in imx_ahci_parse_props() 512 reg_value |= prop->values[j].reg_value; in imx_ahci_parse_props()
|
/drivers/input/mouse/ |
D | cyapa.c | 320 u8 *values) in cyapa_i2c_reg_read_block() argument 322 return i2c_smbus_read_i2c_block_data(cyapa->client, reg, len, values); in cyapa_i2c_reg_read_block() 326 size_t len, const u8 *values) in cyapa_i2c_reg_write_block() argument 328 return i2c_smbus_write_i2c_block_data(cyapa->client, reg, len, values); in cyapa_i2c_reg_write_block() 345 u8 *values) in cyapa_smbus_read_block() argument 359 ret = i2c_smbus_read_block_data(client, smbus_cmd, values); in cyapa_smbus_read_block() 367 buf = values + I2C_SMBUS_BLOCK_MAX * index; in cyapa_smbus_read_block() 403 static ssize_t cyapa_read_block(struct cyapa *cyapa, u8 cmd_idx, u8 *values) in cyapa_read_block() argument 411 return cyapa_smbus_read_block(cyapa, cmd, len, values); in cyapa_read_block() 415 return cyapa_i2c_reg_read_block(cyapa, cmd, len, values); in cyapa_read_block()
|
/drivers/video/backlight/ |
D | ili9320.c | 62 const struct ili9320_reg *values, in ili9320_write_regs() argument 68 for (index = 0; index < nr_values; index++, values++) { in ili9320_write_regs() 69 ret = ili9320_write(ili, values->address, values->value); in ili9320_write_regs()
|