/drivers/media/dvb/dvb-usb/ |
D | friio.c | 34 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in gl861_i2c_ctrlmsg_data() argument 36 u16 index = wbuf[0]; /* must be JDVBT90502_2ND_I2C_REG(=0xFE) */ in gl861_i2c_ctrlmsg_data() 42 wbuf[1], wbuf[0], wlen - 1); in gl861_i2c_ctrlmsg_data() 50 &wbuf[1], wlen - 1, 2000); in gl861_i2c_ctrlmsg_data() 63 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in gl861_i2c_msg() argument 73 wbuf[0] == JDVBT90502_2ND_I2C_REG) in gl861_i2c_msg() 74 return gl861_i2c_ctrlmsg_data(d, addr, wbuf, wlen, rbuf, rlen); in gl861_i2c_msg() 88 index = wbuf[0]; in gl861_i2c_msg() 91 index = wbuf[0]; in gl861_i2c_msg() 92 value = value + wbuf[1]; in gl861_i2c_msg() [all …]
|
D | friio-fe.c | 31 u8 wbuf[3]; in jdvbt90502_reg_read() local 34 wbuf[0] = reg & 0xFF; in jdvbt90502_reg_read() 35 wbuf[1] = 0; in jdvbt90502_reg_read() 36 wbuf[2] = reg >> 8; in jdvbt90502_reg_read() 40 msg[0].buf = wbuf; in jdvbt90502_reg_read() 41 msg[0].len = sizeof(wbuf); in jdvbt90502_reg_read() 61 u8 wbuf[2]; in jdvbt90502_single_reg_write() local 63 wbuf[0] = reg; in jdvbt90502_single_reg_write() 64 wbuf[1] = val; in jdvbt90502_single_reg_write() 68 msg.buf = wbuf; in jdvbt90502_single_reg_write() [all …]
|
D | au6610.c | 32 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in au6610_usb_msg() argument 48 index = wbuf[0] << 8; in au6610_usb_msg() 51 index = wbuf[0] << 8; in au6610_usb_msg() 52 index += wbuf[1]; in au6610_usb_msg() 78 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in au6610_i2c_msg() argument 89 return au6610_usb_msg(d, request, addr, wbuf, wlen, rbuf, rlen); in au6610_i2c_msg()
|
D | lmedm04.c | 163 u8 *wbuf, int wlen, u8 *rbuf, int rlen) in lme2510_usb_talk() argument 184 memcpy(buff, wbuf, (wlen < 64) ? wlen : 64); in lme2510_usb_talk() 434 u8 *wbuf, int wlen, u8 *rbuf, int rlen) in lme2510_msg() argument 441 ret = lme2510_usb_talk(d, wbuf, wlen, rbuf, rlen); in lme2510_msg() 445 if (wbuf[2] == 0x1c) { in lme2510_msg() 446 if (wbuf[3] == 0x0e) { in lme2510_msg() 458 if (wbuf[2] == 0xd0) { in lme2510_msg() 459 if (wbuf[3] == 0x24) { in lme2510_msg() 470 if (wbuf[2] == 0xd0) { in lme2510_msg() 471 if (wbuf[3] == 0x1b) { in lme2510_msg() [all …]
|
D | dvb-usb-urb.c | 11 int dvb_usb_generic_rw(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf, in dvb_usb_generic_rw() argument 16 if (!d || wbuf == NULL || wlen == 0) in dvb_usb_generic_rw() 28 debug_dump(wbuf,wlen,deb_xfer); in dvb_usb_generic_rw() 31 d->props.generic_bulk_ctrl_endpoint), wbuf,wlen,&actlen, in dvb_usb_generic_rw()
|
D | gl861.c | 22 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in gl861_i2c_msg() argument 39 index = wbuf[0]; in gl861_i2c_msg() 42 index = wbuf[0]; in gl861_i2c_msg() 43 value = value + wbuf[1]; in gl861_i2c_msg()
|
D | dtv5100.c | 35 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in dtv5100_i2c_msg() argument 55 value = wbuf[1]; in dtv5100_i2c_msg() 61 index = (addr << 8) + wbuf[0]; in dtv5100_i2c_msg()
|
D | dibusb-common.c | 104 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in dibusb_i2c_msg() argument 114 memcpy(&sndbuf[2],wbuf,wlen); in dibusb_i2c_msg() 172 u8 wbuf[1] = { offs }; in dibusb_read_eeprom_byte() local 173 return dibusb_i2c_msg(d, 0x50, wbuf, 1, val, 1); in dibusb_read_eeprom_byte()
|
D | digitv.c | 29 u8 cmd, u8 vv, u8 *wbuf, int wlen, u8 *rbuf, int rlen) in digitv_ctrl_msg() argument 40 memcpy(&sndbuf[3],wbuf,wlen); in digitv_ctrl_msg()
|
/drivers/media/dvb/b2c2/ |
D | flexcop-eeprom.c | 16 u32 len, u8 *wbuf, u8 *rbuf, int retries) 21 if (eeprom_write(adapter, addr, wbuf, len) == len) { 34 u8 wbuf[20]; 39 memcpy(wbuf, key, len); 40 wbuf[16] = 0; 41 wbuf[17] = 0; 42 wbuf[18] = 0; 43 wbuf[19] = calc_lrc(wbuf, 19); 44 return eeprom_lrc_write(adapter, 0x3e4, 20, wbuf, rbuf, 4);
|
/drivers/staging/media/lirc/ |
D | lirc_parallel.c | 379 int *wbuf; in lirc_write() local 390 wbuf = memdup_user(buf, n); in lirc_write() 391 if (IS_ERR(wbuf)) in lirc_write() 392 return PTR_ERR(wbuf); in lirc_write() 408 helper = ((__u64) wbuf[i])*timer; in lirc_write() 410 wbuf[i] = (int) helper; in lirc_write() 430 } while (counttimer < wbuf[i]); in lirc_write() 447 } while (counttimer < wbuf[i]); in lirc_write() 456 kfree(wbuf); in lirc_write()
|
D | lirc_serial.c | 975 int *wbuf; in lirc_write() local 983 wbuf = memdup_user(buf, n); in lirc_write() 984 if (IS_ERR(wbuf)) in lirc_write() 985 return PTR_ERR(wbuf); in lirc_write() 993 hardware[type].send_space(wbuf[i] - delta); in lirc_write() 995 delta = hardware[type].send_pulse(wbuf[i]); in lirc_write() 999 kfree(wbuf); in lirc_write()
|
/drivers/media/video/m5mols/ |
D | m5mols_core.c | 149 u8 wbuf[5]; in m5mols_read() local 158 msg[0].buf = wbuf; in m5mols_read() 159 wbuf[0] = 5; in m5mols_read() 160 wbuf[1] = M5MOLS_BYTE_READ; in m5mols_read() 161 wbuf[2] = category; in m5mols_read() 162 wbuf[3] = cmd; in m5mols_read() 163 wbuf[4] = size; in m5mols_read() 244 u8 wbuf[M5MOLS_I2C_MAX_SIZE + 4]; in m5mols_write() local 248 u32 *buf = (u32 *)&wbuf[4]; in m5mols_write() 263 msg->buf = wbuf; in m5mols_write() [all …]
|
/drivers/video/backlight/ |
D | ams369fg06.c | 204 const unsigned short *wbuf) in ams369fg06_panel_send_sequence() argument 208 while ((wbuf[i] & DEFMASK) != ENDDEF) { in ams369fg06_panel_send_sequence() 209 if ((wbuf[i] & DEFMASK) != SLEEPMSEC) { in ams369fg06_panel_send_sequence() 210 ret = ams369fg06_spi_write(lcd, wbuf[i], wbuf[i+1]); in ams369fg06_panel_send_sequence() 214 mdelay(wbuf[i+1]); in ams369fg06_panel_send_sequence()
|
D | ld9040.c | 468 const unsigned short *wbuf) in ld9040_panel_send_sequence() argument 472 while ((wbuf[i] & DEFMASK) != ENDDEF) { in ld9040_panel_send_sequence() 473 if ((wbuf[i] & DEFMASK) != SLEEPMSEC) { in ld9040_panel_send_sequence() 474 ret = ld9040_spi_write(lcd, wbuf[i], wbuf[i+1]); in ld9040_panel_send_sequence() 478 udelay(wbuf[i+1]*1000); in ld9040_panel_send_sequence()
|
D | s6e63m0.c | 400 const unsigned short *wbuf) in s6e63m0_panel_send_sequence() argument 404 while ((wbuf[i] & DEFMASK) != ENDDEF) { in s6e63m0_panel_send_sequence() 405 if ((wbuf[i] & DEFMASK) != SLEEPMSEC) { in s6e63m0_panel_send_sequence() 406 ret = s6e63m0_spi_write(lcd, wbuf[i], wbuf[i+1]); in s6e63m0_panel_send_sequence() 410 udelay(wbuf[i+1]*1000); in s6e63m0_panel_send_sequence()
|
/drivers/rtc/ |
D | rtc-m41t80.c | 131 u8 wbuf[1 + M41T80_DATETIME_REG_SIZE]; in m41t80_set_datetime() local 132 u8 *buf = &wbuf[1]; in m41t80_set_datetime() 153 .buf = wbuf, in m41t80_set_datetime() 163 wbuf[0] = 0; /* offset into rtc's regs */ in m41t80_set_datetime() 241 u8 wbuf[1 + M41T80_ALARM_REG_SIZE]; in m41t80_rtc_set_alarm() local 242 u8 *buf = &wbuf[1]; in m41t80_rtc_set_alarm() 264 .buf = wbuf, in m41t80_rtc_set_alarm() 278 wbuf[0] = M41T80_REG_ALARM_MON; /* offset into rtc's regs */ in m41t80_rtc_set_alarm()
|
/drivers/scsi/ |
D | advansys.c | 9829 ushort *wbuf; in AscGetEEPConfig() local 9835 wbuf = (ushort *)cfg_buf; in AscGetEEPConfig() 9838 for (s_addr = 0; s_addr < 2; s_addr++, wbuf++) { in AscGetEEPConfig() 9839 *wbuf = AscReadEEPWord(iop_base, (uchar)s_addr); in AscGetEEPConfig() 9840 sum += *wbuf; in AscGetEEPConfig() 9849 for (s_addr = cfg_beg; s_addr <= (cfg_end - 1); s_addr++, wbuf++) { in AscGetEEPConfig() 9856 *wbuf = le16_to_cpu(wval); in AscGetEEPConfig() 9859 *wbuf = wval; in AscGetEEPConfig() 9867 *wbuf = AscReadEEPWord(iop_base, (uchar)s_addr); in AscGetEEPConfig() 9942 ushort *wbuf; in AscSetEEPConfigOnce() local [all …]
|
/drivers/platform/x86/ |
D | intel_scu_ipc.c | 166 u32 *wbuf = (u32 *)&cbuf; in pwr_reg_rdwr() local 184 ipc_data_writel(wbuf[nc], offset); in pwr_reg_rdwr() 190 ipc_data_writel(wbuf[nc], offset); in pwr_reg_rdwr() 195 ipc_data_writel(wbuf[0], 0); /* Write wbuff */ in pwr_reg_rdwr()
|
/drivers/media/dvb/ddbridge/ |
D | ddbridge-core.c | 118 memcpy_toio(dev->regs + I2C_TASKMEM_BASE + i2c->wbuf, in ddb_i2c_master_xfer() 131 ddbcpyto(I2C_TASKMEM_BASE + i2c->wbuf, msg[0].buf, msg[0].len); in ddb_i2c_master_xfer() 181 i2c->wbuf = i * (I2C_TASKMEM_SIZE / 4); in ddb_i2c_init() 182 i2c->rbuf = i2c->wbuf + (I2C_TASKMEM_SIZE / 8); in ddb_i2c_init() 185 ddbwritel((i2c->rbuf << 16) | i2c->wbuf, in ddb_i2c_init() 1344 static int flashio(struct ddb *dev, u8 *wbuf, u32 wlen, u8 *rbuf, u32 rlen) in flashio() argument 1352 data = swab32(*(u32 *)wbuf); in flashio() 1353 wbuf += 4; in flashio() 1369 data |= *wbuf; in flashio() 1371 wbuf++; in flashio() [all …]
|
/drivers/video/omap/ |
D | lcd_mipid.c | 68 static void mipid_transfer(struct mipid_device *md, int cmd, const u8 *wbuf, in mipid_transfer() argument 91 x->tx_buf = wbuf; in mipid_transfer() 354 u16 wbuf[3]; in ls041y3_esd_check_mode2() member 367 mipid_write(md, rd->cmd, (u8 *)rd->wbuf, rd->wlen); in ls041y3_esd_check_mode2() 375 mipid_write(md, rd->cmd, (u8 *)rd->wbuf, rd->wlen); in ls041y3_esd_check_mode2()
|
/drivers/gpu/drm/ttm/ |
D | ttm_bo_vm.c | 310 const char __user *wbuf, char __user *rbuf, size_t count, in ttm_bo_io() argument 383 ret = copy_from_user(virtual, wbuf, io_size); in ttm_bo_io() 402 ssize_t ttm_bo_fbdev_io(struct ttm_buffer_object *bo, const char __user *wbuf, in ttm_bo_fbdev_io() argument 451 ret = copy_from_user(virtual, wbuf, io_size); in ttm_bo_fbdev_io()
|
/drivers/media/dvb/ttpci/ |
D | av7110_ca.c | 234 struct dvb_ringbuffer *wbuf = &av7110->ci_wbuffer; in dvb_ca_poll() local 240 poll_wait(file, &wbuf->queue, wait); in dvb_ca_poll() 245 if (dvb_ringbuffer_free(wbuf) > 1024) in dvb_ca_poll()
|
/drivers/media/video/pvrusb2/ |
D | pvrusb2-i2c-core.c | 305 u8 wbuf[2]; in i2c_hack_cx25840() local 349 wbuf[0] = subaddr >> 8; in i2c_hack_cx25840() 350 wbuf[1] = subaddr; in i2c_hack_cx25840() 351 ret = pvr2_i2c_basic_op(hdw,i2c_addr,wbuf,2,rdata,rlen); in i2c_hack_cx25840()
|
/drivers/net/ethernet/smsc/ |
D | smc91x.c | 1713 u16 wbuf; in smc_ethtool_geteeprom() local 1717 ret = smc_read_eeprom_word(dev, offset >> 1, &wbuf); in smc_ethtool_geteeprom() 1720 DBG(2, "Read 0x%x from 0x%x\n", wbuf, offset >> 1); in smc_ethtool_geteeprom() 1721 data[i] = (wbuf >> 8) & 0xff; in smc_ethtool_geteeprom() 1722 data[i+1] = wbuf & 0xff; in smc_ethtool_geteeprom() 1738 u16 wbuf; in smc_ethtool_seteeprom() local 1742 wbuf = (data[i] << 8) | data[i + 1]; in smc_ethtool_seteeprom() 1743 DBG(2, "Writing 0x%x to 0x%x\n", wbuf, offset >> 1); in smc_ethtool_seteeprom() 1744 ret = smc_write_eeprom_word(dev, offset >> 1, wbuf); in smc_ethtool_seteeprom()
|