/drivers/i2c/busses/ |
D | i2c-viperboard.c | 116 u16 remain_len, len1, len2, start = 0x0000; in vprbrd_i2c_read() local 126 len2 = 0x00; in vprbrd_i2c_read() 129 rmsg->header.len2 = 0x00; in vprbrd_i2c_read() 136 len2 = 0x00; in vprbrd_i2c_read() 139 rmsg->header.len2 = 0x00; in vprbrd_i2c_read() 146 len2 = 0x00; in vprbrd_i2c_read() 149 rmsg->header.len2 = 0xff; in vprbrd_i2c_read() 156 len2 = remain_len - 512; in vprbrd_i2c_read() 159 rmsg->header.len2 = 0xff; in vprbrd_i2c_read() 166 len2 = remain_len - 512; in vprbrd_i2c_read() [all …]
|
/drivers/parport/ |
D | probe.c | 218 size_t idlen, len2; in parport_read_device_id() local 229 len2 = len; in parport_read_device_id() 230 while(len2 < idlen && retval > 0) { in parport_read_device_id() 233 min(sizeof tmp, idlen-len2)); in parport_read_device_id() 236 len2 += retval; in parport_read_device_id()
|
/drivers/media/tuners/ |
D | tda18218.c | 16 int ret = 0, len2, remaining; in tda18218_wr_regs() local 35 len2 = remaining; in tda18218_wr_regs() 36 if (len2 > (priv->cfg->i2c_wr_max - 1)) in tda18218_wr_regs() 37 len2 = (priv->cfg->i2c_wr_max - 1); in tda18218_wr_regs() 39 msg[0].len = 1 + len2; in tda18218_wr_regs() 41 memcpy(&buf[1], &val[len - remaining], len2); in tda18218_wr_regs()
|
/drivers/media/dvb-frontends/ |
D | nxt200x.c | 143 u8 attr, len2, buf; in nxt200x_writereg_multibyte() local 154 len2 = len; in nxt200x_writereg_multibyte() 166 len2 = ((attr << 4) | 0x10) | len; in nxt200x_writereg_multibyte() 174 nxt200x_writebytes(state, 0x34, &len2, 1); in nxt200x_writereg_multibyte() 202 u8 buf, len2, attr; in nxt200x_readreg_multibyte() local 211 len2 = len & 0x80; in nxt200x_readreg_multibyte() 212 nxt200x_writebytes(state, 0x34, &len2, 1); in nxt200x_readreg_multibyte() 227 len2 = (attr << 4) | len; in nxt200x_readreg_multibyte() 228 nxt200x_writebytes(state, 0x34, &len2, 1); in nxt200x_readreg_multibyte()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | dwxgmac2_descs.c | 182 int len1, int len2, bool tx_own, in dwxgmac2_prepare_tso_tx_desc() argument 190 if (len2) in dwxgmac2_prepare_tso_tx_desc() 191 p->des2 |= cpu_to_le32((len2 << XGMAC_TDES2_B2L_SHIFT) & in dwxgmac2_prepare_tso_tx_desc()
|
D | dwmac4_descs.c | 350 int len1, int len2, bool tx_own, in dwmac4_rd_prepare_tso_tx_desc() argument 359 if (len2) in dwmac4_rd_prepare_tso_tx_desc() 360 p->des2 |= cpu_to_le32((len2 << TDES2_BUFFER2_SIZE_MASK_SHIFT) in dwmac4_rd_prepare_tso_tx_desc()
|
D | hwif.h | 46 int len2, bool tx_own, bool ls, unsigned int tcphdrlen,
|
/drivers/dax/ |
D | super.c | 132 long len, len2; in generic_fsdax_supported() local 160 len2 = dax_direct_access(dax_dev, pgoff_end, 1, &end_kaddr, &end_pfn); in generic_fsdax_supported() 162 if (len < 1 || len2 < 1) { in generic_fsdax_supported() 164 bdev, len < 1 ? len : len2); in generic_fsdax_supported()
|
/drivers/crypto/ |
D | sahara.c | 132 u32 len2; member 415 dev_dbg(dev->device, "\tlen2 = %u\n", dev->hw_desc[i]->len2); in sahara_dump_descriptors() 459 dev->hw_desc[idx]->len2 = ctx->keylen; in sahara_hw_descriptor_create() 532 dev->hw_desc[idx]->len2 = dev->total; in sahara_hw_descriptor_create() 855 dev->hw_desc[index]->len2 = result_len; in sahara_sha_hw_data_descriptor_create() 880 dev->hw_desc[index]->len2 = 0; in sahara_sha_hw_context_descriptor_create()
|
/drivers/crypto/cavium/cpt/ |
D | request_manager.h | 80 __be16 len2; member
|
D | cptvf_reqmanager.c | 78 sg_ptr->u.s.len2 = cpu_to_be16(list[i * 4 + 2].size); in setup_sgio_components() 91 sg_ptr->u.s.len2 = cpu_to_be16(list[i * 4 + 2].size); in setup_sgio_components()
|
/drivers/crypto/marvell/octeontx2/ |
D | otx2_cpt_reqmgr.h | 152 __be16 len2; member
|
D | otx2_cptvf_reqmgr.c | 117 sg_ptr->len2 = cpu_to_be16(list[i * 4 + 2].size); in setup_sgio_components() 129 sg_ptr->len2 = cpu_to_be16(list[i * 4 + 2].size); in setup_sgio_components()
|
/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_reqmgr.h | 128 __be16 len2; member
|
D | otx_cptvf_reqmgr.c | 129 sg_ptr->u.s.len2 = cpu_to_be16(list[i * 4 + 2].size); in setup_sgio_components() 141 sg_ptr->u.s.len2 = cpu_to_be16(list[i * 4 + 2].size); in setup_sgio_components()
|
/drivers/usb/core/ |
D | devio.c | 1273 unsigned int tmo, len1, len2, pipe; in do_proc_bulk() local 1327 i = usbfs_start_wait_urb(urb, tmo, &len2); in do_proc_bulk() 1329 snoop_urb(dev, NULL, pipe, len2, i, COMPLETE, tbuf, len2); in do_proc_bulk() 1331 if (!i && len2) { in do_proc_bulk() 1332 if (copy_to_user(bulk->data, tbuf, len2)) { in do_proc_bulk() 1347 i = usbfs_start_wait_urb(urb, tmo, &len2); in do_proc_bulk() 1349 snoop_urb(dev, NULL, pipe, len2, i, COMPLETE, NULL, 0); in do_proc_bulk() 1351 ret = (i < 0 ? i : len2); in do_proc_bulk()
|
/drivers/tty/ |
D | moxa.c | 526 size_t wlen, len2, j; in moxa_real_load_code() local 563 len2 = (wlen > 2048) ? 2048 : wlen; in moxa_real_load_code() 564 wlen -= len2; in moxa_real_load_code() 565 memcpy_toio(baseAddr + loadbuf, ptr + j, len2 << 1); in moxa_real_load_code() 566 j += len2 << 1; in moxa_real_load_code() 568 writew(len2, baseAddr + loadlen); in moxa_real_load_code()
|
/drivers/mtd/ubi/ |
D | vtbl.c | 254 int len2 = be16_to_cpu(vtbl[n].name_len); in vtbl_check() local 256 if (len1 > 0 && len1 == len2 && in vtbl_check()
|
/drivers/net/ppp/ |
D | bsd_comp.c | 732 unsigned short *len2 = lens_ptr (db, ent); in bsd_compress() local 733 *len1 = *len2 + 1; in bsd_compress()
|
/drivers/net/ipa/ |
D | ipa_endpoint.c | 1320 u32 len2; in ipa_endpoint_status_parse() local 1324 len2 = le16_to_cpu(status->pkt_len); in ipa_endpoint_status_parse() 1332 ipa_endpoint_skb_copy(endpoint, data2, len2, extra); in ipa_endpoint_status_parse()
|
/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_utils.h | 29 u32 len2; member
|
/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_core.c | 3717 int len2 = scnprintf(remoteport, sizeof(remoteport), in vchiq_dump_service_state() local 3721 scnprintf(remoteport + len2, in vchiq_dump_service_state() 3722 sizeof(remoteport) - len2, in vchiq_dump_service_state()
|
/drivers/infiniband/hw/hfi1/ |
D | chip.c | 10119 u64 len1 = 0, len2 = (((dd->vld[15].mtu + max_hb) >> 2) in set_send_length() local 10133 len2 |= (((dd->vld[i].mtu + max_hb) >> 2) in set_send_length() 10138 write_csr(dd, SEND_LEN_CHECK1, len2); in set_send_length()
|