| /drivers/gpu/drm/msm/disp/ |
| A D | msm_disp_snapshot_util.c | 12 static void msm_disp_state_dump_regs(u32 **reg, u32 aligned_len, void __iomem *base_addr) in msm_disp_state_dump_regs() argument 22 len_padded = aligned_len * REG_DUMP_ALIGN; in msm_disp_state_dump_regs() 23 num_rows = aligned_len / REG_DUMP_ALIGN; in msm_disp_state_dump_regs() 26 end_addr = base_addr + aligned_len; in msm_disp_state_dump_regs()
|
| /drivers/net/wireless/ath/ath12k/ |
| A D | testmode.c | 214 size_t aligned_len; in ath12k_tm_cmd_process_ftm() local 253 aligned_len = chunk_len + sizeof(struct ath12k_wmi_ftm_seg_hdr_params); in ath12k_tm_cmd_process_ftm() 254 ftm_cmd->tlv_header = ath12k_wmi_tlv_hdr(WMI_TAG_ARRAY_BYTE, aligned_len); in ath12k_tm_cmd_process_ftm()
|
| A D | wmi.c | 1969 size_t p2p_ie_len, aligned_len; in ath12k_wmi_p2p_go_bcn_ie() local 1976 aligned_len = roundup(p2p_ie_len, sizeof(u32)); in ath12k_wmi_p2p_go_bcn_ie() 1978 len = sizeof(*cmd) + TLV_HDR_SIZE + aligned_len; in ath12k_wmi_p2p_go_bcn_ie() 1994 aligned_len); in ath12k_wmi_p2p_go_bcn_ie() 2024 size_t aligned_len = roundup(bcn->len, 4); in ath12k_wmi_bcn_tmpl() local 2082 tlv->header = ath12k_wmi_tlv_hdr(WMI_TAG_ARRAY_BYTE, aligned_len); in ath12k_wmi_bcn_tmpl() 3724 size_t aligned_len; in ath12k_wmi_fils_discovery_tmpl() local 3727 aligned_len = roundup(tmpl->len, 4); in ath12k_wmi_fils_discovery_tmpl() 3728 len = sizeof(*cmd) + TLV_HDR_SIZE + aligned_len; in ath12k_wmi_fils_discovery_tmpl() 3745 tlv->header = ath12k_wmi_tlv_hdr(WMI_TAG_ARRAY_BYTE, aligned_len); in ath12k_wmi_fils_discovery_tmpl() [all …]
|
| /drivers/net/ethernet/chelsio/cxgb4/ |
| A D | cxgb4_ethtool.c | 1236 u32 aligned_offset, aligned_len, *p; in set_eeprom() local 1243 aligned_len = (eeprom->len + (eeprom->offset & 3) + 3) & ~3; in set_eeprom() 1249 aligned_offset + aligned_len > start + EEPROMPFSIZE) in set_eeprom() 1253 if (aligned_offset != eeprom->offset || aligned_len != eeprom->len) { in set_eeprom() 1256 buf = kvzalloc(aligned_len, GFP_KERNEL); in set_eeprom() 1260 if (!err && aligned_len > 4) in set_eeprom() 1262 aligned_offset + aligned_len - 4, in set_eeprom() 1263 (u32 *)&buf[aligned_len - 4]); in set_eeprom() 1275 for (p = (u32 *)buf; !err && aligned_len; aligned_len -= 4, p++) { in set_eeprom()
|
| /drivers/net/wireless/ti/wl12xx/ |
| A D | main.c | 1310 u32 aligned_len = wlcore_calc_packet_alignment(wl, skb->len); in wl12xx_set_tx_desc_data_len() local 1313 desc->wl128x_mem.extra_bytes = aligned_len - skb->len; in wl12xx_set_tx_desc_data_len() 1314 desc->length = cpu_to_le16(aligned_len >> 2); in wl12xx_set_tx_desc_data_len() 1325 int pad = aligned_len - skb->len; in wl12xx_set_tx_desc_data_len() 1330 desc->length = cpu_to_le16(aligned_len >> 2); in wl12xx_set_tx_desc_data_len()
|
| /drivers/net/ethernet/chelsio/cxgb3/ |
| A D | cxgb3_main.c | 2059 u32 aligned_offset, aligned_len; in set_eeprom() local 2067 aligned_len = (eeprom->len + (eeprom->offset & 3) + 3) & ~3; in set_eeprom() 2069 if (aligned_offset != eeprom->offset || aligned_len != eeprom->len) { in set_eeprom() 2070 buf = kmalloc(aligned_len, GFP_KERNEL); in set_eeprom() 2073 err = pci_read_vpd(adapter->pdev, aligned_offset, aligned_len, in set_eeprom() 2085 err = pci_write_vpd(adapter->pdev, aligned_offset, aligned_len, buf); in set_eeprom()
|
| /drivers/net/wireless/ath/ath11k/ |
| A D | wmi.c | 1717 size_t p2p_ie_len, aligned_len; in ath11k_wmi_p2p_go_bcn_ie() local 1723 aligned_len = roundup(p2p_ie_len, 4); in ath11k_wmi_p2p_go_bcn_ie() 1725 len = sizeof(*cmd) + TLV_HDR_SIZE + aligned_len; in ath11k_wmi_p2p_go_bcn_ie() 1739 FIELD_PREP(WMI_TLV_LEN, aligned_len); in ath11k_wmi_p2p_go_bcn_ie() 1762 size_t aligned_len = roundup(bcn->len, 4); in ath11k_wmi_bcn_tmpl() local 1808 FIELD_PREP(WMI_TLV_LEN, aligned_len); in ath11k_wmi_bcn_tmpl() 3898 size_t aligned_len; in ath11k_wmi_fils_discovery_tmpl() local 3901 aligned_len = roundup(tmpl->len, 4); in ath11k_wmi_fils_discovery_tmpl() 3921 FIELD_PREP(WMI_TLV_LEN, aligned_len); in ath11k_wmi_fils_discovery_tmpl() 3947 size_t aligned_len = roundup(tmpl->len, 4); in ath11k_wmi_probe_resp_tmpl() local [all …]
|
| /drivers/net/wireless/intel/ipw2x00/ |
| A D | ipw2100.c | 420 u32 aligned_len; in write_nic_memory() local 442 aligned_len = len & (~0x3); in write_nic_memory() 443 for (i = 0; i < aligned_len; i += 4, buf += 4, aligned_addr += 4) in write_nic_memory() 447 dif_len = len - aligned_len; in write_nic_memory() 458 u32 aligned_len; in read_nic_memory() local 480 aligned_len = len & (~0x3); in read_nic_memory() 481 for (i = 0; i < aligned_len; i += 4, buf += 4, aligned_addr += 4) in read_nic_memory() 485 dif_len = len - aligned_len; in read_nic_memory()
|
| /drivers/crypto/ |
| A D | talitos.c | 1152 int aligned_len = ALIGN(len, align); in talitos_sg_map_ext() local 1160 to_talitos_ptr(ptr, sg_dma_address(src) + offset, aligned_len, is_sec1); in talitos_sg_map_ext() 1164 to_talitos_ptr(ptr, edesc->dma_link_tbl + offset, aligned_len, is_sec1); in talitos_sg_map_ext() 1175 tbl_off * sizeof(struct talitos_ptr), aligned_len, is_sec1); in talitos_sg_map_ext()
|
| /drivers/mtd/nand/raw/ |
| A D | nand_base.c | 3128 int datafrag_len, eccfrag_len, aligned_len, aligned_pos; in nand_read_subpage() local 3178 aligned_len = eccfrag_len; in nand_read_subpage() 3180 aligned_len++; in nand_read_subpage() 3183 aligned_len++; in nand_read_subpage() 3188 aligned_len, false); in nand_read_subpage()
|
| /drivers/crypto/caam/ |
| A D | caamhash.c | 438 unsigned int aligned_len = in ahash_setkey() local 441 if (aligned_len < keylen) in ahash_setkey()
|
| A D | caamalg_qi2.c | 3323 unsigned int aligned_len = in ahash_setkey() local 3326 if (aligned_len < keylen) in ahash_setkey() 3329 hashed_key = kmemdup(key, aligned_len, GFP_KERNEL); in ahash_setkey()
|