Home
last modified time | relevance | path

Searched full:pub (Results 1 – 25 of 514) sorted by relevance

12345678910>>...21

/linux/rust/kernel/
H A Dlib.rs59 pub use ffi;
61 pub mod acpi;
62 pub mod alloc;
64 pub mod auxiliary;
65 pub mod bits;
67 pub mod block;
68 pub mod bug;
70 pub mod build_assert;
71 pub mod clk;
73 pub mo
[all...]
H A Dsizes.rs8 pub const SZ_1K: usize = bindings::SZ_1K as usize;
10 pub const SZ_2K: usize = bindings::SZ_2K as usize;
12 pub const SZ_4K: usize = bindings::SZ_4K as usize;
14 pub const SZ_8K: usize = bindings::SZ_8K as usize;
16 pub const SZ_16K: usize = bindings::SZ_16K as usize;
18 pub const SZ_32K: usize = bindings::SZ_32K as usize;
20 pub const SZ_64K: usize = bindings::SZ_64K as usize;
22 pub const SZ_128K: usize = bindings::SZ_128K as usize;
24 pub const SZ_256K: usize = bindings::SZ_256K as usize;
26 pub cons
[all...]
H A Dprelude.rs15 pub use core::pin::Pin;
17 pub use ::ffi::{
22 pub use crate::alloc::{flags::*, Box, KBox, KVBox, KVVec, KVec, VBox, VVec, Vec};
25 pub use macros::{export, kunit_tests, module, vtable};
27 pub use pin_init::{init, pin_data, pin_init, pinned_drop, InPlaceWrite, Init, PinInit, Zeroable};
29 pub use super::{build_assert, build_error};
33 pub use super::dbg;
34 pub use super::{dev_alert, dev_crit, dev_dbg, dev_emerg, dev_err, dev_info, dev_notice, dev_warn};
35 pub use super::{pr_alert, pr_crit, pr_debug, pr_emerg, pr_err, pr_info, pr_notice, pr_warn};
36 pub us
[all...]
H A Dalloc.rs6 pub mod allocator;
7 pub mod kbox;
8 pub mod kvec;
9 pub mod layout;
12 pub mod allocator_test;
15 pub use self::allocator_test as allocator;
17 pub use self::kbox::Box;
18 pub use self::kbox::KBox;
19 pub use self::kbox::KVBox;
20 pub us
[all...]
H A Dsync.rs13 pub mod aref;
14 pub mod completion;
16 pub mod lock;
18 pub mod poll;
19 pub mod rcu;
21 pub use arc::{Arc, ArcBorrow, UniqueArc};
22 pub use completion::Completion;
23 pub use condvar::{new_condvar, CondVar, CondVarTimeoutResult};
24 pub use lock::global::{global_lock, GlobalGuard, GlobalLock, GlobalLockBackend, GlobalLockedBy};
25 pub us
[all...]
H A Dtime.rs29 pub mod delay;
30 pub mod hrtimer;
33 pub const NSEC_PER_USEC: i64 = bindings::NSEC_PER_USEC as i64;
36 pub const NSEC_PER_MSEC: i64 = bindings::NSEC_PER_MSEC as i64;
39 pub const NSEC_PER_SEC: i64 = bindings::NSEC_PER_SEC as i64;
42 pub type Jiffies = crate::ffi::c_ulong;
45 pub type Msecs = crate::ffi::c_uint;
49 pub fn msecs_to_jiffies(msecs: Msecs) -> Jiffies { in msecs_to_jiffies()
62 pub trait ClockSource {
85 pub struc
[all...]
H A Dclk.rs30 pub struct Hertz(pub c_ulong);
38 pub const fn from_khz(khz: c_ulong) -> Self { in from_khz()
43 pub const fn from_mhz(mhz: c_ulong) -> Self { in from_mhz()
48 pub const fn from_ghz(ghz: c_ulong) -> Self { in from_ghz()
53 pub const fn as_hz(&self) -> c_ulong { in as_hz()
58 pub const fn as_khz(&self) -> c_ulong { in as_khz()
63 pub const fn as_mhz(&self) -> c_ulong { in as_mhz()
68 pub const fn as_ghz(&self) -> c_ulong { in as_ghz()
130 pub struc
[all...]
H A Dtask.rs21 pub const MAX_SCHEDULE_TIMEOUT: c_long = c_long::MAX;
24 pub const TASK_INTERRUPTIBLE: c_int = bindings::TASK_INTERRUPTIBLE as c_int;
26 pub const TASK_UNINTERRUPTIBLE: c_int = bindings::TASK_UNINTERRUPTIBLE as c_int;
28 pub const TASK_FREEZABLE: c_int = bindings::TASK_FREEZABLE as c_int;
31 pub const TASK_NORMAL: c_uint = bindings::TASK_NORMAL as c_uint;
96 pub struct Task(pub(crate) Opaque<bindings::task_struct>);
136 pub struct CurrentTask(Task, NotThreadSafe);
148 pub type Pid = bindings::pid_t;
152 pub struc
[all...]
H A Dopp.rs32 pub struct FreqTable {
39 pub(crate) fn new(table: &Table) -> Result<Self> { in new()
83 pub use freq::FreqTable;
118 pub struct MicroVolt(pub c_ulong);
143 pub struct MicroWatt(pub c_ulong);
174 pub struct Token {
224 pub struct Data(bindings::dev_pm_opp_data);
230 pub f
[all...]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dchip.c220 struct brcmf_core pub; member
227 struct brcmf_chip pub; member
257 address = CORE_SB(core->pub.base, sbtmstatelow); in brcmf_chip_sb_iscoreup()
287 base = core->pub.base; in brcmf_chip_sb_coredisable()
392 base = core->pub.base; in brcmf_chip_sb_resetcore()
445 if (core->pub.id == BCMA_CORE_80211) { in brcmf_chip_ai_resetcore()
446 d11core2 = brcmf_chip_get_d11core(&ci->pub, 1); in brcmf_chip_ai_resetcore()
450 struct brcmf_core_priv, pub); in brcmf_chip_ai_resetcore()
514 core->pub.id = coreid; in brcmf_chip_add_core()
515 core->pub in brcmf_chip_add_core()
756 brcmf_chip_get_raminfo(struct brcmf_chip * pub) brcmf_chip_get_raminfo() argument
1086 struct brcmf_chip *pub; brcmf_chip_setup() local
1169 brcmf_chip_detach(struct brcmf_chip * pub) brcmf_chip_detach() argument
1183 brcmf_chip_get_d11core(struct brcmf_chip * pub,u8 unit) brcmf_chip_get_d11core() argument
1198 brcmf_chip_get_core(struct brcmf_chip * pub,u16 coreid) brcmf_chip_get_core() argument
1211 brcmf_chip_get_chipcommon(struct brcmf_chip * pub) brcmf_chip_get_chipcommon() argument
1223 brcmf_chip_get_pmu(struct brcmf_chip * pub) brcmf_chip_get_pmu() argument
1240 brcmf_chip_iscoreup(struct brcmf_core * pub) brcmf_chip_iscoreup() argument
1248 brcmf_chip_coredisable(struct brcmf_core * pub,u32 prereset,u32 reset) brcmf_chip_coredisable() argument
1256 brcmf_chip_resetcore(struct brcmf_core * pub,u32 prereset,u32 reset,u32 postreset) brcmf_chip_resetcore() argument
1364 brcmf_chip_set_passive(struct brcmf_chip * pub) brcmf_chip_set_passive() argument
1389 brcmf_chip_set_active(struct brcmf_chip * pub,u32 rstvec) brcmf_chip_set_active() argument
1410 brcmf_chip_sr_capable(struct brcmf_chip * pub) brcmf_chip_sr_capable() argument
[all...]
/linux/rust/kernel/net/phy/
H A Dreg.rs18 pub trait Sealed {}
43 pub trait Register: private::Sealed {
56 pub struct C22(u8);
60 pub const BMCR: Self = C22(0x00);
62 pub const BMSR: Self = C22(0x01);
64 pub const PHYSID1: Self = C22(0x02);
66 pub const PHYSID2: Self = C22(0x03);
68 pub const ADVERTISE: Self = C22(0x04);
70 pub const LPA: Self = C22(0x05);
72 pub cons
[all...]
/linux/rust/kernel/drm/
H A Dmod.rs5 pub mod device;
6 pub mod driver;
7 pub mod file;
8 pub mod gem;
9 pub mod ioctl;
11 pub use self::device::Device;
12 pub use self::driver::Driver;
13 pub use self::driver::DriverInfo;
14 pub use self::driver::Registration;
15 pub us
[all...]
H A Ddriver.rs16 pub(crate) const FEAT_GEM: u32 = bindings::drm_driver_feature_DRIVER_GEM;
19 pub struct DriverInfo {
21 pub major: i32,
23 pub minor: i32,
25 pub patchlevel: i32,
27 pub name: &'static CStr,
29 pub desc: &'static CStr,
33 pub struct AllocOps {
34 pub(crate) gem_create_object: Option<
40 pub(crat
[all...]
/linux/rust/kernel/mm/
H A Dvirt.rs35 pub struct VmaRef {
49 pub unsafe fn from_raw<'a>(vma: *const bindings::vm_area_struct) -> &'a Self { in from_raw()
56 pub fn as_ptr(&self) -> *mut bindings::vm_area_struct { in as_ptr()
62 pub fn mm(&self) -> &MmWithUser { in mm()
73 pub fn flags(&self) -> vm_flags_t { in flags()
81 pub fn start(&self) -> usize { in start()
89 pub fn end(&self) -> usize { in end()
116 pub fn zap_page_range_single(&self, address: usize, size: usize) { in zap_page_range_single()
138 pub fn as_mixedmap_vma(&self) -> Option<&VmaMixedMap> { in as_mixedmap_vma()
163 pub struc
[all...]
/linux/crypto/asymmetric_keys/
H A Dpkcs8_parser.c21 struct public_key *pub; member
76 ctx->pub->pkey_algo = "rsa"; in pkcs8_note_algo()
100 struct public_key *pub; in pkcs8_parse() local
106 ctx.pub = kzalloc(sizeof(struct public_key), GFP_KERNEL); in pkcs8_parse()
107 if (!ctx.pub) in pkcs8_parse()
118 pub = ctx.pub; in pkcs8_parse()
119 pub->key = kmemdup(ctx.key, ctx.key_size, GFP_KERNEL); in pkcs8_parse()
120 if (!pub->key) in pkcs8_parse()
123 pub in pkcs8_parse()
138 struct public_key *pub; pkcs8_key_preparse() local
[all...]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Ddma.h83 void dma_rxinit(struct dma_pub *pub);
84 int dma_rx(struct dma_pub *pub, struct sk_buff_head *skb_list);
85 bool dma_rxfill(struct dma_pub *pub);
86 bool dma_rxreset(struct dma_pub *pub);
87 bool dma_txreset(struct dma_pub *pub);
88 void dma_txinit(struct dma_pub *pub);
89 int dma_txfast(struct brcms_c_info *wlc, struct dma_pub *pub,
91 int dma_txpending(struct dma_pub *pub);
92 void dma_kick_tx(struct dma_pub *pub);
93 void dma_txsuspend(struct dma_pub *pub);
[all...]
/linux/drivers/gpu/nova-core/
H A Dfirmware.rs18 pub(crate) mod fwsec;
20 pub(crate) const FIRMWARE_VERSION: &str = "535.113.01";
24 pub(crate) struct Firmware {
32 pub(crate) fn new(dev: &device::Device, chipset: Chipset, ver: &str) -> Result<Firmware> { in new()
54 pub(crate) struct FalconUCodeDescV3 {
60 pub(crate) pkc_data_offset: u32,
62 pub(crate) interface_offset: u32,
64 pub(crate) imem_phys_base: u32,
66 pub(crate) imem_load_size: u32,
68 pub(crat
[all...]
/linux/rust/kernel/fs/
H A Dfile.rs19 pub mod flags {
21 pub const O_APPEND: u32 = bindings::O_APPEND;
24 pub const O_ASYNC: u32 = bindings::FASYNC;
27 pub const O_CLOEXEC: u32 = bindings::O_CLOEXEC;
30 pub const O_CREAT: u32 = bindings::O_CREAT;
33 pub const O_DIRECT: u32 = bindings::O_DIRECT;
36 pub const O_DIRECTORY: u32 = bindings::O_DIRECTORY;
39 pub const O_DSYNC: u32 = bindings::O_DSYNC;
42 pub const O_EXCL: u32 = bindings::O_EXCL;
45 pub cons
[all...]
/linux/rust/macros/
H A Dhelpers.rs5 pub(crate) fn try_ident(it: &mut token_stream::IntoIter) -> Option<String> { in try_ident()
13 pub(crate) fn try_literal(it: &mut token_stream::IntoIter) -> Option<String> { in try_literal()
21 pub(crate) fn try_string(it: &mut token_stream::IntoIter) -> Option<String> { in try_string()
37 pub(crate) fn expect_ident(it: &mut token_stream::IntoIter) -> String { in expect_ident()
41 pub(crate) fn expect_punct(it: &mut token_stream::IntoIter) -> char { in expect_punct()
49 pub(crate) fn expect_string(it: &mut token_stream::IntoIter) -> String { in expect_string()
53 pub(crate) fn expect_string_ascii(it: &mut token_stream::IntoIter) -> String { in expect_string_ascii()
59 pub(crate) fn expect_group(it: &mut token_stream::IntoIter) -> Group { in expect_group()
67 pub(crate) fn expect_end(it: &mut token_stream::IntoIter) { in expect_end()
74 pub(crat
[all...]
/linux/net/wireless/
H A Dscan.c87 ies = (void *)rcu_access_pointer(bss->pub.beacon_ies); in bss_free()
88 if (ies && !bss->pub.hidden_beacon_bss) in bss_free()
90 ies = (void *)rcu_access_pointer(bss->pub.proberesp_ies); in bss_free()
111 if (bss->pub.hidden_beacon_bss) in bss_ref_get()
112 bss_from_pub(bss->pub.hidden_beacon_bss)->refcount++; in bss_ref_get()
114 if (bss->pub.transmitted_bss) in bss_ref_get()
115 bss_from_pub(bss->pub.transmitted_bss)->refcount++; in bss_ref_get()
123 if (bss->pub.hidden_beacon_bss) { in bss_ref_put()
126 hbss = bss_from_pub(bss->pub.hidden_beacon_bss); in bss_ref_put()
132 if (bss->pub in bss_ref_put()
3332 cfg80211_ref_bss(struct wiphy * wiphy,struct cfg80211_bss * pub) cfg80211_ref_bss() argument
3345 cfg80211_put_bss(struct wiphy * wiphy,struct cfg80211_bss * pub) cfg80211_put_bss() argument
3358 cfg80211_unlink_bss(struct wiphy * wiphy,struct cfg80211_bss * pub) cfg80211_unlink_bss() argument
[all...]
/linux/drivers/media/dvb-core/
H A Ddvb_ca_en50221.c117 struct dvb_ca_en50221 *pub; member
240 slot_status = ca->pub->poll_slot_status(ca->pub, slot, ca->open); in dvb_ca_en50221_check_camstatus()
293 res = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS); in dvb_ca_en50221_wait_if_status()
345 ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, in dvb_ca_en50221_link_init()
355 ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, IRQEN); in dvb_ca_en50221_link_init()
372 ret = ca->pub in dvb_ca_en50221_link_init()
[all...]
/linux/net/mac80211/
H A Dvht.c122 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->pub->vht_cap; in ieee80211_vht_cap_ie_to_sta_vht_cap()
130 if (!link_sta->pub->ht_cap.ht_supported) in ieee80211_vht_cap_ie_to_sta_vht_cap()
320 link_sta->pub->bandwidth = ieee80211_sta_cur_vht_bw(link_sta); in ieee80211_vht_cap_ie_to_sta_vht_cap()
338 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_11454; in ieee80211_vht_cap_ie_to_sta_vht_cap()
341 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_7991; in ieee80211_vht_cap_ie_to_sta_vht_cap()
345 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_3895; in ieee80211_vht_cap_ie_to_sta_vht_cap()
359 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->pub->vht_cap; in __ieee80211_sta_cap_rx_bw()
360 struct ieee80211_sta_he_cap *he_cap = &link_sta->pub->he_cap; in __ieee80211_sta_cap_rx_bw()
361 struct ieee80211_sta_eht_cap *eht_cap = &link_sta->pub->eht_cap; in __ieee80211_sta_cap_rx_bw()
405 return link_sta->pub in __ieee80211_sta_cap_rx_bw()
[all...]
/linux/drivers/clk/renesas/
H A Drenesas-cpg-mssr.c160 * @pub: Data passed to clock registration callback
179 struct cpg_mssr_pub pub; member
227 RZT2H_MSTPCR_BLOCK(offset) ? priv->pub.base1 : priv->pub.base0; in cpg_rzt2h_mstp_read()
237 RZT2H_MSTPCR_BLOCK(offset) ? priv->pub.base1 : priv->pub.base0; in cpg_rzt2h_mstp_write()
256 spin_lock_irqsave(&priv->pub.rmw_lock, flags); in cpg_mstp_clock_endisable()
259 value = readb(priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
264 writeb(value, priv->pub.base0 + priv->control_regs[reg]); in cpg_mstp_clock_endisable()
267 readb(priv->pub in cpg_mstp_clock_endisable()
[all...]
/linux/rust/pin-init/src/
H A D__internal.rs17 pub(crate) type Invariant<T> = PhantomData<fn(*mut T) -> *mut T>;
23 pub(crate) struct InitClosure<F, T: ?Sized, E>(pub(crate) F, pub(crate) Invariant<(E, T)>);
55 pub unsafe trait HasPinData {
67 pub unsafe trait PinData: Copy {
85 pub unsafe trait HasInitData {
97 pub unsafe trait InitData: Copy {
109 pub struct AllData<T: ?Sized>(Invariant<T>);
140 pub struc
[all...]
/linux/rust/kernel/io/
H A Dresource.rs19 pub type ResourceSize = bindings::phys_addr_t;
27 pub struct Region {
76 pub struct Resource(Opaque<bindings::resource>);
88 pub(crate) const unsafe fn from_raw<'a>(ptr: *mut bindings::resource) -> &'a Self { in from_raw()
98 pub fn request_region( in request_region()
127 pub fn size(&self) -> ResourceSize { in size()
134 pub fn start(&self) -> ResourceSize { in start()
141 pub fn name(&self) -> Option<&CStr> { in name()
159 pub fn flags(&self) -> Flags { in flags()
183 pub struc
[all...]

12345678910>>...21