/linux/drivers/slimbus/ |
H A D | qcom-ngd-ctrl.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2011-2017, The Linux Foundation. All rights reserved. 11 #include <linux/dma-mapping.h> 26 /* NGD (Non-ported Generic Device) registers */ 103 #define to_ngd(d) container_of(d, struct qcom_slim_ngd, dev) 135 struct qcom_slim_ngd_ctrl *ctrl; member 150 struct slim_controller ctrl; member 153 struct device *dev; member 347 static int qcom_slim_qmi_send_select_inst_req(struct qcom_slim_ngd_ctrl *ctrl, in qcom_slim_qmi_send_select_inst_req() argument 354 rc = qmi_txn_init(ctrl->qmi.handle, &txn, in qcom_slim_qmi_send_select_inst_req() [all …]
|
H A D | qcom-ctrl.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2011-2017, The Linux Foundation 88 /* Resource group info for manager, and non-ported generic device-components */ 103 struct slim_controller ctrl; member 105 struct device *dev; member 120 static void qcom_slim_queue_tx(struct qcom_slim_ctrl *ctrl, void *buf, in qcom_slim_queue_tx() argument 125 __iowrite32_copy(ctrl->base + tx_reg, buf, count); in qcom_slim_queue_tx() 131 static void *slim_alloc_rxbuf(struct qcom_slim_ctrl *ctrl) in slim_alloc_rxbuf() argument 136 spin_lock_irqsave(&ctrl->rx.lock, flags); in slim_alloc_rxbuf() 137 if ((ctrl->rx.tail + 1) % ctrl->rx.n == ctrl->rx.head) { in slim_alloc_rxbuf() [all …]
|
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2011-2017, The Linux Foundation 22 while (id->manf_id != 0 || id->prod_code != 0) { in slim_match() 23 if (id->manf_id == sbdev->e_addr.manf_id && in slim_match() 24 id->prod_code == sbdev->e_add in slim_match() 33 slim_device_match(struct device * dev,const struct device_driver * drv) slim_device_match() argument 62 slim_device_probe(struct device * dev) slim_device_probe() argument 84 slim_device_remove(struct device * dev) slim_device_remove() argument 96 slim_device_uevent(const struct device * dev,struct kobj_uevent_env * env) slim_device_uevent() argument 145 slim_dev_release(struct device * dev) slim_dev_release() argument 152 slim_add_device(struct slim_controller * ctrl,struct slim_device * sbdev,struct device_node * node) slim_add_device() argument 175 slim_alloc_device(struct slim_controller * ctrl,struct slim_eaddr * eaddr,struct device_node * node) slim_alloc_device() argument 196 of_register_slim_devices(struct slim_controller * ctrl) of_register_slim_devices() argument 198 struct device *dev = ctrl->dev; of_register_slim_devices() local 249 slim_register_controller(struct slim_controller * ctrl) slim_register_controller() argument 287 slim_ctrl_remove_device(struct device * dev,void * null) slim_ctrl_remove_device() argument 298 slim_unregister_controller(struct slim_controller * ctrl) slim_unregister_controller() argument 316 struct slim_controller *ctrl = sbdev->ctrl; slim_report_absent() local 339 slim_match_dev(struct device * dev,void * data) slim_match_dev() argument 347 find_slim_device(struct slim_controller * ctrl,struct slim_eaddr * eaddr) find_slim_device() argument 351 struct device *dev; find_slim_device() local 371 slim_get_device(struct slim_controller * ctrl,struct slim_eaddr * e_addr) slim_get_device() argument 387 of_slim_match_dev(struct device * dev,void * data) of_slim_match_dev() argument 395 of_find_slim_device(struct slim_controller * ctrl,struct device_node * np) of_find_slim_device() argument 399 struct device *dev; of_find_slim_device() local 419 of_slim_get_device(struct slim_controller * ctrl,struct device_node * np) of_slim_get_device() argument 429 struct slim_controller *ctrl = sbdev->ctrl; slim_device_alloc_laddr() local 488 slim_device_report_present(struct slim_controller * ctrl,struct slim_eaddr * e_addr,u8 * laddr) slim_device_report_present() argument [all...] |
/linux/drivers/tty/serdev/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2016-2017 Linaro Ltd., Rob Herring <robh@kernel.org> 6 * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved. 28 static ssize_t modalias_show(struct device *dev, in modalias_show() argument 33 len = acpi_device_modalias(dev, buf, PAGE_SIZE - 1); in modalias_show() 34 if (len != -ENODEV) in modalias_show() 37 return of_device_modalias(dev, buf, PAGE_SIZE); in modalias_show() 47 static int serdev_device_uevent(const struct device *dev, struct kobj_uevent_env *env) in serdev_device_uevent() argument 53 rc = acpi_device_uevent_modalias(dev, env); in serdev_device_uevent() 54 if (rc != -ENODEV) in serdev_device_uevent() [all …]
|
/linux/drivers/soundwire/ |
H A D | qcom.c | 1 // SPDX-License-Identifier: GPL-2.0 102 #define SWRM_DP_PORT_CTRL_BANK(n, m) (0x1124 + 0x100 * (n - 1) + 0x40 * m) 103 #define SWRM_DP_PORT_CTRL_2_BANK(n, m) (0x1128 + 0x100 * (n - 1) + 0x40 * m) 104 #define SWRM_DP_BLOCK_CTRL_1(n) (0x112C + 0x100 * (n - 1)) 105 #define SWRM_DP_BLOCK_CTRL2_BANK(n, m) (0x1130 + 0x100 * (n - 1) + 0x40 * m) 106 #define SWRM_DP_PORT_HCTRL_BANK(n, m) (0x1134 + 0x100 * (n - 1) + 0x40 * m) 107 #define SWRM_DP_BLOCK_CTRL3_BANK(n, m) (0x1138 + 0x100 * (n - 1) + 0x40 * m) 108 #define SWRM_DP_SAMPLECTRL2_BANK(n, m) (0x113C + 0x100 * (n - 1) + 0x40 * m) 109 #define SWRM_DIN_DPn_PCM_PORT_CTRL(n) (0x1054 + 0x100 * (n - 1)) 125 #define SWRM_REG_VAL_PACK(data, dev, id, reg) \ argument [all …]
|
/linux/drivers/spmi/ |
H A D | spmi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved. 16 #include <dt-bindings/spmi/spmi.h> 23 static void spmi_dev_release(struct device *dev) in spmi_dev_release() argument 25 struct spmi_device *sdev = to_spmi_device(dev); in spmi_dev_release() 34 static void spmi_ctrl_release(struct device *dev) in spmi_ctrl_release() argument 36 struct spmi_controller *ctrl in spmi_ctrl_release() local 46 spmi_device_match(struct device * dev,const struct device_driver * drv) spmi_device_match() argument 64 struct spmi_controller *ctrl = sdev->ctrl; spmi_device_add() local 94 spmi_cmd(struct spmi_controller * ctrl,u8 opcode,u8 sid) spmi_cmd() argument 106 spmi_read_cmd(struct spmi_controller * ctrl,u8 opcode,u8 sid,u16 addr,u8 * buf,size_t len) spmi_read_cmd() argument 120 spmi_write_cmd(struct spmi_controller * ctrl,u8 opcode,u8 sid,u16 addr,const u8 * buf,size_t len) spmi_write_cmd() argument 325 spmi_drv_probe(struct device * dev) spmi_drv_probe() argument 348 spmi_drv_remove(struct device * dev) spmi_drv_remove() argument 362 spmi_drv_shutdown(struct device * dev) spmi_drv_shutdown() argument 370 spmi_drv_uevent(const struct device * dev,struct kobj_uevent_env * env) spmi_drv_uevent() argument 402 struct device *dev = bus_find_device_by_of_node(&spmi_bus_type, np); spmi_find_device_by_of_node() local 417 spmi_device_alloc(struct spmi_controller * ctrl) spmi_device_alloc() argument 447 struct spmi_controller *ctrl; spmi_controller_alloc() local 480 of_spmi_register_devices(struct spmi_controller * ctrl) of_spmi_register_devices() argument 539 spmi_controller_add(struct spmi_controller * ctrl) spmi_controller_add() argument 562 spmi_ctrl_remove_device(struct device * dev,void * data) spmi_ctrl_remove_device() argument 578 spmi_controller_remove(struct spmi_controller * ctrl) spmi_controller_remove() argument [all...] |
H A D | hisi-spmi-controller.c | 1 // SPDX-License-Identifier: GPL-2.0 76 struct device *dev; member 82 static int spmi_controller_wait_for_done(struct device *dev, in spmi_controller_wait_for_done() argument 90 offset += SPMI_CHANNEL_OFFSET * ctrl_dev->channel + SPMI_SLAVE_OFFSET * sid; in spmi_controller_wait_for_done() 97 dev_err(dev, "%s: transaction failed (0x%x)\n", in spmi_controller_wait_for_done() 99 return -EIO; in spmi_controller_wait_for_done() 101 dev_dbg(dev, "%s: status 0x%x\n", __func__, status); in spmi_controller_wait_for_done() 105 } while (timeout- in spmi_controller_wait_for_done() 111 spmi_read_cmd(struct spmi_controller * ctrl,u8 opc,u8 slave_id,u16 slave_addr,u8 * __buf,size_t bc) spmi_read_cmd() argument 187 spmi_write_cmd(struct spmi_controller * ctrl,u8 opc,u8 slave_id,u16 slave_addr,const u8 * __buf,size_t bc) spmi_write_cmd() argument 266 struct spmi_controller *ctrl; spmi_controller_probe() local [all...] |
/linux/drivers/nvme/host/ |
H A D | sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2011-2014, Intel Corporation. 8 #include <linux/nvme-auth.h> 13 static ssize_t nvme_sysfs_reset(struct device *dev, in nvme_sysfs_reset() argument 17 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_reset() local 20 ret = nvme_reset_ctrl_sync(ctrl); in nvme_sysfs_reset() 27 static ssize_t nvme_sysfs_rescan(struct device *dev, in nvme_sysfs_rescan() argument 31 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_rescan() local 33 nvme_queue_scan(ctrl); in nvme_sysfs_rescan() 38 static ssize_t nvme_adm_passthru_err_log_enabled_show(struct device *dev, in nvme_adm_passthru_err_log_enabled_show() argument [all …]
|
H A D | fc.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/blk-cgroup.h> 15 #include <linux/nvme-fc-driver.h> 16 #include <linux/nvme-fc.h> 35 struct nvme_fc_ctrl *ctrl; member 36 struct device *dev; member 65 struct list_head lsreq_list; /* rport->ls_req_list */ 77 struct list_head lsrcv_list; /* rport->ls_rcv_list */ 99 struct nvme_fc_ctrl *ctrl; member 124 struct device *dev; /* physical device for dma */ member [all …]
|
H A D | rdma.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2015-2016 HGST, a Western Digital Company. 14 #include <linux/blk-mq.h> 15 #include <linux/blk-integrity.h> 25 #include <linux/nvme-rdma.h> 43 struct ib_device *dev; member 89 struct nvme_rdma_ctrl *ctrl; member 125 struct nvme_ctrl ctrl; member 130 static inline struct nvme_rdma_ctrl *to_rdma_ctrl(struct nvme_ctrl *ctrl) in to_rdma_ctrl() argument 132 return container_of(ctrl, struct nvme_rdma_ctrl, ctrl); in to_rdma_ctrl() [all …]
|
/linux/drivers/pci/hotplug/ |
H A D | pciehp_core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com) 8 * Copyright (C) 2003-2004 Intel Corporation 16 * Greg Kroah-Hartman <greg@kroah.com> 43 MODULE_PARM_DESC(pciehp_poll_mode, "Using polling mechanism for hot-plug events or not"); 51 static int init_slot(struct controller *ctrl) in init_slot() argument 60 return -ENOMEM; in init_slot() 62 ops->enable_slot = pciehp_sysfs_enable_slot; in init_slot() 63 ops->disable_slot = pciehp_sysfs_disable_slot; in init_slot() 64 ops->get_power_status = get_power_status; in init_slot() [all …]
|
H A D | pciehp_pci.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com) 8 * Copyright (C) 2003-2004 Intel Corporation 25 * pciehp_configure_device() - enumerate PCI devices below a hotplug bridge 26 * @ctrl: PCIe hotplug controller 29 * Return 0 on success, %-EEXIST if the devices are already enumerated or 30 * %-ENODEV if enumeration failed. 32 int pciehp_configure_device(struct controller *ctrl) in pciehp_configure_device() argument 34 struct pci_dev *dev; in pciehp_configure_device() local 35 struct pci_dev *bridge = ctrl->pcie->port; in pciehp_configure_device() [all …]
|
/linux/drivers/staging/vc04_services/bcm2835-camera/ |
H A D | controls.c | 1 // SPDX-License-Identifier: GPL-2.0 18 #include <media/videobuf2-vmalloc.h> 19 #include <media/v4l2-device.h> 20 #include <media/v4l2-ioctl.h> 21 #include <media/v4l2-ctrls.h> 22 #include <media/v4l2-fh.h> 23 #include <media/v4l2-event.h> 24 #include <media/v4l2-common.h> 26 #include "../vchiq-mmal/mmal-common.h" 27 #include "../vchiq-mmal/mmal-vchiq.h" [all …]
|
/linux/drivers/watchdog/ |
H A D | realtek_otto_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * - Base prescale of (2 << 25), providing tick duration T_0: 168ms @ 200MHz 11 * - PRESCALE: logarithmic prescaler adding a factor of {1, 2, 4, 8} 12 * - Phase 1: Times out after (PHASE1 + 1) × PRESCALE × T_0 14 * - Phase 2: starts after phase 1, times out after (PHASE2 + 1) × PRESCALE × T_0 68 struct device *dev; member 76 struct otto_wdt_ctrl *ctrl = watchdog_get_drvdata(wdev); in otto_wdt_start() local 79 v = ioread32(ctrl->base + OTTO_WDT_REG_CTRL); in otto_wdt_start() 81 iowrite32(v, ctrl->base + OTTO_WDT_REG_CTRL); in otto_wdt_start() 88 struct otto_wdt_ctrl *ctrl = watchdog_get_drvdata(wdev); in otto_wdt_stop() local [all …]
|
/linux/drivers/mtd/nand/raw/ |
H A D | tegra_nand.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2014-2015 Lucas Stach <dev@lynxeye.de> 10 #include <linux/dma-mapping.h> 34 #define COMMAND_TRANS_SIZE(size) ((((size) - 1) & 0xf) << 20) 40 #define COMMAND_CLE_SIZE(size) ((((size) - 1) & 0x3) << 4) 41 #define COMMAND_ALE_SIZE(size) ((((size) - 1) & 0xf) << 0) 156 #define OFFSET(val, off) ((val) < (off) ? 0 : (val) - (off)) 171 struct device *dev; member 207 int bytes_per_step = DIV_ROUND_UP(BITS_PER_STEP_RS * chip->ecc.strength, in tegra_nand_ooblayout_rs_ecc() 211 return -ERANGE; in tegra_nand_ooblayout_rs_ecc() [all …]
|
/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-ctrls.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * vivid-ctrls.c - control support functions. 11 #include <media/v4l2-event.h> 12 #include <media/v4l2-common.h> 14 #include "vivid-core.h" 15 #include "vivid-vid-cap.h" 16 #include "vivid-vid-out.h" 17 #include "vivid-vid-common.h" 18 #include "vivid-radio-common.h" 19 #include "vivid-osd.h" [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-ath79.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2010-2011 Jaiganesh Narayanan <jnarayanan@atheros.com> 7 * Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org> 44 static u32 ath79_gpio_read(struct ath79_gpio_ctrl *ctrl, unsigned reg) in ath79_gpio_read() argument 46 return readl(ctrl->base + reg); in ath79_gpio_read() 49 static void ath79_gpio_write(struct ath79_gpio_ctrl *ctrl, in ath79_gpio_write() argument 52 writel(val, ctrl->base + reg); in ath79_gpio_write() 56 struct ath79_gpio_ctrl *ctrl, unsigned reg, u32 mask, u32 bits) in ath79_gpio_update_bits() argument 60 old_val = ath79_gpio_read(ctrl, reg); in ath79_gpio_update_bits() 64 ath79_gpio_write(ctrl, reg, new_val); in ath79_gpio_update_bits() [all …]
|
H A D | gpio-idt3243x.c | 1 // SPDX-License-Identifier: GPL-2.0 30 struct idt_gpio_ctrl *ctrl = gpiochip_get_data(gc); in idt_gpio_dispatch() local 37 pending = readl(ctrl->pic + IDT_PIC_IRQ_PEND); in idt_gpio_dispatch() 38 pending &= ~ctrl->mask_cache; in idt_gpio_dispatch() 39 for_each_set_bit(bit, &pending, gc->ngpio) { in idt_gpio_dispatch() 40 virq = irq_linear_revmap(gc->irq.domain, bit); in idt_gpio_dispatch() 51 struct idt_gpio_ctrl *ctrl = gpiochip_get_data(gc); in idt_gpio_irq_set_type() local 58 return -EINVAL; in idt_gpio_irq_set_type() 60 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in idt_gpio_irq_set_type() 62 ilevel = readl(ctrl->gpio + IDT_GPIO_ILEVEL); in idt_gpio_irq_set_type() [all …]
|
H A D | gpio-realtek-otto.c | 1 // SPDX-License-Identifier: GPL-2.0-only 42 * realtek_gpio_ctrl - Realtek Otto GPIO driver data 49 * @bank_read: Read a bank setting as a single 32-bit value 50 * @bank_write: Write a bank setting as a single 32-bit value 53 * The DIR, DATA, and ISR registers consist of four 8-bit port values, packed 54 * into a single 32-bit register. Use @bank_read (@bank_write) to get (assign) 55 * a value from (to) these registers. The IMR register consists of four 16-bit 56 * port values, packed into two 32-bit registers. Use @imr_line_pos to get the 57 * bit shift of the 2-bit field for a line's IMR settings. Shifts larger than 89 * Port order is reversed, meaning DCBA register layout for 1-bit [all …]
|
/linux/sound/soc/atmel/ |
H A D | mchp-spdiftx.c | 1 // SPDX-License-Identifier: GPL-2.0 22 * ---- S/PDIF Transmitter Controller Register map ---- 39 * ---- Control Register (Write-only) ---- 45 * ---- Mode Register (Read/Write) ---- 92 * ---- Interrupt Enable/Disable/Mask/Status Register (Write/Read-only) ---- 107 static bool mchp_spdiftx_readable_reg(struct device *dev, unsigned int reg) in mchp_spdiftx_readable_reg() argument 131 static bool mchp_spdiftx_writeable_reg(struct device *dev, unsigned int reg) in mchp_spdiftx_writeable_reg() argument 157 static bool mchp_spdiftx_precious_reg(struct device *dev, unsigned int reg) in mchp_spdiftx_precious_reg() argument 193 struct device *dev; member 201 static inline int mchp_spdiftx_is_running(struct mchp_spdiftx_dev *dev) in mchp_spdiftx_is_running() argument [all …]
|
/linux/drivers/memory/ |
H A D | fsl_ifc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 29 * convert_ifc_address - convert the base address 39 * fsl_ifc_find - find IFC bank 51 if (!fsl_ifc_ctrl_dev || !fsl_ifc_ctrl_dev->gregs) in fsl_ifc_find() 52 return -ENODEV; in fsl_ifc_find() 54 for (i = 0; i < fsl_ifc_ctrl_dev->banks; i++) { in fsl_ifc_find() 55 u32 cspr = ifc_in32(&fsl_ifc_ctrl_dev->gregs->cspr_cs[i].cspr); in fsl_ifc_find() 62 return -ENOENT; in fsl_ifc_find() 66 static int fsl_ifc_ctrl_init(struct fsl_ifc_ctrl *ctrl) in fsl_ifc_ctrl_init() argument 68 struct fsl_ifc_global __iomem *ifc = ctrl->gregs; in fsl_ifc_ctrl_init() [all …]
|
/linux/arch/powerpc/sysdev/ |
H A D | fsl_lbc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright © 2007-2008 MontaVista Software, Inc. 10 * Author: Roy Zang <tie-fei.zang@freescale.com> 36 * fsl_lbc_addr - convert the base address 46 struct device_node *np = fsl_lbc_ctrl_dev->dev->of_node; in fsl_lbc_addr() 57 * fsl_lbc_find - find Localbus bank 70 if (!fsl_lbc_ctrl_dev || !fsl_lbc_ctrl_dev->regs) in fsl_lbc_find() 71 return -ENODEV; in fsl_lbc_find() 73 lbc = fsl_lbc_ctrl_dev->regs; in fsl_lbc_find() 74 for (i = 0; i < ARRAY_SIZE(lbc->bank); i++) { in fsl_lbc_find() [all …]
|
/linux/drivers/rtc/ |
H A D | rtc-mpfs.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2021-2022 Microchip Corporation. All rights reserved. 63 u32 ctrl; in mpfs_rtc_start() local 65 ctrl = readl(rtcdev->base + CONTROL_REG); in mpfs_rtc_start() 66 ctrl &= ~CONTROL_STOP_BIT; in mpfs_rtc_start() 67 ctrl |= CONTROL_START_BIT; in mpfs_rtc_start() 68 writel(ctrl, rtcdev->base + CONTROL_REG); in mpfs_rtc_start() 73 u32 val = readl(rtcdev->base + CONTROL_REG); in mpfs_rtc_clear_irq() 77 writel(val, rtcdev->base + CONTROL_REG); in mpfs_rtc_clear_irq() 83 (void)readl(rtcdev->base + CONTROL_REG); in mpfs_rtc_clear_irq() [all …]
|
/linux/drivers/misc/mei/ |
H A D | dma-ring.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright(c) 2016-2018 Intel Corporation. All rights reserved. 5 #include <linux/dma-mapping.h> 11 * mei_dmam_dscr_alloc() - allocate a managed coherent buffer 13 * @dev: mei_device 17 * * 0 - on success or zero allocation request 18 * * -EINVAL - if size is not power of 2 19 * * -ENOMEM - of allocation has failed 21 static int mei_dmam_dscr_alloc(struct mei_device *dev, in mei_dmam_dscr_alloc() argument 24 if (!dscr->size) in mei_dmam_dscr_alloc() [all …]
|
/linux/drivers/comedi/drivers/ |
H A D | comedi_parport.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * COMEDI - Linux Control and Measurement Device Interface 19 * Updated: Tue, 30 Apr 2002 21:11:45 -0700 32 * ----- ------ ---- ---- -------------- 50 * 18-25 ground 71 static int parport_data_reg_insn_bits(struct comedi_device *dev, in parport_data_reg_insn_bits() argument 77 outb(s->state, dev->iobase + PARPORT_DATA_REG); in parport_data_reg_insn_bits() 79 data[1] = inb(dev->iobase + PARPORT_DATA_REG); in parport_data_reg_insn_bits() 81 return insn->n; in parport_data_reg_insn_bits() 84 static int parport_data_reg_insn_config(struct comedi_device *dev, in parport_data_reg_insn_config() argument [all …]
|