Home
last modified time | relevance | path

Searched refs:len1 (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
125 len1 = remain_len; in vprbrd_i2c_read()
128 rmsg->header.len1 = 0x00; in vprbrd_i2c_read()
135 len1 = remain_len; in vprbrd_i2c_read()
138 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
145 len1 = remain_len; in vprbrd_i2c_read()
148 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
155 len1 = 512; in vprbrd_i2c_read()
158 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
165 len1 = 512; in vprbrd_i2c_read()
[all …]
/drivers/net/ethernet/stmicro/stmmac/
Ddwxgmac2_descs.c182 int len1, int len2, bool tx_own, in dwxgmac2_prepare_tso_tx_desc() argument
188 if (len1) in dwxgmac2_prepare_tso_tx_desc()
189 p->des2 |= cpu_to_le32(len1 & XGMAC_TDES2_B1L); in dwxgmac2_prepare_tso_tx_desc()
Ddwmac4_descs.c350 int len1, int len2, bool tx_own, in dwmac4_rd_prepare_tso_tx_desc() argument
356 if (len1) in dwmac4_rd_prepare_tso_tx_desc()
357 p->des2 |= cpu_to_le32((len1 & TDES2_BUFFER1_SIZE_MASK)); in dwmac4_rd_prepare_tso_tx_desc()
Dhwif.h45 void (*prepare_tso_tx_desc)(struct dma_desc *p, int is_fs, int len1,
/drivers/crypto/
Dsahara.c130 u32 len1; member
413 dev_dbg(dev->device, "\tlen1 = %u\n", dev->hw_desc[i]->len1); in sahara_dump_descriptors()
453 dev->hw_desc[idx]->len1 = AES_BLOCK_SIZE; in sahara_hw_descriptor_create()
456 dev->hw_desc[idx]->len1 = 0; in sahara_hw_descriptor_create()
531 dev->hw_desc[idx]->len1 = dev->total; in sahara_hw_descriptor_create()
833 dev->hw_desc[index]->len1 = rctx->total; in sahara_sha_hw_data_descriptor_create()
834 if (dev->hw_desc[index]->len1 == 0) { in sahara_sha_hw_data_descriptor_create()
878 dev->hw_desc[index]->len1 = rctx->context_size; in sahara_sha_hw_context_descriptor_create()
Dtalitos.h26 __be16 len1; /* length */ member
Dtalitos.c51 ptr->len1 = cpu_to_be16(len); in to_talitos_ptr()
63 dst_ptr->len1 = src_ptr->len1; in copy_talitos_ptr()
74 return be16_to_cpu(ptr->len1); in from_talitos_ptr_len()
/drivers/mtd/ubi/
Dvtbl.c253 int len1 = be16_to_cpu(vtbl[i].name_len); in vtbl_check() local
256 if (len1 > 0 && len1 == len2 && in vtbl_check()
257 !strncmp(vtbl[i].name, vtbl[n].name, len1)) { in vtbl_check()
/drivers/usb/core/
Ddevio.c1273 unsigned int tmo, len1, len2, pipe; in do_proc_bulk() local
1286 len1 = bulk->len; in do_proc_bulk()
1287 if (len1 < 0 || len1 >= (INT_MAX - sizeof(struct urb))) in do_proc_bulk()
1297 ret = usbfs_increase_memory_usage(len1 + sizeof(struct urb)); in do_proc_bulk()
1306 tbuf = kmalloc(len1, GFP_KERNEL | __GFP_NOWARN); in do_proc_bulk()
1316 usb_fill_int_urb(urb, dev, pipe, tbuf, len1, in do_proc_bulk()
1319 usb_fill_bulk_urb(urb, dev, pipe, tbuf, len1, NULL, NULL); in do_proc_bulk()
1324 snoop_urb(dev, NULL, pipe, len1, tmo, SUBMIT, NULL, 0); in do_proc_bulk()
1338 if (len1) { in do_proc_bulk()
1339 if (copy_from_user(tbuf, bulk->data, len1)) { in do_proc_bulk()
[all …]
/drivers/crypto/cavium/cpt/
Drequest_manager.h79 __be16 len1; member
Dcptvf_reqmanager.c77 sg_ptr->u.s.len1 = cpu_to_be16(list[i * 4 + 1].size); in setup_sgio_components()
95 sg_ptr->u.s.len1 = cpu_to_be16(list[i * 4 + 1].size); in setup_sgio_components()
/drivers/crypto/marvell/octeontx2/
Dotx2_cpt_reqmgr.h151 __be16 len1; member
Dotx2_cptvf_reqmgr.c116 sg_ptr->len1 = cpu_to_be16(list[i * 4 + 1].size); in setup_sgio_components()
133 sg_ptr->len1 = cpu_to_be16(list[i * 4 + 1].size); in setup_sgio_components()
/drivers/crypto/marvell/octeontx/
Dotx_cptvf_reqmgr.h127 __be16 len1; member
Dotx_cptvf_reqmgr.c128 sg_ptr->u.s.len1 = cpu_to_be16(list[i * 4 + 1].size); in setup_sgio_components()
145 sg_ptr->u.s.len1 = cpu_to_be16(list[i * 4 + 1].size); in setup_sgio_components()
/drivers/net/ppp/
Dbsd_comp.c731 unsigned short *len1 = lens_ptr (db, max_ent); in bsd_compress() local
733 *len1 = *len2 + 1; in bsd_compress()
/drivers/net/wireless/mediatek/mt76/mt7921/
Dmac.h346 __le16 len1; member
Dmac.c913 ptr->len1 = cpu_to_le16(len); in mt7921_write_hw_txp()
1045 len = le16_to_cpu(ptr->len1); in mt7921_txp_skb_unmap()
/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.h266 __le16 len1; member
Dpci_mac.c77 ptr->len1 = cpu_to_le16(len); in mt7615_write_hw_txp()
Dmac.c810 len = le16_to_cpu(ptr->len1); in mt7615_txp_skb_unmap_hw()
/drivers/scsi/pm8001/
Dpm80xx_hwi.h1000 __le32 len1; member
/drivers/infiniband/hw/hfi1/
Dchip.c10119 u64 len1 = 0, len2 = (((dd->vld[15].mtu + max_hb) >> 2) in set_send_length() local
10129 len1 |= (((dd->vld[i].mtu + max_hb) >> 2) in set_send_length()
10137 write_csr(dd, SEND_LEN_CHECK0, len1); in set_send_length()
10160 len1 = read_csr(ppd->dd, DCC_CFG_PORT_CONFIG); in set_send_length()
10161 len1 &= ~DCC_CFG_PORT_CONFIG_MTU_CAP_SMASK; in set_send_length()
10162 len1 |= ((u64)dcmtu & DCC_CFG_PORT_CONFIG_MTU_CAP_MASK) << in set_send_length()
10164 write_csr(ppd->dd, DCC_CFG_PORT_CONFIG, len1); in set_send_length()