/openbmc/linux/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_net.c | 225 for (descr = start_descr; start_descr != descr->next; descr++) { in gelic_card_reset_chain() 227 descr->next_descr_addr = cpu_to_be32(descr->next->bus_addr); in gelic_card_reset_chain() 289 for (descr = descr_in; descr && descr->bus_addr; descr = descr->next) { in gelic_card_free_chain() 316 memset(descr, 0, sizeof(*descr) * no); in gelic_card_init_chain() 331 descr->next = descr + 1; in gelic_card_init_chain() 332 descr->prev = descr - 1; in gelic_card_init_chain() 341 descr->next_descr_addr = cpu_to_be32(descr->next->bus_addr); in gelic_card_init_chain() 353 for (i--, descr--; 0 <= i; i--, descr--) in gelic_card_init_chain() 439 descr = descr->next; in gelic_card_release_rx_chain() 462 descr = descr->next; in gelic_card_fill_rx_chain() [all …]
|
H A D | spider_net.c | 285 descr = descr->next; in spider_net_free_chain() 329 descr->next = descr + 1; in spider_net_init_chain() 365 descr = descr->next; in spider_net_free_rx_chain_contents() 526 descr = descr->next; in spider_net_alloc_rx_skbs() 724 descr = descr->next; in spider_net_set_low_watermark() 736 descr = descr->next; in spider_net_set_low_watermark() 869 descr = descr->next; in spider_net_kick_tx_dma() 1045 descr = descr->next; in show_rx_chain() 1071 descr = descr->next; in show_rx_chain() 1107 descr = descr->next; in spider_net_resync_head_ptr() [all …]
|
/openbmc/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); 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 91 debug_object_init_on_stack(void *addr, const struct debug_obj_descr *descr) { } in debug_object_init_on_stack() argument 95 debug_object_deactivate(void *addr, const struct debug_obj_descr *descr) { } in debug_object_deactivate() argument 97 debug_object_destroy (void *addr, const struct debug_obj_descr *descr) { } in debug_object_destroy() argument 99 debug_object_free (void *addr, const struct debug_obj_descr *descr) { } in debug_object_free() argument [all …]
|
/openbmc/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() 1248 const char *descr = NULL; in v4l_fill_fmtdesc() local 1463 case V4L2_PIX_FMT_DV: descr = "1394"; break; in v4l_fill_fmtdesc() 1474 case V4L2_PIX_FMT_XVID: descr = "Xvid"; break; in v4l_fill_fmtdesc() 1477 case V4L2_PIX_FMT_VP8: descr = "VP8"; break; in v4l_fill_fmtdesc() 1479 case V4L2_PIX_FMT_VP9: descr = "VP9"; break; in v4l_fill_fmtdesc() [all …]
|
/openbmc/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() 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() 125 extra_size = get_priv_size(descr->get_args); in get_priv_descr_and_size() 133 *descrp = descr; in get_priv_descr_and_size() 138 const struct iw_priv_args *descr, in ioctl_private_iw_point() argument 175 if (!(descr->get_args & IW_PRIV_SIZE_FIXED)) in ioctl_private_iw_point() 192 const struct iw_priv_args *descr; in ioctl_private_call() local [all …]
|
H A D | wext-core.c | 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() 750 extra_size = descr->max_tokens * descr->token_size; in ioctl_standard_iw_point() 763 len = iwp->length * descr->token_size; in ioctl_standard_iw_point() 788 if (iwp->length > descr->max_tokens) in ioctl_standard_iw_point() 790 if (iwp->length < descr->min_tokens) in ioctl_standard_iw_point() 806 (user_length > descr->max_tokens)) { in ioctl_standard_iw_point() 836 descr->token_size)) { in ioctl_standard_iw_point() 864 iwp->length = descr->max_tokens; in ioctl_standard_iw_point() [all …]
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | test_emulate_step.c | 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", 1032 .descr = "RA = UINT_MAX, RB = 0x1", 1328 .descr = "RA = 1L, RB = 0", 1358 .descr = "RA = 1L, RB = 0", 1389 .descr = "RA = 1L, RB = 0", 1437 .descr = "RA = 1L, RB = 0", [all …]
|
/openbmc/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() 92 copy_descr_attr16(dev, &descr, idVendor); in read_usb_vudc_device() 93 copy_descr_attr16(dev, &descr, idProduct); in read_usb_vudc_device() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockopt.c | 24 const char *descr; member 46 .descr = "getsockopt: no expected_attach_type", 70 .descr = "getsockopt: bypass bpf hook", 126 .descr = "getsockopt: read ctx->level", 169 .descr = "getsockopt: read ctx->optname", 198 .descr = "getsockopt: read ctx->retval", 230 .descr = "getsockopt: read ctx->optlen", 372 .descr = "getsockopt: rewrite value", 438 .descr = "setsockopt: bypass bpf hook", 494 .descr = "setsockopt: read ctx->level", [all …]
|
H A D | btf.c | 61 const char *descr; member 105 .descr = "struct test #1", 157 .descr = "struct test #2", 1100 .descr = "void test #1", 4386 const char *descr; member 4432 .descr = "BTF ID", 5189 const char *descr; member 5575 pprint_test_template[0].descr = pprint_tests_meta[i].descr; in test_pprint() 5587 pprint_test_template[i].descr = pprint_tests_meta[0].descr; in test_pprint() 5601 const char *descr; member [all …]
|
H A 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 …]
|
/openbmc/qemu/tests/qtest/ |
H A D | e1000e-test.c | 46 struct e1000_tx_desc descr; in e1000e_send_verify() local 56 memset(&descr, 0, sizeof(descr)); in e1000e_send_verify() 57 descr.buffer_addr = cpu_to_le64(data); in e1000e_send_verify() 58 descr.lower.data = cpu_to_le32(E1000_TXD_CMD_RS | in e1000e_send_verify() 65 e1000e_tx_ring_push(d, &descr); in e1000e_send_verify() 71 g_assert_cmphex(le32_to_cpu(descr.upper.data) & E1000_TXD_STAT_DD, ==, in e1000e_send_verify() 87 union e1000_rx_desc_extended descr; in e1000e_receive_verify() local 112 memset(&descr, 0, sizeof(descr)); in e1000e_receive_verify() 113 descr.read.buffer_addr = cpu_to_le64(data); in e1000e_receive_verify() 116 e1000e_rx_ring_push(d, &descr); in e1000e_receive_verify() [all …]
|
H A D | igb-test.c | 50 union e1000_adv_tx_desc descr; in igb_send_verify() local 60 memset(&descr, 0, sizeof(descr)); in igb_send_verify() 61 descr.read.buffer_addr = cpu_to_le64(data); in igb_send_verify() 62 descr.read.cmd_type_len = cpu_to_le32(E1000_TXD_CMD_RS | in igb_send_verify() 68 e1000e_tx_ring_push(d, &descr); in igb_send_verify() 74 g_assert_cmphex(le32_to_cpu(descr.wb.status) & E1000_TXD_STAT_DD, ==, in igb_send_verify() 90 union e1000_adv_rx_desc descr; in igb_receive_verify() local 115 memset(&descr, 0, sizeof(descr)); in igb_receive_verify() 116 descr.read.pkt_addr = cpu_to_le64(data); in igb_receive_verify() 119 e1000e_rx_ring_push(d, &descr); in igb_receive_verify() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_sock.c | 26 const char *descr; member 64 .descr = "bind4 load with invalid access: mark", 131 .descr = "attach type mismatch bind4 vs bind6", 141 .descr = "attach type mismatch bind6 vs bind4", 171 .descr = "bind4 reject all", 184 .descr = "bind6 reject all", 197 .descr = "bind6 deny specific IP & port", 227 .descr = "bind4 allow specific IP & port", 350 .descr = "bind4 allow all", 363 .descr = "bind6 allow all", [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", 147 .descr = "ctx:write sysctl:read write reject", 162 .descr = "ctx:file_pos sysctl:read read ok", 211 .descr = "ctx:file_pos sysctl:read write ok", 310 .descr = "sysctl_get_name sysctl:full ok", [all …]
|
/openbmc/qemu/hw/audio/ |
H A D | soundhw.c | 37 const char *descr; member 46 void pci_register_soundhw(const char *name, const char *descr, in pci_register_soundhw() argument 51 soundhw[soundhw_count].descr = descr; in pci_register_soundhw() 57 void deprecated_register_soundhw(const char *name, const char *descr, in deprecated_register_soundhw() argument 62 soundhw[soundhw_count].descr = descr; in deprecated_register_soundhw() 75 printf ("%-11s %s\n", c->name, c->descr); in show_valid_soundhw()
|
/openbmc/linux/lib/ |
H A D | debugobjects.c | 272 obj->descr = descr; in alloc_object() 499 const struct debug_obj_descr *descr = obj->descr; in debug_print_object() local 512 void *hint = descr->debug_hint ? in debug_print_object() 518 obj->object, descr->name, hint); in debug_print_object() 582 if (!descr->is_static_object || !descr->is_static_object(addr)) in lookup_object_or_alloc() 588 obj = alloc_object(addr, b, descr); in lookup_object_or_alloc() 670 __debug_object_init(addr, descr, 0); in debug_object_init() 697 struct debug_obj o = { .object = addr, .state = ODEBUG_STATE_NOTAVAILABLE, .descr = descr }; in debug_object_activate() 754 struct debug_obj o = { .object = addr, .state = ODEBUG_STATE_NOTAVAILABLE, .descr = descr }; in debug_object_deactivate() 886 struct debug_obj o = { .object = addr, .state = ODEBUG_STATE_NOTAVAILABLE, .descr = descr }; in debug_object_assert_init() [all …]
|
/openbmc/linux/drivers/target/ |
H A D | target_core_spc.c | 2083 descr); in spc_rsoc_encode_command_descriptor() 2095 if (!descr) { in spc_rsoc_encode_one_command_descriptor() 2102 memcpy(&buf[4], descr->usage_bits, descr->cdb_size); in spc_rsoc_encode_one_command_descriptor() 2107 &buf[4 + descr->cdb_size], ctdp, descr); in spc_rsoc_encode_one_command_descriptor() 2154 if (!descr->enabled || descr->enabled(descr, cmd)) in spc_rsoc_get_descr() 2155 *opcode = descr; in spc_rsoc_get_descr() 2168 if (!descr->enabled || descr->enabled(descr, in spc_rsoc_get_descr() 2170 *opcode = descr; in spc_rsoc_get_descr() 2182 if (!descr->enabled || descr->enabled(descr, in spc_rsoc_get_descr() 2222 if (descr) in spc_emulate_report_supp_op_codes() [all …]
|
/openbmc/linux/mm/kmsan/ |
H A 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()
|
/openbmc/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", 65 on this descr. This includes allocating a new data buffer and 86 net eth1: Chain tail located at descr=20 98 case, nnn=1 descr, starting at descr 20. The "Last nnn descrs" refers 135 this descr to be filled. However, the hardware has skipped this descr, 146 net eth1: Chain tail located at descr=255 [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/camera/pipe/src/ |
H A D | pipe_binarydesc.c | 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() 54 descr->striped = false; in pipe_binarydesc_get_offline() 55 descr->two_ppc = false; in pipe_binarydesc_get_offline() 60 descr->enable_dz = true; in pipe_binarydesc_get_offline() 61 descr->enable_xnr = false; in pipe_binarydesc_get_offline() 62 descr->enable_dpc = false; in pipe_binarydesc_get_offline() 66 descr->dvs_env.width = 0; in pipe_binarydesc_get_offline() 69 descr->in_info = in_info; in pipe_binarydesc_get_offline() [all …]
|
/openbmc/linux/drivers/staging/media/av7110/ |
H A 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()
|
/openbmc/linux/drivers/edac/ |
H A D | thunderx_edac.c | 47 char *descr; member 56 while (descr->type && descr->mask && descr->descr) { in decode_register() 57 if (reg & descr->mask) { 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", 918 .descr = "Block code error", 928 .descr = "Bad code word", 948 .descr = "Link stopped", [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/binary/src/ |
H A D | binary.c | 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() 966 req_in_info = descr->in_info; in __ia_css_binary_find() 975 req_vf_info = descr->vf_info; in __ia_css_binary_find() 989 striped = descr->striped; in __ia_css_binary_find() 998 dvs_env = descr->dvs_env; in __ia_css_binary_find() 999 need_dz = descr->enable_dz; in __ia_css_binary_find() [all …]
|
/openbmc/linux/arch/powerpc/platforms/ps3/ |
H A 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()
|