Home
last modified time | relevance | path

Searched refs:data_mode (Results 1 – 18 of 18) sorted by relevance

/Linux-v6.6/sound/soc/mediatek/mt8186/
Dmt8186-dai-tdm.c31 unsigned int data_mode; member
372 unsigned int data_mode = tdm_priv->data_mode; in mtk_dai_tdm_hw_params() local
378 unsigned int tdm_channels = (data_mode == TDM_DATA_ONE_PIN) ? in mtk_dai_tdm_hw_params()
441 if (data_mode == TDM_DATA_MULTI_PIN) { in mtk_dai_tdm_hw_params()
488 tdm_priv->data_mode = TDM_DATA_MULTI_PIN; in mtk_dai_tdm_set_fmt()
492 tdm_priv->data_mode = TDM_DATA_MULTI_PIN; in mtk_dai_tdm_set_fmt()
496 tdm_priv->data_mode = TDM_DATA_MULTI_PIN; in mtk_dai_tdm_set_fmt()
500 tdm_priv->data_mode = TDM_DATA_ONE_PIN; in mtk_dai_tdm_set_fmt()
504 tdm_priv->data_mode = TDM_DATA_ONE_PIN; in mtk_dai_tdm_set_fmt()
/Linux-v6.6/sound/drivers/vx/
Dvx_pcm.c398 int data_mode; in vx_alloc_pipe() local
407 data_mode = (chip->uer_bits & IEC958_AES0_NONAUDIO) != 0; in vx_alloc_pipe()
408 if (! capture && data_mode) in vx_alloc_pipe()
430 pipe->data_mode = data_mode; in vx_alloc_pipe()
787 int err, data_mode; in vx_pcm_prepare() local
793 data_mode = (chip->uer_bits & IEC958_AES0_NONAUDIO) != 0; in vx_pcm_prepare()
794 if (data_mode != pipe->data_mode && ! pipe->is_capture) { in vx_pcm_prepare()
798 snd_printdd(KERN_DEBUG "reopen the pipe with data_mode = %d\n", data_mode); in vx_pcm_prepare()
806 if (data_mode) in vx_pcm_prepare()
811 pipe->data_mode = data_mode; in vx_pcm_prepare()
/Linux-v6.6/drivers/gpu/drm/kmb/
Dkmb_dsi.c38 .data_mode = MIPI_DATA_MODE1,
265 static u32 mipi_get_datatype_params(u32 data_type, u32 data_mode, in mipi_get_datatype_params() argument
274 switch (data_mode) { in mipi_get_datatype_params()
283 DRM_ERROR("DSI: Invalid data_mode %d\n", data_mode); in mipi_get_datatype_params()
290 switch (data_mode) { in mipi_get_datatype_params()
303 DRM_ERROR("DSI: Invalid data_mode %d\n", data_mode); in mipi_get_datatype_params()
311 switch (data_mode) { in mipi_get_datatype_params()
320 DRM_ERROR("DSI: Invalid data_mode %d\n", data_mode); in mipi_get_datatype_params()
327 switch (data_mode) { in mipi_get_datatype_params()
339 DRM_ERROR("DSI: Invalid data_mode %d\n", data_mode); in mipi_get_datatype_params()
[all …]
Dkmb_dsi.h278 u8 data_mode; member
298 enum mipi_data_mode data_mode; member
/Linux-v6.6/drivers/soundwire/
Dbus.h191 int flow_mode, int data_mode) in sdw_fill_port_params() argument
196 params->data_mode = data_mode; in sdw_fill_port_params()
Damd_manager.c454 u32p_replace_bits(&dpn_frame_fmt, p_params->data_mode, AMD_DPN_FRAME_FMT_PDM); in amd_sdw_port_params()
Dcadence_master.c1471 u32p_replace_bits(&dpn_config, p_params->data_mode, CDNS_DPN_CONFIG_PORT_DAT); in cdns_port_params()
Dstream.c163 wbuf = FIELD_PREP(SDW_DPN_PORTCTRL_DATAMODE, p_params->data_mode); in sdw_program_slave_port_params()
/Linux-v6.6/drivers/net/ethernet/realtek/
Datp.c204 static void read_block(long ioaddr, int length, unsigned char *buffer, int data_mode);
498 static void write_packet(long ioaddr, int length, unsigned char *packet, int pad_len, int data_mode) in write_packet() argument
507 if ((data_mode & 1) == 0) { in write_packet()
805 static void read_block(long ioaddr, int length, unsigned char *p, int data_mode) in read_block() argument
807 if (data_mode <= 3) { /* Mode 0 or 1 */ in read_block()
811 if (data_mode <= 1) { /* Mode 0 or 1 */ in read_block()
816 } else if (data_mode <= 5) { in read_block()
/Linux-v6.6/drivers/md/
Ddm-bufio.c318 enum data_mode {
332 unsigned char data_mode; /* DATA_MODE_* */ member
1069 unsigned char data_mode; in adjust_total_allocated() local
1078 data_mode = b->data_mode; in adjust_total_allocated()
1085 *class_ptr[data_mode] += diff; in adjust_total_allocated()
1144 unsigned char *data_mode) in alloc_buffer_data() argument
1147 *data_mode = DATA_MODE_SLAB; in alloc_buffer_data()
1153 *data_mode = DATA_MODE_GET_FREE_PAGES; in alloc_buffer_data()
1158 *data_mode = DATA_MODE_VMALLOC; in alloc_buffer_data()
1167 void *data, unsigned char data_mode) in free_buffer_data() argument
[all …]
/Linux-v6.6/sound/soc/mediatek/mt8188/
Dmt8188-dai-etdm.c95 unsigned int data_mode; member
1905 unsigned int data_mode; in mtk_dai_etdm_in_configure() local
1916 data_mode = etdm_data->data_mode; in mtk_dai_etdm_in_configure()
1953 if (data_mode == MTK_DAI_ETDM_DATA_MULTI_PIN) { in mtk_dai_etdm_in_configure()
2128 __func__, etdm_data->format, etdm_data->data_mode, in mtk_dai_etdm_configure()
2134 etdm_channels = (etdm_data->data_mode == MTK_DAI_ETDM_DATA_ONE_PIN) ? in mtk_dai_etdm_configure()
2444 etdm_data->data_mode = MTK_DAI_ETDM_DATA_ONE_PIN; in mtk_dai_hdmitx_dptx_hw_params()
2450 etdm_data->data_mode = MTK_DAI_ETDM_DATA_MULTI_PIN; in mtk_dai_hdmitx_dptx_hw_params()
2626 etdm_data->data_mode = of_property_read_bool(of_node, prop); in mt8188_dai_etdm_parse_of()
/Linux-v6.6/sound/soc/mediatek/mt8195/
Dmt8195-dai-etdm.c105 unsigned int data_mode; member
1696 unsigned int data_mode; in mtk_dai_etdm_in_configure() local
1708 data_mode = etdm_data->data_mode; in mtk_dai_etdm_in_configure()
1748 if (data_mode == MTK_DAI_ETDM_DATA_MULTI_PIN) { in mtk_dai_etdm_in_configure()
1992 __func__, etdm_data->format, etdm_data->data_mode, in mtk_dai_etdm_configure()
1998 etdm_channels = (etdm_data->data_mode == MTK_DAI_ETDM_DATA_ONE_PIN) ? in mtk_dai_etdm_configure()
2382 etdm_data->data_mode = MTK_DAI_ETDM_DATA_ONE_PIN; in mtk_dai_hdmitx_dptx_hw_params()
2388 etdm_data->data_mode = MTK_DAI_ETDM_DATA_MULTI_PIN; in mtk_dai_hdmitx_dptx_hw_params()
2679 etdm_data->data_mode = of_property_read_bool(of_node, prop); in mt8195_dai_etdm_parse_of()
/Linux-v6.6/drivers/staging/pi433/
Drf69.h23 int rf69_set_data_mode(struct spi_device *spi, u8 data_mode);
Drf69.c99 int rf69_set_data_mode(struct spi_device *spi, u8 data_mode) in rf69_set_data_mode() argument
102 data_mode); in rf69_set_data_mode()
/Linux-v6.6/include/uapi/linux/
Dcdrom.h892 __u8 data_mode : 4; member
901 __u8 data_mode : 4; member
/Linux-v6.6/include/sound/
Dvx_core.h51 unsigned int data_mode: 1; member
/Linux-v6.6/include/linux/soundwire/
Dsdw.h763 unsigned int data_mode; member
/Linux-v6.6/drivers/block/
Dpktcdvd.c1876 switch (ti.data_mode) { in pkt_probe_settings()