/linux-master/drivers/gpu/drm/nouveau/nvif/ |
H A D | user.c | 30 if (device->user.func) { 32 device->user.func = NULL; 42 const struct nvif_user_func *func; member in struct:__anon898 51 if (device->user.func) 65 device->user.func = users[cid].func;
|
/linux-master/include/linux/ |
H A D | static_call.h | 17 * DECLARE_STATIC_CALL(name, func); 18 * DEFINE_STATIC_CALL(name, func); 26 * static_call_update(name, func); 104 * func = static_call_query(name); 144 extern void arch_static_call_transform(void *site, void *tramp, void *func, bool tail); 152 #define static_call_update(name, func) \ 154 typeof(&STATIC_CALL_TRAMP(name)) __F = (func); \ 159 #define static_call_query(name) (READ_ONCE(STATIC_CALL_KEY(name).func)) 179 extern void __static_call_update(struct static_call_key *key, void *tramp, void *func); 188 .func 254 __static_call_update(struct static_call_key *key, void *tramp, void *func) argument 331 __static_call_update(struct static_call_key *key, void *tramp, void *func) argument [all...] |
H A D | smp.h | 25 smp_call_func_t func; member in struct:__call_single_data 30 (struct __call_single_data){ .func = (_func), .info = (_info), } 50 int smp_call_function_single(int cpuid, smp_call_func_t func, void *info, 53 void on_each_cpu_cond_mask(smp_cond_func_t cond_func, smp_call_func_t func, 69 static inline void on_each_cpu(smp_call_func_t func, void *info, int wait) argument 71 on_each_cpu_cond_mask(NULL, func, info, wait, cpu_online_mask); 78 * @func: The function to run. This must be fast and non-blocking. 83 * If @wait is true, then returns once @func has returned. 91 smp_call_func_t func, void *info, bool wait) 93 on_each_cpu_cond_mask(NULL, func, inf 90 on_each_cpu_mask(const struct cpumask *mask, smp_call_func_t func, void *info, bool wait) argument 102 on_each_cpu_cond(smp_cond_func_t cond_func, smp_call_func_t func, void *info, bool wait) argument 199 up_smp_call_function(smp_call_func_t func, void *info) argument 211 smp_call_function_any(const struct cpumask *mask, smp_call_func_t func, void *info, int wait) argument [all...] |
/linux-master/arch/x86/pci/ |
H A D | early.c | 11 u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) argument 14 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); 19 u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset) argument 22 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); 27 u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset) argument 30 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); 35 void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, argument 38 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); 42 void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val) argument 44 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<< 48 write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val) argument [all...] |
/linux-master/drivers/dma-buf/ |
H A D | selftest.h | 12 #define selftest(name, func) int func(void); 17 int (*func)(void *data); member in struct:subtest
|
/linux-master/tools/lib/api/ |
H A D | debug-internal.h | 7 #define __pr(func, fmt, ...) \ 9 if ((func)) \ 10 (func)("libapi: " fmt, ##__VA_ARGS__); \
|
/linux-master/lib/zstd/common/ |
H A D | portability_macros.h | 47 # define ZSTD_HIDE_ASM_FUNCTION(func) .hidden func 49 # define ZSTD_HIDE_ASM_FUNCTION(func)
|
/linux-master/arch/mips/loongson2ef/common/ |
H A D | reset.c | 22 void (*func)(void); 24 func = (void *)ioremap(LOONGSON_BOOT_BASE, 4); 28 " jr %[func] \n" 31 : [func] "r" (func));
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fuse/ |
H A D | base.c | 29 return fuse->func->read(fuse, addr); 44 nvkm_fuse_new_(const struct nvkm_fuse_func *func, struct nvkm_device *device, argument 51 fuse->func = func;
|
/linux-master/kernel/sched/ |
H A D | cpufreq.c | 15 * @func: Callback function to set for the CPU. 20 * function pointer in the target struct update_util_data is set to @func. 30 void (*func)(struct update_util_data *data, u64 time, 33 if (WARN_ON(!data || !func)) 39 data->func = func;
|
/linux-master/drivers/net/wireless/silabs/wfx/ |
H A D | bus_spi.c | 51 struct spi_device *func; member in struct:wfx_spi_priv 89 ret = spi_sync(bus->func, &m); 131 ret = spi_sync(bus->func, &m); 160 flags = irq_get_trigger_type(bus->func->irq); 164 return devm_request_threaded_irq(&bus->func->dev, bus->func->irq, NULL, 172 devm_free_irq(&bus->func->dev, bus->func->irq, bus); 192 static int wfx_spi_probe(struct spi_device *func) argument 198 if (!func 245 wfx_spi_remove(struct spi_device *func) argument [all...] |
/linux-master/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtmips.c | 35 struct mtmips_pmx_func **func; member in struct:mtmips_priv 71 *pins = p->groups[group].func[0].pins; 72 *num_pins = p->groups[group].func[0].pin_count; 93 unsigned int func) 97 return p->func[func]->name; 101 unsigned int func, 107 if (p->func[func]->group_count == 1) 108 *groups = &p->group_names[p->func[fun 92 mtmips_pmx_func_name(struct pinctrl_dev *pctrldev, unsigned int func) argument 100 mtmips_pmx_group_get_groups(struct pinctrl_dev *pctrldev, unsigned int func, const char * const **groups, unsigned int * const num_groups) argument 117 mtmips_pmx_group_enable(struct pinctrl_dev *pctrldev, unsigned int func, unsigned int group) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | base.c | 31 return gpio->func->drive(gpio, line, dir, out); 37 return gpio->func->sense(gpio, line); 41 nvkm_gpio_reset(struct nvkm_gpio *gpio, u8 func) argument 43 if (gpio->func->reset) 44 gpio->func->reset(gpio, func); 49 struct dcb_gpio_func *func) 59 data = dcb_gpio_match(bios, idx, tag, line, &ver, &len, func); 66 *func = (struct dcb_gpio_func) { 67 .func 48 nvkm_gpio_find(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, struct dcb_gpio_func *func) argument 82 struct dcb_gpio_func func; local 98 struct dcb_gpio_func func; local 178 struct dcb_gpio_func func; local 225 nvkm_gpio_new_(const struct nvkm_gpio_func *func, struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_gpio **pgpio) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
H A D | pcie.c | 53 if (!pci->func->pcie.version) 56 return pci->func->pcie.version(pci); 62 if (!pci->func->pcie.version_supported) 65 return pci->func->pcie.version_supported(pci); 71 if (!pci->func->pcie.set_version) 75 pci->func->pcie.set_version(pci, version); 82 if (pci->func->pcie.max_speed) 84 nvkm_pcie_speeds[pci->func->pcie.max_speed(pci)]); 105 if (pci->func->pcie.init) 106 pci->func [all...] |
/linux-master/arch/sparc/include/asm/ |
H A D | smp_32.h | 57 void (*cross_call)(void *func, cpumask_t mask, unsigned long arg1, 66 static inline void xc0(void *func) argument 68 sparc32_ipi_ops->cross_call(func, *cpu_online_mask, 0, 0, 0, 0); 71 static inline void xc1(void *func, unsigned long arg1) argument 73 sparc32_ipi_ops->cross_call(func, *cpu_online_mask, arg1, 0, 0, 0); 75 static inline void xc2(void *func, unsigned long arg1, unsigned long arg2) argument 77 sparc32_ipi_ops->cross_call(func, *cpu_online_mask, arg1, arg2, 0, 0); 80 static inline void xc3(void *func, unsigned long arg1, unsigned long arg2, argument 83 sparc32_ipi_ops->cross_call(func, *cpu_online_mask, 87 static inline void xc4(void *func, unsigne argument [all...] |
/linux-master/drivers/bluetooth/ |
H A D | btsdio.c | 45 struct sdio_func *func; member in struct:btsdio_data 77 err = sdio_writesb(data->func, REG_TDAT, skb->data, skb->len); 80 sdio_writeb(data->func, 0x01, REG_PC_WRT, NULL); 99 sdio_claim_host(data->func); 110 sdio_release_host(data->func); 121 err = sdio_readsb(data->func, hdr, REG_RDAT, 4); 140 err = sdio_readsb(data->func, skb->data, REG_RDAT, len - 4); 163 sdio_writeb(data->func, 0x00, REG_PC_RRT, NULL); 168 static void btsdio_interrupt(struct sdio_func *func) argument 170 struct btsdio_data *data = sdio_get_drvdata(func); 275 btsdio_probe(struct sdio_func *func, const struct sdio_device_id *id) argument 350 btsdio_remove(struct sdio_func *func) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/ |
H A D | base.c | 37 ltc->func->cbc_clear(ltc, first, limit); 38 ltc->func->cbc_wait(ltc); 46 ltc->func->zbc_clear_color(ltc, index, color); 54 ltc->func->zbc_clear_depth(ltc, index, depth); 62 ltc->func->zbc_clear_stencil(ltc, index, stencil); 69 if (ltc->func->invalidate) 70 ltc->func->invalidate(ltc); 76 if (ltc->func->flush) 77 ltc->func->flush(ltc); 84 ltc->func 131 nvkm_ltc_new_(const struct nvkm_ltc_func *func, struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_ltc **pltc) argument [all...] |
/linux-master/arch/mips/dec/ |
H A D | reset.c | 17 noret_func_t func = (void *)CKSEG1ADDR(0x1fc00000); local 19 func();
|
/linux-master/arch/powerpc/include/asm/ |
H A D | static_call.h | 25 #define ARCH_DEFINE_STATIC_CALL_TRAMP(name, func) __PPC_SCT(name, "b " #func)
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | g98.c | 37 nvkm_runl_add(runl, 0, fifo->func->engn_sw, NVKM_ENGINE_SW, 0); 38 nvkm_runl_add(runl, 0, fifo->func->engn_sw, NVKM_ENGINE_DMAOBJ, 0); 39 nvkm_runl_add(runl, 1, fifo->func->engn, NVKM_ENGINE_GR, 0); 40 nvkm_runl_add(runl, 2, fifo->func->engn, NVKM_ENGINE_MSPPP, 0); 41 nvkm_runl_add(runl, 3, fifo->func->engn, NVKM_ENGINE_CE, 0); 42 nvkm_runl_add(runl, 4, fifo->func->engn, NVKM_ENGINE_MSPDEC, 0); 43 nvkm_runl_add(runl, 5, fifo->func->engn, NVKM_ENGINE_SEC, 0); 44 nvkm_runl_add(runl, 6, fifo->func->engn, NVKM_ENGINE_MSVLD, 0);
|
/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | igt_live_test.h | 17 const char *func; member in struct:igt_live_test 32 const char *func,
|
/linux-master/drivers/mmc/core/ |
H A D | sdio_cis.c | 25 static int cistpl_vers_1(struct mmc_card *card, struct sdio_func *func, argument 68 if (func) { 69 func->major_rev = major_rev; 70 func->minor_rev = minor_rev; 71 func->num_info = nr_strings; 72 func->info = (const char**)buffer; 83 static int cistpl_manfid(struct mmc_card *card, struct sdio_func *func, argument 94 if (func) { 95 func->vendor = vendor; 96 func 120 cis_tpl_parse(struct mmc_card *card, struct sdio_func *func, const char *tpl_descr, const struct cis_tpl *tpl, int tpl_count, unsigned char code, const unsigned char *buf, unsigned size) argument 155 cistpl_funce_common(struct mmc_card *card, struct sdio_func *func, const unsigned char *buf, unsigned size) argument 172 cistpl_funce_func(struct mmc_card *card, struct sdio_func *func, const unsigned char *buf, unsigned size) argument 222 cistpl_funce(struct mmc_card *card, struct sdio_func *func, const unsigned char *buf, unsigned size) argument 243 sdio_read_cis(struct mmc_card *card, struct sdio_func *func) argument 398 sdio_read_func_cis(struct sdio_func *func) argument 418 sdio_free_func_cis(struct sdio_func *func) argument [all...] |
/linux-master/tools/power/cpupower/utils/helpers/ |
H A D | pci.c | 17 * func: func 27 int slot, int func, int vendor, int dev) 40 filter_nb_link.func = func; 55 /* Typically one wants to get a specific slot(device)/func of the root domain 58 int func) 60 return pci_acc_init(pacc, 0, 0, slot, func, -1, -1); 26 pci_acc_init(struct pci_access **pacc, int domain, int bus, int slot, int func, int vendor, int dev) argument 57 pci_slot_func_init(struct pci_access **pacc, int slot, int func) argument
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_core_read_macros.c | 12 void (*func)(struct callback_head___shuffled *head); member in struct:callback_head___shuffled 44 k_probe_out = (long)BPF_PROBE_READ(&k_probe_in, next, next, func); 45 k_core_out = (long)BPF_CORE_READ(&k_core_in, next, next, func); 46 u_probe_out = (long)BPF_PROBE_READ_USER(u_probe_in, next, next, func); 47 u_core_out = (long)BPF_CORE_READ_USER(u_core_in, next, next, func);
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
H A D | base.c | 30 bus->func->intr(bus); 37 bus->func->init(bus); 55 nvkm_bus_new_(const struct nvkm_bus_func *func, struct nvkm_device *device, argument 62 bus->func = func;
|