Searched refs:t_len (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/of/ |
H A D | of_reserved_mem.c | 105 int t_len = (dt_root_addr_cells + dt_root_size_cells) * sizeof(__be32); in __reserved_mem_reserve_reg() local 116 if (len && len % t_len != 0) { in __reserved_mem_reserve_reg() 124 while (len >= t_len) { in __reserved_mem_reserve_reg() 136 len -= t_len; in __reserved_mem_reserve_reg() 259 int t_len = (dt_root_addr_cells + dt_root_size_cells) * sizeof(__be32); in __reserved_mem_alloc_size() local 299 if (len % t_len != 0) { in __reserved_mem_alloc_size() 320 len -= t_len; in __reserved_mem_alloc_size()
|
/linux/drivers/memstick/core/ |
H A D | mspro_block.c | 670 unsigned int t_len = 0; in mspro_block_complete_req() local 685 t_len += msb->req_sg[cnt].length in mspro_block_complete_req() 689 t_len += msb->current_page - 1; in mspro_block_complete_req() 691 t_len *= msb->page_size; in mspro_block_complete_req() 695 t_len = blk_rq_bytes(msb->block_req); in mspro_block_complete_req() 697 dev_dbg(&card->dev, "transferred %x (%d)\n", t_len, error); in mspro_block_complete_req() 699 if (error && !t_len) in mspro_block_complete_req() 700 t_len = blk_rq_cur_bytes(msb->block_req); in mspro_block_complete_req() 703 errno_to_blk_status(error), t_len); in mspro_block_complete_req()
|
/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | usb.c | 47 u8 t_len = 1; in rtw_usb_reg_sec() local 64 t_reg, 0, data, t_len, 500); in rtw_usb_reg_sec() 66 if (status != t_len && status != -ENODEV) in rtw_usb_reg_sec() 68 __func__, t_reg, t_len, status); in rtw_usb_reg_sec()
|
/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | wlan.c | 1269 int t_len = wilc->cfg_frame_offset + sizeof(struct wilc_cfg_cmd_hdr); in wilc_wlan_cfg_commit() local 1277 cfg->hdr.total_len = cpu_to_le16(t_len); in wilc_wlan_cfg_commit() 1281 if (!wilc_wlan_txq_add_cfg_pkt(vif, (u8 *)&cfg->hdr, t_len)) in wilc_wlan_cfg_commit()
|
/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_cmd.c | 675 uint t_len = 0; in rtw_joinbss_cmd() local 696 t_len = sizeof(struct wlan_bssid_ex); in rtw_joinbss_cmd() 719 memset(psecnetwork, 0, t_len); in rtw_joinbss_cmd()
|
/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_fp.c | 1690 int len, t_len, offt; in bnxt_qplib_put_inline() local 1698 t_len = 0; in bnxt_qplib_put_inline() 1702 t_len += len; in bnxt_qplib_put_inline() 1703 if (t_len > qp->max_inline_data) in bnxt_qplib_put_inline() 1727 return t_len; in bnxt_qplib_put_inline()
|
/linux/net/bridge/ |
H A D | br_multicast.c | 4954 unsigned int t_len; in br_mcast_stats_add() local 4959 t_len = ntohs(ip_hdr(skb)->tot_len) - ip_hdrlen(skb); in br_mcast_stats_add() 4971 if (t_len != sizeof(struct igmphdr)) { in br_mcast_stats_add() 4994 t_len = ntohs(ipv6_hdr(skb)->payload_len) + in br_mcast_stats_add() 4996 t_len -= skb_network_header_len(skb); in br_mcast_stats_add() 5005 if (t_len != sizeof(struct mld_msg)) in br_mcast_stats_add()
|