Home
last modified time | relevance | path

Searched refs:len2 (Results 1 – 23 of 23) sorted by relevance

/drivers/i2c/busses/
Di2c-viperboard.c116 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/
Dprobe.c218 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/
Dtda18218.c16 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/
Dnxt200x.c143 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/
Ddwxgmac2_descs.c182 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()
Ddwmac4_descs.c350 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()
Dhwif.h46 int len2, bool tx_own, bool ls, unsigned int tcphdrlen,
/drivers/dax/
Dsuper.c132 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/
Dsahara.c132 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/
Drequest_manager.h80 __be16 len2; member
Dcptvf_reqmanager.c78 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/
Dotx2_cpt_reqmgr.h152 __be16 len2; member
Dotx2_cptvf_reqmgr.c117 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/
Dotx_cptvf_reqmgr.h128 __be16 len2; member
Dotx_cptvf_reqmgr.c129 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/
Ddevio.c1273 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/
Dmoxa.c526 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/
Dvtbl.c254 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/
Dbsd_comp.c732 unsigned short *len2 = lens_ptr (db, ent); in bsd_compress() local
733 *len1 = *len2 + 1; in bsd_compress()
/drivers/net/ipa/
Dipa_endpoint.c1320 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/
Dhw_atl_utils.h29 u32 len2; member
/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c3717 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/
Dchip.c10119 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()