/linux-master/drivers/watchdog/ |
H A D | diag288_wdt.c | 74 static int diag288(unsigned int func, unsigned int timeout, argument 77 union register_pair r1 = { .even = func, .odd = timeout, }; 95 static int diag288_str(unsigned int func, unsigned int timeout, char *cmd) argument 105 return diag288(func, timeout, virt_to_phys(cmd_buf), len); 111 unsigned int func; local 114 func = conceal_on ? (WDT_FUNC_INIT | WDT_FUNC_CONCEAL) 116 ret = diag288_str(func, dev->timeout, wdt_cmd); 137 unsigned int func; local 145 func = conceal_on ? (WDT_FUNC_INIT | WDT_FUNC_CONCEAL) 148 ret = diag288_str(func, de [all...] |
/linux-master/include/linux/ |
H A D | livepatch.h | 38 * @patched: the func has been added to the klp_ops list 39 * @transition: the func is currently being applied or reverted 41 * The patched and transition variables define the func's patching state. When 42 * patching, a func is always in one of the following states: 184 #define klp_for_each_func_static(obj, func) \ 185 for (func = obj->funcs; \ 186 func->old_name || func->new_func || func->old_sympos; \ 187 func [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | chan.c | 47 if (!engn->func->bind) 62 engn->func->bind(engn, cctx, chan); 141 chan->func->preempt(chan); 153 if (!chan->func->preempt) 187 if (preempt && chan->func->preempt) 223 chan->func->stop(chan); 236 chan->func->preempt(chan); 256 chan->func->start(chan); 268 if (chan->func->ramfc->clear) 269 chan->func 349 nvkm_chan_new_(const struct nvkm_chan_func *func, struct nvkm_runl *runl, int runq, struct nvkm_cgrp *cgrp, const char *name, bool priv, u32 devm, struct nvkm_vmm *vmm, struct nvkm_dmaobj *dmaobj, u64 offset, u64 length, struct nvkm_memory *userd, u64 ouserd, struct nvkm_chan **pchan) argument [all...] |
H A D | runl.c | 41 id = engn->func->cxid(engn, &cgid); 87 if (runl->func->preempt) { 93 if (runq->func->idle(runq)) 101 nvkm_runl_foreach_engn_cond(engn, runl, engn->func->cxid) { 121 runl->func->update(runl); 122 if (runl->func->fault_clear) 123 runl->func->fault_clear(runl); 128 runl->func->wait(runl); 137 if (runl->func->preempt) 138 runl->func 338 nvkm_runl_add(struct nvkm_runl *runl, int engi, const struct nvkm_engn_func *func, enum nvkm_subdev_type type, int inst) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | timer.h | 10 void (*func)(struct nvkm_alarm *); member in struct:nvkm_alarm 14 nvkm_alarm_init(struct nvkm_alarm *alarm, void (*func)(struct nvkm_alarm *)) 17 alarm->func = func; 21 const struct nvkm_timer_func *func; member in struct:nvkm_timer
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | chan.c | 34 u64 size, base = chan->func->user(chan, &size); 45 u64 size, base = chan->func->user(chan, &size); 74 const u64 base = device->func->resource_addr(device, 0); 77 *addr = base + chan->func->user(chan, size); 121 object->hash = chan->func->bind(chan, object->oproxy.object, oclass->handle); 135 if (chan->func->bind) 140 if (sclass->engine && sclass->engine->func->base.sclass) { 141 sclass->engine->func->base.sclass(sclass, index, &oclass); 157 chan->func->fini(chan); 158 chan->func [all...] |
H A D | uoutp.c | 40 if (!ior->func->dp || !ior->func->dp->vcpi || !nvkm_head_find(outp->disp, args->v0.head)) 43 ior->func->dp->vcpi(ior, args->v0.head, args->v0.start_slot, args->v0.num_slots, 55 if (!outp->func->dp.mst_id_put) 58 return outp->func->dp.mst_id_put(outp, args->v0.id); 68 if (!outp->func->dp.mst_id_get) 71 return outp->func->dp.mst_id_get(outp, &args->v0.id); 84 if (!ior->func->dp || !nvkm_head_find(disp, args->v0.head)) 86 if (!ior->func->dp->sst) 89 return ior->func [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | lookup_key.c | 22 char *func; local 24 if (strcmp(fmt, "libbpf: extern (func ksym) '%s': not found in kernel or module BTFs\n")) 27 func = va_arg(args, char *); 29 if (strcmp(func, "bpf_lookup_user_key") && strcmp(func, "bpf_key_put") && 30 strcmp(func, "bpf_lookup_system_key"))
|
/linux-master/drivers/platform/x86/intel/int3472/ |
H A D | discrete.c | 57 const char *func, u32 polarity) 74 table_entry->con_id = func; 83 const char *func, u32 polarity) 93 agpio, func, polarity); 106 const char *func, u32 polarity) 117 ret = skl_int3472_fill_gpiod_lookup(&lookup->table[0], agpio, func, polarity); 122 desc = devm_gpiod_get(int3472->dev, func, GPIOD_OUT_LOW); 128 static void int3472_get_func_and_polarity(u8 type, const char **func, u32 *polarity) argument 132 *func = "reset"; 136 *func 55 skl_int3472_fill_gpiod_lookup(struct gpiod_lookup *table_entry, struct acpi_resource_gpio *agpio, const char *func, u32 polarity) argument 81 skl_int3472_map_gpio_to_sensor(struct int3472_discrete_device *int3472, struct acpi_resource_gpio *agpio, const char *func, u32 polarity) argument 104 skl_int3472_gpiod_get_from_temp_lookup(struct int3472_discrete_device *int3472, struct acpi_resource_gpio *agpio, const char *func, u32 polarity) argument 199 const char *func; local [all...] |
/linux-master/drivers/media/platform/verisilicon/ |
H A D | hantro_drv.c | 630 struct hantro_func *func = hantro_vdev_to_func(vdev); local 648 if (func->id == MEDIA_ENT_F_PROC_VIDEO_ENCODER) { 651 } else if (func->id == MEDIA_ENT_F_PROC_VIDEO_DECODER) { 782 struct hantro_func *func) 789 func->source_pad.flags = MEDIA_PAD_FL_SOURCE; 790 ret = hantro_register_entity(mdev, &func->vdev.entity, "source", 791 &func->source_pad, 1, MEDIA_ENT_F_IO_V4L, 792 &func->vdev); 796 func->proc_pads[0].flags = MEDIA_PAD_FL_SINK; 797 func 781 hantro_attach_func(struct hantro_dev *vpu, struct hantro_func *func) argument 873 hantro_detach_func(struct hantro_func *func) argument 887 struct hantro_func *func; local 966 struct hantro_func *func; local [all...] |
/linux-master/drivers/net/wireless/ath/ath6kl/ |
H A D | sdio.c | 34 struct sdio_func *func; member in struct:ath6kl_sdio 109 static inline void ath6kl_sdio_set_cmd53_arg(u32 *arg, u8 rw, u8 func, argument 114 ((func & 0x7) << 28) | 125 const u8 func = 0; local 128 ((func & 0x7) << 28) | 150 static int ath6kl_sdio_io(struct sdio_func *func, u32 request, u32 addr, argument 155 sdio_claim_host(func); 168 ret = sdio_writesb(func, addr, buf, len); 170 ret = sdio_memcpy_toio(func, addr, buf, len); 173 ret = sdio_readsb(func, bu 479 ath6kl_sdio_irq_handler(struct sdio_func *func) argument 506 struct sdio_func *func = ar_sdio->func; local 797 struct sdio_func *func = ar_sdio->func; local 835 struct sdio_func *func = ar_sdio->func; local 864 struct sdio_func *func = ar_sdio->func; local 1306 ath6kl_sdio_probe(struct sdio_func *func, const struct sdio_device_id *id) argument 1390 ath6kl_sdio_remove(struct sdio_func *func) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/falcon/ |
H A D | gm200.c | 160 if (falcon->func->reset_eng) { 161 ret = falcon->func->reset_eng(falcon); 166 if (falcon->func->select) { 167 ret = falcon->func->select(falcon); 172 if (falcon->func->reset_pmc) 175 ret = falcon->func->reset_wait_mem_scrubbing(falcon); 189 if (falcon->func->select) { 190 ret = falcon->func->select(falcon); 198 if (falcon->func->reset_pmc) { 199 if (falcon->func [all...] |
/linux-master/kernel/ |
H A D | tracepoint.c | 101 /* Called in removal of a func but failed to allocate a new tp_funcs */ 175 for (i = 0; funcs[i].func; i++) 176 printk(KERN_DEBUG "Probe %d : %p\n", i, funcs[i].func); 188 if (WARN_ON(!tp_func->func)) 195 for (iter_probes = 0; old[iter_probes].func; iter_probes++) { 196 if (old[iter_probes].func == tp_stub_func) 198 if (old[iter_probes].func == tp_func->func && 204 /* + 2 : one for new probe, one for NULL func */ 210 for (iter_probes = 0; old[iter_probes].func; iter_probe 310 void *func = tp->iterator; local 323 tracepoint_add_func(struct tracepoint *tp, struct tracepoint_func *func, int prio, bool warn) argument 396 tracepoint_remove_func(struct tracepoint *tp, struct tracepoint_func *func) argument [all...] |
H A D | async.c | 74 async_func_t func; member in struct:async_entry 126 entry->func, task_pid_nr(current)); 129 entry->func(entry->data, entry->cookie); 132 (long long)entry->cookie, entry->func, 150 static async_cookie_t __async_schedule_node_domain(async_func_t func, argument 161 entry->func = func; 185 * @func: function to execute asynchronously 200 async_cookie_t async_schedule_node_domain(async_func_t func, void *data, argument 221 func(dat 242 async_schedule_node(async_func_t func, void *data, int node) argument 260 async_schedule_dev_nocall(async_func_t func, struct device *dev) argument [all...] |
/linux-master/drivers/pci/hotplug/ |
H A D | ibmphp_pci.c | 67 int ibmphp_configure_card(struct pci_func *func, u8 slotno) argument 81 debug("inside configure_card, func->busno = %x\n", func->busno); 83 device = func->device; 84 cur_func = func; 87 * func->busno is correct, and func->device contains only device (at the 5 183 func->bus = 1; /* To indicate to the unconfigure function that this is a PPB */ 191 if (func->devices[i]) { 211 func 329 configure_device(struct pci_func *func) argument 572 struct pci_func *func = *func_passed; local 1046 scan_behind_bridge(struct pci_func *func, u8 busno) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | gpio.c | 87 .func = (info & 0x07e0) >> 5, 97 .func = (info & 0x0000ff00) >> 8, 107 .func = (info & 0x0000ff00) >> 8, 119 dcb_gpio_match(struct nvkm_bios *bios, int idx, u8 func, u8 line, argument 127 (func == 0xff || func == gpio->func)) 133 if (*ver >= 0x22 && *ver < 0x30 && func == DCB_GPIO_TVDAC0) { 138 .func = DCB_GPIO_TVDAC0,
|
/linux-master/arch/x86/pci/ |
H A D | broadcom_bus.c | 18 static void __init cnb20le_res(u8 bus, u8 slot, u8 func) argument 27 fbus = read_pci_config_byte(bus, slot, func, 0x44); 28 lbus = read_pci_config_byte(bus, slot, func, 0x45); 46 word1 = read_pci_config_16(bus, slot, func, 0xc0); 47 word2 = read_pci_config_16(bus, slot, func, 0xc2); 56 word1 = read_pci_config_16(bus, slot, func, 0xc4); 57 word2 = read_pci_config_16(bus, slot, func, 0xc6); 66 word1 = read_pci_config_16(bus, slot, func, 0xd0); 67 word2 = read_pci_config_16(bus, slot, func, 0xd2);
|
/linux-master/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_task_queue.c | 23 if (args->func) 24 args->response = args->func(args->ipc_imem, args->arg, 43 args->func = NULL; 79 int (*func)(struct iosm_imem *ipc_imem, int arg, 107 ipc_task->args[pos].func = func; 141 int (*func)(struct iosm_imem *ipc_imem, int arg, 157 ret = ipc_task_queue_add_task(imem, arg, copy, func, 161 "add task failed for %ps %d, %p, %zu, %d", func, arg,
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | uevent.c | 31 nvkm_uevent_func func; member in struct:nvkm_uevent 118 if (uevent->func) 119 return uevent->func(uevent->parent, uevent->object.token, bits); 126 nvkm_uevent_func func) 128 if (WARN_ON(uevent->func)) 132 uevent->func = func; 153 uevent->func = NULL; 156 return parent->func->uevent(parent, &args->v0.data, argc - sizeof(args->v0), uevent); 125 nvkm_uevent_add(struct nvkm_uevent *uevent, struct nvkm_event *event, int id, u32 bits, nvkm_uevent_func func) argument
|
/linux-master/drivers/hwmon/pmbus/ |
H A D | max31785.c | 405 .func[0] = MAX31785_FAN_FUNCS, 406 .func[1] = MAX31785_FAN_FUNCS, 407 .func[2] = MAX31785_FAN_FUNCS, 408 .func[3] = MAX31785_FAN_FUNCS, 409 .func[4] = MAX31785_FAN_FUNCS, 410 .func[5] = MAX31785_FAN_FUNCS, 416 .func[6] = MAX31785_TEMP_FUNCS, 417 .func[7] = MAX31785_TEMP_FUNCS, 418 .func[8] = MAX31785_TEMP_FUNCS, 419 .func[ [all...] |
/linux-master/kernel/rcu/ |
H A D | tiny.c | 88 unsigned long offset = (unsigned long)head->func; 99 f = head->func; 101 WRITE_ONCE(head->func, (rcu_callback_t)0L); 171 void call_rcu(struct rcu_head *head, rcu_callback_t func) argument 178 pr_err("%s(): Double-freed CB %p->%pS()!!! ", __func__, head, head->func); 182 if (!__is_kvfree_rcu_offset((unsigned long)head->func)) 183 WRITE_ONCE(head->func, tiny_rcu_leak_callback); 187 head->func = func;
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | bus.c | 50 bus->func->drive_scl(bus, state); 57 bus->func->drive_sda(bus, state); 64 return bus->func->sense_scl(bus); 71 return bus->func->sense_sda(bus); 87 ret = bus->func->xfer(bus, msgs, num); 111 if (bus->func->init) 112 bus->func->init(bus); 197 if (bus && !WARN_ON(!bus->func)) { 208 nvkm_i2c_bus_ctor(const struct nvkm_i2c_bus_func *func, argument 221 bus->func 257 nvkm_i2c_bus_new_(const struct nvkm_i2c_bus_func *func, struct nvkm_i2c_pad *pad, int id, struct nvkm_i2c_bus **pbus) argument [all...] |
/linux-master/arch/powerpc/platforms/powermac/ |
H A D | pfunc_base.c | 27 static int macio_do_gpio_irq_enable(struct pmf_function *func) argument 29 unsigned int irq = irq_of_parse_and_map(func->node, 0); 32 return request_irq(irq, macio_gpio_irq, 0, func->node->name, func); 35 static int macio_do_gpio_irq_disable(struct pmf_function *func) argument 37 unsigned int irq = irq_of_parse_and_map(func->node, 0); 40 free_irq(irq, func); 46 u8 __iomem *addr = (u8 __iomem *)func->driver_data; 59 tmp, func->node, addr); 68 u8 __iomem *addr = (u8 __iomem *)func [all...] |
/linux-master/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_pf.h | 87 #define FM10K_PF_MSG_LPORT_MAP_HANDLER(func) \ 89 fm10k_lport_map_msg_attr, func) 91 #define FM10K_PF_MSG_UPDATE_PVID_HANDLER(func) \ 93 fm10k_update_pvid_msg_attr, func) 97 #define FM10K_PF_MSG_ERR_HANDLER(msg, func) \ 98 FM10K_MSG_HANDLER(FM10K_PF_MSG_ID_##msg, fm10k_err_msg_attr, func)
|
/linux-master/drivers/usb/renesas_usbhs/ |
H A D | mod.h | 130 #define usbhs_mod_call(priv, func, param...) \ 135 !mod->func ? 0 : \ 136 mod->func(param); \ 140 #define usbhs_mod_info_call(priv, func, param...) \ 144 !info->func ? 0 : \ 145 info->func(param); \
|