/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | f2fs.h | 150 int write_io_size_bits; /* Write IO size bits */ 155 int inline_xattr_size; /* inline xattr size */ 172 * discard command's offset/size should 184 unsigned char compress_log_size; /* cluster log size */ 460 int size, int type) in __has_cursum_space() 463 return size <= MAX_NAT_JENTRIES(journal); in __has_cursum_space() 464 return size <= MAX_SIT_JENTRIES(journal); in __has_cursum_space() 826 loff_t last_disk_size; /* lastly written file size */ 846 int i_extra_isize; /* size of extra space located in i_addr */ 848 int i_inline_xattr_size; /* inline xattr size */ 459 __has_cursum_space(struct f2fs_journal *journal, int size, int type) __has_cursum_space() argument 2792 f2fs_kmem_cache_create(const char *name, size_t size) f2fs_kmem_cache_create() argument 3379 f2fs_kmalloc(struct f2fs_sb_info *sbi, size_t size, gfp_t flags) f2fs_kmalloc() argument 3401 f2fs_kzalloc(struct f2fs_sb_info *sbi, size_t size, gfp_t flags) f2fs_kzalloc() argument 3407 f2fs_kvmalloc(struct f2fs_sb_info *sbi, size_t size, gfp_t flags) f2fs_kvmalloc() argument 3416 f2fs_kvzalloc(struct f2fs_sb_info *sbi, size_t size, gfp_t flags) f2fs_kvzalloc() argument [all...] |
/kernel/linux/linux-6.6/drivers/tty/vt/ |
H A D | vt.c | 404 /* juggling array rotation algorithm (complexity O(N), size complexity O(1)) */ 405 static void juggle_array(u32 **array, unsigned int size, unsigned int nr) in juggle_array() argument 409 for (gcd_idx = 0; gcd_idx < gcd(nr, size); gcd_idx++) { in juggle_array() 414 unsigned int src_idx = (dst_idx + nr) % size; in juggle_array() 431 unsigned int size = bottom - top; in vc_uniscr_scroll() local 437 juggle_array(&uni_lines[top], size, size - nr); in vc_uniscr_scroll() 440 juggle_array(&uni_lines[top], size, nr); in vc_uniscr_scroll() 1004 /* ++Geert: vc->vc_sw->con_init determines console size */ in visual_init() 1050 * Change # of rows and columns (0 means unchanged/the size o 4586 int size; con_font_set() local 4747 vc_scrolldelta_helper(struct vc_data *c, int lines, unsigned int rolled_over, void *base, unsigned int size) vc_scrolldelta_helper() argument [all...] |
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | cfg.c | 1125 int size, err; in ieee80211_assign_beacon() local 1148 size = sizeof(*new) + new_head_len + new_tail_len; in ieee80211_assign_beacon() 1153 size += struct_size(new->mbssid_ies, elem, mbssid->cnt); in ieee80211_assign_beacon() 1156 size += struct_size(new->rnr_ies, elem, rnr->cnt); in ieee80211_assign_beacon() 1158 size += ieee80211_get_mbssid_beacon_len(mbssid, rnr, in ieee80211_assign_beacon() 1162 size += struct_size(new->mbssid_ies, elem, mbssid->cnt); in ieee80211_assign_beacon() 1165 size += struct_size(new->rnr_ies, elem, rnr->cnt); in ieee80211_assign_beacon() 1167 size += ieee80211_get_mbssid_beacon_len(mbssid, rnr, in ieee80211_assign_beacon() 1171 new = kzalloc(size, GFP_KERNEL); in ieee80211_assign_beacon() 4133 int size in ieee80211_probe_client() local [all...] |
H A D | mlme.c | 781 /* get a max size estimate */ in ieee80211_add_he_ie() 1395 size_t size; in ieee80211_send_assoc() local 1406 size = local->hw.extra_tx_headroom + in ieee80211_send_assoc() 1425 size += assoc_data->link[link_id].elems_len; in ieee80211_send_assoc() 1427 size += 4 + sband->n_bitrates; in ieee80211_send_assoc() 1429 size += 2 + 2 * sband->n_channels; in ieee80211_send_assoc() 1433 size += iftd->vendor_elems.len; in ieee80211_send_assoc() 1436 size += 4; in ieee80211_send_assoc() 1439 size += 2 + sizeof(struct ieee80211_ht_cap); in ieee80211_send_assoc() 1440 size in ieee80211_send_assoc() 7445 size_t size = sizeof(*assoc_data) + req->ie_len; ieee80211_mgd_assoc() local [all...] |
/third_party/backends/backend/ |
H A D | nec.c | 944 size_t size, max_size = 0; in max_string_size() local 950 size = strlen (strings[i]) + 1; in max_string_size() 951 if (size > max_size) in max_string_size() 952 max_size = size; in max_string_size() 1414 s->opt[option].size = max_string_size (string_list); in init_string_option() 1417 s->val[option].s = malloc(s->opt[option].size); in init_string_option() 1443 s->opt[i].size = sizeof (SANE_Word); in init_options() 1499 init_string_option(s, "Paper size", "Paper size", in init_options() 1500 "Paper size", paper_list_pcin50 in init_options() [all...] |
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_emit_gm107.cpp | 2529 emitField(0x2f, 2, (insn->getDef(0)->reg.size / 4) - 1); in emitALD() 2560 emitField(0x2f, 2, (insn->getDef(0)->reg.size / 4) - 1); in emitAL2P() 3403 const unsigned int size = (writeIssueDelays && !(codeSize & 0x1f)) ? 16 : 8; in emitInstruction() local 3412 if (codeSize + size > codeSizeLimit) { in emitInstruction() 3921 b = a + v->reg.size / 4; 3946 b = a + v->reg.size / 4; 4059 b = a + src->reg.size / 4; 4078 b = a + def->reg.size / 4; 4122 int maxGPR = minGPR + def->reg.size / 4 - 1; 4128 if (val->reg.data.id + val->reg.size / [all...] |
/third_party/node/deps/openssl/openssl/crypto/aes/asm/ |
H A D | aes-x86_64.pl | 368 .size _x86_64_AES_encrypt,.-_x86_64_AES_encrypt 562 lea 128($sbox),$inp # size optimization 596 .size _x86_64_AES_encrypt_compact,.-_x86_64_AES_encrypt_compact 686 .size AES_encrypt,.-AES_encrypt 755 lea 2048($sbox),$sbox # size optimization 962 .size _x86_64_AES_decrypt,.-_x86_64_AES_decrypt 1174 lea 128($sbox),$inp # size optimization 1217 .size _x86_64_AES_decrypt_compact,.-_x86_64_AES_decrypt_compact 1309 .size AES_decrypt,.-AES_decrypt 1376 .size AES_set_encrypt_ke [all...] |
/third_party/openssl/crypto/aes/asm/ |
H A D | aes-x86_64.pl | 368 .size _x86_64_AES_encrypt,.-_x86_64_AES_encrypt 562 lea 128($sbox),$inp # size optimization 596 .size _x86_64_AES_encrypt_compact,.-_x86_64_AES_encrypt_compact 686 .size AES_encrypt,.-AES_encrypt 755 lea 2048($sbox),$sbox # size optimization 962 .size _x86_64_AES_decrypt,.-_x86_64_AES_decrypt 1174 lea 128($sbox),$inp # size optimization 1217 .size _x86_64_AES_decrypt_compact,.-_x86_64_AES_decrypt_compact 1309 .size AES_decrypt,.-AES_decrypt 1376 .size AES_set_encrypt_ke [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiCommandBuffersTests.cpp | 316 pixelDataSize, // VkDeviceSize size; in readColorAttachment() 915 static_cast<deUint32>(cmdBuffers.size()), // commandBufferCount in submitAndCheck() 924 for(int eventNdx = 0; eventNdx < static_cast<int>(events.size()); ++eventNdx) in submitAndCheck() 974 for(int bufferNdx = 0; bufferNdx < static_cast<int>(cmdBuffers.size()); ++bufferNdx) in addCommandsToBuffer() 977 vk.cmdSetEvent(cmdBuffers[bufferNdx], **events[bufferNdx % events.size()], VK_PIPELINE_STAGE_ALL_COMMANDS_BIT); in addCommandsToBuffer() 993 vk.cmdExecuteCommands(cmdBuffer[0], static_cast<deUint32>(cmdBuffersSecondary.size()), &cmdBuffersSecondary[0]); in executeSecondaryCmdBuffer() 1039 createCommadBuffers(vk, vkDevice, static_cast<deUint32>(cmdBuffersPeak.size()), *cmdPool, cmdBufferLevel, &cmdBuffersPeak[0]); in trimCommandPoolTest() 1055 vk.freeCommandBuffers(vkDevice, *cmdPool, static_cast<deUint32>(cmdBuffersPeak.size()), &cmdBuffersPeak[0]); in trimCommandPoolTest() 1926 (VkDeviceSize)VK_WHOLE_SIZE, // size in simultaneousUseSecondaryBufferOnePrimaryBufferTest() 2044 (VkDeviceSize)VK_WHOLE_SIZE, // size in badInheritanceInfoTest() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiCommandBuffersTests.cpp | 316 pixelDataSize, // VkDeviceSize size; in readColorAttachment() 915 static_cast<deUint32>(cmdBuffers.size()), // commandBufferCount in submitAndCheck() 924 for(int eventNdx = 0; eventNdx < static_cast<int>(events.size()); ++eventNdx) in submitAndCheck() 974 for(int bufferNdx = 0; bufferNdx < static_cast<int>(cmdBuffers.size()); ++bufferNdx) in addCommandsToBuffer() 977 vk.cmdSetEvent(cmdBuffers[bufferNdx], **events[bufferNdx % events.size()], VK_PIPELINE_STAGE_ALL_COMMANDS_BIT); in addCommandsToBuffer() 993 vk.cmdExecuteCommands(cmdBuffer[0], static_cast<deUint32>(cmdBuffersSecondary.size()), &cmdBuffersSecondary[0]); in executeSecondaryCmdBuffer() 1039 createCommadBuffers(vk, vkDevice, static_cast<deUint32>(cmdBuffersPeak.size()), *cmdPool, cmdBufferLevel, &cmdBuffersPeak[0]); in trimCommandPoolTest() 1055 vk.freeCommandBuffers(vkDevice, *cmdPool, static_cast<deUint32>(cmdBuffersPeak.size()), &cmdBuffersPeak[0]); in trimCommandPoolTest() 1926 (VkDeviceSize)VK_WHOLE_SIZE, // size in simultaneousUseSecondaryBufferOnePrimaryBufferTest() 2044 (VkDeviceSize)VK_WHOLE_SIZE, // size in badInheritanceInfoTest() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | capture_gles_ext_autogen.h | 229 GLuint64 size, 951 GLsizeiptr size, 1161 GLsizeiptr size, 1168 GLsizeiptr size, 1221 GLsizeiptr size, 1300 GLuint64 size, 1769 GLsizeiptr size); 2241 GLint size, 2247 GLint size, 2413 GLsizeiptr size); [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | DependenceAnalysis.cpp | 654 // Check the original locations (minus size) for noalias, which can happen for in underlyingObjectsAlias() 3312 if (SrcSubscripts.size() < 2 || DstSubscripts.size() < 2 || in tryDelinearize() 3313 SrcSubscripts.size() != DstSubscripts.size()) in tryDelinearize() 3316 int size = SrcSubscripts.size(); in tryDelinearize() local 3319 // don't have a size for and it cannot overflow into another subscript, so is in tryDelinearize() 3325 for (int i = 1; i < size; ++i) { in tryDelinearize() 3341 for (int i = 0; i < size; in tryDelinearize() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceAssemblerX8632.cpp | 142 if (Number == Labels.size()) { in getOrCreateLabel() 147 if (Number > Labels.size()) { in getOrCreateLabel() 159 assert(NodeNumber < CfgNodeLabels.size()); in getCfgNodeLabel() 1746 // No operand size prefix in movmsk() 2760 void AssemblerX8632::nop(int size) { 2762 // There are nops up to size 15, but for now just provide up to size 8. 2763 assert(0 < size && size <= MAX_NOP_SIZE); 2764 switch (size) { [all...] |
H A D | IceAssemblerX8664.cpp | 127 if (Number == Labels.size()) { in getOrCreateLabel() 132 if (Number > Labels.size()) { in getOrCreateLabel() 144 assert(NodeNumber < CfgNodeLabels.size()); in getCfgNodeLabel() 1887 // No operand size prefix in movmsk() 2914 void AssemblerX8664::nop(int size) { 2916 // There are nops up to size 15, but for now just provide up to size 8. 2917 assert(0 < size && size <= MAX_NOP_SIZE); 2918 switch (size) { [all...] |
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | l2cap_core.c | 346 static int l2cap_seq_list_init(struct l2cap_seq_list *seq_list, u16 size) in l2cap_seq_list_init() argument 350 /* Allocated size is a power of 2 to map sequence numbers in l2cap_seq_list_init() 354 alloc_size = roundup_pow_of_two(size); in l2cap_seq_list_init() 1543 /* The minimum encryption key size needs to be enforced by the in l2cap_check_enc_key_size() 1549 * that have no key size requirements. Ensure that the link is in l2cap_check_enc_key_size() 1550 * actually encrypted before enforcing a key size. in l2cap_check_enc_key_size() 2521 /* PDU size is derived from the HCI MTU */ in l2cap_segment_sdu() 2524 /* Constrain PDU size for BR/EDR connections */ in l2cap_segment_sdu() 3189 static void l2cap_add_conf_opt(void **ptr, u8 type, u8 len, unsigned long val, size_t size) in l2cap_add_conf_opt() argument 3195 if (size < L2CAP_CONF_OPT_SIZ in l2cap_add_conf_opt() 3222 l2cap_add_opt_efs(void **ptr, struct l2cap_chan *chan, size_t size) l2cap_add_opt_efs() argument 3441 u16 size; l2cap_build_conf_req() local 3575 u16 size; l2cap_parse_conf_req() local 3787 l2cap_parse_conf_rsp(struct l2cap_chan *chan, void *rsp, int len, void *data, size_t size, u16 *result) l2cap_parse_conf_rsp() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/ |
H A D | qp.c | 110 * @wq_wqe_shift: log2 of WQE size 202 /* we need at least control segment size to proceed */ in mlx5_ib_read_user_wqe_sq() 439 /* Sanity check RQ size before proceeding */ in set_rq_size() 496 int size = 0; in sq_overhead() local 500 size += sizeof(struct mlx5_wqe_xrc_seg); in sq_overhead() 503 size += sizeof(struct mlx5_wqe_ctrl_seg) + in sq_overhead() 516 size += sizeof(struct mlx5_wqe_ctrl_seg) + in sq_overhead() 524 size += sizeof(struct mlx5_wqe_eth_pad) + in sq_overhead() 529 size += sizeof(struct mlx5_wqe_ctrl_seg) + in sq_overhead() 534 size in sq_overhead() 549 int size; calc_send_wqe() local 3210 size_t size, last; check_ucmd_data() local [all...] |
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | l2cap_core.c | 326 static int l2cap_seq_list_init(struct l2cap_seq_list *seq_list, u16 size) in l2cap_seq_list_init() argument 330 /* Allocated size is a power of 2 to map sequence numbers in l2cap_seq_list_init() 334 alloc_size = roundup_pow_of_two(size); in l2cap_seq_list_init() 1382 /* The minimum encryption key size needs to be enforced by the in l2cap_check_enc_key_size() 1388 * that have no key size requirements. Ensure that the link is in l2cap_check_enc_key_size() 1389 * actually encrypted before enforcing a key size. in l2cap_check_enc_key_size() 1393 /* On FIPS security level, key size must be 16 bytes */ in l2cap_check_enc_key_size() 2346 /* PDU size is derived from the HCI MTU */ in l2cap_segment_sdu() 2349 /* Constrain PDU size for BR/EDR connections */ in l2cap_segment_sdu() 3013 static void l2cap_add_conf_opt(void **ptr, u8 type, u8 len, unsigned long val, size_t size) in l2cap_add_conf_opt() argument 3046 l2cap_add_opt_efs(void **ptr, struct l2cap_chan *chan, size_t size) l2cap_add_opt_efs() argument 3227 u16 size; l2cap_build_conf_req() local 3361 u16 size; l2cap_parse_conf_req() local 3567 l2cap_parse_conf_rsp(struct l2cap_chan *chan, void *rsp, int len, void *data, size_t size, u16 *result) l2cap_parse_conf_rsp() argument [all...] |
/third_party/node/deps/v8/src/codegen/mips/ |
H A D | macro-assembler-mips.cc | 1667 uint16_t size) { in CallRecordWriteStub() 1669 DCHECK_LT(pos + size, 33); in CallRecordWriteStub() 1672 ext_(rt, rs, pos, size); in CallRecordWriteStub() 1676 int shift_left = 32 - (pos + size); in CallRecordWriteStub() 1679 int shift_right = 32 - size; in CallRecordWriteStub() 1687 uint16_t size) { in CallRecordWriteStub() 1689 DCHECK_LE(pos + size, 32); in CallRecordWriteStub() 1690 DCHECK_NE(size, 0); in CallRecordWriteStub() 1693 ins_(rt, rs, pos, size); in CallRecordWriteStub() 1700 srl(scratch, scratch, 32 - size); in CallRecordWriteStub() 1666 Ext(Register rt, Register rs, uint16_t pos, uint16_t size) CallRecordWriteStub() argument 1686 Ins(Register rt, Register rs, uint16_t pos, uint16_t size) CallRecordWriteStub() argument 1710 ExtractBits(Register dest, Register source, Register pos, int size, bool sign_extend) CallRecordWriteStub() argument 1727 InsertBits(Register dest, Register source, Register pos, int size) CallRecordWriteStub() argument 4166 PushArray(Register array, Register size, Register scratch, Register scratch2, PushArrayOrder order) CallRecordWriteStub() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 229 for (unsigned I = 0, E = LeftoverRegs.size(); I != E; ++I) { in insertParts() 243 assert((Size == 32 || Size == 64 || Size == 128) && "Unsupported size"); in getRTLibDesc() 252 llvm_unreachable("unexpected size"); in getRTLibDesc() 255 assert((Size == 32 || Size == 64 || Size == 128) && "Unsupported size"); in getRTLibDesc() 264 llvm_unreachable("unexpected size"); in getRTLibDesc() 267 assert((Size == 32 || Size == 64) && "Unsupported size"); in getRTLibDesc() 270 assert((Size == 32 || Size == 64) && "Unsupported size"); in getRTLibDesc() 273 assert(Size == 32 && "Unsupported size"); in getRTLibDesc() 276 assert((Size == 32 || Size == 64) && "Unsupported size"); in getRTLibDesc() 279 assert((Size == 32 || Size == 64) && "Unsupported size"); in getRTLibDesc() [all...] |
/kernel/linux/linux-5.10/drivers/firewire/ |
H A D | ohci.c | 2229 size_t size = length * 4; in copy_config_rom() local 2231 memcpy(dest, src, size); in copy_config_rom() 2232 if (size < CONFIG_ROM_SIZE) in copy_config_rom() 2233 memset(&dest[length], 0, CONFIG_ROM_SIZE - size); in copy_config_rom() 3268 /* Get header size in number of descriptors. */ in queue_iso_transmit() 3359 /* Get header size in number of descriptors. */ in queue_iso_packet_per_buffer() 3602 size_t size; in pci_probe() local 3711 size = sizeof(struct iso_context) * ohci->n_ir; in pci_probe() 3712 ohci->ir_context_list = kzalloc(size, GFP_KERNEL); in pci_probe() 3724 size in pci_probe() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
H A D | igb_ethtool.c | 1820 unsigned int size) in igb_clean_test_rings() 1839 size, in igb_clean_test_rings() 1843 if (igb_check_lbtest_frame(rx_buffer_info, size)) in igb_clean_test_rings() 1849 size, in igb_clean_test_rings() 1893 unsigned int size = IGB_RX_HDR_LEN; in igb_run_loopback_test() local 1898 skb = alloc_skb(size, GFP_KERNEL); in igb_run_loopback_test() 1903 igb_create_lbtest_frame(skb, size); in igb_run_loopback_test() 1904 skb_put(skb, size); in igb_run_loopback_test() 1936 good_cnt = igb_clean_test_rings(rx_ring, tx_ring, size); in igb_run_loopback_test() 1818 igb_clean_test_rings(struct igb_ring *rx_ring, struct igb_ring *tx_ring, unsigned int size) igb_clean_test_rings() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/emac/ |
H A D | core.c | 81 /* If packet size is less than this number, we allocate small skb and copy packet 484 printk(KERN_WARNING "%s: Unknown Tx FIFO size %d\n", in __emac_calc_base_mr1() 496 printk(KERN_WARNING "%s: Unknown Rx FIFO size %d\n", in __emac_calc_base_mr1() 524 printk(KERN_WARNING "%s: Unknown Tx FIFO size %d\n", in __emac4_calc_base_mr1() 542 printk(KERN_WARNING "%s: Unknown Rx FIFO size %d\n", in __emac4_calc_base_mr1() 556 static inline u32 emac_calc_trtr(struct emac_instance *dev, unsigned int size) in emac_calc_trtr() argument 559 return ((size >> 6) - 1) << EMAC_TRTR_SHIFT_EMAC4; in emac_calc_trtr() 561 return ((size >> 6) - 1) << EMAC_TRTR_SHIFT; in emac_calc_trtr() 2174 int size; in emac_ethtool_get_regs_len() local 2176 size in emac_ethtool_get_regs_len() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_main.c | 58 * @size: size of memory requested 63 u64 size, u32 alignment) in iavf_allocate_dma_mem_d() 70 mem->size = ALIGN(size, alignment); in iavf_allocate_dma_mem_d() 71 mem->va = dma_alloc_coherent(&adapter->pdev->dev, mem->size, in iavf_allocate_dma_mem_d() 91 dma_free_coherent(&adapter->pdev->dev, mem->size, in iavf_free_dma_mem_d() 100 * @size: size of memory requested 103 struct iavf_virt_mem *mem, u32 size) in iavf_allocate_virt_mem_d() 61 iavf_allocate_dma_mem_d(struct iavf_hw *hw, struct iavf_dma_mem *mem, u64 size, u32 alignment) iavf_allocate_dma_mem_d() argument 102 iavf_allocate_virt_mem_d(struct iavf_hw *hw, struct iavf_virt_mem *mem, u32 size) iavf_allocate_virt_mem_d() argument [all...] |
/kernel/linux/linux-5.10/drivers/md/ |
H A D | raid1.c | 133 int size = offsetof(struct r1bio, bios[pi->raid_disks]); in r1bio_pool_alloc() local 136 return kzalloc(size, gfp_flags); in r1bio_pool_alloc() 721 * If buffered sequential IO size exceeds optimal in read_balance() 727 * first disk has IO size exceeds optimal iosize. In in read_balance() 1102 int size = bio->bi_iter.bi_size; in alloc_behind_master_bio() local 1103 unsigned vcnt = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; in alloc_behind_master_bio() 1113 behind_bio->bi_iter.bi_size = size; in alloc_behind_master_bio() 1119 while (i < vcnt && size) { in alloc_behind_master_bio() 1121 int len = min_t(int, PAGE_SIZE, size); in alloc_behind_master_bio() 1129 size in alloc_behind_master_bio() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_main.c | 1026 int t3_get_edc_fw(struct cphy *phy, int edc_idx, int size) in t3_get_edc_fw() argument 1046 /* check size, take checksum in account */ in t3_get_edc_fw() 1047 if (fw->size > size + 4) { in t3_get_edc_fw() 1049 (unsigned int)fw->size, size + 4); in t3_get_edc_fw() 1055 for (csum = 0, i = 0; i < fw->size / sizeof(csum); i++) in t3_get_edc_fw() 1064 for (i = 0; i < size / 4 ; i++) { in t3_get_edc_fw() 1086 ret = t3_load_fw(adap, fw->data, fw->size); in upgrade_fw() 1136 ret = t3_check_tpsram(adap, tpsram->data, tpsram->size); in update_tpsram() [all...] |