/Zephyr-Core-3.4.0/drivers/usb/udc/ |
D | udc_skeleton.c | 200 return data->caps.hs ? UDC_BUS_SPEED_HS : UDC_BUS_SPEED_FS; in udc_skeleton_device_speed() 273 data->caps.rwup = true; in udc_skeleton_driver_preinit() 274 data->caps.mps0 = UDC_MPS0_64; in udc_skeleton_driver_preinit() 276 data->caps.hs = true; in udc_skeleton_driver_preinit() 281 config->ep_cfg_out[i].caps.out = 1; in udc_skeleton_driver_preinit() 283 config->ep_cfg_out[i].caps.control = 1; in udc_skeleton_driver_preinit() 284 config->ep_cfg_out[i].caps.mps = 64; in udc_skeleton_driver_preinit() 286 config->ep_cfg_out[i].caps.bulk = 1; in udc_skeleton_driver_preinit() 287 config->ep_cfg_out[i].caps.interrupt = 1; in udc_skeleton_driver_preinit() 288 config->ep_cfg_out[i].caps.iso = 1; in udc_skeleton_driver_preinit() [all …]
|
D | udc_nrf.c | 547 mps = (cfg->mps == 0) ? cfg->caps.mps : cfg->mps; in udc_nrf_ep_enable() 743 ep_cfg_out[i].caps.out = 1; in udc_nrf_driver_init() 745 ep_cfg_out[i].caps.control = 1; in udc_nrf_driver_init() 746 ep_cfg_out[i].caps.mps = NRFX_USBD_EPSIZE; in udc_nrf_driver_init() 748 ep_cfg_out[i].caps.bulk = 1; in udc_nrf_driver_init() 749 ep_cfg_out[i].caps.interrupt = 1; in udc_nrf_driver_init() 750 ep_cfg_out[i].caps.mps = NRFX_USBD_EPSIZE; in udc_nrf_driver_init() 752 ep_cfg_out[i].caps.iso = 1; in udc_nrf_driver_init() 753 ep_cfg_out[i].caps.mps = NRFX_USBD_ISOSIZE / 2; in udc_nrf_driver_init() 765 ep_cfg_in[i].caps.in = 1; in udc_nrf_driver_init() [all …]
|
D | udc_virtual.c | 477 return data->caps.hs ? UDC_BUS_SPEED_HS : UDC_BUS_SPEED_FS; in udc_vrt_device_speed() 560 data->caps.rwup = true; in udc_vrt_driver_preinit() 561 data->caps.mps0 = UDC_MPS0_64; in udc_vrt_driver_preinit() 563 data->caps.hs = true; in udc_vrt_driver_preinit() 568 config->ep_cfg_out[i].caps.out = 1; in udc_vrt_driver_preinit() 570 config->ep_cfg_out[i].caps.control = 1; in udc_vrt_driver_preinit() 571 config->ep_cfg_out[i].caps.mps = 64; in udc_vrt_driver_preinit() 573 config->ep_cfg_out[i].caps.bulk = 1; in udc_vrt_driver_preinit() 574 config->ep_cfg_out[i].caps.interrupt = 1; in udc_vrt_driver_preinit() 575 config->ep_cfg_out[i].caps.iso = 1; in udc_vrt_driver_preinit() [all …]
|
D | udc_common.c | 221 cfg->caps.in ? 'I' : '-', in ep_check_config() 222 cfg->caps.out ? 'O' : '-', in ep_check_config() 223 cfg->caps.iso ? 'S' : '-', in ep_check_config() 224 cfg->caps.bulk ? 'B' : '-', in ep_check_config() 225 cfg->caps.interrupt ? 'I' : '-', in ep_check_config() 226 cfg->caps.control ? 'C' : '-', in ep_check_config() 227 cfg->caps.mps); in ep_check_config() 229 if (dir_is_out && !cfg->caps.out) { in ep_check_config() 233 if (dir_is_in && !cfg->caps.in) { in ep_check_config() 237 if (mps > cfg->caps.mps) { in ep_check_config() [all …]
|
D | udc_kinetis.c | 1080 config->ep_cfg_out[i].caps.out = 1; in usbfsotg_driver_preinit() 1082 config->ep_cfg_out[i].caps.control = 1; in usbfsotg_driver_preinit() 1083 config->ep_cfg_out[i].caps.mps = 64; in usbfsotg_driver_preinit() 1085 config->ep_cfg_out[i].caps.bulk = 1; in usbfsotg_driver_preinit() 1086 config->ep_cfg_out[i].caps.interrupt = 1; in usbfsotg_driver_preinit() 1087 config->ep_cfg_out[i].caps.iso = 1; in usbfsotg_driver_preinit() 1088 config->ep_cfg_out[i].caps.mps = 1023; in usbfsotg_driver_preinit() 1100 config->ep_cfg_in[i].caps.in = 1; in usbfsotg_driver_preinit() 1102 config->ep_cfg_in[i].caps.control = 1; in usbfsotg_driver_preinit() 1103 config->ep_cfg_in[i].caps.mps = 64; in usbfsotg_driver_preinit() [all …]
|
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/ |
D | provisioner.c | 148 static bool prov_check_method(struct bt_mesh_dev_capabilities *caps) in prov_check_method() argument 151 if (!caps->oob_type) { in prov_check_method() 156 if (bt_mesh_prov_link.oob_size > caps->input_size) { in prov_check_method() 159 bt_mesh_prov_link.oob_size, caps->input_size); in prov_check_method() 163 if (!(BIT(bt_mesh_prov_link.oob_action) & caps->input_actions)) { in prov_check_method() 166 (uint16_t)BIT(bt_mesh_prov_link.oob_action), caps->input_actions); in prov_check_method() 182 if (bt_mesh_prov_link.oob_size > caps->output_size) { in prov_check_method() 185 bt_mesh_prov_link.oob_size, caps->output_size); in prov_check_method() 189 if (!(BIT(bt_mesh_prov_link.oob_action) & caps->output_actions)) { in prov_check_method() 192 (uint16_t)BIT(bt_mesh_prov_link.oob_action), caps->output_actions); in prov_check_method() [all …]
|
D | blob_cli.c | 317 if (!(in->modes & cli->caps.modes)) { in caps_adjust() 321 if ((in->min_block_size_log > cli->caps.max_block_size_log) || in caps_adjust() 322 (in->max_block_size_log < cli->caps.min_block_size_log)) { in caps_adjust() 326 cli->caps.min_block_size_log = in caps_adjust() 327 MAX(cli->caps.min_block_size_log, in->min_block_size_log); in caps_adjust() 328 cli->caps.max_block_size_log = in caps_adjust() 329 MIN(cli->caps.max_block_size_log, in->max_block_size_log); in caps_adjust() 330 cli->caps.max_chunks = MIN(cli->caps.max_chunks, in->max_chunks); in caps_adjust() 331 cli->caps.mtu_size = MIN(cli->caps.mtu_size, in->mtu_size); in caps_adjust() 332 cli->caps.max_chunk_size = MIN(cli->caps.max_chunk_size, in->max_chunk_size); in caps_adjust() [all …]
|
/Zephyr-Core-3.4.0/scripts/west_commands/runners/ |
D | core.py | 480 caps = cls.capabilities() 482 if caps.dev_id: 489 if caps.flash_addr: 498 if caps.file: 511 … action=(partial(depr_action, cls=cls, replacement='-f/--file') if caps.file else None), 512 … help='path to zephyr.elf' if not caps.file else 'Deprecated, use -f/--file instead.') 515 … action=(partial(depr_action, cls=cls, replacement='-f/--file') if caps.file else None), 516 … help='path to zephyr.hex' if not caps.file else 'Deprecated, use -f/--file instead.') 519 … action=(partial(depr_action, cls=cls, replacement='-f/--file') if caps.file else None), 520 … help='path to zephyr.bin' if not caps.file else 'Deprecated, use -f/--file instead.') [all …]
|
/Zephyr-Core-3.4.0/drivers/display/ |
D | display_intel_multibootfb.c | 79 struct display_capabilities *caps) in framebuf_get_capabilities() argument 83 caps->x_resolution = config->width; in framebuf_get_capabilities() 84 caps->y_resolution = config->height; in framebuf_get_capabilities() 85 caps->supported_pixel_formats = PIXEL_FORMAT_ARGB_8888; in framebuf_get_capabilities() 86 caps->screen_info = 0; in framebuf_get_capabilities() 87 caps->current_pixel_format = PIXEL_FORMAT_ARGB_8888; in framebuf_get_capabilities() 88 caps->current_orientation = DISPLAY_ORIENTATION_NORMAL; in framebuf_get_capabilities()
|
D | ls0xx.c | 235 struct display_capabilities *caps) in ls0xx_get_capabilities() argument 237 memset(caps, 0, sizeof(struct display_capabilities)); in ls0xx_get_capabilities() 238 caps->x_resolution = LS0XX_PANEL_WIDTH; in ls0xx_get_capabilities() 239 caps->y_resolution = LS0XX_PANEL_HEIGHT; in ls0xx_get_capabilities() 240 caps->supported_pixel_formats = PIXEL_FORMAT_MONO01; in ls0xx_get_capabilities() 241 caps->current_pixel_format = PIXEL_FORMAT_MONO01; in ls0xx_get_capabilities() 242 caps->screen_info = SCREEN_INFO_X_ALIGNMENT_WIDTH; in ls0xx_get_capabilities()
|
D | ssd1306.c | 317 struct display_capabilities *caps) in ssd1306_get_capabilities() argument 319 memset(caps, 0, sizeof(struct display_capabilities)); in ssd1306_get_capabilities() 320 caps->x_resolution = DT_INST_PROP(0, width); in ssd1306_get_capabilities() 321 caps->y_resolution = DT_INST_PROP(0, height); in ssd1306_get_capabilities() 322 caps->supported_pixel_formats = PIXEL_FORMAT_MONO10; in ssd1306_get_capabilities() 323 caps->current_pixel_format = PIXEL_FORMAT_MONO10; in ssd1306_get_capabilities() 324 caps->screen_info = SCREEN_INFO_MONO_VTILED; in ssd1306_get_capabilities()
|
D | display_max7219.c | 286 static void max7219_get_capabilities(const struct device *dev, struct display_capabilities *caps) in max7219_get_capabilities() argument 290 caps->x_resolution = MAX7219_SEGMENTS_PER_DIGIT; in max7219_get_capabilities() 291 caps->y_resolution = MAX7219_DIGITS_PER_DEVICE * dev_config->num_cascading; in max7219_get_capabilities() 292 caps->supported_pixel_formats = PIXEL_FORMAT_MONO01; in max7219_get_capabilities() 293 caps->screen_info = 0; in max7219_get_capabilities() 294 caps->current_pixel_format = PIXEL_FORMAT_MONO01; in max7219_get_capabilities() 295 caps->current_orientation = DISPLAY_ORIENTATION_NORMAL; in max7219_get_capabilities()
|
D | mb_display.c | 367 struct display_capabilities caps; in mb_display_init() local 370 display_get_capabilities(disp->lm_dev, &caps); in mb_display_init() 371 if (caps.x_resolution != MB_DISP_XRES || in mb_display_init() 372 caps.y_resolution != MB_DISP_YRES) { in mb_display_init() 377 if (caps.screen_info & SCREEN_INFO_MONO_MSB_FIRST) { in mb_display_init()
|
/Zephyr-Core-3.4.0/samples/net/lldp/src/ |
D | main.c | 110 enum ethernet_hw_caps caps; in init_vlan() local 117 caps = net_eth_get_hw_capabilities(ud.first); in init_vlan() 118 if (!(caps & ETHERNET_HW_VLAN)) { in init_vlan() 196 enum ethernet_hw_caps caps; in init_app() local 204 caps = net_eth_get_hw_capabilities(ud.first); in init_app() 205 if (!(caps & ETHERNET_LLDP)) { in init_app()
|
/Zephyr-Core-3.4.0/samples/subsys/video/capture/src/ |
D | main.c | 22 struct video_caps caps; in main() local 50 if (video_get_caps(video, VIDEO_EP_OUT, &caps)) { in main() 56 while (caps.format_caps[i].pixelformat) { in main() 57 const struct video_format_cap *fcap = &caps.format_caps[i]; in main()
|
/Zephyr-Core-3.4.0/samples/boards/nrf/nrf_led_matrix/src/ |
D | main.c | 15 static struct display_capabilities caps; variable 129 memset(framebuf, 0, caps.x_resolution * caps.y_resolution); in update_through_framebuffer() 167 framebuf[column + row * caps.x_resolution] = in update_through_framebuffer() 195 display_get_capabilities(dev, &caps); in main() 196 if (!(caps.supported_pixel_formats & PIXEL_FORMAT_MONO01)) { in main()
|
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/shell/ |
D | blob.c | 93 const struct bt_mesh_blob_cli_caps *caps) in blob_cli_caps() argument 102 if (!caps) { in blob_cli_caps() 109 shell_print(bt_mesh_shell_ctx_shell, "\tMax BLOB size: %u bytes", caps->max_size); in blob_cli_caps() 111 caps->min_block_size_log, caps->max_block_size_log, in blob_cli_caps() 112 1 << caps->min_block_size_log, in blob_cli_caps() 113 1 << caps->max_block_size_log); in blob_cli_caps() 114 shell_print(bt_mesh_shell_ctx_shell, "\tMax chunks: %u", caps->max_chunks); in blob_cli_caps() 115 shell_print(bt_mesh_shell_ctx_shell, "\tChunk size: %u", caps->max_chunk_size); in blob_cli_caps() 116 shell_print(bt_mesh_shell_ctx_shell, "\tMTU size: %u", caps->mtu_size); in blob_cli_caps() 117 shell_print(bt_mesh_shell_ctx_shell, "\tModes: %s", modes[caps->modes]); in blob_cli_caps() [all …]
|
/Zephyr-Core-3.4.0/scripts/build/ |
D | gen_cfb_font_header.py | 126 caps = [] 128 caps.append('MONO_HPACKED') 130 caps.append('MONO_VPACKED') 132 caps.append('MSB_FIRST') 133 caps = ' | '.join(['CFB_FONT_' + f for f in caps]) 190 caps=caps, first=args.first, last=args.last))
|
/Zephyr-Core-3.4.0/samples/net/sockets/txtime/src/ |
D | vlan.c | 100 enum ethernet_hw_caps caps; in init_vlan() local 108 caps = net_eth_get_hw_capabilities(ud.first); in init_vlan() 109 if (!(caps & ETHERNET_HW_VLAN)) { in init_vlan()
|
/Zephyr-Core-3.4.0/subsys/usb/device_next/ |
D | usbd_config.c | 134 struct udc_device_caps caps; in usbd_config_attrib_rwup() local 144 caps = udc_caps(uds_ctx->dev); in usbd_config_attrib_rwup() 145 if (!caps.rwup) { in usbd_config_attrib_rwup() 247 struct udc_device_caps caps = udc_caps(uds_ctx->dev); in usbd_add_configuration() local 249 if (!caps.rwup) { in usbd_add_configuration()
|
/Zephyr-Core-3.4.0/drivers/sdhc/ |
D | imx_usdhc.c | 167 usdhc_capability_t caps; in imx_usdhc_init_host_props() local 177 USDHC_GetCapability(cfg->base, &caps); in imx_usdhc_init_host_props() 181 props->host_caps.vol_180_support = (bool)(caps.flags & kUSDHC_SupportV180Flag); in imx_usdhc_init_host_props() 183 props->host_caps.vol_300_support = (bool)(caps.flags & kUSDHC_SupportV300Flag); in imx_usdhc_init_host_props() 184 props->host_caps.vol_330_support = (bool)(caps.flags & kUSDHC_SupportV330Flag); in imx_usdhc_init_host_props() 185 props->host_caps.suspend_res_support = (bool)(caps.flags & kUSDHC_SupportSuspendResumeFlag); in imx_usdhc_init_host_props() 186 props->host_caps.sdma_support = (bool)(caps.flags & kUSDHC_SupportDmaFlag); in imx_usdhc_init_host_props() 187 props->host_caps.high_spd_support = (bool)(caps.flags & kUSDHC_SupportHighSpeedFlag); in imx_usdhc_init_host_props() 188 props->host_caps.adma_2_support = (bool)(caps.flags & kUSDHC_SupportAdmaFlag); in imx_usdhc_init_host_props() 189 props->host_caps.max_blk_len = (bool)(caps.maxBlockLength); in imx_usdhc_init_host_props() [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/bluetooth/mesh/ |
D | blob_cli.h | 202 void (*caps)(struct bt_mesh_blob_cli *cli, member 203 const struct bt_mesh_blob_cli_caps *caps); 317 struct bt_mesh_blob_cli_caps caps; member
|
/Zephyr-Core-3.4.0/include/zephyr/display/ |
D | cfb.h | 46 enum cfb_font_caps caps; member 72 .caps = _caps, \
|
/Zephyr-Core-3.4.0/subsys/bluetooth/host/ |
D | avdtp_internal.h | 131 struct bt_avdtp_cap caps[0]; member 137 struct bt_avdtp_sep *caps; member
|
/Zephyr-Core-3.4.0/include/zephyr/bluetooth/ |
D | a2dp.h | 57 struct bt_a2dp_preset *caps; member
|