/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/include/linux/ |
H A D | debugobjects.h | 33 const struct debug_obj_descr *descr; member 67 extern void debug_object_init (void *addr, const struct debug_obj_descr *descr); 69 debug_object_init_on_stack(void *addr, const struct debug_obj_descr *descr); 70 extern int debug_object_activate (void *addr, const struct debug_obj_descr *descr); 71 extern void debug_object_deactivate(void *addr, const struct debug_obj_descr *descr); 72 extern void debug_object_destroy (void *addr, const struct debug_obj_descr *descr); 73 extern void debug_object_free (void *addr, const struct debug_obj_descr *descr); 74 extern void debug_object_assert_init(void *addr, const struct debug_obj_descr *descr); 82 debug_object_active_state(void *addr, const struct debug_obj_descr *descr, 89 debug_object_init (void *addr, const struct debug_obj_descr *descr) { } in debug_object_init() argument [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/arch/powerpc/lib/ |
H A D | test_emulate_step.c | 83 static void __init show_result_with_descr(char *mnemonic, char *descr, in show_result_with_descr() argument 86 pr_info("%-14s : %-50s %s\n", mnemonic, descr, result); in show_result_with_descr() 904 char *descr; member 921 .descr = "R0 = LONG_MAX", 934 .descr = "BFA = 1, CR = GT", 941 .descr = "BFA = 4, CR = LT", 948 .descr = "BFA = 5, CR = EQ", 960 .descr = "RA = LONG_MIN, RB = LONG_MIN", 968 .descr = "RA = LONG_MIN, RB = LONG_MAX", 976 .descr = "RA = LONG_MAX, RB = LONG_MAX", [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 …]
|
H A D | wext-core.c | 457 const struct iw_ioctl_description * descr = NULL; in wireless_send_event() local 490 descr = &(standard_ioctl[cmd_index]); in wireless_send_event() 494 descr = &(standard_event[cmd_index]); in wireless_send_event() 497 if (descr == NULL) { in wireless_send_event() 511 if (descr->header_type == IW_HEADER_TYPE_POINT) { in wireless_send_event() 513 if (wrqu->data.length > descr->max_tokens) { in wireless_send_event() 518 if (wrqu->data.length < descr->min_tokens) { in wireless_send_event() 525 extra_len = wrqu->data.length * descr->token_size; in wireless_send_event() 531 hdr_len = event_type_size[descr->header_type]; in wireless_send_event() 586 hdr_len = compat_event_type_size[descr->header_type]; in wireless_send_event() [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/drivers/misc/ |
H A D | rpmb-core.c | 57 return rdev->descr.route_frames(rdev->dev.parent, req, req_len, in rpmb_route_frames() 69 kfree(rdev->descr.dev_id); in rpmb_dev_release() 158 struct rpmb_descr *descr) in rpmb_dev_register() argument 163 if (!dev || !descr || !descr->route_frames || !descr->dev_id || in rpmb_dev_register() 164 !descr->dev_id_len) in rpmb_dev_register() 170 rdev->descr = *descr; in rpmb_dev_register() 171 rdev->descr.dev_id = kmemdup(descr->dev_id, descr->dev_id_len, in rpmb_dev_register() 173 if (!rdev->descr.dev_id) { in rpmb_dev_register() 200 kfree(rdev->descr.dev_id); in rpmb_dev_register()
|
/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 | 26 const char *descr; member 51 .descr = "bind4 load with invalid access: src_ip6", 64 .descr = "bind4 load with invalid access: mark", 77 .descr = "bind6 load with invalid access: src_ip4", 90 .descr = "sock_create load with invalid access: src_port", 103 .descr = "sock_create load w/o expected_attach_type (compat mode)", 117 .descr = "sock_create load w/ expected_attach_type", 131 .descr = "attach type mismatch bind4 vs bind6", 141 .descr = "attach type mismatch bind6 vs bind4", 151 .descr = "attach type mismatch default vs bind4", [all …]
|
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/lib/ |
H A D | debugobjects.c | 220 alloc_object(void *addr, struct debug_bucket *b, const struct debug_obj_descr *descr) in alloc_object() argument 271 obj->descr = descr; in alloc_object() 498 const struct debug_obj_descr *descr = obj->descr; in debug_print_object() local 510 if (limit < 5 && descr != descr_test) { in debug_print_object() 511 void *hint = descr->debug_hint ? in debug_print_object() 512 descr->debug_hint(obj->object) : NULL; in debug_print_object() 517 obj->object, descr->name, hint); in debug_print_object() 561 const struct debug_obj_descr *descr, in lookup_object_or_alloc() argument 581 if (!descr->is_static_object || !descr->is_static_object(addr)) in lookup_object_or_alloc() 587 obj = alloc_object(addr, b, descr); in lookup_object_or_alloc() [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/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/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/atomisp/pci/camera/pipe/src/ |
H A D | pipe_binarydesc.c | 39 struct ia_css_binary_descr *descr, in pipe_binarydesc_get_offline() argument 47 assert(descr); in pipe_binarydesc_get_offline() 51 descr->mode = mode; in pipe_binarydesc_get_offline() 52 descr->online = false; in pipe_binarydesc_get_offline() 53 descr->continuous = pipe->stream->config.continuous; in pipe_binarydesc_get_offline() 54 descr->striped = false; in pipe_binarydesc_get_offline() 55 descr->two_ppc = false; in pipe_binarydesc_get_offline() 56 descr->enable_yuv_ds = false; in pipe_binarydesc_get_offline() 57 descr->enable_high_speed = false; in pipe_binarydesc_get_offline() 58 descr->enable_dvs_6axis = false; in pipe_binarydesc_get_offline() [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/drivers/staging/media/atomisp/pci/runtime/binary/src/ |
H A D | binary.c | 927 int ia_css_binary_find(struct ia_css_binary_descr *descr, struct ia_css_binary *binary) in ia_css_binary_find() argument 953 assert(descr); in ia_css_binary_find() 958 descr, descr->mode, binary); in ia_css_binary_find() 960 mode = descr->mode; in ia_css_binary_find() 961 online = descr->online; in ia_css_binary_find() 962 two_ppc = descr->two_ppc; in ia_css_binary_find() 963 stream_format = descr->stream_format; in ia_css_binary_find() 964 req_in_info = descr->in_info; in ia_css_binary_find() 965 req_bds_out_info = descr->bds_out_info; in ia_css_binary_find() 967 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()
|