Lines Matching refs:opp_table
515 opp_table: *mut bindings::opp_table,
525 // SAFETY: 'opp_table' is guaranteed by the C code to be valid.
526 &unsafe { Table::from_raw_table(opp_table, &dev) },
564 /// Rust abstraction for the C `struct opp_table`.
587 /// let mut opp_table = Table::from_of_cpumask(dev, mask)?;
589 /// if opp_table.opp_count()? == 0 {
593 /// pr_info!("Max transition latency is: {} ns\n", opp_table.max_transition_latency_ns());
594 /// pr_info!("Suspend frequency is: {:?}\n", opp_table.suspend_freq());
596 /// opp_table.set_rate(freq)?;
597 /// Ok(opp_table)
601 ptr: *mut bindings::opp_table,
623 unsafe fn from_raw_table(ptr: *mut bindings::opp_table, dev: &ARef<Device>) -> Self {