| /linux/rust/kernel/ |
| H A D | ioctl.rs | 13 const fn _IOC(dir: u32, ty: u32, nr: u32, size: usize) -> u32 { in _IOC() constant 27 pub const fn _IO(ty: u32, nr: u32) -> u32 { in _IO() constant 33 pub const fn _IOR<T>(ty: u32, nr: u32) -> u32 { in _IOR() constant 39 pub const fn _IOW<T>(ty: u32, nr: u32) -> u32 { in _IOW() constant 45 pub const fn _IOWR<T>(ty: u32, nr: u32) -> u32 { in _IOWR() constant 55 pub const fn _IOC_DIR(nr: u32) -> u32 { in _IOC_DIR() constant 60 pub const fn _IOC_TYPE(nr: u32) -> u32 { in _IOC_TYPE() constant 65 pub const fn _IOC_NR(nr: u32) -> u32 { in _IOC_NR() constant 70 pub const fn _IOC_SIZE(nr: u32) -> usize { in _IOC_SIZE() constant
|
| H A D | ptr.rs | 43 pub const fn new<const ALIGN: usize>() -> Self { in new() constant 70 pub const fn new_checked(align: usize) -> Option<Self> { in new_checked() constant 84 pub const fn of<T>() -> Self { in of() constant 104 pub const fn as_usize(self) -> usize { in as_usize() constant 120 pub const fn as_nonzero(self) -> NonZero<usize> { in as_nonzero() constant 142 pub const fn log2(self) -> u32 { in log2() constant 158 pub const fn mask(self) -> usize { in mask() constant
|
| H A D | clk.rs | 38 pub const fn from_khz(khz: c_ulong) -> Self { in from_khz() constant 43 pub const fn from_mhz(mhz: c_ulong) -> Self { in from_mhz() constant 48 pub const fn from_ghz(ghz: c_ulong) -> Self { in from_ghz() constant 53 pub const fn as_hz(&self) -> c_ulong { in as_hz() constant 58 pub const fn as_khz(&self) -> c_ulong { in as_khz() constant 63 pub const fn as_mhz(&self) -> c_ulong { in as_mhz() constant 68 pub const fn as_ghz(&self) -> c_ulong { in as_ghz() constant
|
| H A D | firmware.rs | 234 pub const fn new(module_name: &'static CStr) -> Self { in new() constant 242 const fn push_internal(mut self, bytes: &[u8]) -> Self { in push_internal() constant 280 pub const fn push(self, s: &str) -> Self { in push() constant 289 const fn push_module_name(self) -> Self { in push_module_name() constant 313 pub const fn new_entry(self) -> Self { in new_entry() constant 320 pub const fn build(self) -> [u8; N] { in build() constant 334 pub const fn build_length(self) -> usize { in build_length() constant
|
| H A D | types.rs | 334 pub const fn new(value: T) -> Self { in new() constant 342 pub const fn uninit() -> Self { in uninit() constant 350 pub const fn zeroed() -> Self { in zeroed() constant 395 pub const fn get(&self) -> *mut T { in get() constant 403 pub const fn cast_into(this: *const Self) -> *mut T { in cast_into() constant 408 pub const fn cast_from(this: *const T) -> *const Self { in cast_from() constant
|
| H A D | usb.rs | 105 pub const fn from_id(vendor: u16, product: u16) -> Self { in from_id() constant 116 pub const fn from_device_ver(vendor: u16, product: u16, bcd_lo: u16, bcd_hi: u16) -> Self { in from_device_ver() constant 129 pub const fn from_device_info(class: u8, subclass: u8, protocol: u8) -> Self { in from_device_info() constant 141 pub const fn from_interface_info(class: u8, subclass: u8, protocol: u8) -> Self { in from_interface_info() constant 153 pub const fn from_device_interface_class(vendor: u16, product: u16, class: u8) -> Self { in from_device_interface_class() constant 166 pub const fn from_device_interface_protocol(vendor: u16, product: u16, protocol: u8) -> Self { in from_device_interface_protocol() constant 179 pub const fn from_device_interface_number(vendor: u16, product: u16, number: u8) -> Self { in from_device_interface_number() constant 192 pub const fn from_device_and_interface_info( in from_device_and_interface_info() constant
|
| H A D | device_id.rs | 64 pub const fn size(&self) -> usize { in size() constant 135 pub const fn new_without_index(ids: [(T, U); N]) -> Self { in new_without_index() constant 142 pub const fn raw_ids(&self) -> &RawIdArray<T, N> { in raw_ids() constant 151 pub const fn new(ids: [(T, U); N]) -> Self { in new() constant
|
| H A D | str.rs | 23 pub const fn len(&self) -> usize { in len() constant 29 pub const fn is_empty(&self) -> bool { in is_empty() constant 35 pub const fn from_bytes(bytes: &[u8]) -> &Self { in from_bytes() constant 188 pub const fn as_char_ptr_in_const_context(c_str: &CStr) -> *const c_char { in as_char_ptr_in_const_context() constant 219 pub const fn len(&self) -> usize { in len() constant 225 pub const fn len_with_nul(&self) -> usize { in len_with_nul() constant 237 pub const fn is_empty(&self) -> bool { in is_empty() constant 264 pub const fn from_bytes_with_nul(bytes: &[u8]) -> Result<&Self, CStrConvertError> { in from_bytes_with_nul() constant 316 pub const fn as_char_ptr(&self) -> *const c_char { in as_char_ptr() constant 337 pub const fn to_bytes_with_nul(&self) -> &[u8] { in to_bytes_with_nul() constant [all …]
|
| /linux/include/linux/ |
| H A D | init.h | 202 #define __initcall_id(fn) \ argument 233 #define __initcall_stub(fn, __iid, id) \ argument 236 #define __define_initcall_stub(__stub, fn) \ argument 247 #define __initcall_stub(fn, __iid, id) fn argument 249 #define __define_initcall_stub(__stub, fn) \ argument 254 #define ____define_initcall(fn, __stub, __name, __sec) \ argument 262 #define ____define_initcall(fn, __unused, __name, __sec) \ argument 267 #define __unique_initcall(fn, id, __sec, __iid) \ argument 273 #define ___define_initcall(fn, id, __sec) \ argument 276 #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) argument [all …]
|
| H A D | stop_machine.h | 26 cpu_stop_fn_t fn; member 48 cpu_stop_fn_t fn; member 52 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() 72 cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() 165 static __always_inline int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, in stop_machine_cpuslocked() 177 stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) in stop_machine() 183 stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, in stop_machine_from_inactive_cpu()
|
| /linux/drivers/misc/ocxl/ |
| H A D | core.c | 6 static struct ocxl_fn *ocxl_fn_get(struct ocxl_fn *fn) in ocxl_fn_get() 11 static void ocxl_fn_put(struct ocxl_fn *fn) in ocxl_fn_put() 16 static struct ocxl_afu *alloc_afu(struct ocxl_fn *fn) in alloc_afu() 56 struct ocxl_fn *fn = afu->fn; in assign_afu_actag() local 84 struct ocxl_fn *fn = afu->fn; in reclaim_afu_actag() local 94 struct ocxl_fn *fn = afu->fn; in assign_afu_pasid() local 123 struct ocxl_fn *fn = afu->fn; in reclaim_afu_pasid() local 131 static int reserve_fn_bar(struct ocxl_fn *fn, int bar) in reserve_fn_bar() 148 static void release_fn_bar(struct ocxl_fn *fn, int bar) in release_fn_bar() 263 static int init_afu(struct pci_dev *dev, struct ocxl_fn *fn, u8 afu_idx) in init_afu() [all …]
|
| /linux/drivers/pinctrl/renesas/ |
| H A D | sh_pfc.h | 361 #define PINMUX_IPSR_NOGP(ipsr, fn) \ argument 371 #define PINMUX_IPSR_GPSR(ipsr, fn) \ argument 382 #define PINMUX_IPSR_NOGM(ipsr, fn, msel) \ argument 393 #define PINMUX_IPSR_NOFN(gpsr, fn, gsel) \ argument 405 #define PINMUX_IPSR_MSEL(ipsr, fn, msel) \ argument 417 #define PINMUX_IPSR_PHYS_MSEL(ipsr, fn, psel, msel) \ argument 427 #define PINMUX_IPSR_PHYS(ipsr, fn, psel) \ argument 435 #define PINMUX_SINGLE(fn) \ argument 442 #define PORT_GP_CFG_1(bank, pin, fn, sfx, cfg) \ argument 444 #define PORT_GP_1(bank, pin, fn, sfx) PORT_GP_CFG_1(bank, pin, fn, sfx, 0) argument [all …]
|
| /linux/rust/kernel/alloc/ |
| H A D | layout.rs | 33 pub const fn empty() -> Self { in empty() constant 65 pub const fn new(len: usize) -> Result<Self, LayoutError> { in new() constant 93 pub const fn len(&self) -> usize { in len() constant 98 pub const fn is_empty(&self) -> bool { in is_empty() constant 103 pub const fn size(&self) -> usize { in size() constant
|
| /linux/rust/kernel/drm/ |
| H A D | ioctl.rs | 14 pub const fn IO(nr: u32) -> u32 { in IO() constant 21 pub const fn IOR<T>(nr: u32) -> u32 { in IOR() constant 28 pub const fn IOW<T>(nr: u32) -> u32 { in IOW() constant 35 pub const fn IOWR<T>(nr: u32) -> u32 { in IOWR() constant
|
| /linux/arch/um/include/shared/ |
| H A D | init.h | 71 #define __uml_exitcall(fn) \ argument 76 #define __uml_postsetup(fn) \ argument 86 #define __uml_setup(str, fn, help...) \ argument 92 #define __uml_setup(str, fn, help...) \ argument 96 #define __uml_help(fn, help...) \ argument 112 #define __define_initcall(level,fn) \ argument 119 #define __initcall(fn) __define_initcall("1", fn) argument 121 #define __exitcall(fn) static exitcall_t __exitcall_##fn __exit_call = fn argument
|
| /linux/rust/kernel/pci/ |
| H A D | id.rs | 77 pub const fn as_raw(self) -> u32 { in as_raw() constant 86 const fn to_24bit_class(val: u32) -> u32 { in to_24bit_class() constant 104 pub const fn as_raw(self) -> u32 { in as_raw() constant 162 pub const fn as_raw(self) -> u16 { in as_raw() constant
|
| /linux/arch/powerpc/include/asm/ |
| H A D | kasan.h | 6 #define _GLOBAL_KASAN(fn) _GLOBAL(__##fn) argument 7 #define _GLOBAL_TOC_KASAN(fn) _GLOBAL_TOC(__##fn) argument 8 #define EXPORT_SYMBOL_KASAN(fn) EXPORT_SYMBOL(__##fn) argument 10 #define _GLOBAL_KASAN(fn) _GLOBAL(fn) argument 11 #define _GLOBAL_TOC_KASAN(fn) _GLOBAL_TOC(fn) argument 12 #define EXPORT_SYMBOL_KASAN(fn) argument
|
| H A D | machdep.h | 247 #define __define_machine_initcall(mach, fn, id) \ argument 254 #define machine_early_initcall(mach, fn) __define_machine_initcall(mach, fn, early) argument 255 #define machine_core_initcall(mach, fn) __define_machine_initcall(mach, fn, 1) argument 256 #define machine_core_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 1s) argument 257 #define machine_postcore_initcall(mach, fn) __define_machine_initcall(mach, fn, 2) argument 258 #define machine_postcore_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 2s) argument 259 #define machine_arch_initcall(mach, fn) __define_machine_initcall(mach, fn, 3) argument 260 #define machine_arch_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 3s) argument 261 #define machine_subsys_initcall(mach, fn) __define_machine_initcall(mach, fn, 4) argument 262 #define machine_subsys_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 4s) argument [all …]
|
| /linux/tools/testing/selftests/vDSO/ |
| H A D | vdso_call.h | 12 #define LOADARGS_1(fn, __arg1) do { \ argument 17 #define LOADARGS_2(fn, __arg1, __arg2) do { \ argument 23 #define LOADARGS_3(fn, __arg1, __arg2, __arg3) do { \ argument 30 #define LOADARGS_5(fn, __arg1, __arg2, __arg3, __arg4, __arg5) do { \ argument 39 #define VDSO_CALL(fn, nr, args...) ({ \ argument 66 #define VDSO_CALL(fn, nr, args...) fn(args) argument
|
| /linux/drivers/input/rmi4/ |
| H A D | rmi_f03.c | 29 struct rmi_function *fn; member 40 int rmi_f03_overwrite_button(struct rmi_function *fn, unsigned int button, in rmi_f03_overwrite_button() 59 void rmi_f03_commit_buttons(struct rmi_function *fn) in rmi_f03_commit_buttons() 96 struct rmi_function *fn = f03->fn; in rmi_f03_initialize() local 142 struct rmi_function *fn = f03->fn; in rmi_f03_pt_open() local 165 struct rmi_function *fn = f03->fn; in rmi_f03_pt_close() local 198 static int rmi_f03_probe(struct rmi_function *fn) in rmi_f03_probe() 222 static int rmi_f03_config(struct rmi_function *fn) in rmi_f03_config() 246 struct rmi_function *fn = ctx; in rmi_f03_attention() local 307 static void rmi_f03_remove(struct rmi_function *fn) in rmi_f03_remove()
|
| H A D | rmi_bus.c | 133 struct rmi_function *fn = to_rmi_function(dev); in rmi_release_function() local 151 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_match() local 157 static void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe() 167 static inline void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe() 175 static int rmi_create_function_irq(struct rmi_function *fn, in rmi_create_function_irq() 206 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_probe() local 230 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_remove() local 240 int rmi_register_function(struct rmi_function *fn) in rmi_register_function() 272 void rmi_unregister_function(struct rmi_function *fn) in rmi_unregister_function()
|
| H A D | rmi_f34.c | 19 struct rmi_function *fn = f34->fn; in rmi_f34_write_bootloader_id() local 49 struct rmi_function *fn = f34->fn; in rmi_f34_command() local 103 struct rmi_function *fn = ctx; in rmi_f34_attention() local 134 struct rmi_function *fn = f34->fn; in rmi_f34_write_blocks() local 198 struct rmi_function *fn = f34->fn; in rmi_f34_flash_firmware() local 298 struct rmi_function *fn; in rmi_driver_bootloader_id_show() local 326 struct rmi_function *fn = data->f34_container; in rmi_driver_configuration_id_show() local 520 struct rmi_function *fn = f34->fn; in rmi_f34v5_probe() local 577 static int rmi_f34_probe(struct rmi_function *fn) in rmi_f34_probe()
|
| /linux/rust/kernel/net/ |
| H A D | phy.rs | 494 pub const fn create_phy_driver<T: Driver>() -> DriverVTable { in create_phy_driver() constant 689 pub const fn new_with_exact_mask(id: u32) -> Self { in new_with_exact_mask() constant 697 pub const fn new_with_model_mask(id: u32) -> Self { in new_with_model_mask() constant 705 pub const fn new_with_vendor_mask(id: u32) -> Self { in new_with_vendor_mask() constant 713 pub const fn new_with_custom_mask(id: u32, mask: u32) -> Self { in new_with_custom_mask() constant 721 pub const fn new_with_driver<T: Driver>() -> Self { in new_with_driver() constant 726 pub const fn id(&self) -> u32 { in id() constant 731 pub const fn mask_as_int(&self) -> u32 { in mask_as_int() constant 737 pub const fn mdio_device_id(&self) -> bindings::mdio_device_id { in mdio_device_id() constant 760 const fn as_int(&self) -> u32 { in as_int() constant
|
| /linux/kernel/ |
| H A D | stop_machine.c | 46 cpu_stop_fn_t fn; member 137 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() 169 cpu_stop_fn_t fn; member 335 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus() 385 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() 393 cpu_stop_fn_t fn, void *arg, in queue_stop_cpus_work() 425 cpu_stop_fn_t fn, void *arg) in __stop_cpus() 464 static int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in stop_cpus() 503 cpu_stop_fn_t fn = work->fn; in cpu_stopper_thread() local 587 int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, in stop_machine_cpuslocked() [all …]
|
| /linux/drivers/pci/controller/cadence/ |
| H A D | pcie-cadence-ep.c | 22 static u8 cdns_pcie_get_fn_from_vfn(struct cdns_pcie *pcie, u8 fn, u8 vfn) in cdns_pcie_get_fn_from_vfn() 38 static int cdns_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_write_header() 81 static int cdns_pcie_ep_set_bar(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_set_bar() 152 static void cdns_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_clear_bar() 185 static int cdns_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_map_addr() 207 static void cdns_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_unmap_addr() 227 static int cdns_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 vfn, u8 nr_irqs) in cdns_pcie_ep_set_msi() 251 static int cdns_pcie_ep_get_msi(struct pci_epc *epc, u8 fn, u8 vfn) in cdns_pcie_ep_get_msi() 295 static int cdns_pcie_ep_set_msix(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_set_msix() 325 static void cdns_pcie_ep_assert_intx(struct cdns_pcie_ep *ep, u8 fn, u8 intx, in cdns_pcie_ep_assert_intx() [all …]
|