/linux-6.6.21/drivers/net/ethernet/toshiba/ |
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->dmac_cmd_status) & GELIC_DESCR_DMA_STAT_MASK; in gelic_descr_get_status() 195 static void gelic_descr_set_status(struct gelic_descr *descr, in gelic_descr_set_status() argument 198 descr->dmac_cmd_status = cpu_to_be32(status | in gelic_descr_set_status() 199 (be32_to_cpu(descr->dmac_cmd_status) & in gelic_descr_set_status() 223 struct gelic_descr *descr; in gelic_card_reset_chain() local 225 for (descr = start_descr; start_descr != descr->next; descr++) { in gelic_card_reset_chain() 226 gelic_descr_set_status(descr, GELIC_DESCR_DMA_CARDOWNED); in gelic_card_reset_chain() 227 descr->next_descr_addr = cpu_to_be32(descr->next->bus_addr); in gelic_card_reset_chain() 231 chain->tail = (descr - 1); in gelic_card_reset_chain() [all …]
|
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-6.6.21/include/linux/ |
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-6.6.21/drivers/media/v4l2-core/ |
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() 1248 const char *descr = NULL; in v4l_fill_fmtdesc() local 1261 case V4L2_PIX_FMT_RGB332: descr = "8-bit RGB 3-3-2"; break; in v4l_fill_fmtdesc() 1262 case V4L2_PIX_FMT_RGB444: descr = "16-bit A/XRGB 4-4-4-4"; break; in v4l_fill_fmtdesc() 1263 case V4L2_PIX_FMT_ARGB444: descr = "16-bit ARGB 4-4-4-4"; break; in v4l_fill_fmtdesc() 1264 case V4L2_PIX_FMT_XRGB444: descr = "16-bit XRGB 4-4-4-4"; break; in v4l_fill_fmtdesc() [all …]
|
/linux-6.6.21/arch/powerpc/lib/ |
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-6.6.21/net/wireless/ |
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 …]
|
D | wext-core.c | 456 const struct iw_ioctl_description * descr = NULL; in wireless_send_event() local 489 descr = &(standard_ioctl[cmd_index]); in wireless_send_event() 493 descr = &(standard_event[cmd_index]); in wireless_send_event() 496 if (descr == NULL) { in wireless_send_event() 510 if (descr->header_type == IW_HEADER_TYPE_POINT) { in wireless_send_event() 512 if (wrqu->data.length > descr->max_tokens) { in wireless_send_event() 517 if (wrqu->data.length < descr->min_tokens) { in wireless_send_event() 524 extra_len = wrqu->data.length * descr->token_size; in wireless_send_event() 530 hdr_len = event_type_size[descr->header_type]; in wireless_send_event() 585 hdr_len = compat_event_type_size[descr->header_type]; in wireless_send_event() [all …]
|
/linux-6.6.21/tools/usb/usbip/libsrc/ |
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-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | sockopt.c | 24 const char *descr; member 46 .descr = "getsockopt: no expected_attach_type", 58 .descr = "getsockopt: wrong expected_attach_type", 70 .descr = "getsockopt: bypass bpf hook", 92 .descr = "getsockopt: return EPERM from bpf hook", 107 .descr = "getsockopt: no optval bounds check, deny loading", 126 .descr = "getsockopt: read ctx->level", 155 .descr = "getsockopt: deny writing to ctx->level", 169 .descr = "getsockopt: read ctx->optname", 198 .descr = "getsockopt: read ctx->retval", [all …]
|
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 …]
|
D | align.c | 13 const char *descr; member 30 .descr = "mov", 52 .descr = "shift", 86 .descr = "addsub", 110 .descr = "mul", 146 .descr = "unknown shift", 180 .descr = "unknown mul", 210 .descr = "packet const offset", 248 .descr = "packet variable offset", 365 .descr = "packet variable offset 2", [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
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 …]
|
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-6.6.21/lib/ |
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-6.6.21/drivers/target/ |
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-6.6.21/Documentation/networking/device_drivers/ethernet/toshiba/ |
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-6.6.21/mm/kmsan/ |
D | report.c | 66 static char *pretty_descr(char *descr) in pretty_descr() argument 68 int pos = 0, len = strlen(descr); in pretty_descr() 71 if (descr[i] == '@') in pretty_descr() 73 if (descr[i] == '-') in pretty_descr() 75 report_local_descr[pos] = descr[i]; in pretty_descr() 91 char *descr = NULL; in kmsan_print_origin() local 102 descr = (char *)entries[1]; in kmsan_print_origin() 106 pretty_descr(descr)); in kmsan_print_origin()
|
/linux-6.6.21/drivers/staging/media/atomisp/pci/camera/pipe/src/ |
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-6.6.21/drivers/edac/ |
D | thunderx_edac.c | 47 char *descr; member 51 const struct error_descr *descr, in decode_register() argument 56 while (descr->type && descr->mask && descr->descr) { in decode_register() 57 if (reg & descr->mask) { in decode_register() 59 descr->type == ERR_CORRECTED ? in decode_register() 61 descr->descr); in decode_register() 65 descr++; in decode_register() 127 .descr = "Single-bit ECC error", 132 .descr = "DDR chip error", 137 .descr = "Double-bit ECC error", [all …]
|
/linux-6.6.21/drivers/staging/media/av7110/ |
D | av7110_ca.c | 297 struct ca_descr *descr = (struct ca_descr*) parg; in dvb_ca_ioctl() local 299 if (descr->index >= 16 || descr->parity > 1) { in dvb_ca_ioctl() 304 (descr->index<<8)|descr->parity, in dvb_ca_ioctl() 305 (descr->cw[0]<<8)|descr->cw[1], in dvb_ca_ioctl() 306 (descr->cw[2]<<8)|descr->cw[3], in dvb_ca_ioctl() 307 (descr->cw[4]<<8)|descr->cw[5], in dvb_ca_ioctl() 308 (descr->cw[6]<<8)|descr->cw[7]); in dvb_ca_ioctl()
|
/linux-6.6.21/drivers/staging/media/atomisp/pci/runtime/binary/src/ |
D | binary.c | 927 static int __ia_css_binary_find(struct ia_css_binary_descr *descr, in __ia_css_binary_find() argument 953 assert(descr); in __ia_css_binary_find() 959 descr, descr->mode, in __ia_css_binary_find() 962 mode = descr->mode; in __ia_css_binary_find() 963 online = descr->online; in __ia_css_binary_find() 964 two_ppc = descr->two_ppc; in __ia_css_binary_find() 965 stream_format = descr->stream_format; in __ia_css_binary_find() 966 req_in_info = descr->in_info; in __ia_css_binary_find() 967 req_bds_out_info = descr->bds_out_info; in __ia_css_binary_find() 969 req_out_info[i] = descr->out_info[i]; in __ia_css_binary_find() [all …]
|
/linux-6.6.21/arch/powerpc/platforms/ps3/ |
D | gelic_udbg.c | 56 struct gelic_descr descr; member 132 dbg.descr.buf_addr = bus_addr + offsetof(struct debug_block, pkt); in gelic_debug_init() 198 dbg.descr.buf_size = header_size + msgsize; in gelic_sendbuf() 210 dbg.descr.dmac_cmd_status = GELIC_DESCR_DMA_CMD_NO_CHKSUM | in gelic_sendbuf() 212 dbg.descr.result_size = 0; in gelic_sendbuf() 213 dbg.descr.data_status = 0; in gelic_sendbuf() 219 while ((dbg.descr.dmac_cmd_status & GELIC_DESCR_DMA_STAT_MASK) == in gelic_sendbuf()
|
/linux-6.6.21/arch/um/drivers/ |
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-6.6.21/drivers/video/fbdev/via/ |
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-6.6.21/tools/testing/selftests/bpf/progs/ |
D | strobemeta.h | 392 struct strobe_map_descr* descr = &data->map_descrs[idx]; in read_map_var() local 397 descr->tag_len = 0; /* presume no tag is set */ in read_map_var() 398 descr->cnt = -1; /* presume no value is set */ in read_map_var() 408 descr->id = map.id; in read_map_var() 409 descr->cnt = map.cnt; in read_map_var() 417 descr->tag_len = len; in read_map_var() 430 descr->key_lens[i] = 0; in read_map_var() 434 descr->key_lens[i] = len; in read_map_var() 437 descr->val_lens[i] = 0; in read_map_var() 441 descr->val_lens[i] = len; in read_map_var()
|