Home
last modified time | relevance | path

Searched refs:map_reg (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c217 err = regmap_read(priv->map_reg, MCP251XFD_REG_CON, &val); in mcp251xfd_chip_get_mode()
235 err = regmap_update_bits(priv->map_reg, MCP251XFD_REG_CON, in __mcp251xfd_chip_set_mode()
249 err = regmap_read_poll_timeout(priv->map_reg, MCP251XFD_REG_CON, con, in __mcp251xfd_chip_set_mode()
261 regmap_read(priv->map_reg, MCP251XFD_REG_OSC, &osc); in __mcp251xfd_chip_set_mode()
302 err = regmap_read_poll_timeout(priv->map_reg, MCP251XFD_REG_OSC, osc, in mcp251xfd_chip_wait_for_osc_ready()
350 err = regmap_write(priv->map_reg, MCP251XFD_REG_OSC, osc); in mcp251xfd_chip_wake()
370 err = regmap_write(priv->map_reg, MCP251XFD_REG_OSC, osc); in mcp251xfd_chip_sleep()
479 err = regmap_write(priv->map_reg, MCP251XFD_REG_OSC, osc); in mcp251xfd_chip_clock_init()
499 return regmap_write(priv->map_reg, MCP251XFD_REG_TSCON, in mcp251xfd_chip_timestamp_init()
540 err = regmap_write(priv->map_reg, MCP251XFD_REG_CON, val); in mcp251xfd_set_bittiming()
[all …]
Dmcp251xfd-chip-fifo.c44 return regmap_write(priv->map_reg, in mcp251xfd_chip_rx_fifo_init_one()
57 return regmap_update_bits(priv->map_reg, in mcp251xfd_chip_rx_filter_init_one()
77 err = regmap_write(priv->map_reg, MCP251XFD_REG_TEFCON, val); in mcp251xfd_chip_fifo_init()
101 err = regmap_write(priv->map_reg, in mcp251xfd_chip_fifo_init()
Dmcp251xfd-tef.c26 err = regmap_read(priv->map_reg, MCP251XFD_REG_TEFUA, &tef_ua); in mcp251xfd_tef_tail_get_from_chip()
65 err = regmap_read(priv->map_reg, MCP251XFD_REG_TEFSTA, &tef_sta); in mcp251xfd_handle_tefif_recover()
Dmcp251xfd-rx.c27 err = regmap_read(priv->map_reg, MCP251XFD_REG_FIFOSTA(ring->fifo_nr), in mcp251xfd_rx_head_get_from_chip()
46 err = regmap_read(priv->map_reg, MCP251XFD_REG_FIFOUA(ring->fifo_nr), in mcp251xfd_rx_tail_get_from_chip()
Dmcp251xfd.h610 struct regmap *map_reg; /* register access */ member
792 return regmap_read(priv->map_reg, MCP251XFD_REG_TBC, timestamp); in mcp251xfd_get_timestamp()
820 err = regmap_read(priv->map_reg, in mcp251xfd_tx_tail_get_from_chip()
Dmcp251xfd-regmap.c513 priv->map_reg = priv->map_nocrc; in mcp251xfd_regmap_init_nocrc()
566 priv->map_reg = priv->map_crc; in mcp251xfd_regmap_init_crc()
Dmcp251xfd-dump.c82 err = regmap_bulk_read(priv->map_reg, reg_space->base, in mcp251xfd_dump_registers()
/linux-6.1.9/arch/alpha/include/asm/
Dextable.h39 #define fixup_exception(map_reg, _fixup, pc) \ argument
42 map_reg((_fixup)->fixup.bits.valreg) = 0; \
44 map_reg((_fixup)->fixup.bits.errreg) = -EFAULT; \
/linux-6.1.9/drivers/pci/switch/
Dswitchtec.c952 u32 __iomem *(*map_reg)(struct switchtec_dev *stdev, member
1002 if (event_regs[event_id].map_reg == part_ev_reg) { in event_hdr_addr()
1007 } else if (event_regs[event_id].map_reg == pff_ev_reg) { in event_hdr_addr()
1012 return event_regs[event_id].map_reg(stdev, off, index); in event_hdr_addr()
1089 if (event_regs[ctl.event_id].map_reg == global_ev_reg) in ioctl_event_ctl()
1091 else if (event_regs[ctl.event_id].map_reg == part_ev_reg) in ioctl_event_ctl()
1093 else if (event_regs[ctl.event_id].map_reg == pff_ev_reg) in ioctl_event_ctl()
1405 hdr_reg = event_regs[eid].map_reg(stdev, off, idx); in mask_event()
1426 if (event_regs[eid].map_reg == part_ev_reg) { in mask_all_events()
1429 } else if (event_regs[eid].map_reg == pff_ev_reg) { in mask_all_events()
/linux-6.1.9/drivers/iio/accel/
Dbmc150-accel-core.c488 u8 map_reg; member
497 .map_reg = BMC150_ACCEL_REG_INT_MAP_1,
503 .map_reg = BMC150_ACCEL_REG_INT_MAP_0,
511 .map_reg = BMC150_ACCEL_REG_INT_MAP_1,
521 .map_reg = BMC150_ACCEL_REG_INT_MAP_1,
527 .map_reg = BMC150_ACCEL_REG_INT_MAP_2,
535 .map_reg = BMC150_ACCEL_REG_INT_MAP_1,
594 ret = regmap_update_bits(data->regmap, info->map_reg, info->map_bitmask, in bmc150_accel_set_interrupt()