Changeset 3fafe5e0 in mainline for uspace/drv
- Timestamp:
- 2018-04-27T14:15:03Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7148abf
- Parents:
- a2eb85d
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-26 17:14:26)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-27 14:15:03)
- Location:
- uspace/drv
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/hdaudio/codec.c
ra2eb85d r3fafe5e0 129 129 return rc; 130 130 131 // ddf_msg(LVL_NOTE, "hda_get_clist_len: resp=0x%x", resp);131 ddf_msg(LVL_DEBUG2, "hda_get_clist_len: resp=0x%x", resp); 132 132 *longform = resp & BIT_V(uint32_t, cll_longform); 133 133 *items = resp & BIT_RANGE_EXTRACT(uint32_t, cll_len_h, cll_len_l, resp); … … 238 238 uint32_t *resp) 239 239 { 240 // ddf_msg(LVL_NOTE, "hda_get_amp_gain_mute(codec, %d, %x)",241 //node, payload);240 ddf_msg(LVL_DEBUG2, "hda_get_amp_gain_mute(codec, %d, %x)", 241 node, payload); 242 242 errno_t rc = hda_ccmd(codec, node, hda_amp_gain_mute_get, payload, resp); 243 // ddf_msg(LVL_NOTE, "hda_get_amp_gain_mute(codec, %d, %x, resp=%x)",244 //node, payload, *resp);243 ddf_msg(LVL_DEBUG2, "hda_get_amp_gain_mute(codec, %d, %x, resp=%x)", 244 node, payload, *resp); 245 245 return rc; 246 246 } … … 254 254 static errno_t hda_set_amp_gain_mute(hda_codec_t *codec, int node, uint16_t payload) 255 255 { 256 // ddf_msg(LVL_NOTE, "hda_set_amp_gain_mute(codec, %d, %x)",257 //node, payload);256 ddf_msg(LVL_DEBUG2, "hda_set_amp_gain_mute(codec, %d, %x)", 257 node, payload); 258 258 return hda_ccmd(codec, node, hda_amp_gain_mute_set, payload, NULL); 259 259 } … … 362 362 } 363 363 364 // ddf_msg(LVL_NOTE, "longform:%d len:%d", longform, len);364 ddf_msg(LVL_DEBUG2, "longform:%d len:%d", longform, len); 365 365 366 366 if (longform) { -
uspace/drv/audio/hdaudio/hdactl.c
ra2eb85d r3fafe5e0 644 644 rc = hda_rirb_read(ctl->hda, &resp); 645 645 if (rc != EOK) { 646 // ddf_msg(LVL_NOTE, "nothing in rirb");646 ddf_msg(LVL_DEBUG2, "nothing in rirb"); 647 647 break; 648 648 } -
uspace/drv/audio/hdaudio/hdaudio.c
ra2eb85d r3fafe5e0 374 374 if (0) 375 375 ddf_msg(LVL_NOTE, "## interrupt ##"); 376 // ddf_msg(LVL_NOTE, "interrupt arg4=0x%x", (int)IPC_GET_ARG4(*icall));377 376 hda_ctl_interrupt(hda->ctl); 378 377 -
uspace/drv/audio/hdaudio/stream.c
ra2eb85d r3fafe5e0 56 56 hda_stream_buffers_t *bufs = NULL; 57 57 size_t i; 58 //size_t j, k;58 //size_t j, k; 59 59 errno_t rc; 60 60 -
uspace/drv/bus/usb/ehci/hw_struct/queue_head.c
ra2eb85d r3fafe5e0 55 55 56 56 EHCI_MEM32_WR(instance->horizontal, LINK_POINTER_TERM); 57 // EHCI_MEM32_WR(instance->current, LINK_POINTER_TERM); 57 #if 0 58 EHCI_MEM32_WR(instance->current, LINK_POINTER_TERM); 59 #endif 58 60 EHCI_MEM32_WR(instance->next, LINK_POINTER_TERM); 59 61 EHCI_MEM32_WR(instance->alternate, LINK_POINTER_TERM); -
uspace/drv/bus/usb/uhci/uhci_rh.c
ra2eb85d r3fafe5e0 246 246 UHCI2USB(val, STATUS_CONNECTED_CHANGED, USB_HUB_PORT_STATUS_C_CONNECTION) | 247 247 UHCI2USB(val, STATUS_ENABLED_CHANGED, USB2_HUB_PORT_STATUS_C_ENABLE) | 248 // UHCI2USB(val, STATUS_SUSPEND, USB2_HUB_PORT_STATUS_C_SUSPEND) | 248 #if 0 249 UHCI2USB(val, STATUS_SUSPEND, USB2_HUB_PORT_STATUS_C_SUSPEND) | 250 #endif 249 251 (hub->reset_changed[port] ? USB_HUB_PORT_STATUS_C_RESET : 0)); 250 252 RH_DEBUG(hub, port, "Port status %" PRIx32 " (source %" PRIx16 -
uspace/drv/bus/usb/xhci/hw_struct/trb.h
ra2eb85d r3fafe5e0 48 48 XHCI_TRB_TYPE_RESERVED = 0, 49 49 50 // Transfer ring: 50 /* 51 * Transfer ring: 52 */ 51 53 XHCI_TRB_TYPE_NORMAL, 52 54 XHCI_TRB_TYPE_SETUP_STAGE, … … 58 60 XHCI_TRB_TYPE_NO_OP, 59 61 60 // Command ring: 62 /* 63 * Command ring: 64 */ 61 65 XHCI_TRB_TYPE_ENABLE_SLOT_CMD, 62 66 XHCI_TRB_TYPE_DISABLE_SLOT_CMD, … … 74 78 XHCI_TRB_TYPE_FORCE_HEADER_CMD, 75 79 XHCI_TRB_TYPE_NO_OP_CMD, 76 // Reserved: 24-31 77 78 // Event ring: 80 /* 81 * Reserved: 24-31 82 */ 83 84 /* 85 * Event ring: 86 */ 79 87 XHCI_TRB_TYPE_TRANSFER_EVENT = 32, 80 88 XHCI_TRB_TYPE_COMMAND_COMPLETION_EVENT, -
uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c
ra2eb85d r3fafe5e0 204 204 /* modes taken from u-boot, for 1024x768 */ 205 205 // TODO replace magic values with actual correct values 206 // regs->timing_h = 0x1a4024c9; 207 // regs->timing_v = 0x02c00509; 208 // regs->pol_freq = 0x00007028; 209 // regs->divisor = 0x00010001; 206 #if 0 207 regs->timing_h = 0x1a4024c9; 208 regs->timing_v = 0x02c00509; 209 regs->pol_freq = 0x00007028; 210 regs->divisor = 0x00010001; 211 #endif 210 212 211 213 /* setup output */
Note:
See TracChangeset
for help on using the changeset viewer.