*参照元 [#uff455de]
#backlinks

*説明 [#sda001c9]
-パス: [[linux-4.4.1/include/sound/soc.h]]

-FIXME: これは何?
--説明


**参考 [#b04ed3a3]


*実装 [#m1c312e4]
 /**
  * struct snd_soc_jack_gpio - Describes a gpio pin for jack detection
  *
  * @gpio:         legacy gpio number
  * @idx:          gpio descriptor index within the function of the GPIO
  *                consumer device
  * @gpiod_dev:    GPIO consumer device
  * @name:         gpio name. Also as connection ID for the GPIO consumer
  *                device function name lookup
  * @report:       value to report when jack detected
  * @invert:       report presence in low state
  * @debounce_time: debounce time in ms
  * @wake:         enable as wake source
  * @jack_status_check: callback function which overrides the detection
  *                     to provide more complex checks (eg, reading an
  *                     ADC).
  */
 struct snd_soc_jack_gpio {
         unsigned int gpio;
         unsigned int idx;
         struct device *gpiod_dev;
-
--[[linux-4.4.1/device]]

         const char *name;
         int report;
         int invert;
         int debounce_time;
         bool wake;
 
         /* private: */
         struct snd_soc_jack *jack;
         struct delayed_work work;
         struct gpio_desc *desc;
 
-
--[[linux-4.4.1/snd_soc_jack]]
--[[linux-4.4.1/delayed_work]]
--[[linux-4.4.1/gpio_desc]]

         void *data;
         /* public: */
         int (*jack_status_check)(void *data);
 };


*コメント [#u9f96478]


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS