Home
last modified time | relevance | path

Searched refs:descr (Results 1 – 25 of 95) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/net/ethernet/toshiba/
Dps3_gelic_net.c99 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 …]
Dspider_net.c277 struct spider_net_descr *descr; in spider_net_free_chain() local
279 descr = chain->ring; in spider_net_free_chain()
281 descr->bus_addr = 0; in spider_net_free_chain()
282 descr->hwdescr->next_descr_addr = 0; in spider_net_free_chain()
283 descr = descr->next; in spider_net_free_chain()
284 } while (descr != chain->ring); in spider_net_free_chain()
305 struct spider_net_descr *descr; in spider_net_init_chain() local
318 descr = chain->ring; in spider_net_init_chain()
321 for (i=0; i < chain->num_desc; i++, descr++, hwdescr++) { in spider_net_init_chain()
325 descr->hwdescr = hwdescr; in spider_net_init_chain()
[all …]
/kernel/linux/linux-5.10/include/linux/
Ddebugobjects.h33 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 …]
/kernel/linux/linux-5.10/arch/powerpc/lib/
Dtest_emulate_step.c84 static void __init show_result_with_descr(char *mnemonic, char *descr, in show_result_with_descr() argument
87 pr_info("%-14s : %-50s %s\n", mnemonic, descr, result); in show_result_with_descr()
637 char *descr; member
654 .descr = "R0 = LONG_MAX",
666 .descr = "RA = LONG_MIN, RB = LONG_MIN",
674 .descr = "RA = LONG_MIN, RB = LONG_MAX",
682 .descr = "RA = LONG_MAX, RB = LONG_MAX",
690 .descr = "RA = ULONG_MAX, RB = ULONG_MAX",
698 .descr = "RA = ULONG_MAX, RB = 0x1",
706 .descr = "RA = INT_MIN, RB = INT_MIN",
[all …]
/kernel/linux/linux-5.10/net/wireless/
Dwext-priv.c96 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 …]
Dwext-core.c456 const struct iw_ioctl_description * descr = NULL; in wireless_send_event() local
488 descr = &(standard_ioctl[cmd_index]); in wireless_send_event()
492 descr = &(standard_event[cmd_index]); in wireless_send_event()
495 if (descr == NULL) { in wireless_send_event()
509 if (descr->header_type == IW_HEADER_TYPE_POINT) { in wireless_send_event()
511 if (wrqu->data.length > descr->max_tokens) { in wireless_send_event()
516 if (wrqu->data.length < descr->min_tokens) { in wireless_send_event()
523 extra_len = wrqu->data.length * descr->token_size; in wireless_send_event()
529 hdr_len = event_type_size[descr->header_type]; in wireless_send_event()
584 hdr_len = compat_event_type_size[descr->header_type]; in wireless_send_event()
[all …]
/kernel/linux/linux-5.10/tools/usb/usbip/libsrc/
Dusbip_device_driver.c24 #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 …]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-ioctl.c42 const char *descr; member
95 return standards[i].descr; in v4l2_norm_to_name()
131 const char *descr = ""; in v4l_video_std_enumstd() local
145 descr = standards[j].descr; in v4l_video_std_enumstd()
157 v4l2_video_std_construct(vs, curr_id, descr); in v4l_video_std_enumstd()
1244 const char *descr = NULL; in v4l_fill_fmtdesc() local
1257 case V4L2_PIX_FMT_RGB332: descr = "8-bit RGB 3-3-2"; break; in v4l_fill_fmtdesc()
1258 case V4L2_PIX_FMT_RGB444: descr = "16-bit A/XRGB 4-4-4-4"; break; in v4l_fill_fmtdesc()
1259 case V4L2_PIX_FMT_ARGB444: descr = "16-bit ARGB 4-4-4-4"; break; in v4l_fill_fmtdesc()
1260 case V4L2_PIX_FMT_XRGB444: descr = "16-bit XRGB 4-4-4-4"; break; in v4l_fill_fmtdesc()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dsockopt.c19 const char *descr; member
41 .descr = "getsockopt: no expected_attach_type",
53 .descr = "getsockopt: wrong expected_attach_type",
65 .descr = "getsockopt: bypass bpf hook",
87 .descr = "getsockopt: return EPERM from bpf hook",
102 .descr = "getsockopt: no optval bounds check, deny loading",
121 .descr = "getsockopt: read ctx->level",
150 .descr = "getsockopt: deny writing to ctx->level",
164 .descr = "getsockopt: read ctx->optname",
193 .descr = "getsockopt: read ctx->retval",
[all …]
Dbtf.c64 const char *descr; member
108 .descr = "struct test #1",
160 .descr = "struct test #2",
201 .descr = "struct test #3 Invalid member offset",
237 .descr = "global data test #1",
277 .descr = "global data test #2",
312 .descr = "global data test #3",
334 .descr = "global data test #4, unsupported linkage",
358 .descr = "global data test #5, invalid var type",
380 .descr = "global data test #6, invalid var type (fwd type)",
[all …]
Dalign.c13 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",
355 .descr = "packet variable offset 2",
[all …]
/kernel/linux/linux-5.10/lib/
Ddebugobjects.c227 alloc_object(void *addr, struct debug_bucket *b, const struct debug_obj_descr *descr) in alloc_object() argument
278 obj->descr = descr; in alloc_object()
505 const struct debug_obj_descr *descr = obj->descr; in debug_print_object() local
508 if (limit < 5 && descr != descr_test) { in debug_print_object()
509 void *hint = descr->debug_hint ? in debug_print_object()
510 descr->debug_hint(obj->object) : NULL; in debug_print_object()
515 descr->name, hint); in debug_print_object()
559 __debug_object_init(void *addr, const struct debug_obj_descr *descr, int onstack) in __debug_object_init() argument
575 obj = alloc_object(addr, db, descr); in __debug_object_init()
596 debug_object_fixup(descr->fixup_init, addr, state); in __debug_object_init()
[all …]
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/toshiba/
Dspider_net.rst44 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 …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/camera/pipe/src/
Dpipe_binarydesc.c37 struct ia_css_binary_descr *descr, in pipe_binarydesc_get_offline() argument
45 assert(descr); in pipe_binarydesc_get_offline()
49 descr->mode = mode; in pipe_binarydesc_get_offline()
50 descr->online = false; in pipe_binarydesc_get_offline()
51 descr->continuous = pipe->stream->config.continuous; in pipe_binarydesc_get_offline()
52 descr->striped = false; in pipe_binarydesc_get_offline()
53 descr->two_ppc = false; in pipe_binarydesc_get_offline()
54 descr->enable_yuv_ds = false; in pipe_binarydesc_get_offline()
55 descr->enable_high_speed = false; in pipe_binarydesc_get_offline()
56 descr->enable_dvs_6axis = false; in pipe_binarydesc_get_offline()
[all …]
/kernel/linux/linux-5.10/drivers/edac/
Dthunderx_edac.c47 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 …]
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/
Dav7110_ca.c297 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()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_sysctl.c28 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 …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/binary/src/
Dbinary.c1373 static int __ia_css_binary_find(struct ia_css_binary_descr *descr, in __ia_css_binary_find() argument
1406 assert(descr); in __ia_css_binary_find()
1412 descr, descr->mode, in __ia_css_binary_find()
1415 mode = descr->mode; in __ia_css_binary_find()
1416 online = descr->online; in __ia_css_binary_find()
1417 two_ppc = descr->two_ppc; in __ia_css_binary_find()
1418 stream_format = descr->stream_format; in __ia_css_binary_find()
1419 req_in_info = descr->in_info; in __ia_css_binary_find()
1420 req_bds_out_info = descr->bds_out_info; in __ia_css_binary_find()
1423 req_out_info[i] = descr->out_info[i]; in __ia_css_binary_find()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/
Dgelic_udbg.c56 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()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dstrobemeta.h390 struct strobe_map_descr* descr = &data->map_descrs[idx]; in read_map_var() local
396 descr->tag_len = 0; /* presume no tag is set */ in read_map_var()
397 descr->cnt = -1; /* presume no value is set */ in read_map_var()
407 descr->id = map.id; in read_map_var()
408 descr->cnt = map.cnt; in read_map_var()
416 descr->tag_len = len; in read_map_var()
429 descr->key_lens[i] = 0; in read_map_var()
433 descr->key_lens[i] = len; in read_map_var()
436 descr->val_lens[i] = 0; in read_map_var()
440 descr->val_lens[i] = len; in read_map_var()
/kernel/linux/linux-5.10/arch/um/drivers/
Dvde_kern.c26 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()
Dvde.h11 char *descr; member
19 char *descr; member
/kernel/linux/linux-5.10/drivers/video/fbdev/via/
Dvia-core.c230 struct viafb_vx855_dma_descr *descr; in viafb_dma_copy_out_sg() local
252 descr = descrpages; in viafb_dma_copy_out_sg()
256 descr->addr_low = paddr & 0xfffffff0; in viafb_dma_copy_out_sg()
257 descr->addr_high = ((u64) paddr >> 32) & 0x0fff; in viafb_dma_copy_out_sg()
258 descr->fb_offset = offset; in viafb_dma_copy_out_sg()
259 descr->seg_size = sg_dma_len(sgentry) >> 4; in viafb_dma_copy_out_sg()
260 descr->tile_mode = 0; in viafb_dma_copy_out_sg()
261 descr->next_desc_low = (nextdesc&0xfffffff0) | VIAFB_DMA_MAGIC; in viafb_dma_copy_out_sg()
262 descr->next_desc_high = ((u64) nextdesc >> 32) & 0x0fff; in viafb_dma_copy_out_sg()
263 descr->pad = 0xffffffff; /* VIA driver does this */ in viafb_dma_copy_out_sg()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/vphn/
Dtest-vphn.c22 char *descr; member
396 for (test = all_tests; test->descr; test++) { in test_vphn()
400 test_finish(test->descr, ret); in test_vphn()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/dvb/
Dca_function_calls.rst17 ca-get-descr-info
20 ca-set-descr

1234