/linux-2.6.39/drivers/usb/host/ |
D | ohci-pnx4008.c | 137 static void i2c_write(u8 buf, u8 subaddr) in i2c_write() function 152 i2c_write(MC1_DAT_SE0 | MC1_SPEED_REG, ISP1301_I2C_MODE_CONTROL_1); in isp1301_configure() 153 i2c_write(~(MC1_DAT_SE0 | MC1_SPEED_REG), in isp1301_configure() 155 i2c_write(MC2_BI_DI | MC2_PSW_EN | MC2_SPD_SUSP_CTRL, in isp1301_configure() 157 i2c_write(~(MC2_BI_DI | MC2_PSW_EN | MC2_SPD_SUSP_CTRL), in isp1301_configure() 159 i2c_write(OTG1_DM_PULLDOWN | OTG1_DP_PULLDOWN, in isp1301_configure() 161 i2c_write(~(OTG1_DM_PULLDOWN | OTG1_DP_PULLDOWN), in isp1301_configure() 163 i2c_write(0xFF, in isp1301_configure() 165 i2c_write(0xFF, in isp1301_configure() 167 i2c_write(0xFF, in isp1301_configure() [all …]
|
/linux-2.6.39/drivers/media/video/gspca/ |
D | vc032x.c | 3322 static void i2c_write(struct gspca_dev *gspca_dev, in i2c_write() function 3379 i2c_write(gspca_dev, data[i][1], &data[i][2], 1); in usb_exchange() 3382 i2c_write(gspca_dev, data[i][0], &data[i][1], 2); in usb_exchange() 3548 i2c_write(gspca_dev, 0x98, &data, 1); in setbrightness() 3557 i2c_write(gspca_dev, 0x99, &sd->contrast, 1); in setcontrast() 3568 i2c_write(gspca_dev, 0x94, &data, 1); in setcolors() 3569 i2c_write(gspca_dev, 0x95, &sd->colors, 1); in setcolors() 3588 i2c_write(gspca_dev, 0xf0, data, 2); in sethvflip() 3592 i2c_write(gspca_dev, 0x20, data, 2); in sethvflip() 3599 i2c_write(gspca_dev, OV7660_REG_MVFP, data, 1); in sethvflip() [all …]
|
D | sq930x.c | 519 static void i2c_write(struct sd *sd, in i2c_write() function 1014 i2c_write(sd, mi0360_init_23, in sd_start() 1016 i2c_write(sd, mi0360_init_24, in sd_start() 1018 i2c_write(sd, mi0360_init_25, in sd_start() 1023 i2c_write(sd, mi0360_start_2, in sd_start() 1025 i2c_write(sd, mi0360_start_3, in sd_start() 1033 i2c_write(sd, in sd_start() 1041 i2c_write(sd, mt9v111_init_0, in sd_start() 1043 i2c_write(sd, mt9v111_init_1, in sd_start() 1045 i2c_write(sd, mt9v111_init_2, in sd_start() [all …]
|
D | zc3xx.c | 5765 static u8 i2c_write(struct gspca_dev *gspca_dev, in i2c_write() function 5799 i2c_write(gspca_dev, in usb_exchange() 5805 i2c_write(gspca_dev, in usb_exchange() 5961 i2c_write(gspca_dev, 0x25, val >> 9, 0x00); in setexposure() 5962 i2c_write(gspca_dev, 0x26, val >> 1, 0x00); in setexposure() 5963 i2c_write(gspca_dev, 0x27, val << 7, 0x00); in setexposure() 6192 i2c_write(gspca_dev, 0x01, 0xaa, 0x00); in vga_2wr_probe() 6198 i2c_write(gspca_dev, 0x01, 0xaa, 0x00); in vga_2wr_probe() 6205 i2c_write(gspca_dev, 0x11, 0xaa, 0x00); in vga_2wr_probe() 6214 i2c_write(gspca_dev, 0x1c, 0x00, 0x00); in vga_2wr_probe() [all …]
|
D | spca561.c | 358 static void i2c_write(struct gspca_dev *gspca_dev, __u16 value, __u16 reg) in i2c_write() function 409 i2c_write(gspca_dev, (*sensor)[1], (*sensor)[0]); in write_sensor_72a() 760 i2c_write(gspca_dev, gainG, 0x35); in do_autogain() 766 i2c_write(gspca_dev, expotimes | pixelclk, 0x09); in do_autogain()
|
/linux-2.6.39/sound/pci/ctxfi/ |
D | cthw20k1.c | 1385 static void i2c_write(struct hw *hw, u32 device, u32 addr, u32 data) in i2c_write() function 1423 i2c_write(hw, 0x00180080, 0x01, 0x80); in hw_reset_dac() 1424 i2c_write(hw, 0x00180080, 0x02, 0x10); in hw_reset_dac() 1476 i2c_write(hw, 0x00180080, 0x06, data); in hw_dac_init() 1477 i2c_write(hw, 0x00180080, 0x09, data); in hw_dac_init() 1478 i2c_write(hw, 0x00180080, 0x0c, data); in hw_dac_init() 1479 i2c_write(hw, 0x00180080, 0x0f, data); in hw_dac_init() 1627 i2c_write(hw, 0x001a0080, 0x2a, i2c_data); in adc_input_select_SBx() 1629 i2c_write(hw, 0x001a0080, 0x1c, 0xe7); /* +12dB boost */ in adc_input_select_SBx() 1630 i2c_write(hw, 0x001a0080, 0x1e, 0xe7); /* +12dB boost */ in adc_input_select_SBx() [all …]
|
/linux-2.6.39/drivers/staging/cxd2099/ |
D | cxd2099.c | 77 static int i2c_write(struct i2c_adapter *adapter, u8 adr, in i2c_write() function 142 status = i2c_write(ci->i2c, ci->adr, addr, 3); in read_pccard() 153 status = i2c_write(ci->i2c, ci->adr, addr, 3); in write_pccard() 157 status = i2c_write(ci->i2c, ci->adr, buf, n+1); in write_pccard() 167 status = i2c_write(ci->i2c, ci->adr, addr, 3); in read_io() 179 status = i2c_write(ci->i2c, ci->adr, addr, 3); in write_io() 181 status = i2c_write(ci->i2c, ci->adr, buf, 2); in write_io() 219 status = i2c_write(ci->i2c, ci->adr, buf, n+1); in write_block()
|
/linux-2.6.39/arch/cris/arch-v32/drivers/ |
D | i2c.h | 6 int i2c_write(unsigned char theSlave, void *data, size_t nbytes);
|
D | i2c.c | 392 i2c_write(unsigned char theSlave, void *data, size_t nbytes) in i2c_write() function
|
/linux-2.6.39/arch/cris/arch-v32/drivers/mach-a3/ |
D | gpio.c | 694 i2c_write(VIRT_I2C_ADDR, (void *)&shadow, sizeof(shadow)); in virtual_gpio_ioctl() 703 i2c_write(VIRT_I2C_ADDR, (void *)&shadow, sizeof(shadow)); in virtual_gpio_ioctl() 774 i2c_write(VIRT_I2C_ADDR, (void *)&shadow, in virtual_gpio_ioctl() 909 i2c_write(VIRT_I2C_ADDR, (void *)&shadow, sizeof(shadow)); in virtual_gpio_init()
|
/linux-2.6.39/arch/cris/arch-v32/drivers/mach-fs/ |
D | gpio.c | 735 i2c_write(VIRT_I2C_ADDR, (void *)&shadow, sizeof(shadow)); in virtual_gpio_ioctl() 744 i2c_write(VIRT_I2C_ADDR, (void *)&shadow, sizeof(shadow)); in virtual_gpio_ioctl() 824 i2c_write(VIRT_I2C_ADDR, (void *)&shadow, in virtual_gpio_ioctl() 887 i2c_write(VIRT_I2C_ADDR, (void *)&shadow, sizeof(shadow)); in virtual_gpio_init()
|
/linux-2.6.39/drivers/i2c/busses/ |
D | i2c-au1550.c | 235 i2c_write(struct i2c_au1550_data *adap, unsigned char *buf, in i2c_write() function 288 err = i2c_write(adap, p->buf, p->len); in au1550_xfer()
|
/linux-2.6.39/drivers/staging/comedi/drivers/ |
D | cb_pcidas64.c | 1196 static void i2c_write(struct comedi_device *dev, unsigned int address, 1458 i2c_write(dev, RANGE_CAL_I2C_ADDR, &data, sizeof(data)); in setup_subdevices() 2032 i2c_write(dev, RANGE_CAL_I2C_ADDR, &i2c_data, in ai_rinsn() 2725 i2c_write(dev, RANGE_CAL_I2C_ADDR, &i2c_data, in setup_channel_queue() 4192 i2c_write(dev, i2c_addr, serial_bytes, 3); in caldac_i2c_write() 4284 static void i2c_write(struct comedi_device *dev, unsigned int address, in i2c_write() function
|
/linux-2.6.39/drivers/media/video/ |
D | vino.c | 1704 static int i2c_write(struct i2c_algo_sgi_data *adap, unsigned char *buf, in i2c_write() function 1733 err = i2c_write(adap, p->buf, p->len); in sgi_xfer()
|