Home
last modified time | relevance | path

Searched refs:rw (Results 1 – 25 of 34) sorted by relevance

12

/Zephyr-latest/samples/modules/canopennode/objdict/
Dobjdict.eds189 AccessType=rw
270 AccessType=rw
279 AccessType=rw
288 AccessType=rw
339 AccessType=rw
363 AccessType=rw
390 AccessType=rw
414 AccessType=rw
423 AccessType=rw
432 AccessType=rw
[all …]
/Zephyr-latest/arch/arm/core/cortex_m/cmse/
Darm_core_cmse.c21 static int arm_cmse_addr_read_write_ok(uint32_t addr, int force_npriv, int rw) in arm_cmse_addr_read_write_ok() argument
30 return rw ? addr_info.flags.readwrite_ok : addr_info.flags.read_ok; in arm_cmse_addr_read_write_ok()
44 int force_npriv, int rw) in arm_cmse_addr_range_read_write_ok() argument
51 if (rw) { in arm_cmse_addr_range_read_write_ok()
116 int force_npriv, int rw) in arm_cmse_addr_nonsecure_read_write_ok() argument
125 return rw ? addr_info.flags.nonsecure_readwrite_ok : in arm_cmse_addr_nonsecure_read_write_ok()
140 int force_npriv, int rw) in arm_cmse_addr_range_nonsecure_read_write_ok() argument
147 if (rw) { in arm_cmse_addr_range_nonsecure_read_write_ok()
/Zephyr-latest/drivers/gpio/
Dgpio_max149x6.h88 uint8_t *rx_diag_buff, uint8_t rw) in max149x6_reg_transceive() argument
116 FIELD_PREP(MAX149x6_RW_MASK, rw & 0x1); in max149x6_reg_transceive()
148 if ((MAX149x6_WRITE == rw) && (rx_diag_buff != NULL)) { in max149x6_reg_transceive()
Dgpio_max14916.c27 static int max14916_pars_spi_diag(const struct device *dev, uint8_t *rx_diag_buff, uint8_t rw) in max14916_pars_spi_diag() argument
54 if (rw == MAX149x6_WRITE && (rx_diag_buff[1] & 0x0f)) { in max14916_pars_spi_diag()
81 uint8_t rw) in max14916_reg_trans_spi_diag() argument
90 uint8_t ret = max149x6_reg_transceive(dev, addr, tx, rx_diag_buff, rw); in max14916_reg_trans_spi_diag()
92 if (max14916_pars_spi_diag(dev, rx_diag_buff, rw)) { in max14916_reg_trans_spi_diag()
Dgpio_max14906.c27 static int max14906_pars_spi_diag(const struct device *dev, uint8_t *rx_diag_buff, uint8_t rw) in max14906_pars_spi_diag() argument
53 if (rw == MAX149x6_WRITE && (rx_diag_buff[1] & 0x0f)) { in max14906_pars_spi_diag()
76 uint8_t rw) in max14906_reg_trans_spi_diag() argument
85 uint8_t ret = max149x6_reg_transceive(dev, addr, tx, rx_diag_buff, rw); in max14906_reg_trans_spi_diag()
87 if (max14906_pars_spi_diag(dev, rx_diag_buff, rw)) { in max14906_reg_trans_spi_diag()
Dgpio_max22190.c282 static int max22190_reg_transceive(const struct device *dev, uint8_t addr, uint8_t val, uint8_t rw) in max22190_reg_transceive() argument
305 FIELD_PREP(MAX22190_ADDR_MASK, addr) | FIELD_PREP(MAX22190_RW_MASK, rw & 0x1); in max22190_reg_transceive()
334 if (rw == MAX22190_WRITE) { in max22190_reg_transceive()
/Zephyr-latest/drivers/mdio/
Dmdio_gpio.c76 static int mdio_gpio_transfer(const struct device *dev, uint8_t prtad, uint8_t devad, uint8_t rw, in mdio_gpio_transfer() argument
91 mdio_gpio_write(dev_cfg, rw ? 0x1 : 0x2, 2); in mdio_gpio_transfer()
97 if (rw) { /* Write data */ in mdio_gpio_transfer()
Dmdio_litex_liteeth.c98 static int mdio_litex_transfer(const struct device *dev, uint8_t prtad, uint8_t devad, uint8_t rw, in mdio_litex_transfer() argument
112 mdio_litex_write(dev_cfg, rw ? 0x1 : 0x2, 2); in mdio_litex_transfer()
118 if (rw) { /* Write data */ in mdio_litex_transfer()
Dmdio_dwcxgmac.c86 static int mdio_transfer(const struct device *dev, uint8_t prtad, uint8_t devad, uint8_t rw, in mdio_transfer() argument
119 CORE_MDIO_SINGLE_COMMAND_CONTROL_DATA_CMD_SET(rw) | in mdio_transfer()
/Zephyr-latest/lib/posix/options/
Dmmap.c24 bool rw = (prot & PROT_WRITE) != 0; in p2z() local
34 return (rw * K_MEM_PERM_RW) | (ex * K_MEM_PERM_EXEC) | (fixed * K_MEM_DIRECT_MAP); in p2z()
Dshm.c305 bool rw = (oflag & O_RDWR) != 0; in shm_open() local
317 if (!(rd ^ rw)) { in shm_open()
/Zephyr-latest/soc/neorv32/
Dlinker.ld11 IO (rw) : ORIGIN = 0xFFFFFE00, LENGTH = 512
/Zephyr-latest/drivers/smbus/
Dintel_pch_smbus.c366 uint8_t rw, uint8_t command, uint8_t count, in pch_smbus_block_start() argument
372 LOG_DBG("addr %x rw %d command %x", periph_addr, rw, command); in pch_smbus_block_start()
376 reg |= rw & SMBUS_MSG_RW_MASK; in pch_smbus_block_start()
394 if (rw == SMBUS_MSG_WRITE) { in pch_smbus_block_start()
420 enum smbus_direction rw, uint8_t command, in pch_smbus_start() argument
426 LOG_DBG("addr 0x%02x rw %d command %x", periph_addr, rw, command); in pch_smbus_start()
430 reg |= rw & SMBUS_MSG_RW_MASK; in pch_smbus_start()
439 if (rw == SMBUS_MSG_WRITE && protocol != SMBUS_CMD_BYTE) { in pch_smbus_start()
468 enum smbus_direction rw) in pch_smbus_quick() argument
473 LOG_DBG("dev %p addr 0x%02x direction %x", dev, periph_addr, rw); in pch_smbus_quick()
[all …]
Dsmbus_handlers.c31 enum smbus_direction rw) in z_vrfy_smbus_quick() argument
35 return z_impl_smbus_quick(dev, addr, rw); in z_vrfy_smbus_quick()
Dsmbus_stm32.c138 enum smbus_direction rw) in smbus_stm32_quick() argument
142 switch (rw) { in smbus_stm32_quick()
148 LOG_ERR("%s: invalid smbus direction %i", dev->name, rw); in smbus_stm32_quick()
/Zephyr-latest/soc/renesas/smartbond/da1469x/
Dintvect_reserved.ld9 /* Access to addresses in range 0x0-0x1ff is remapped to sram to allow rw
/Zephyr-latest/boards/nxp/frdm_rw612/
Dfrdm_rw612-pinctrl.dtsi7 #include <nxp/rw/RW612-pinctrl.h>
/Zephyr-latest/include/zephyr/arch/x86/ia32/
Dsegmentation.h156 uint8_t rw:1; member
273 .rw = (readable_p), \
285 .rw = (writable_p), \
/Zephyr-latest/drivers/ethernet/
Dphy_gecko.c55 uint8_t rw, uint16_t data) in mdio_bus_send() argument
62 | ((rw ? 0x02 : 0x01) << _ETH_PHYMNGMNT_OPERATION_SHIFT) in mdio_bus_send()
/Zephyr-latest/soc/gaisler/gr716a/
Dlinker.ld26 RAM (rw) : ORIGIN = 0x30000000, LENGTH = 64K
/Zephyr-latest/include/zephyr/linker/
Ddevicetree_regions.h143 (_LINKER_ENCLOSE_PAREN(rw)))
/Zephyr-latest/boards/nxp/rd_rw612_bga/
Drd_rw612_bga-pinctrl.dtsi7 #include <nxp/rw/RW612-pinctrl.h>
/Zephyr-latest/drivers/i2c/
Di2c_smartbond.c282 const bool rw = ((data->msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ); in i2c_smartbond_tx() local
293 (rw ? I2C_I2C_DATA_CMD_REG_I2C_CMD_Msk in i2c_smartbond_tx()
457 const bool rw = ((data->msgs->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ); in isr_tx() local
462 (rw ? I2C_I2C_DATA_CMD_REG_I2C_CMD_Msk in isr_tx()
/Zephyr-latest/include/zephyr/arch/arc/v2/
Dlinker.ld68 DCCM (rw) : ORIGIN = DCCM_START, LENGTH = DCCM_SIZE
71 XCCM (rw) : ORIGIN = XCCM_START, LENGTH = XCCM_SIZE
74 YCCM (rw) : ORIGIN = YCCM_START, LENGTH = YCCM_SIZE
/Zephyr-latest/boards/intel/ish/doc/
Dindex.rst61 $ mount -o remount,rw /

12