Searched refs:func (Results 276 - 300 of 1898) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/gpu/drm/nouveau/nvif/
H A Devent.c57 nvif_event_ctor_(struct nvif_object *parent, const char *name, u32 handle, nvif_event_func func, argument
79 event->func = func;
/linux-master/drivers/platform/x86/
H A Dmxm-wmi.c25 u32 func; member in struct:mxds_args
33 .func = MXM_WMMX_FUNC_MXDS,
56 .func = MXM_WMMX_FUNC_MXMX,
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dmemory.h23 const struct nvkm_memory_func *func; member in struct:nvkm_memory
60 #define nvkm_memory_target(p) (p)->func->target(p)
61 #define nvkm_memory_page(p) (p)->func->page(p)
62 #define nvkm_memory_bar2(p) (p)->func->bar2(p)
63 #define nvkm_memory_addr(p) (p)->func->addr(p)
64 #define nvkm_memory_size(p) (p)->func->size(p)
65 #define nvkm_memory_boot(p,v) (p)->func->boot((p),(v))
67 (p)->func->map((p),(o),(vm),(va),(av),(ac))
68 #define nvkm_memory_kmap(p,i) ((p)->func->kmap ? (p)->func
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dconn.c48 struct dcb_gpio_func func; local
67 ret = nvkm_gpio_find(gpio, 0, info->hpd, DCB_GPIO_UNUSED, &func);
69 CONN_ERR(conn, "func %02x lookup failed, %d", info->hpd, ret);
73 conn->info.hpd = func.line;
H A Doutp.c43 if (ior->func->route.set)
44 ior->func->route.set(outp, NULL);
53 if (ior->func->route.set)
54 ior->func->route.set(outp, ior);
125 (ior->func->route.set || ior->id == __ffs(outp->info.or)))
135 (ior->func->route.set || ior->id == __ffs(outp->info.or)))
219 if (outp->ior->func->bl)
220 ret = outp->ior->func->bl->set(outp->ior, level);
237 if (outp->ior->func->bl)
238 ret = outp->ior->func
374 nvkm_outp_new_(const struct nvkm_outp_func *func, struct nvkm_disp *disp, int index, struct dcb_output *dcbE, struct nvkm_outp **poutp) argument
[all...]
H A Dudisp.c53 if (disp->func->user[index].ctor) {
54 sclass->base = disp->func->user[index].base;
55 sclass->ctor = disp->func->user[index].ctor;
69 disp->client.object.func = NULL;
93 if (disp->client.object.func) {
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dcgrp.c81 if (engine->func->fifo.cclass)
82 ret = engine->func->fifo.cclass(chan, &cclass, &ectx->object);
83 else if (engine->func->cclass)
84 ret = nvkm_object_new_(engine->func->cclass, &cclass, NULL, 0, &ectx->object);
159 if (engn->func->ctor2) {
160 ret = engn->func->ctor2(engn, vctx, chan);
162 if (engn->func->bind) {
164 if (ret == 0 && engn->func->ctor)
165 ret = engn->func->ctor(engn, vctx);
230 cgrp->func
[all...]
/linux-master/tools/testing/selftests/bpf/bpf_testmod/
H A Dbpf_testmod.c350 BTF_ID_FLAGS(func, bpf_iter_testmod_seq_new, KF_ITER_NEW)
351 BTF_ID_FLAGS(func, bpf_iter_testmod_seq_next, KF_ITER_NEXT | KF_RET_NULL)
352 BTF_ID_FLAGS(func, bpf_iter_testmod_seq_destroy, KF_ITER_DESTROY)
353 BTF_ID_FLAGS(func, bpf_kfunc_common_test)
501 BTF_ID_FLAGS(func, bpf_testmod_test_mod_kfunc)
502 BTF_ID_FLAGS(func, bpf_kfunc_call_test1)
503 BTF_ID_FLAGS(func, bpf_kfunc_call_test2)
504 BTF_ID_FLAGS(func, bpf_kfunc_call_test3)
505 BTF_ID_FLAGS(func, bpf_kfunc_call_test4)
506 BTF_ID_FLAGS(func, bpf_kfunc_call_test_mem_len_pass
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dextdev.c83 struct nvbios_extdev_func *func)
91 extdev_parse_entry(bios, entry, func);
97 struct nvbios_extdev_func *func)
104 extdev_parse_entry(bios, entry, func);
105 if (func->type == type)
82 nvbios_extdev_parse(struct nvkm_bios *bios, int idx, struct nvbios_extdev_func *func) argument
96 nvbios_extdev_find(struct nvkm_bios *bios, enum nvbios_extdev_type type, struct nvbios_extdev_func *func) argument
/linux-master/tools/testing/selftests/bpf/progs/
H A Dkfree_skb.c21 void (*func)(struct callback_head *head); member in struct:callback_head
65 void *func; local
79 func = ptr->func;
94 bpf_printk("rcuhead.next %llx func %llx\n", ptr, func);
/linux-master/drivers/gpu/drm/i915/
H A Di915_selftest.h61 #define selftest(name, func) int func(void);
64 #define selftest(name, func) int func(struct drm_i915_private *i915);
70 int (*func)(void *data); member in struct:i915_subtest
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dsdio_txrx.c96 if (len > sdio->func->cur_blksize)
97 len = roundup(len, sdio->func->cur_blksize);
105 sdio_claim_host(sdio->func);
106 err = sdio_readsb(sdio->func, buf, MCR_WRDR(qid), len);
107 sdio_release_host(sdio->func);
226 if (len > sdio->func->cur_blksize)
227 len = roundup(len, sdio->func->cur_blksize);
229 sdio_claim_host(sdio->func);
230 err = sdio_writesb(sdio->func, MCR_WTDR1, data, len);
231 sdio_release_host(sdio->func);
353 mt76s_sdio_irq(struct sdio_func *func) argument
[all...]
/linux-master/drivers/pinctrl/meson/
H A Dpinctrl-meson-axg-pmx.c60 unsigned int pin, unsigned int func)
74 0xf << offset, (func & 0xf) << offset);
85 struct meson_pmx_func *func = &pc->data->funcs[func_num]; local
90 dev_dbg(pc->dev, "enable function %s, group %s\n", func->name,
95 pmx_data->func);
59 meson_axg_pmx_update_function(struct meson_pinctrl *pc, unsigned int pin, unsigned int func) argument
/linux-master/tools/objtool/
H A Dobjtool.c115 void objtool_pv_add(struct objtool_file *f, int idx, struct symbol *func) argument
129 if (!strcmp(func->name, "_paravirt_nop") ||
130 !strcmp(func->name, "_paravirt_ident_64"))
134 if (!list_empty(&func->pv_target))
137 list_add(&func->pv_target, &f->pv_ops[idx].targets);
/linux-master/drivers/gpu/drm/
H A Ddrm_flip_work.c61 * func) on a work queue after drm_flip_work_commit() is called.
73 work->func(work, val);
120 work->func(work, task->data);
130 * @func: the callback work function
135 const char *name, drm_flip_func_t func)
141 work->func = func;
134 drm_flip_work_init(struct drm_flip_work *work, const char *name, drm_flip_func_t func) argument
/linux-master/drivers/xen/xen-pciback/
H A Dpci_stub.c158 int slot, int func)
167 && func == PCI_FUNC(psdev->dev->devfn)) {
176 int slot, int func)
183 psdev = pcistub_device_find_locked(domain, bus, slot, func);
212 int slot, int func)
220 psdev = pcistub_device_find_locked(domain, bus, slot, func);
322 /* Match the specified device by domain, bus, slot, func and also if
1005 int *slot, int *func)
1009 switch (sscanf(buf, " %x:%x:%x.%x %n", domain, bus, slot, func,
1012 *func
157 pcistub_device_find_locked(int domain, int bus, int slot, int func) argument
175 pcistub_device_find(int domain, int bus, int slot, int func) argument
210 pcistub_get_pci_dev_by_slot(struct xen_pcibk_device *pdev, int domain, int bus, int slot, int func) argument
1004 str_to_slot(const char *buf, int *domain, int *bus, int *slot, int *func) argument
1041 str_to_quirk(const char *buf, int *domain, int *bus, int *slot, int *func, int *reg, int *size, int *mask) argument
1061 pcistub_device_id_add(int domain, int bus, int slot, int func) argument
1101 pcistub_device_id_remove(int domain, int bus, int slot, int func) argument
1130 pcistub_reg_add(int domain, int bus, int slot, int func, unsigned int reg, unsigned int size, unsigned int mask) argument
1175 int domain, bus, slot, func; local
1194 int domain, bus, slot, func; local
1267 int domain, bus, slot, func; local
1305 int domain, bus, slot, func, reg, size, mask; local
1369 int domain, bus, slot, func; local
1433 int domain, bus, slot, func; local
1511 int domain, bus, slot, func; local
[all...]
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A Dsdio.c541 mwifiex_sdio_probe(struct sdio_func *func, const struct sdio_device_id *id) argument
547 func->vendor, func->device, func->class, func->num);
549 card = devm_kzalloc(&func->dev, sizeof(*card), GFP_KERNEL);
555 card->func = func;
557 func->card->quirks |= MMC_QUIRK_BLKSZ_FOR_BYTE_MODE;
580 sdio_claim_host(func);
625 struct sdio_func *func = dev_to_sdio_func(dev); local
656 mwifiex_write_reg_locked(struct sdio_func *func, u32 reg, u8 data) argument
833 mwifiex_sdio_remove(struct sdio_func *func) argument
878 struct sdio_func *func = dev_to_sdio_func(dev); local
935 struct sdio_func *func = dev_to_sdio_func(dev); local
1282 struct sdio_func *func = card->func; local
1330 mwifiex_sdio_interrupt(struct sdio_func *func) argument
1359 struct sdio_func *func = card->func; local
2477 struct sdio_func *func = card->func; local
2671 struct sdio_func *func = card->func; local
3046 u8 count, func, data, index = 0, size = 0; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Daux.c60 ret = aux->func->xfer(aux, true, cmd,
139 if (!*size && !aux->func->address_only) {
143 return aux->func->xfer(aux, retry, type, addr, data, size);
149 if (aux->func->lnk_ctl)
150 return aux->func->lnk_ctl(aux, nr, bw, ef);
158 if (aux && !WARN_ON(!aux->func)) {
186 nvkm_i2c_aux_ctor(const struct nvkm_i2c_aux_func *func, argument
192 aux->func = func;
208 nvkm_i2c_aux_new_(const struct nvkm_i2c_aux_func *func, argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/
H A Devent.c36 if (event->func->fini)
37 event->func->fini(event, 1 << type, index);
53 if (event->func->init)
54 event->func->init(event, 1 << type, index);
146 nvkm_event_ntfy_add(struct nvkm_event *event, int id, u32 bits, bool wait, nvkm_event_func func, argument
155 ntfy->func = func;
184 ntfy->func(ntfy, ntfy->bits & bits);
201 __nvkm_event_init(const struct nvkm_event_func *func, struct nvkm_subdev *subdev, argument
208 event->func
[all...]
/linux-master/drivers/misc/sgi-xp/
H A Dxp_main.c116 * func - function to call for asynchronous notification of channel
120 * to the user on any callouts made to func.
134 xpc_connect(int ch_number, xpc_channel_func func, void *key, u16 payload_size, argument
141 DBUG_ON(func == NULL);
153 if (registration->func != NULL) {
164 registration->func = func;
205 if (registration->func == NULL) {
211 registration->func = NULL;
/linux-master/lib/kunit/
H A Dresource.c83 kunit_action_t *func; member in struct:kunit_action_ctx
91 action_ctx->func(action_ctx->ctx);
105 action_ctx->func = action;
138 return (match_ctx->func == res_ctx->func) && (match_ctx->ctx == res_ctx->ctx);
148 match_ctx.func = action;
168 match_ctx.func = action;
/linux-master/drivers/pci/hotplug/
H A Dibmphp_core.c544 if (slot_cur->func) {
545 func_cur = slot_cur->func;
587 static void ibm_unconfigure_device(struct pci_func *func) argument
593 debug("func->device = %x, func->function = %x\n",
594 func->device, func->function);
595 debug("func->device << 3 | 0x0 = %x\n", func->device << 3 | 0x0);
600 temp = pci_get_domain_bus_and_slot(0, func
660 ibm_configure_device(struct pci_func *func) argument
[all...]
/linux-master/arch/x86/um/
H A Dldt.c16 static inline int modify_ldt (int func, void *ptr, unsigned long bytecount) argument
18 return syscall(__NR_modify_ldt, func, ptr, bytecount);
21 static long write_ldt_entry(struct mm_id *mm_idp, int func, argument
33 unsigned long args[] = { func,
123 static int write_ldt(void __user * ptr, unsigned long bytecount, int func) argument
143 if (func == 1)
151 err = write_ldt_entry(mm_idp, func, &ldt_info, &addr, 1);
191 (func == 1 || LDT_empty(&ldt_info))) {
196 if (func == 1)
209 static long do_modify_ldt_skas(int func, voi argument
[all...]
/linux-master/arch/powerpc/platforms/ps3/
H A Dos-area.c304 static void _dump_header(const struct os_area_header *h, const char *func, argument
310 pr_debug("%s:%d: h.magic_num: '%s'\n", func, line,
312 pr_debug("%s:%d: h.hdr_version: %u\n", func, line,
314 pr_debug("%s:%d: h.db_area_offset: %u\n", func, line,
316 pr_debug("%s:%d: h.ldr_area_offset: %u\n", func, line,
318 pr_debug("%s:%d: h.ldr_format: %u\n", func, line,
320 pr_debug("%s:%d: h.ldr_size: %xh\n", func, line,
325 static void _dump_params(const struct os_area_params *p, const char *func, argument
328 pr_debug("%s:%d: p.boot_flag: %u\n", func, line, p->boot_flag);
329 pr_debug("%s:%d: p.num_params: %u\n", func, lin
524 _dump_db(const struct os_area_db *db, const char *func, int line) argument
[all...]
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dbcmsdh.c82 static void brcmf_sdiod_ib_irqhandler(struct sdio_func *func) argument
84 struct brcmf_bus *bus_if = dev_get_drvdata(&func->dev);
93 static void brcmf_sdiod_dummy_irqhandler(struct sdio_func *func) argument
285 struct sdio_func *func, u32 addr,
295 switch (func->num) {
297 err = sdio_memcpy_fromio(func, ((u8 *)(skb->data)), addr,
301 err = sdio_readsb(func, ((u8 *)(skb->data)), addr, req_sz);
305 WARN(1, "invalid sdio function number: %d\n", func->num);
316 struct sdio_func *func, u32 addr,
326 err = sdio_memcpy_toio(func, add
284 brcmf_sdiod_skbuff_read(struct brcmf_sdio_dev *sdiodev, struct sdio_func *func, u32 addr, struct sk_buff *skb) argument
315 brcmf_sdiod_skbuff_write(struct brcmf_sdio_dev *sdiodev, struct sdio_func *func, u32 addr, struct sk_buff *skb) argument
334 mmc_submit_one(struct mmc_data *md, struct mmc_request *mr, struct mmc_command *mc, int sg_cnt, int req_sz, int func_blk_sz, u32 *addr, struct brcmf_sdio_dev *sdiodev, struct sdio_func *func, int write) argument
377 brcmf_sdiod_sglist_rw(struct brcmf_sdio_dev *sdiodev, struct sdio_func *func, bool write, u32 addr, struct sk_buff_head *pktlist) argument
739 brcmf_sdiod_abort(struct brcmf_sdio_dev *sdiodev, struct sdio_func *func) argument
752 struct sdio_func *func; local
1035 brcmf_ops_sdio_probe(struct sdio_func *func, const struct sdio_device_id *id) argument
1108 brcmf_ops_sdio_remove(struct sdio_func *func) argument
1166 struct sdio_func *func; local
1209 struct sdio_func *func = container_of(dev, struct sdio_func, dev); local
[all...]

Completed in 256 milliseconds

<<11121314151617181920>>