Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c217 err = regmap_read(priv->map_reg, MCP251XFD_REG_CON, &val); in mcp251xfd_chip_get_mode()
237 err = regmap_update_bits(priv->map_reg, MCP251XFD_REG_CON, in __mcp251xfd_chip_set_mode()
256 err = regmap_read_poll_timeout(priv->map_reg, MCP251XFD_REG_CON, con, in __mcp251xfd_chip_set_mode()
267 regmap_read(priv->map_reg, MCP251XFD_REG_OSC, &osc); in __mcp251xfd_chip_set_mode()
308 err = regmap_read_poll_timeout(priv->map_reg, MCP251XFD_REG_OSC, osc, in mcp251xfd_chip_wait_for_osc_ready()
356 err = regmap_write(priv->map_reg, MCP251XFD_REG_OSC, osc); in mcp251xfd_chip_wake()
376 err = regmap_write(priv->map_reg, MCP251XFD_REG_OSC, osc); in mcp251xfd_chip_sleep()
485 err = regmap_write(priv->map_reg, MCP251XFD_REG_OSC, osc); in mcp251xfd_chip_clock_init()
505 return regmap_write(priv->map_reg, MCP251XFD_REG_TSCON, in mcp251xfd_chip_timestamp_init()
546 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.c31 err = regmap_read(priv->map_reg, MCP251XFD_REG_TEFUA, &tef_ua); in mcp251xfd_tef_tail_get_from_chip()
120 err = regmap_read(priv->map_reg, MCP251XFD_REG_FIFOSTA(priv->tx->fifo_nr), in mcp251xfd_get_tef_len()
Dmcp251xfd-rx.c37 err = regmap_read(priv->map_reg, MCP251XFD_REG_FIFOUA(ring->fifo_nr), in mcp251xfd_rx_tail_get_from_chip()
83 err = regmap_read(priv->map_reg, MCP251XFD_REG_FIFOSTA(ring->fifo_nr), in mcp251xfd_get_rx_len()
Dmcp251xfd.h622 struct regmap *map_reg; /* register access */ member
821 return regmap_read(priv->map_reg, MCP251XFD_REG_TBC, ts_raw); in mcp251xfd_get_timestamp_raw()
866 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.12.1/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.12.1/drivers/iio/accel/
Dbmc150-accel-core.c448 u8 map_reg; member
457 .map_reg = BMC150_ACCEL_REG_INT_MAP_1,
463 .map_reg = BMC150_ACCEL_REG_INT_MAP_0,
471 .map_reg = BMC150_ACCEL_REG_INT_MAP_1,
481 .map_reg = BMC150_ACCEL_REG_INT_MAP_1,
487 .map_reg = BMC150_ACCEL_REG_INT_MAP_2,
495 .map_reg = BMC150_ACCEL_REG_INT_MAP_1,
554 ret = regmap_update_bits(data->regmap, info->map_reg, info->map_bitmask, in bmc150_accel_set_interrupt()
/linux-6.12.1/drivers/pci/switch/
Dswitchtec.c953 u32 __iomem *(*map_reg)(struct switchtec_dev *stdev, member
1003 if (event_regs[event_id].map_reg == part_ev_reg) { in event_hdr_addr()
1008 } else if (event_regs[event_id].map_reg == pff_ev_reg) { in event_hdr_addr()
1013 return event_regs[event_id].map_reg(stdev, off, index); in event_hdr_addr()
1090 if (event_regs[ctl.event_id].map_reg == global_ev_reg) in ioctl_event_ctl()
1092 else if (event_regs[ctl.event_id].map_reg == part_ev_reg) in ioctl_event_ctl()
1094 else if (event_regs[ctl.event_id].map_reg == pff_ev_reg) in ioctl_event_ctl()
1400 hdr_reg = event_regs[eid].map_reg(stdev, off, idx); in mask_event()
1421 if (event_regs[eid].map_reg == part_ev_reg) { in mask_all_events()
1424 } else if (event_regs[eid].map_reg == pff_ev_reg) { in mask_all_events()
/linux-6.12.1/kernel/bpf/
Dverifier.c6744 struct bpf_reg_state map_reg; in check_ptr_to_map_access() local
6784 memset(&map_reg, 0, sizeof(map_reg)); in check_ptr_to_map_access()
6785 mark_btf_ld_reg(env, &map_reg, 0, PTR_TO_BTF_ID, btf_vmlinux, *map->ops->map_btf_id, 0); in check_ptr_to_map_access()
6786 ret = btf_struct_access(&env->log, &map_reg, off, size, atype, &btf_id, &flag, NULL); in check_ptr_to_map_access()