| /OK3568_Linux_fs/kernel/Documentation/target/ |
| H A D | tcm_mod_builder.py | 41 buf = "" 50 buf = "#define " + fabric_mod_name.upper() + "_VERSION \"v0.1\"\n" 51 buf += "#define " + fabric_mod_name.upper() + "_NAMELEN 32\n" 52 buf += "\n" 53 buf += "struct " + fabric_mod_name + "_tpg {\n" 54 buf += " /* FC lport target portal group tag for TCM */\n" 55 buf += " u16 lport_tpgt;\n" 56 buf += " /* Pointer back to " + fabric_mod_name + "_lport */\n" 57 buf += " struct " + fabric_mod_name + "_lport *lport;\n" 58 buf += " /* Returned by " + fabric_mod_name + "_make_tpg() */\n" [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/ |
| H A D | nxt200x.c | 58 static int i2c_writebytes (struct nxt200x_state* state, u8 addr, u8 *buf, u8 len) in i2c_writebytes() argument 61 struct i2c_msg msg = { .addr = addr, .flags = 0, .buf = buf, .len = len }; in i2c_writebytes() 71 static int i2c_readbytes(struct nxt200x_state *state, u8 addr, u8 *buf, u8 len) in i2c_readbytes() argument 74 struct i2c_msg msg = { .addr = addr, .flags = I2C_M_RD, .buf = buf, .len = len }; in i2c_readbytes() 85 const u8 *buf, u8 len) in nxt200x_writebytes() argument 89 …struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf2, .len = len +… in nxt200x_writebytes() 98 memcpy(&buf2[1], buf, len); in nxt200x_writebytes() 108 static int nxt200x_readbytes(struct nxt200x_state *state, u8 reg, u8 *buf, u8 len) in nxt200x_readbytes() argument 112 …struct i2c_msg msg [] = { { .addr = state->config->demod_address, .flags = 0, .buf = reg2, .len = … in nxt200x_readbytes() 113 { .addr = state->config->demod_address, .flags = I2C_M_RD, .buf = buf, .len = len } }; in nxt200x_readbytes() [all …]
|
| /OK3568_Linux_fs/kernel/sound/firewire/bebob/ |
| H A D | bebob_command.c | 13 u8 *buf; in avc_audio_set_selector() local 16 buf = kzalloc(12, GFP_KERNEL); in avc_audio_set_selector() 17 if (buf == NULL) in avc_audio_set_selector() 20 buf[0] = 0x00; /* AV/C CONTROL */ in avc_audio_set_selector() 21 buf[1] = 0x08 | (0x07 & subunit_id); /* AUDIO SUBUNIT ID */ in avc_audio_set_selector() 22 buf[2] = 0xb8; /* FUNCTION BLOCK */ in avc_audio_set_selector() 23 buf[3] = 0x80; /* type is 'selector'*/ in avc_audio_set_selector() 24 buf[4] = 0xff & fb_id; /* function block id */ in avc_audio_set_selector() 25 buf[5] = 0x10; /* control attribute is CURRENT */ in avc_audio_set_selector() 26 buf[6] = 0x02; /* selector length is 2 */ in avc_audio_set_selector() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/common/videobuf2/ |
| H A D | videobuf2-cma-sg.c | 47 static int vb2_cma_sg_alloc_compacted(struct vb2_cma_sg_buf *buf, in vb2_cma_sg_alloc_compacted() argument 51 unsigned long size = buf->size; in vb2_cma_sg_alloc_compacted() 72 __free_page(buf->pages[last_page]); in vb2_cma_sg_alloc_compacted() 80 buf->pages[last_page++] = &pages[i]; in vb2_cma_sg_alloc_compacted() 88 static void vb2_cma_sg_free_compacted(struct vb2_cma_sg_buf *buf) in vb2_cma_sg_free_compacted() argument 90 int num_pages = buf->num_pages; in vb2_cma_sg_free_compacted() 93 __free_page(buf->pages[num_pages]); in vb2_cma_sg_free_compacted() 94 buf->pages[num_pages] = NULL; in vb2_cma_sg_free_compacted() 98 static int vb2_cma_sg_alloc_contiguous(struct vb2_cma_sg_buf *buf) in vb2_cma_sg_alloc_contiguous() argument 110 page = rk_dma_heap_alloc_contig_pages(heap, buf->size, in vb2_cma_sg_alloc_contiguous() [all …]
|
| H A D | videobuf2-dma-sg.c | 58 static int vb2_dma_sg_alloc_compacted(struct vb2_dma_sg_buf *buf, in vb2_dma_sg_alloc_compacted() argument 62 unsigned long size = buf->size; in vb2_dma_sg_alloc_compacted() 83 __free_page(buf->pages[last_page]); in vb2_dma_sg_alloc_compacted() 91 buf->pages[last_page++] = &pages[i]; in vb2_dma_sg_alloc_compacted() 103 struct vb2_dma_sg_buf *buf; in vb2_dma_sg_alloc() local 111 buf = kzalloc(sizeof *buf, GFP_KERNEL); in vb2_dma_sg_alloc() 112 if (!buf) in vb2_dma_sg_alloc() 115 buf->vaddr = NULL; in vb2_dma_sg_alloc() 116 buf->dma_dir = dma_dir; in vb2_dma_sg_alloc() 117 buf->offset = 0; in vb2_dma_sg_alloc() [all …]
|
| H A D | videobuf2-dma-contig.c | 71 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_cookie() local 73 return &buf->dma_addr; in vb2_dc_cookie() 78 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_vaddr() local 80 if (!buf->vaddr && buf->db_attach) in vb2_dc_vaddr() 81 buf->vaddr = dma_buf_vmap(buf->db_attach->dmabuf); in vb2_dc_vaddr() 83 return buf->vaddr; in vb2_dc_vaddr() 88 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_num_users() local 90 return refcount_read(&buf->refcount); in vb2_dc_num_users() 95 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_prepare() local 96 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_prepare() [all …]
|
| H A D | videobuf2-vmalloc.c | 41 struct vb2_vmalloc_buf *buf; in vb2_vmalloc_alloc() local 43 buf = kzalloc(sizeof(*buf), GFP_KERNEL | gfp_flags); in vb2_vmalloc_alloc() 44 if (!buf) in vb2_vmalloc_alloc() 47 buf->size = size; in vb2_vmalloc_alloc() 48 buf->vaddr = vmalloc_user(buf->size); in vb2_vmalloc_alloc() 49 if (!buf->vaddr) { in vb2_vmalloc_alloc() 50 pr_debug("vmalloc of size %ld failed\n", buf->size); in vb2_vmalloc_alloc() 51 kfree(buf); in vb2_vmalloc_alloc() 55 buf->dma_dir = dma_dir; in vb2_vmalloc_alloc() 56 buf->handler.refcount = &buf->refcount; in vb2_vmalloc_alloc() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/vtl_ts/ |
| H A D | chip.c | 93 static int chip_i2c_read(struct i2c_client *client, __u16 addr, __u8 *buf, __u16 len) in chip_i2c_read() argument 102 msgs.buf = buf; in chip_i2c_read() 115 static int chip_i2c_write(struct i2c_client *client, __u16 addr, __u8 *buf, __u16 len) in chip_i2c_write() argument 124 msgs.buf = buf; in chip_i2c_write() 141 unsigned char buf[3]; in chip_ram_write_1byte() local 145 buf[0] = 0xff; in chip_ram_write_1byte() 146 buf[1] = addr >> 8; in chip_ram_write_1byte() 147 buf[2] = addr & 0x00ff; in chip_ram_write_1byte() 149 ret = chip_i2c_write(client, client->addr, buf,3); in chip_ram_write_1byte() 155 buf[0] = 0x00; in chip_ram_write_1byte() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | relay.c | 35 struct rchan_buf *buf = vma->vm_private_data; in relay_file_mmap_close() local 36 buf->chan->cb->buf_unmapped(buf, vma->vm_file); in relay_file_mmap_close() 45 struct rchan_buf *buf = vmf->vma->vm_private_data; in relay_buf_fault() local 48 if (!buf) in relay_buf_fault() 51 page = vmalloc_to_page(buf->start + (pgoff << PAGE_SHIFT)); in relay_buf_fault() 96 static int relay_mmap_buf(struct rchan_buf *buf, struct vm_area_struct *vma) in relay_mmap_buf() argument 101 if (!buf) in relay_mmap_buf() 104 if (length != (unsigned long)buf->chan->alloc_size) in relay_mmap_buf() 109 vma->vm_private_data = buf; in relay_mmap_buf() 110 buf->chan->cb->buf_mapped(buf, filp); in relay_mmap_buf() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/xen/ |
| H A D | xen-front-pgdir-shbuf.c | 56 void (*calc_num_grefs)(struct xen_front_pgdir_shbuf *buf); 59 void (*fill_page_dir)(struct xen_front_pgdir_shbuf *buf); 62 int (*grant_refs_for_buffer)(struct xen_front_pgdir_shbuf *buf, 66 int (*map)(struct xen_front_pgdir_shbuf *buf); 69 int (*unmap)(struct xen_front_pgdir_shbuf *buf); 83 xen_front_pgdir_shbuf_get_dir_start(struct xen_front_pgdir_shbuf *buf) in xen_front_pgdir_shbuf_get_dir_start() argument 85 if (!buf->grefs) in xen_front_pgdir_shbuf_get_dir_start() 88 return buf->grefs[0]; in xen_front_pgdir_shbuf_get_dir_start() 103 int xen_front_pgdir_shbuf_map(struct xen_front_pgdir_shbuf *buf) in xen_front_pgdir_shbuf_map() argument 105 if (buf->ops && buf->ops->map) in xen_front_pgdir_shbuf_map() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/saa7164/ |
| H A D | saa7164-buffer.c | 55 void saa7164_buffer_display(struct saa7164_buffer *buf) in saa7164_buffer_display() argument 57 struct saa7164_dev *dev = buf->port->dev; in saa7164_buffer_display() 61 __func__, buf, buf->idx); in saa7164_buffer_display() 63 buf->cpu, (long long)buf->dma, buf->pci_size); in saa7164_buffer_display() 65 buf->pt_cpu, (long long)buf->pt_dma, buf->pt_size); in saa7164_buffer_display() 71 i, buf->pt_cpu, (u64)*(buf->pt_cpu)); in saa7164_buffer_display() 82 struct saa7164_buffer *buf = NULL; in saa7164_buffer_alloc() local 91 buf = kzalloc(sizeof(*buf), GFP_KERNEL); in saa7164_buffer_alloc() 92 if (!buf) in saa7164_buffer_alloc() 95 buf->idx = -1; in saa7164_buffer_alloc() [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/mm/ |
| H A D | page.c | 104 pg_addiu(u32 **buf, unsigned int reg1, unsigned int reg2, unsigned int off) in pg_addiu() argument 108 uasm_i_lui(buf, T9, uasm_rel_hi(off)); in pg_addiu() 109 uasm_i_addiu(buf, T9, T9, uasm_rel_lo(off)); in pg_addiu() 111 uasm_i_addiu(buf, T9, ZERO, off); in pg_addiu() 112 uasm_i_daddu(buf, reg1, reg2, T9); in pg_addiu() 115 uasm_i_lui(buf, T9, uasm_rel_hi(off)); in pg_addiu() 116 uasm_i_addiu(buf, T9, T9, uasm_rel_lo(off)); in pg_addiu() 117 UASM_i_ADDU(buf, reg1, reg2, T9); in pg_addiu() 119 UASM_i_ADDIU(buf, reg1, reg2, off); in pg_addiu() 232 static void build_clear_store(u32 **buf, int off) in build_clear_store() argument [all …]
|
| /OK3568_Linux_fs/kernel/sound/firewire/oxfw/ |
| H A D | oxfw-command.c | 13 u8 *buf; in avc_stream_set_format() local 16 buf = kmalloc(len + 10, GFP_KERNEL); in avc_stream_set_format() 17 if (buf == NULL) in avc_stream_set_format() 20 buf[0] = 0x00; /* CONTROL */ in avc_stream_set_format() 21 buf[1] = 0xff; /* UNIT */ in avc_stream_set_format() 22 buf[2] = 0xbf; /* EXTENDED STREAM FORMAT INFORMATION */ in avc_stream_set_format() 23 buf[3] = 0xc0; /* SINGLE subfunction */ in avc_stream_set_format() 24 buf[4] = dir; /* Plug Direction */ in avc_stream_set_format() 25 buf[5] = 0x00; /* UNIT */ in avc_stream_set_format() 26 buf[6] = 0x00; /* PCR (Isochronous Plug) */ in avc_stream_set_format() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/dvb-usb-v2/ |
| H A D | mxl111sf-i2c.c | 247 &msg->buf[i]); in mxl111sf_i2c_sw_xfer_msg() 278 msg->buf[i]); in mxl111sf_i2c_sw_xfer_msg() 330 u8 buf[26]; in mxl111sf_i2c_check_status() local 334 buf[0] = USB_READ_I2C_CMD; in mxl111sf_i2c_check_status() 335 buf[1] = 0x00; in mxl111sf_i2c_check_status() 337 buf[2] = I2C_INT_STATUS_REG; in mxl111sf_i2c_check_status() 338 buf[3] = 0x00; in mxl111sf_i2c_check_status() 339 buf[4] = 0x00; in mxl111sf_i2c_check_status() 341 buf[5] = USB_END_I2C_CMD; in mxl111sf_i2c_check_status() 343 mxl111sf_i2c_get_data(state, 0, buf, buf); in mxl111sf_i2c_check_status() [all …]
|
| /OK3568_Linux_fs/external/xserver/xkb/ |
| H A D | xkbtext.c | 152 char *str, buf[VMOD_BUFFER_SIZE]; in XkbVModMaskText() local 167 str = buf; in XkbVModMaskText() 168 buf[0] = '\0'; in XkbVModMaskText() 175 len = strlen(tmp) + 1 + (str == buf ? 0 : 1); in XkbVModMaskText() 178 if ((str - (buf + len)) <= VMOD_BUFFER_SIZE) { in XkbVModMaskText() 179 if (str != buf) { in XkbVModMaskText() 194 str = buf; in XkbVModMaskText() 237 char buf[100]; in XkbModIndexText() local 241 snprintf(buf, sizeof(buf), "%sMapIndex", modNames[ndx]); in XkbModIndexText() 243 snprintf(buf, sizeof(buf), "XkbNoModifier"); in XkbModIndexText() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath11k/ |
| H A D | debugfs_htt_stats.c | 13 #define HTT_DBG_OUT(buf, len, fmt, ...) \ argument 14 scnprintf(buf, len, fmt "\n", ##__VA_ARGS__) 37 u8 *buf = stats_req->buf; in htt_print_stats_string_tlv() local 46 len += HTT_DBG_OUT(buf + len, buf_len - len, "HTT_STATS_STRING_TLV:"); in htt_print_stats_string_tlv() 56 len += HTT_DBG_OUT(buf + len, buf_len - len, "data = %s\n", data); in htt_print_stats_string_tlv() 59 buf[buf_len - 1] = 0; in htt_print_stats_string_tlv() 61 buf[len] = 0; in htt_print_stats_string_tlv() 70 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_cmn_tlv() local 74 len += HTT_DBG_OUT(buf + len, buf_len - len, "HTT_TX_PDEV_STATS_CMN_TLV:"); in htt_print_tx_pdev_stats_cmn_tlv() 75 len += HTT_DBG_OUT(buf + len, buf_len - len, "mac_id = %u", in htt_print_tx_pdev_stats_cmn_tlv() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath5k/ |
| H A D | debug.c | 179 char buf[500]; in read_file_beacon() local 185 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_beacon() 190 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\n", in read_file_beacon() 193 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\n\n", in read_file_beacon() 197 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon() 201 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon() 205 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon() 209 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon() 213 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_beacon() 217 if (len > sizeof(buf)) in read_file_beacon() [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/util/arm-spe-decoder/ |
| H A D | arm-spe-pkt-decoder.c | 85 static int arm_spe_get_payload(const unsigned char *buf, size_t len, in arm_spe_get_payload() argument 88 size_t payload_len = payloadlen(buf[0]); in arm_spe_get_payload() 93 buf++; in arm_spe_get_payload() 96 case 1: packet->payload = *(uint8_t *)buf; break; in arm_spe_get_payload() 97 case 2: packet->payload = le16_to_cpu(*(uint16_t *)buf); break; in arm_spe_get_payload() 98 case 4: packet->payload = le32_to_cpu(*(uint32_t *)buf); break; in arm_spe_get_payload() 99 case 8: packet->payload = le64_to_cpu(*(uint64_t *)buf); break; in arm_spe_get_payload() 112 static int arm_spe_get_alignment(const unsigned char *buf, size_t len, in arm_spe_get_alignment() argument 115 unsigned int alignment = 1 << ((buf[0] & 0xf) + 1); in arm_spe_get_alignment() 121 return alignment - (((uintptr_t)buf) & (alignment - 1)); in arm_spe_get_alignment() [all …]
|
| /OK3568_Linux_fs/kernel/net/bridge/ |
| H A D | br_stp_bpdu.c | 81 unsigned char buf[35]; in br_send_config_bpdu() local 86 buf[0] = 0; in br_send_config_bpdu() 87 buf[1] = 0; in br_send_config_bpdu() 88 buf[2] = 0; in br_send_config_bpdu() 89 buf[3] = BPDU_TYPE_CONFIG; in br_send_config_bpdu() 90 buf[4] = (bpdu->topology_change ? 0x01 : 0) | in br_send_config_bpdu() 92 buf[5] = bpdu->root.prio[0]; in br_send_config_bpdu() 93 buf[6] = bpdu->root.prio[1]; in br_send_config_bpdu() 94 buf[7] = bpdu->root.addr[0]; in br_send_config_bpdu() 95 buf[8] = bpdu->root.addr[1]; in br_send_config_bpdu() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/ |
| H A D | tty_audit.c | 24 struct tty_audit_buf *buf; in tty_audit_buf_ref() local 26 buf = current->signal->tty_audit_buf; in tty_audit_buf_ref() 27 WARN_ON(buf == ERR_PTR(-ESRCH)); in tty_audit_buf_ref() 28 return buf; in tty_audit_buf_ref() 33 struct tty_audit_buf *buf; in tty_audit_buf_alloc() local 35 buf = kmalloc(sizeof(*buf), GFP_KERNEL); in tty_audit_buf_alloc() 36 if (!buf) in tty_audit_buf_alloc() 38 buf->data = kmalloc(N_TTY_BUF_SIZE, GFP_KERNEL); in tty_audit_buf_alloc() 39 if (!buf->data) in tty_audit_buf_alloc() 41 mutex_init(&buf->mutex); in tty_audit_buf_alloc() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/st/cw1200/ |
| H A D | wsm.c | 27 #define WSM_SKIP(buf, size) \ argument 29 if ((buf)->data + size > (buf)->end) \ 31 (buf)->data += size; \ 34 #define WSM_GET(buf, ptr, size) \ argument 36 if ((buf)->data + size > (buf)->end) \ 38 memcpy(ptr, (buf)->data, size); \ 39 (buf)->data += size; \ 42 #define __WSM_GET(buf, type, type2, cvt) \ argument 45 if ((buf)->data + sizeof(type) > (buf)->end) \ 47 val = cvt(*(type2 *)(buf)->data); \ [all …]
|
| /OK3568_Linux_fs/app/forlinx/flapp/src/plugins/allwinner/camera/CameraUI/src/ |
| H A D | AutoMount.cpp | 104 char buf[256]; in AutoMountDev() local 162 sprintf(buf,"umount /mnt/sdcard/%s",p->d_name); in AutoMountDev() 163 system(buf); in AutoMountDev() 169 sprintf(buf,"rm -rf /mnt/sdcard/"); in AutoMountDev() 170 system(buf); in AutoMountDev() 176 sprintf(buf,"/mnt/sdcard/%s",sdbuf[0]); in AutoMountDev() 177 if(!isMounted(buf)){ in AutoMountDev() 180 …sprintf(buf,"mount -t vfat /dev/%s /mnt/sdcard/mmcblk1p1 -o defaults,noatime,async,iocharset=cp936… in AutoMountDev() 182 system(buf); in AutoMountDev() 184 sprintf(buf,"/mnt/sdcard/%s",sdbuf[0]); in AutoMountDev() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/tuners/ |
| H A D | mt20xx.c | 103 unsigned char *buf, in mt2032_compute_freq() argument 162 buf[0]=lo1n-1; in mt2032_compute_freq() 163 buf[1]=lo1a | (sel<<4); in mt2032_compute_freq() 164 buf[2]=0x86; // LOGC in mt2032_compute_freq() 165 buf[3]=0x0f; //reserved in mt2032_compute_freq() 166 buf[4]=0x1f; in mt2032_compute_freq() 167 buf[5]=(lo2n-1) | (lo2a<<5); in mt2032_compute_freq() 169 buf[6]=0xe4; in mt2032_compute_freq() 171 buf[6]=0xf4; // set PKEN per rev 1.2 in mt2032_compute_freq() 172 buf[7]=8+xogc; in mt2032_compute_freq() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/mac/mac_ax/ |
| H A D | dbg_cmd.c | 588 adapter->fw_dbgcmd.buf = output; in mac_halmac_cmd() 629 adapter->fw_dbgcmd.buf = output; in mac_halmac_cmd_parser() 672 u32 c2h_fw_status(struct mac_ax_adapter *adapter, u8 *buf, u32 len, in c2h_fw_status() argument 685 hdr0 = ((struct fwcmd_hdr *)buf)->hdr0; in c2h_fw_status() 694 info->content = buf + FWCMD_HDR_LEN; in c2h_fw_status() 724 u32 fw_status_taskinfo_handler(struct mac_ax_adapter *adapter, u8 *buf, u32 len) in fw_status_taskinfo_handler() argument 727 char *output = adapter->fw_dbgcmd.buf; in fw_status_taskinfo_handler() 740 "%s\n", (const char *)buf); in fw_status_taskinfo_handler() 748 u32 fw_status_flashinfo_handler(struct mac_ax_adapter *adapter, u8 *buf, u32 len) in fw_status_flashinfo_handler() argument 751 char *output = adapter->fw_dbgcmd.buf; in fw_status_flashinfo_handler() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/mac/mac_ax/ |
| H A D | dbg_cmd.c | 588 adapter->fw_dbgcmd.buf = output; in mac_halmac_cmd() 629 adapter->fw_dbgcmd.buf = output; in mac_halmac_cmd_parser() 672 u32 c2h_fw_status(struct mac_ax_adapter *adapter, u8 *buf, u32 len, in c2h_fw_status() argument 685 hdr0 = ((struct fwcmd_hdr *)buf)->hdr0; in c2h_fw_status() 694 info->content = buf + FWCMD_HDR_LEN; in c2h_fw_status() 724 u32 fw_status_taskinfo_handler(struct mac_ax_adapter *adapter, u8 *buf, u32 len) in fw_status_taskinfo_handler() argument 727 char *output = adapter->fw_dbgcmd.buf; in fw_status_taskinfo_handler() 740 "%s\n", (const char *)buf); in fw_status_taskinfo_handler() 748 u32 fw_status_flashinfo_handler(struct mac_ax_adapter *adapter, u8 *buf, u32 len) in fw_status_flashinfo_handler() argument 751 char *output = adapter->fw_dbgcmd.buf; in fw_status_flashinfo_handler() [all …]
|