Lines Matching defs:dpn
163 struct sdw_dpn_prop *dpn, int count, int ports,
180 dpn[i].num = bit;
189 &dpn[i].max_word);
191 &dpn[i].min_word);
195 dpn[i].num_words = nval;
196 dpn[i].words = devm_kcalloc(&slave->dev,
197 dpn[i].num_words,
198 sizeof(*dpn[i].words),
200 if (!dpn[i].words)
205 dpn[i].words, dpn[i].num_words);
209 &dpn[i].type);
213 &dpn[i].max_grouping);
215 dpn[i].simple_ch_prep_sm = fwnode_property_read_bool(node,
220 &dpn[i].ch_prep_timeout);
223 "mipi-sdw-imp-def-dpn-interrupts-supported",
224 &dpn[i].imp_def_interrupts);
227 &dpn[i].min_ch);
230 &dpn[i].max_ch);
234 dpn[i].num_channels = nval;
235 dpn[i].channels = devm_kcalloc(&slave->dev,
236 dpn[i].num_channels,
237 sizeof(*dpn[i].channels),
239 if (!dpn[i].channels)
244 dpn[i].channels, dpn[i].num_channels);
249 dpn[i].num_ch_combinations = nval;
250 dpn[i].ch_combinations = devm_kcalloc(&slave->dev,
251 dpn[i].num_ch_combinations,
252 sizeof(*dpn[i].ch_combinations),
254 if (!dpn[i].ch_combinations)
259 dpn[i].ch_combinations,
260 dpn[i].num_ch_combinations);
264 "mipi-sdw-modes-supported", &dpn[i].modes);
267 &dpn[i].max_async_buffer);
269 dpn[i].block_pack_mode = fwnode_property_read_bool(node,
273 &dpn[i].port_encoding);
358 * Based on each DPn port, get source and sink dpn properties.
370 /* Read dpn properties for source port(s) */
381 /* Read dpn properties for sink port(s) */