Home
last modified time | relevance | path

Searched refs:board (Results 1 – 25 of 1416) sorted by relevance

12345678910>>...57

/linux/drivers/gpib/hp_82335/
H A Dhp82335.c28 static int hp82335_attach(struct gpib_board *board, const struct gpib_board_config *config);
29 static void hp82335_detach(struct gpib_board *board);
33 static int hp82335_read(struct gpib_board *board, u8 *buffer, size_t length, in hp82335_read() argument
36 struct hp82335_priv *priv = board->private_data; in hp82335_read()
38 return tms9914_read(board, &priv->tms9914_priv, buffer, length, end, bytes_read); in hp82335_read()
41 static int hp82335_write(struct gpib_board *board, u8 *buffer, size_t length, int send_eoi, in hp82335_write() argument
44 struct hp82335_priv *priv = board->private_data; in hp82335_write()
46 return tms9914_write(board, &priv->tms9914_priv, buffer, length, send_eoi, bytes_written); in hp82335_write()
49 static int hp82335_command(struct gpib_board *board, u8 *buffer, size_t length, in hp82335_command() argument
52 struct hp82335_priv *priv = board->private_data; in hp82335_command()
[all …]
/linux/drivers/gpib/pc2/
H A Dpc2_gpib.c61 struct gpib_board *board = arg; in pc2_interrupt() local
62 struct pc2_priv *priv = board->private_data; in pc2_interrupt()
66 spin_lock_irqsave(&board->spinlock, flags); in pc2_interrupt()
67 retval = nec7210_interrupt(board, &priv->nec7210_priv); in pc2_interrupt()
68 spin_unlock_irqrestore(&board->spinlock, flags); in pc2_interrupt()
74 struct gpib_board *board = arg; in pc2a_interrupt() local
75 struct pc2_priv *priv = board->private_data; in pc2a_interrupt()
80 spin_lock_irqsave(&board->spinlock, flags); in pc2a_interrupt()
87 retval = nec7210_interrupt_have_status(board, &priv->nec7210_priv, status1, status2); in pc2a_interrupt()
88 spin_unlock_irqrestore(&board->spinlock, flags); in pc2a_interrupt()
[all …]
/linux/drivers/gpib/eastwood/
H A Dfluke_gpib.c26 static int fluke_attach_holdoff_all(struct gpib_board *board,
28 static int fluke_attach_holdoff_end(struct gpib_board *board,
30 static void fluke_detach(struct gpib_board *board);
31 static int fluke_config_dma(struct gpib_board *board, int output);
32 static irqreturn_t fluke_gpib_internal_interrupt(struct gpib_board *board);
58 static int fluke_read(struct gpib_board *board, u8 *buffer, size_t length, int *end, in fluke_read() argument
61 struct fluke_priv *priv = board->private_data; in fluke_read()
63 return nec7210_read(board, &priv->nec7210_priv, buffer, length, end, bytes_read); in fluke_read()
66 static int fluke_write(struct gpib_board *board, u8 *buffer, size_t length, in fluke_write() argument
69 struct fluke_priv *priv = board->private_data; in fluke_write()
[all …]
/linux/drivers/gpib/tms9914/
H A Dtms9914.c30 static unsigned int update_status_nolock(struct gpib_board *board, struct tms9914_priv *priv);
32 int tms9914_take_control(struct gpib_board *board, struct tms9914_priv *priv, int synchronous) in tms9914_take_control() argument
70 int tms9914_take_control_workaround(struct gpib_board *board, in tms9914_take_control_workaround() argument
75 return tms9914_take_control(board, priv, synchronous); in tms9914_take_control_workaround()
79 int tms9914_go_to_standby(struct gpib_board *board, struct tms9914_priv *priv) in tms9914_go_to_standby() argument
100 void tms9914_interface_clear(struct gpib_board *board, struct tms9914_priv *priv, int assert) in tms9914_interface_clear() argument
105 set_bit(CIC_NUM, &board->status); in tms9914_interface_clear()
112 void tms9914_remote_enable(struct gpib_board *board, struct tms9914_priv *priv, int enable) in tms9914_remote_enable() argument
121 int tms9914_request_system_control(struct gpib_board *board, struct tms9914_priv *priv, in tms9914_request_system_control() argument
127 clear_bit(CIC_NUM, &board->status); in tms9914_request_system_control()
[all …]
/linux/drivers/gpib/include/
H A Dgpib_proto.h11 void os_start_timer(struct gpib_board *board, unsigned int usec_timeout);
12 void os_remove_timer(struct gpib_board *board);
13 void init_gpib_board(struct gpib_board *board);
21 int serial_poll_all(struct gpib_board *board, unsigned int usec_timeout);
23 int dvrsp(struct gpib_board *board, unsigned int pad, int sad,
25 int ibcac(struct gpib_board *board, int sync, int fallback_to_async);
26 int ibcmd(struct gpib_board *board, u8 *buf, size_t length, size_t *bytes_written);
27 int ibgts(struct gpib_board *board);
28 int ibonline(struct gpib_board *board);
29 int iboffline(struct gpib_board *board);
[all …]
H A Dnec7210.h81 int nec7210_read(struct gpib_board *board, struct nec7210_priv *priv, u8 *buffer,
83 int nec7210_write(struct gpib_board *board, struct nec7210_priv *priv, u8 *buffer,
85 int nec7210_command(struct gpib_board *board, struct nec7210_priv *priv, u8 *buffer,
87 int nec7210_take_control(struct gpib_board *board, struct nec7210_priv *priv, int syncronous);
88 int nec7210_go_to_standby(struct gpib_board *board, struct nec7210_priv *priv);
89 int nec7210_request_system_control(struct gpib_board *board,
91 void nec7210_interface_clear(struct gpib_board *board, struct nec7210_priv *priv, int assert);
92 void nec7210_remote_enable(struct gpib_board *board, struct nec7210_priv *priv, int enable);
93 int nec7210_enable_eos(struct gpib_board *board, struct nec7210_priv *priv, u8 eos_bytes,
95 void nec7210_disable_eos(struct gpib_board *board, struct nec7210_priv *priv);
[all …]
H A Dgpib_types.h60 int (*attach)(struct gpib_board *board, const struct gpib_board_config *config);
62 void (*detach)(struct gpib_board *board);
74 int (*read)(struct gpib_board *board, u8 *buffer, size_t length, int *end,
82 int (*write)(struct gpib_board *board, u8 *buffer, size_t length, int send_eoi,
88 int (*command)(struct gpib_board *board, u8 *buffer, size_t length,
97 int (*take_control)(struct gpib_board *board, int asyncronous);
101 int (*go_to_standby)(struct gpib_board *board);
103 int (*request_system_control)(struct gpib_board *board, int request_control);
108 void (*interface_clear)(struct gpib_board *board, int assert);
113 void (*remote_enable)(struct gpib_board *board, int enable);
[all …]
H A Dtms9914.h82 int tms9914_read(struct gpib_board *board, struct tms9914_priv *priv, u8 *buffer,
84 int tms9914_write(struct gpib_board *board, struct tms9914_priv *priv, u8 *buffer,
86 int tms9914_command(struct gpib_board *board, struct tms9914_priv *priv, u8 *buffer,
88 int tms9914_take_control(struct gpib_board *board, struct tms9914_priv *priv, int syncronous);
93 int tms9914_take_control_workaround(struct gpib_board *board, struct tms9914_priv *priv,
95 int tms9914_go_to_standby(struct gpib_board *board, struct tms9914_priv *priv);
96 int tms9914_request_system_control(struct gpib_board *board, struct tms9914_priv *priv,
98 void tms9914_interface_clear(struct gpib_board *board, struct tms9914_priv *priv, int assert);
99 void tms9914_remote_enable(struct gpib_board *board, struct tms9914_priv *priv, int enable);
100 int tms9914_enable_eos(struct gpib_board *board, struct tms9914_priv *priv, u8 eos_bytes,
[all …]
/linux/drivers/gpib/nec7210/
H A Dnec7210.c26 int nec7210_enable_eos(struct gpib_board *board, struct nec7210_priv *priv, u8 eos_byte, in nec7210_enable_eos() argument
40 void nec7210_disable_eos(struct gpib_board *board, struct nec7210_priv *priv) in nec7210_disable_eos() argument
47 int nec7210_parallel_poll(struct gpib_board *board, struct nec7210_priv *priv, u8 *result) in nec7210_parallel_poll() argument
56 ret = wait_event_interruptible(board->wait, test_bit(COMMAND_READY_BN, &priv->state)); in nec7210_parallel_poll()
58 dev_dbg(board->gpib_dev, "gpib: parallel poll interrupted\n"); in nec7210_parallel_poll()
67 void nec7210_parallel_poll_configure(struct gpib_board *board, in nec7210_parallel_poll_configure() argument
74 void nec7210_parallel_poll_response(struct gpib_board *board, struct nec7210_priv *priv, int ist) in nec7210_parallel_poll_response() argument
89 void nec7210_serial_poll_response(struct gpib_board *board, in nec7210_serial_poll_response() argument
94 spin_lock_irqsave(&board->spinlock, flags); in nec7210_serial_poll_response()
97 clear_bit(SPOLL_NUM, &board->status); in nec7210_serial_poll_response()
[all …]
/linux/drivers/net/can/sja1000/
H A Dkvaser_pci.c120 struct kvaser_pci *board = priv->priv; in kvaser_pci_disable_irq() local
124 intcsr = ioread32(board->conf_addr + S5920_INTCSR); in kvaser_pci_disable_irq()
126 iowrite32(intcsr, board->conf_addr + S5920_INTCSR); in kvaser_pci_disable_irq()
132 struct kvaser_pci *board = priv->priv; in kvaser_pci_enable_irq() local
136 tmp_en_io = ioread32(board->conf_addr + S5920_INTCSR); in kvaser_pci_enable_irq()
138 iowrite32(tmp_en_io, board->conf_addr + S5920_INTCSR); in kvaser_pci_enable_irq()
163 struct kvaser_pci *board; in kvaser_pci_del_chan() local
169 board = priv->priv; in kvaser_pci_del_chan()
170 if (!board) in kvaser_pci_del_chan()
173 dev_info(&board->pci_dev->dev, "Removing device %s\n", in kvaser_pci_del_chan()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dorion_nand.c33 struct orion_nand_data *board = nand_get_controller_data(nc); in orion_nand_cmd_ctrl() local
40 offs = (1 << board->cle); in orion_nand_cmd_ctrl()
42 offs = (1 << board->ale); in orion_nand_cmd_ctrl()
104 struct orion_nand_data *board; in orion_nand_probe() local
127 board = devm_kzalloc(&pdev->dev, sizeof(struct orion_nand_data), in orion_nand_probe()
129 if (!board) in orion_nand_probe()
132 board->cle = (u8)val; in orion_nand_probe()
134 board->cle = 0; in orion_nand_probe()
136 board->ale = (u8)val; in orion_nand_probe()
138 board->ale = 1; in orion_nand_probe()
[all …]
/linux/arch/sh/boards/
H A DMakefile5 obj-$(CONFIG_SH_MAGIC_PANEL_R2) += board-magicpanelr2.o
6 obj-$(CONFIG_SH_SECUREEDGE5410) += board-secureedge5410.o
7 obj-$(CONFIG_SH_SH2007) += board-sh2007.o
8 obj-$(CONFIG_SH_SH7785LCR) += board-sh7785lcr.o
9 obj-$(CONFIG_SH_URQUELL) += board-urquell.o
10 obj-$(CONFIG_SH_SHMIN) += board-shmin.o
11 obj-$(CONFIG_SH_EDOSK7705) += board-edosk7705.o
12 obj-$(CONFIG_SH_EDOSK7760) += board-edosk7760.o
13 obj-$(CONFIG_SH_ESPT) += board-espt.o
14 obj-$(CONFIG_SH_POLARIS) += board-polaris.o
[all …]
/linux/drivers/net/ethernet/sfc/falcon/
H A Dfalcon_boards.c90 struct falcon_board *board = falcon_board(efx); in ef4_init_lm87() local
91 struct i2c_client *client = i2c_new_client_device(&board->i2c_adap, info); in ef4_init_lm87()
108 board->hwmon_client = client; in ef4_init_lm87()
403 struct falcon_board *board = falcon_board(efx); in sfe4001_fini() local
409 i2c_unregister_device(board->ioexp_client); in sfe4001_fini()
410 i2c_unregister_device(board->hwmon_client); in sfe4001_fini()
452 struct falcon_board *board = falcon_board(efx); in sfe4001_init() local
456 board->hwmon_client = in sfe4001_init()
457 i2c_new_client_device(&board->i2c_adap, &sfe4001_hwmon_info); in sfe4001_init()
459 board->hwmon_client = in sfe4001_init()
[all …]
/linux/sound/soc/intel/common/
H A Dsoc-acpi-intel-cht-match.c37 .board = "cht-bsw",
97 .board = "bytcr_wm5102",
137 .board = "cht-bsw",
144 .board = "cht-bsw",
151 .board = "cht-bsw",
158 .board = "cht-bsw",
165 .board = "bytcht_da7213",
172 .board = "bytcht_es8316",
181 .board = "bytcr_rt5640",
195 .board = "bytcr_rt5651",
[all …]
H A Dsoc-acpi-intel-byt-match.c93 .board = "cht-bsw",
101 .board = "bytcr_rt5651",
146 .board = "bytcr_rt5640",
154 .board = "bytcr_rt5651",
161 .board = "bytcr_wm5102",
168 .board = "bytcht_da7213",
175 .board = "bytcht_es8316",
188 .board = "cht-bsw",
196 .board = "cht-bsw",
203 .board = "bytcht_cx2072x",
[all …]
/linux/drivers/comedi/drivers/
H A Ddas08.c171 const struct das08_board_struct *board = dev->board_ptr; in das08_ai_insn_read() local
202 if (board->ai_nbits == 16) in das08_ai_insn_read()
215 if (board->ai_encoding == das08_encode12) { in das08_ai_insn_read()
217 } else if (board->ai_encoding == das08_pcm_encode12) { in das08_ai_insn_read()
219 } else if (board->ai_encoding == das08_encode16) { in das08_ai_insn_read()
304 const struct das08_board_struct *board = dev->board_ptr; in das08_ao_set_data() local
310 if (board->is_jr) { in das08_ao_set_data()
343 const struct das08_board_struct *board = dev->board_ptr; in das08_common_attach() local
351 dev->board_name = board->name; in das08_common_attach()
359 if (board->ai_nbits) { in das08_common_attach()
[all …]
H A Dpcl730.c295 const struct pcl730_board *board = dev->board_ptr; in pcl730_attach() local
301 if (board->is_ir104) { in pcl730_attach()
315 ret = comedi_check_request_region(dev, iobase, board->io_range, in pcl730_attach()
316 board->min_io_start, 0x3ff, in pcl730_attach()
317 board->align_io_start); in pcl730_attach()
321 ret = comedi_alloc_subdevices(dev, board->n_subdevs); in pcl730_attach()
327 if (board->n_iso_out_chan) { in pcl730_attach()
332 s->n_chan = board->n_iso_out_chan; in pcl730_attach()
339 if (board->has_readback) in pcl730_attach()
343 if (board->n_iso_in_chan) { in pcl730_attach()
[all …]
H A Damplc_dio200_common.c156 const struct dio200_board *board = dev->board_ptr; in dio200_read8() local
158 if (board->is_pcie) in dio200_read8()
167 const struct dio200_board *board = dev->board_ptr; in dio200_write8() local
169 if (board->is_pcie) in dio200_write8()
178 const struct dio200_board *board = dev->board_ptr; in dio200_read32() local
180 if (board->is_pcie) in dio200_read32()
189 const struct dio200_board *board = dev->board_ptr; in dio200_write32() local
191 if (board->is_pcie) in dio200_write32()
200 const struct dio200_board *board = dev->board_ptr; in dio200_subdev_8254_offset() local
211 if (board->is_pcie) in dio200_subdev_8254_offset()
[all …]
/linux/arch/mips/bcm47xx/
H A Dboard.c9 const enum bcm47xx_board board; member
14 struct bcm47xx_board_type board; member
19 struct bcm47xx_board_type board; member
25 struct bcm47xx_board_type board; member
32 enum bcm47xx_board board; member
248 return &e1->board; in bcm47xx_board_get_nvram()
255 return &e1->board; in bcm47xx_board_get_nvram()
264 return &e2->board; in bcm47xx_board_get_nvram()
271 return &e1->board; in bcm47xx_board_get_nvram()
278 return &e1->board; in bcm47xx_board_get_nvram()
[all …]
/linux/arch/sparc/kernel/
H A Dsun4d_irq.c38 static unsigned int sun4d_encode_irq(int board, int lvl, int slot) in sun4d_encode_irq() argument
40 return (board + 1) << 5 | (lvl << 2) | slot; in sun4d_encode_irq()
260 int board = of_getintprop_default(dp, "board#", 0); in sun4d_distribute_irqs() local
261 board_to_cpu[board] = cpuid; in sun4d_distribute_irqs()
291 unsigned int board) in _sun4d_build_device_irq() argument
299 real_irq, pil, board); in _sun4d_build_device_irq()
312 handler_data->cpuid = board_to_cpu[board]; in _sun4d_build_device_irq()
333 int board, slot; in sun4d_build_device_irq() local
369 board = of_getintprop_default(board_parent, "board#", -1); in sun4d_build_device_irq()
370 if (board == -1) { in sun4d_build_device_irq()
[all …]
/linux/Documentation/networking/devlink/
H A Dnfp.rst33 * - ``board.id``
35 - Identifier of the board design
36 * - ``board.rev``
38 - Revision of the board design
39 * - ``board.manufacture``
41 - Vendor of the board design
42 * - ``board.model``
44 - Model name of the board design
45 * - ``board.part_number``
47 - Part number of the board and its components
/linux/drivers/gpib/common/
H A Dibsys.h22 int gpib_allocate_board(struct gpib_board *board);
23 void gpib_deallocate_board(struct gpib_board *board);
26 int push_status_byte(struct gpib_board *board, struct gpib_status_queue *device,
28 int pop_status_byte(struct gpib_board *board, struct gpib_status_queue *device,
30 struct gpib_status_queue *get_gpib_status_queue(struct gpib_board *board,
32 int get_serial_poll_byte(struct gpib_board *board, unsigned int pad, int sad,
34 int autopoll_all_devices(struct gpib_board *board);
/linux/drivers/net/ethernet/8390/
H A Dmac8390.c124 static int mac8390_initdev(struct net_device *dev, struct nubus_board *board,
288 struct nubus_board *board = fres->board; in mac8390_rsrc_init() local
295 dev->irq = SLOT2IRQ(board->slot); in mac8390_rsrc_init()
297 dev->base_addr = board->slot_addr | ((board->slot & 0xf) << 20); in mac8390_rsrc_init()
305 dev_err(&board->dev, in mac8390_rsrc_init()
312 dev_info(&board->dev, "MAC address resource not found\n"); in mac8390_rsrc_init()
323 dev_err(&board->dev, in mac8390_rsrc_init()
334 dev_info(&board->dev, in mac8390_rsrc_init()
345 dev->base_addr = (int)(board->slot_addr + in mac8390_rsrc_init()
347 dev->mem_start = (int)(board->slot_addr + in mac8390_rsrc_init()
[all …]
/linux/Documentation/arch/sh/
H A Dnew-machine.rst4 Adding a new board to LinuxSH
18 of the board-specific code (with the exception of stboards) ended up
19 in arch/sh/kernel/ directly, with board-specific headers ending up in
20 include/asm-sh/. For the new kernel, things are broken out by board type,
31 | | `-- board-specific files
33 | | `-- board-specific files
40 | `-- board-specific headers
42 | `-- board-specific headers
57 board-specific headers. Thus, include/asm-sh/hd64461 is home to all of the
92 The first thing to determine is whether the board you are adding will be
[all …]
/linux/drivers/media/common/siano/
H A Dsms-cards.c260 struct sms_board *board = sms_get_board(board_id); in sms_board_setup() local
265 sms_set_gpio(coredev, board->led_power, 0); in sms_board_setup()
266 sms_set_gpio(coredev, board->led_hi, 0); in sms_board_setup()
267 sms_set_gpio(coredev, board->led_lo, 0); in sms_board_setup()
272 sms_set_gpio(coredev, board->lna_ctrl, 0); in sms_board_setup()
282 struct sms_board *board = sms_get_board(board_id); in sms_board_power() local
288 board->led_power, onoff ? 1 : 0); in sms_board_power()
294 sms_set_gpio(coredev, board->lna_ctrl, 0); in sms_board_power()
304 struct sms_board *board = sms_get_board(board_id); in sms_board_led_feedback() local
313 board->led_lo, (led & SMS_LED_LO) ? 1 : 0); in sms_board_led_feedback()
[all …]

12345678910>>...57