The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/sound/tdm-slot.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 TDM slot:
    2 
    3 This specifies audio DAI's TDM slot.
    4 
    5 TDM slot properties:
    6 dai-tdm-slot-num : Number of slots in use.
    7 dai-tdm-slot-width : Width in bits for each slot.
    8 dai-tdm-slot-tx-mask : Transmit direction slot mask, optional
    9 dai-tdm-slot-rx-mask : Receive direction slot mask, optional
   10 
   11 For instance:
   12         dai-tdm-slot-num = <2>;
   13         dai-tdm-slot-width = <8>;
   14         dai-tdm-slot-tx-mask = <0 1>;
   15         dai-tdm-slot-rx-mask = <1 0>;
   16 
   17 And for each specified driver, there could be one .of_xlate_tdm_slot_mask()
   18 to specify an explicit mapping of the channels and the slots. If it's absent
   19 the default snd_soc_of_xlate_tdm_slot_mask() will be used to generating the
   20 tx and rx masks.
   21 
   22 For snd_soc_of_xlate_tdm_slot_mask(), the tx and rx masks will use a 1 bit
   23 for an active slot as default, and the default active bits are at the LSB of
   24 the masks.
   25 
   26 The explicit masks are given as array of integers, where the first
   27 number presents bit-0 (LSB), second presents bit-1, etc. Any non zero
   28 number is considered 1 and 0 is 0. snd_soc_of_xlate_tdm_slot_mask()
   29 does not do anything, if either mask is set non zero value.

Cache object: 15010e82655e8f26f173f3bfba21fcf9


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.