/linux/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_net.c | 99 gelic_descr_get_status(struct gelic_descr *descr) in gelic_descr_get_status() argument 101 return be32_to_cpu(descr->hw_regs.dmac_cmd_status) & in gelic_descr_get_status() 196 static void gelic_descr_set_status(struct gelic_descr *descr, in gelic_descr_set_status() argument 199 descr->hw_regs.dmac_cmd_status = cpu_to_be32(status | in gelic_descr_set_status() 200 (be32_to_cpu(descr->hw_regs.dmac_cmd_status) & in gelic_descr_set_status() 224 struct gelic_descr *descr; in gelic_card_reset_chain() local 226 for (descr = start_descr; start_descr != descr->next; descr++) { in gelic_card_reset_chain() 227 gelic_descr_set_status(descr, GELIC_DESCR_DMA_CARDOWNED); in gelic_card_reset_chain() 228 descr->hw_regs.next_descr_addr in gelic_card_reset_chain() 229 = cpu_to_be32(descr->next->link.cpu_addr); in gelic_card_reset_chain() [all …]
|
H A D | spider_net.c | 279 struct spider_net_descr *descr; in spider_net_free_chain() local 281 descr = chain->ring; in spider_net_free_chain() 283 descr->bus_addr = 0; in spider_net_free_chain() 284 descr->hwdescr->next_descr_addr = 0; in spider_net_free_chain() 285 descr = descr->next; in spider_net_free_chain() 286 } while (descr != chain->ring); in spider_net_free_chain() 307 struct spider_net_descr *descr; in spider_net_init_chain() local 320 descr = chain->ring; in spider_net_init_chain() 323 for (i=0; i < chain->num_desc; i++, descr++, hwdescr++) { in spider_net_init_chain() 327 descr->hwdescr = hwdescr; in spider_net_init_chain() [all …]
|
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-ioctl.c | 39 const char *descr; member 92 return standards[i].descr; in v4l2_norm_to_name() 128 const char *descr = ""; in v4l_video_std_enumstd() local 142 descr = standards[j].descr; in v4l_video_std_enumstd() 154 v4l2_video_std_construct(vs, curr_id, descr); in v4l_video_std_enumstd() 1257 const char *descr = NULL; in v4l_fill_fmtdesc() local 1270 case V4L2_PIX_FMT_RGB332: descr = "8-bit RGB 3-3-2"; break; in v4l_fill_fmtdesc() 1271 case V4L2_PIX_FMT_RGB444: descr = "16-bit A/XRGB 4-4-4-4"; break; in v4l_fill_fmtdesc() 1272 case V4L2_PIX_FMT_ARGB444: descr = "16-bit ARGB 4-4-4-4"; break; in v4l_fill_fmtdesc() 1273 case V4L2_PIX_FMT_XRGB444: descr = "16-bit XRGB 4-4-4-4"; break; in v4l_fill_fmtdesc() [all …]
|
/linux/net/wireless/ |
H A D | wext-priv.c | 96 const struct iw_priv_args *descr; in get_priv_descr_and_size() local 99 descr = NULL; in get_priv_descr_and_size() 102 descr = &dev->wireless_handlers->private_args[i]; in get_priv_descr_and_size() 108 if (descr) { in get_priv_descr_and_size() 112 if (descr->name[0] == '\0') in get_priv_descr_and_size() 117 extra_size = get_priv_size(descr->set_args); in get_priv_descr_and_size() 120 if ((descr->set_args & IW_PRIV_SIZE_FIXED) && in get_priv_descr_and_size() 125 extra_size = get_priv_size(descr->get_args); in get_priv_descr_and_size() 128 if ((descr->get_args & IW_PRIV_SIZE_FIXED) && in get_priv_descr_and_size() 133 *descrp = descr; in get_priv_descr_and_size() [all …]
|
/linux/tools/usb/usbip/libsrc/ |
H A D | usbip_device_driver.c | 24 #define copy_descr_attr16(dev, descr, attr) \ argument 25 ((dev)->attr = le16toh((descr)->attr)) \ 27 #define copy_descr_attr(dev, descr, attr) \ argument 28 ((dev)->attr = (descr)->attr) \ 67 struct usb_device_descriptor descr; in read_usb_vudc_device() local 81 ret = fread((char *) &descr, sizeof(descr), 1, fd); in read_usb_vudc_device() 88 copy_descr_attr(dev, &descr, bDeviceClass); in read_usb_vudc_device() 89 copy_descr_attr(dev, &descr, bDeviceSubClass); in read_usb_vudc_device() 90 copy_descr_attr(dev, &descr, bDeviceProtocol); in read_usb_vudc_device() 91 copy_descr_attr(dev, &descr, bNumConfigurations); in read_usb_vudc_device() [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockopt.c | 25 const char *descr; member 49 .descr = "getsockopt: no expected_attach_type", 61 .descr = "getsockopt: wrong expected_attach_type", 73 .descr = "getsockopt: bypass bpf hook", 95 .descr = "getsockopt: return EPERM from bpf hook", 110 .descr = "getsockopt: no optval bounds check, deny loading", 129 .descr = "getsockopt: read ctx->level", 158 .descr = "getsockopt: deny writing to ctx->level", 172 .descr = "getsockopt: read ctx->optname", 201 .descr = "getsockopt: read ctx->retval", [all …]
|
H A D | btf.c | 61 const char *descr; member 105 .descr = "struct test #1", 157 .descr = "struct test #2", 198 .descr = "struct test #3 Invalid member offset", 234 .descr = "global data test #1", 274 .descr = "global data test #2", 309 .descr = "global data test #3", 331 .descr = "global data test #4, unsupported linkage", 355 .descr = "global data test #5, invalid var type", 377 .descr = "global data test #6, invalid var type (fwd type)", [all …]
|
H A D | align.c | 14 const char *descr; member 31 .descr = "mov", 53 .descr = "shift", 87 .descr = "addsub", 111 .descr = "mul", 147 .descr = "unknown shift", 181 .descr = "unknown mul", 211 .descr = "packet const offset", 249 .descr = "packet variable offset", 366 .descr = "packet variable offset 2", [all …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_sock.c |
|
H A D | test_sysctl.c | 28 const char *descr; member 48 .descr = "sysctl wrong attach_type", 59 .descr = "sysctl:read allow all", 70 .descr = "sysctl:read deny all", 81 .descr = "ctx:write sysctl:read read ok", 102 .descr = "ctx:write sysctl:write read ok", 124 .descr = "ctx:write sysctl:write read ok narrow", 147 .descr = "ctx:write sysctl:read write reject", 162 .descr = "ctx:file_pos sysctl:read read ok", 184 .descr = "ctx:file_pos sysctl:read read ok narrow", [all …]
|
/linux/drivers/target/ |
H A D | target_core_spc.c | 1427 static bool tcm_is_ws_enabled(struct target_opcode_descriptor *descr, in tcm_is_ws_enabled() argument 1455 static bool tcm_is_caw_enabled(struct target_opcode_descriptor *descr, in tcm_is_caw_enabled() argument 1496 static bool tcm_is_rep_ref_enabled(struct target_opcode_descriptor *descr, in tcm_is_rep_ref_enabled() argument 1542 static bool tcm_is_unmap_enabled(struct target_opcode_descriptor *descr, in tcm_is_unmap_enabled() argument 1665 static bool tcm_is_pr_enabled(struct target_opcode_descriptor *descr, in tcm_is_pr_enabled() argument 1676 switch (descr->opcode) { in tcm_is_pr_enabled() 1687 switch (descr->service_action) { in tcm_is_pr_enabled() 1699 if (descr->service_action == PRI_READ_FULL_STATUS) in tcm_is_pr_enabled() 1883 static bool tcm_is_3pc_enabled(struct target_opcode_descriptor *descr, in tcm_is_3pc_enabled() argument 1945 static bool spc_rsoc_enabled(struct target_opcode_descriptor *descr, in spc_rsoc_enabled() argument [all …]
|
/linux/lib/ |
H A D | debugobjects.c | 451 const struct debug_obj_descr *descr) in alloc_object() argument 464 obj->descr = descr; in alloc_object() 596 const struct debug_obj_descr *descr = obj->descr; in debug_print_object() local 608 if (limit < 5 && descr != descr_test) { in debug_print_object() 609 void *hint = descr->debug_hint ? in debug_print_object() 610 descr->debug_hint(obj->object) : NULL; in debug_print_object() 615 obj->object, descr->name, hint); in debug_print_object() 659 const struct debug_obj_descr *descr, in lookup_object_or_alloc() argument 679 if (!descr->is_static_object || !descr->is_static_object(addr)) in lookup_object_or_alloc() 685 obj = alloc_object(addr, b, descr); in lookup_object_or_alloc() [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/toshiba/ |
H A D | spider_net.rst | 44 descriptor pointer (GDACTDPA). The GDACTDPA points at the descr 45 currently being filled. When this descr is filled, the hardware 47 flowing RX traffic, every descr behind it should be marked "full", 49 discovers that the current descr is not empty, it will signal an 54 descr. The OS will process this descr, and then mark it "not-in-use", 64 a "not-in-use" descr. The OS will perform various housekeeping duties 65 on this descr. This includes allocating a new data buffer and 67 then mark the descr as "empty", ready to receive data. Thus, when there 71 pointer, at which point the OS will notice that the head descr is 75 all be pointing at the same descr, which should be "empty". All of the [all …]
|
/linux/drivers/edac/ |
H A D | thunderx_edac.c | 41 char *descr; member 45 const struct error_descr *descr, in decode_register() argument 50 while (descr->type && descr->mask && descr->descr) { in decode_register() 51 if (reg & descr->mask) { in decode_register() 53 descr->type == ERR_CORRECTED ? in decode_register() 55 descr->descr); in decode_register() 59 descr++; in decode_register() 121 .descr = "Single-bit ECC error", 126 .descr = "DDR chip error", 131 .descr = "Double-bit ECC error", [all …]
|
/linux/mm/kmsan/ |
H A D | report.c | 68 static char *pretty_descr(char *descr) in pretty_descr() argument 70 int pos = 0, len = strlen(descr); in pretty_descr() 73 if (descr[i] == '@') in pretty_descr() 75 if (descr[i] == '-') in pretty_descr() 77 report_local_descr[pos] = descr[i]; in pretty_descr() 93 char *descr = NULL; in kmsan_print_origin() local 104 descr = (char *)entries[1]; in kmsan_print_origin() 108 pretty_descr(descr)); in kmsan_print_origin()
|
/linux/drivers/staging/media/av7110/ |
H A D | av7110_ca.c | 304 struct ca_descr *descr = (struct ca_descr *)parg; in dvb_ca_ioctl() local 306 if (descr->index >= 16 || descr->parity > 1) { in dvb_ca_ioctl() 311 (descr->index << 8) | descr->parity, in dvb_ca_ioctl() 312 (descr->cw[0] << 8) | descr->cw[1], in dvb_ca_ioctl() 313 (descr->cw[2] << 8) | descr->cw[3], in dvb_ca_ioctl() 314 (descr->cw[4] << 8) | descr->cw[5], in dvb_ca_ioctl() 315 (descr->cw[6] << 8) | descr->cw[7]); in dvb_ca_ioctl()
|
/linux/drivers/staging/media/atomisp/pci/runtime/binary/src/ |
H A D | binary.c | 918 int ia_css_binary_find(struct ia_css_binary_descr *descr, struct ia_css_binary *binary) in ia_css_binary_find() argument 944 assert(descr); in ia_css_binary_find() 949 descr, descr->mode, binary); in ia_css_binary_find() 951 mode = descr->mode; in ia_css_binary_find() 952 online = descr->online; in ia_css_binary_find() 953 two_ppc = descr->two_ppc; in ia_css_binary_find() 954 stream_format = descr->stream_format; in ia_css_binary_find() 955 req_in_info = descr->in_info; in ia_css_binary_find() 956 req_bds_out_info = descr->bds_out_info; in ia_css_binary_find() 958 req_out_info[i] = descr->out_info[i]; in ia_css_binary_find() [all …]
|
/linux/arch/powerpc/platforms/ps3/ |
H A D | gelic_udbg.c | 57 struct gelic_descr descr; member 133 dbg.descr.buf_addr = bus_addr + offsetof(struct debug_block, pkt); in gelic_debug_init() 199 dbg.descr.buf_size = header_size + msgsize; in gelic_sendbuf() 211 dbg.descr.dmac_cmd_status = GELIC_DESCR_DMA_CMD_NO_CHKSUM | in gelic_sendbuf() 213 dbg.descr.result_size = 0; in gelic_sendbuf() 214 dbg.descr.data_status = 0; in gelic_sendbuf() 220 while ((dbg.descr.dmac_cmd_status & GELIC_DESCR_DMA_STAT_MASK) == in gelic_sendbuf()
|
/linux/arch/um/drivers/ |
H A D | vde_kern.c | 26 vpri->descr = init->descr ? init->descr : "UML vde_transport"; in vde_init() 77 .descr = NULL, in vde_setup() 83 &init->group, &mode_str, &init->descr, NULL); in vde_setup()
|
/linux/drivers/video/fbdev/via/ |
H A D | via-core.c | 231 struct viafb_vx855_dma_descr *descr; in viafb_dma_copy_out_sg() local 253 descr = descrpages; in viafb_dma_copy_out_sg() 257 descr->addr_low = paddr & 0xfffffff0; in viafb_dma_copy_out_sg() 258 descr->addr_high = ((u64) paddr >> 32) & 0x0fff; in viafb_dma_copy_out_sg() 259 descr->fb_offset = offset; in viafb_dma_copy_out_sg() 260 descr->seg_size = sg_dma_len(sgentry) >> 4; in viafb_dma_copy_out_sg() 261 descr->tile_mode = 0; in viafb_dma_copy_out_sg() 262 descr->next_desc_low = (nextdesc&0xfffffff0) | VIAFB_DMA_MAGIC; in viafb_dma_copy_out_sg() 263 descr->next_desc_high = ((u64) nextdesc >> 32) & 0x0fff; in viafb_dma_copy_out_sg() 264 descr->pad = 0xffffffff; /* VIA driver does this */ in viafb_dma_copy_out_sg() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | strobemeta.h | 394 struct strobe_map_descr* descr = &data->map_descrs[idx]; in read_map_var() local 399 descr->tag_len = 0; /* presume no tag is set */ in read_map_var() 400 descr->cnt = -1; /* presume no value is set */ in read_map_var() 410 descr->id = map.id; in read_map_var() 411 descr->cnt = map.cnt; in read_map_var() 419 descr->tag_len = len; in read_map_var() 432 descr->key_lens[i] = 0; in read_map_var() 436 descr->key_lens[i] = len; in read_map_var() 439 descr->val_lens[i] = 0; in read_map_var() 443 descr->val_lens[i] = len; in read_map_var()
|
/linux/drivers/staging/media/atomisp/pci/ |
H A D | sh_css.c | 215 struct ia_css_cas_binary_descr *descr); 218 *descr); 5823 struct ia_css_cas_binary_descr *descr) in ia_css_pipe_create_cas_scaler_desc_single_output() argument 5838 descr->num_output_stage = 1; in ia_css_pipe_create_cas_scaler_desc_single_output() 5847 descr->num_stage++; in ia_css_pipe_create_cas_scaler_desc_single_output() 5851 descr->in_info = kmalloc(descr->num_stage * in ia_css_pipe_create_cas_scaler_desc_single_output() 5854 if (!descr->in_info) { in ia_css_pipe_create_cas_scaler_desc_single_output() 5858 descr->internal_out_info = kmalloc(descr->num_stage * in ia_css_pipe_create_cas_scaler_desc_single_output() 5861 if (!descr->internal_out_info) { in ia_css_pipe_create_cas_scaler_desc_single_output() 5865 descr->out_info = kmalloc(descr->num_stage * in ia_css_pipe_create_cas_scaler_desc_single_output() [all …]
|
/linux/tools/testing/selftests/powerpc/vphn/ |
H A D | test-vphn.c | 22 char *descr; member 396 for (test = all_tests; test->descr; test++) { in test_vphn() 400 test_finish(test->descr, ret); in test_vphn()
|
/linux/include/linux/ |
H A D | rpmb.h | 59 struct rpmb_descr descr; member 74 struct rpmb_descr *descr); 105 rpmb_dev_register(struct device *dev, struct rpmb_descr *descr) in rpmb_dev_register() argument
|
/linux/drivers/tee/optee/ |
H A D | rpc.c | 314 return rpmb_type_to_rpc_type(rdev->descr.type) >= 0; in rpc_rpmb_match() 351 if (params[1].u.memref.size < rdev->descr.dev_id_len) { in handle_rpc_func_rpmb_probe_next() 355 memcpy(buf, rdev->descr.dev_id, rdev->descr.dev_id_len); in handle_rpc_func_rpmb_probe_next() 356 params[1].u.memref.size = rdev->descr.dev_id_len; in handle_rpc_func_rpmb_probe_next() 357 params[0].u.value.a = rpmb_type_to_rpc_type(rdev->descr.type); in handle_rpc_func_rpmb_probe_next() 358 params[0].u.value.b = rdev->descr.capacity; in handle_rpc_func_rpmb_probe_next() 359 params[0].u.value.c = rdev->descr.reliable_wr_count; in handle_rpc_func_rpmb_probe_next()
|