/Linux-v4.19/drivers/staging/media/imx074/ |
D | imx074.c | 105 static int reg_write(struct i2c_client *client, const u16 addr, const u8 data) in reg_write() function 251 return reg_write(client, MODE_SELECT, !!enable); in imx074_s_stream() 327 reg_write(client, PLL_MULTIPLIER, 0x2D); in imx074_video_probe() 328 reg_write(client, PRE_PLL_CLK_DIV, 0x02); in imx074_video_probe() 329 reg_write(client, PLSTATIM, 0x4B); in imx074_video_probe() 332 reg_write(client, 0x3024, 0x00); in imx074_video_probe() 334 reg_write(client, IMAGE_ORIENTATION, 0x00); in imx074_video_probe() 341 reg_write(client, 0x0112, 0x08); in imx074_video_probe() 342 reg_write(client, 0x0113, 0x08); in imx074_video_probe() 345 reg_write(client, VNDMY_ABLMGSHLMT, 0x80); in imx074_video_probe() [all …]
|
/Linux-v4.19/arch/x86/pci/ |
D | ce4100.c | 82 static void reg_write(struct sim_dev_reg *reg, u32 value) in reg_write() function 120 DEFINE_REG(2, 0, 0x10, (16*MB), reg_init, reg_read, reg_write) 121 DEFINE_REG(2, 0, 0x14, (256), reg_init, reg_read, reg_write) 122 DEFINE_REG(2, 1, 0x10, (64*KB), reg_init, reg_read, reg_write) 123 DEFINE_REG(3, 0, 0x10, (64*KB), reg_init, reg_read, reg_write) 124 DEFINE_REG(4, 0, 0x10, (128*KB), reg_init, reg_read, reg_write) 125 DEFINE_REG(4, 1, 0x10, (128*KB), reg_init, reg_read, reg_write) 126 DEFINE_REG(6, 0, 0x10, (512*KB), reg_init, reg_read, reg_write) 127 DEFINE_REG(6, 1, 0x10, (512*KB), reg_init, reg_read, reg_write) 128 DEFINE_REG(6, 2, 0x10, (64*KB), reg_init, reg_read, reg_write) [all …]
|
/Linux-v4.19/drivers/firewire/ |
D | init_ohci1394_dma.c | 53 static inline void reg_write(const struct ohci *ohci, int offset, u32 data) in reg_write() function 71 reg_write(ohci, OHCI1394_PhyControl, (addr << 8) | 0x00008000); in get_phy_reg() 88 reg_write(ohci, OHCI1394_PhyControl, (addr << 8) | data | 0x00004000); in set_phy_reg() 102 reg_write(ohci, OHCI1394_HCControlSet, OHCI1394_HCControl_softReset); in init_ohci1394_soft_reset() 127 reg_write(ohci, OHCI1394_BusOptions, bus_options); in init_ohci1394_initialize() 130 reg_write(ohci, OHCI1394_NodeID, 0x0000ffc0); in init_ohci1394_initialize() 133 reg_write(ohci, OHCI1394_HCControlSet, in init_ohci1394_initialize() 137 reg_write(ohci, OHCI1394_LinkControlClear, 0xffffffff); in init_ohci1394_initialize() 140 reg_write(ohci, OHCI1394_LinkControlSet, in init_ohci1394_initialize() 144 reg_write(ohci, OHCI1394_LinkControlClear, 0x00000400); in init_ohci1394_initialize() [all …]
|
D | ohci.c | 540 static inline void reg_write(const struct fw_ohci *ohci, int offset, u32 data) in reg_write() function 567 reg_write(ohci, OHCI1394_PhyControl, OHCI1394_PhyControl_Read(addr)); in read_phy_reg() 593 reg_write(ohci, OHCI1394_PhyControl, in write_phy_reg() 685 reg_write(ctx->ohci, CONTROL_SET(ctx->regs), CONTEXT_WAKE); in ar_context_link_page() 708 reg_write(ohci, CONTROL_CLEAR(ctx->regs), CONTEXT_RUN); in ar_context_abort() 1048 reg_write(ctx->ohci, COMMAND_PTR(ctx->regs), ctx->descriptors_bus | 1); in ar_context_run() 1049 reg_write(ctx->ohci, CONTROL_SET(ctx->regs), CONTEXT_RUN); in ar_context_run() 1227 reg_write(ohci, COMMAND_PTR(ctx->regs), in context_run() 1229 reg_write(ohci, CONTROL_CLEAR(ctx->regs), ~0); in context_run() 1230 reg_write(ohci, CONTROL_SET(ctx->regs), CONTEXT_RUN | extra); in context_run() [all …]
|
D | nosy.c | 227 reg_write(struct pcilynx *lynx, int offset, u32 data) in reg_write() function 241 reg_write(lynx, offset, (reg_read(lynx, offset) | mask)); in reg_set_bits() 252 reg_write(lynx, DMA0_CURRENT_PCL + dmachan * 0x20, pcl_bus); in run_pcl() 253 reg_write(lynx, DMA0_CHAN_CTRL + dmachan * 0x20, in run_pcl() 270 reg_write(lynx, LINK_PHY, LINK_PHY_WRITE | in set_phy_reg() 483 reg_write(lynx, LINK_INT_STATUS, link_int_status); in irq_handler() 493 reg_write(lynx, PCI_INT_STATUS, pci_int_status); in irq_handler() 514 reg_write(lynx, PCI_INT_ENABLE, 0); in remove_card() 607 reg_write(lynx, DMA0_CHAN_CTRL, 0); in add_card() 608 reg_write(lynx, DMA_GLOBAL_REGISTER, 0x00 << 24); in add_card() [all …]
|
/Linux-v4.19/drivers/media/i2c/soc_camera/ |
D | rj54n1cb0c.c | 444 static int reg_write(struct i2c_client *client, const u16 reg, in reg_write() function 470 return reg_write(client, reg, (ret & ~mask) | (data & mask)); in reg_set() 479 ret = reg_write(client, rv->reg, rv->val); in reg_write_multiple() 513 ret = reg_write(client, reg_xy, in rj54n1_set_rect() 518 ret = reg_write(client, reg_x, width & 0xff); in rj54n1_set_rect() 520 ret = reg_write(client, reg_y, height & 0xff); in rj54n1_set_rect() 531 int ret = reg_write(client, RJ54N1_INIT_START, 1); in rj54n1_commit() 534 ret = reg_write(client, RJ54N1_INIT_START, 0); in rj54n1_commit() 725 ret = reg_write(client, RJ54N1_RESIZE_HOLD_L, resize & 0xff); in rj54n1_sensor_scale() 727 ret = reg_write(client, RJ54N1_RESIZE_HOLD_H, resize >> 8); in rj54n1_sensor_scale() [all …]
|
D | mt9v022.c | 178 static int reg_write(struct i2c_client *client, const u8 reg, in reg_write() function 192 return reg_write(client, reg, ret | data); in reg_set() 203 return reg_write(client, reg, ret & ~data); in reg_clear() 217 ret = reg_write(client, MT9V022_CHIP_CONTROL, mt9v022->chip_control); in mt9v022_init() 219 ret = reg_write(client, MT9V022_READ_MODE, 0x300); in mt9v022_init() 226 ret = reg_write(client, MT9V022_ANALOG_GAIN, 16); in mt9v022_init() 228 ret = reg_write(client, MT9V022_TOTAL_SHUTTER_WIDTH, 480); in mt9v022_init() 230 ret = reg_write(client, mt9v022->reg->max_total_shutter_width, 480); in mt9v022_init() 235 ret = reg_write(client, MT9V022_DIGITAL_TEST_PATTERN, 0); in mt9v022_init() 274 if (reg_write(client, MT9V022_CHIP_CONTROL, mt9v022->chip_control) < 0) in mt9v022_s_stream() [all …]
|
D | mt9m001.c | 115 static int reg_write(struct i2c_client *client, const u8 reg, in reg_write() function 129 return reg_write(client, reg, ret | data); in reg_set() 140 return reg_write(client, reg, ret & ~data); in reg_clear() 153 ret = reg_write(client, MT9M001_RESET, 1); in mt9m001_init() 155 ret = reg_write(client, MT9M001_RESET, 0); in mt9m001_init() 159 ret = reg_write(client, MT9M001_OUTPUT_CONTROL, 0); in mt9m001_init() 169 if (reg_write(client, MT9M001_OUTPUT_CONTROL, enable ? 2 : 0) < 0) in mt9m001_s_stream() 208 ret = reg_write(client, MT9M001_HORIZONTAL_BLANKING, hblank); in mt9m001_set_selection() 210 ret = reg_write(client, MT9M001_VERTICAL_BLANKING, vblank); in mt9m001_set_selection() 217 ret = reg_write(client, MT9M001_COLUMN_START, rect.left); in mt9m001_set_selection() [all …]
|
/Linux-v4.19/drivers/media/i2c/ |
D | rj54n1cb0c.c | 446 static int reg_write(struct i2c_client *client, const u16 reg, in reg_write() function 472 return reg_write(client, reg, (ret & ~mask) | (data & mask)); in reg_set() 481 ret = reg_write(client, rv->reg, rv->val); in reg_write_multiple() 515 ret = reg_write(client, reg_xy, in rj54n1_set_rect() 520 ret = reg_write(client, reg_x, width & 0xff); in rj54n1_set_rect() 522 ret = reg_write(client, reg_y, height & 0xff); in rj54n1_set_rect() 533 int ret = reg_write(client, RJ54N1_INIT_START, 1); in rj54n1_commit() 536 ret = reg_write(client, RJ54N1_INIT_START, 0); in rj54n1_commit() 726 ret = reg_write(client, RJ54N1_RESIZE_HOLD_L, resize & 0xff); in rj54n1_sensor_scale() 728 ret = reg_write(client, RJ54N1_RESIZE_HOLD_H, resize >> 8); in rj54n1_sensor_scale() [all …]
|
D | ak881x.c | 43 static int reg_write(struct i2c_client *client, const u8 reg, in reg_write() function 55 return reg_write(client, reg, (ret & ~mask) | (data & mask)); in reg_set() 89 if (reg_write(client, reg->reg, reg->val) < 0) in ak881x_s_register() 195 reg_write(client, AK881X_DAC_MODE, dac); in ak881x_s_stream() 200 reg_write(client, AK881X_DAC_MODE, 0); in ak881x_s_stream() 292 reg_write(client, AK881X_INTERFACE_MODE, ifmode | (20 << 3)); in ak881x_probe()
|
/Linux-v4.19/drivers/media/tuners/ |
D | qm1d1c0042.c | 64 static int reg_write(struct qm1d1c0042_state *state, u8 reg, u8 val) in reg_write() function 107 return reg_write(state, 0x03, state->regs[0x03]); in qm1d1c0042_set_srch_mode() 117 ret = reg_write(state, 0x01, state->regs[0x01]); in qm1d1c0042_wakeup() 119 ret = reg_write(state, 0x05, state->regs[0x05]); in qm1d1c0042_wakeup() 205 ret = reg_write(state, 0x02, val); in qm1d1c0042_set_params() 213 ret = reg_write(state, 0x06, state->regs[0x06]); in qm1d1c0042_set_params() 219 ret = reg_write(state, 0x07, state->regs[0x07]); in qm1d1c0042_set_params() 230 ret = reg_write(state, 0x08, val); in qm1d1c0042_set_params() 251 ret = reg_write(state, 0x09, state->regs[0x09]); in qm1d1c0042_set_params() 253 ret = reg_write(state, 0x0a, state->regs[0x0a]); in qm1d1c0042_set_params() [all …]
|
/Linux-v4.19/drivers/media/usb/gspca/ |
D | spca505.c | 543 static int reg_write(struct gspca_dev *gspca_dev, in reg_write() function 587 ret = reg_write(gspca_dev, data[i][0], data[i][2], in write_vector() 629 reg_write(gspca_dev, 0x05, 0x00, (255 - brightness) >> 6); in setbrightness() 630 reg_write(gspca_dev, 0x05, 0x01, (255 - brightness) << 2); in setbrightness() 661 ret = reg_write(gspca_dev, 0x06, 0x16, 0x0a); in sd_start() 664 reg_write(gspca_dev, 0x05, 0xc2, 0x12); in sd_start() 669 reg_write(gspca_dev, 0x02, 0x00, 0x00); in sd_start() 672 reg_write(gspca_dev, SPCA50X_REG_COMPRESS, 0x00, mode_tb[mode][0]); in sd_start() 673 reg_write(gspca_dev, SPCA50X_REG_COMPRESS, 0x06, mode_tb[mode][1]); in sd_start() 674 reg_write(gspca_dev, SPCA50X_REG_COMPRESS, 0x07, mode_tb[mode][2]); in sd_start() [all …]
|
D | spca508.c | 1240 static int reg_write(struct gspca_dev *gspca_dev, u16 index, u16 value) in reg_write() function 1287 ret = reg_write(gspca_dev, 0x8802, reg >> 8); in ssi_w() 1290 ret = reg_write(gspca_dev, 0x8801, reg & 0x00ff); in ssi_w() 1294 ret = reg_write(gspca_dev, 0x8805, val & 0x00ff); in ssi_w() 1299 ret = reg_write(gspca_dev, 0x8800, val); in ssi_w() 1334 ret = reg_write(gspca_dev, (*data)[1], in write_vector() 1402 reg_write(gspca_dev, 0x8500, mode); in sd_start() 1406 reg_write(gspca_dev, 0x8700, 0x28); /* clock */ in sd_start() 1411 reg_write(gspca_dev, 0x8700, 0x23); /* clock */ in sd_start() 1414 reg_write(gspca_dev, 0x8112, 0x10 | 0x20); in sd_start() [all …]
|
D | spca501.c | 1755 static int reg_write(struct gspca_dev *gspca_dev, in reg_write() function 1779 ret = reg_write(gspca_dev, data[i][0], data[i][2], in write_vector() 1793 reg_write(gspca_dev, SPCA501_REG_CCDSP, 0x12, val); in setbrightness() 1798 reg_write(gspca_dev, 0x00, 0x00, (val >> 8) & 0xff); in setcontrast() 1799 reg_write(gspca_dev, 0x00, 0x01, val & 0xff); in setcontrast() 1804 reg_write(gspca_dev, SPCA501_REG_CCDSP, 0x0c, val); in setcolors() 1809 reg_write(gspca_dev, SPCA501_REG_CCDSP, 0x11, val); in setblue_balance() 1814 reg_write(gspca_dev, SPCA501_REG_CCDSP, 0x13, val); in setred_balance() 1890 reg_write(gspca_dev, SPCA50X_REG_USB, 0x6, 0x94); in sd_start() 1893 reg_write(gspca_dev, SPCA50X_REG_USB, 0x07, 0x004a); in sd_start() [all …]
|
/Linux-v4.19/drivers/gpu/drm/i2c/ |
D | tda998x_drv.c | 638 reg_write(struct tda998x_priv *priv, u16 reg, u8 val) in reg_write() function 682 reg_write(priv, reg, old_val | val); in reg_set() 692 reg_write(priv, reg, old_val & ~val); in reg_clear() 699 reg_write(priv, REG_SOFTRESET, SOFTRESET_AUDIO | SOFTRESET_I2C_MASTER); in tda998x_reset() 701 reg_write(priv, REG_SOFTRESET, 0); in tda998x_reset() 709 reg_write(priv, REG_PLL_SERIAL_1, 0x00); in tda998x_reset() 710 reg_write(priv, REG_PLL_SERIAL_2, PLL_SERIAL_2_SRL_NOSC(1)); in tda998x_reset() 711 reg_write(priv, REG_PLL_SERIAL_3, 0x00); in tda998x_reset() 712 reg_write(priv, REG_SERIALIZER, 0x00); in tda998x_reset() 713 reg_write(priv, REG_BUFFER_OUT, 0x00); in tda998x_reset() [all …]
|
/Linux-v4.19/drivers/media/pci/tw686x/ |
D | tw686x-core.c | 111 reg_write(dev, DMA_CHANNEL_ENABLE, dma_en); in tw686x_disable_channel() 112 reg_write(dev, DMA_CMD, dma_cmd); in tw686x_disable_channel() 136 reg_write(dev, DMA_CHANNEL_ENABLE, dev->pending_dma_en); in tw686x_dma_delay() 137 reg_write(dev, DMA_CMD, dev->pending_dma_cmd); in tw686x_dma_delay() 159 reg_write(dev, DMA_CHANNEL_ENABLE, dma_en & ~ch_mask); in tw686x_reset_channels() 165 reg_write(dev, DMA_CMD, dma_cmd & ~ch_mask); in tw686x_reset_channels() 303 reg_write(dev, SYS_SOFT_RST, 0x0f); in tw686x_probe() 306 reg_write(dev, SRST[0], 0x3f); in tw686x_probe() 308 reg_write(dev, SRST[1], 0x3f); in tw686x_probe() 311 reg_write(dev, DMA_CMD, 0); in tw686x_probe() [all …]
|
D | tw686x-video.c | 127 reg_write(dev, reg, vc->dma_descs[pb].phys); in tw686x_memcpy_dma_alloc() 172 reg_write(vc->dev, reg, phys); in tw686x_contig_buf_refill() 293 reg_write(dev, reg, desc->phys); in tw686x_sg_dma_alloc() 412 reg_write(vc->dev, VIDEO_FIELD_CTRL[vc->ch], fps_map[i]); in tw686x_set_framerate() 603 reg_write(dev, BRIGHT[ch], ctrl->val & 0xff); in tw686x_s_ctrl() 607 reg_write(dev, CONTRAST[ch], ctrl->val); in tw686x_s_ctrl() 611 reg_write(dev, SAT_U[ch], ctrl->val); in tw686x_s_ctrl() 612 reg_write(dev, SAT_V[ch], ctrl->val); in tw686x_s_ctrl() 616 reg_write(dev, HUE[ch], ctrl->val & 0xff); in tw686x_s_ctrl() 729 reg_write(vc->dev, VDMA_CHANNEL_CONFIG[vc->ch], val); in tw686x_set_format() [all …]
|
D | tw686x-audio.c | 77 reg_write(dev, reg, next->dma); in tw686x_audio_irq() 173 reg_write(dev, AUDIO_CONTROL2, reg); in tw686x_pcm_prepare() 184 reg_write(dev, AUDIO_CONTROL1, reg); in tw686x_pcm_prepare() 212 reg_write(dev, ADMA_P_ADDR[ac->ch], p_buf->dma); in tw686x_pcm_prepare() 213 reg_write(dev, ADMA_B_ADDR[ac->ch], b_buf->dma); in tw686x_pcm_prepare() 353 reg_write(dev, reg, ac->dma_descs[pb].phys); in tw686x_audio_dma_alloc() 367 reg_write(dev, DMA_CMD, dma_cmd & ~0xff00); in tw686x_audio_free() 368 reg_write(dev, DMA_CHANNEL_ENABLE, dma_ch_mask & ~0xff00); in tw686x_audio_free() 384 reg_write(dev, AUDIO_CONTROL1, BIT(0)); in tw686x_audio_init()
|
/Linux-v4.19/drivers/base/regmap/ |
D | regmap-mmio.c | 35 void (*reg_write)(struct regmap_mmio_context *ctx, member 138 ctx->reg_write(ctx, reg, val); in regmap_mmio_write() 217 .reg_write = regmap_mmio_write, 263 ctx->reg_write = regmap_mmio_write8; in regmap_mmio_gen_context() 267 ctx->reg_write = regmap_mmio_write16le; in regmap_mmio_gen_context() 271 ctx->reg_write = regmap_mmio_write32le; in regmap_mmio_gen_context() 276 ctx->reg_write = regmap_mmio_write64le; in regmap_mmio_gen_context() 291 ctx->reg_write = regmap_mmio_write8; in regmap_mmio_gen_context() 295 ctx->reg_write = regmap_mmio_write16be; in regmap_mmio_gen_context() 299 ctx->reg_write = regmap_mmio_write32be; in regmap_mmio_gen_context()
|
/Linux-v4.19/drivers/staging/media/mt9t031/ |
D | mt9t031.c | 96 static int reg_write(struct i2c_client *client, const u8 reg, in reg_write() function 110 return reg_write(client, reg, ret | data); in reg_set() 121 return reg_write(client, reg, ret & ~data); in reg_clear() 128 ret = reg_write(client, MT9T031_SHUTTER_WIDTH_UPPER, data >> 16); in set_shutter() 131 ret = reg_write(client, MT9T031_SHUTTER_WIDTH, data & 0xffff); in set_shutter() 155 ret = reg_write(client, MT9T031_RESET, 1); in mt9t031_idle() 157 ret = reg_write(client, MT9T031_RESET, 0); in mt9t031_idle() 249 ret = reg_write(client, MT9T031_HORIZONTAL_BLANKING, hblank); in mt9t031_set_params() 251 ret = reg_write(client, MT9T031_VERTICAL_BLANKING, vblank); in mt9t031_set_params() 256 ret = reg_write(client, MT9T031_COLUMN_ADDRESS_MODE, in mt9t031_set_params() [all …]
|
/Linux-v4.19/drivers/media/pci/sta2x11/ |
D | sta2x11_vip.c | 219 static inline void reg_write(struct sta2x11_vip *vip, unsigned int reg, u32 val) in reg_write() function 238 reg_write(vip, DVP_CTL, reg_read(vip, DVP_CTL) | DVP_CTL_ENA); in start_dma() 240 reg_write(vip, DVP_VTP, (u32)vip_buf->dma); in start_dma() 241 reg_write(vip, DVP_VBP, (u32)vip_buf->dma + offset); in start_dma() 353 reg_write(vip, DVP_ITM, DVP_IT_VSB | DVP_IT_VST); in start_streaming() 369 reg_write(vip, DVP_CTL, reg_read(vip, DVP_CTL) & ~DVP_CTL_ENA); in stop_streaming() 371 reg_write(vip, DVP_ITM, 0); in stop_streaming() 706 reg_write(vip, DVP_TFO, 0); in vidioc_s_fmt_vid_cap() 708 reg_write(vip, DVP_BFO, 0); in vidioc_s_fmt_vid_cap() 710 reg_write(vip, DVP_TFS, t_stop); in vidioc_s_fmt_vid_cap() [all …]
|
/Linux-v4.19/drivers/iio/dac/ |
D | ad5592r-base.c | 58 st->ops->reg_write(st, AD5592R_REG_GPIO_SET, st->gpio_val); in ad5592r_gpio_set() 73 ret = st->ops->reg_write(st, AD5592R_REG_GPIO_OUT_EN, st->gpio_out); in ad5592r_gpio_direction_input() 77 ret = st->ops->reg_write(st, AD5592R_REG_GPIO_IN_EN, st->gpio_in); in ad5592r_gpio_direction_input() 101 ret = st->ops->reg_write(st, AD5592R_REG_GPIO_SET, st->gpio_val); in ad5592r_gpio_direction_output() 105 ret = st->ops->reg_write(st, AD5592R_REG_GPIO_OUT_EN, st->gpio_out); in ad5592r_gpio_direction_output() 109 ret = st->ops->reg_write(st, AD5592R_REG_GPIO_IN_EN, st->gpio_in); in ad5592r_gpio_direction_output() 173 st->ops->reg_write(st, AD5592R_REG_RESET, 0xdac); in ad5592r_reset() 255 ret = ops->reg_write(st, AD5592R_REG_PULLDOWN, pulldown); in ad5592r_set_channel_modes() 259 ret = ops->reg_write(st, AD5592R_REG_TRISTATE, tristate); in ad5592r_set_channel_modes() 264 ret = ops->reg_write(st, AD5592R_REG_DAC_EN, dac); in ad5592r_set_channel_modes() [all …]
|
/Linux-v4.19/drivers/watchdog/ |
D | stm32_iwdg.c | 74 static inline void reg_write(void __iomem *base, u32 reg, u32 val) in reg_write() function 93 reg_write(wdt->regs, IWDG_KR, KR_KEY_EWA); in stm32_iwdg_start() 96 reg_write(wdt->regs, IWDG_PR, PR_256); /* prescaler fix to 256 */ in stm32_iwdg_start() 97 reg_write(wdt->regs, IWDG_RLR, reload); in stm32_iwdg_start() 98 reg_write(wdt->regs, IWDG_KR, KR_KEY_ENABLE); in stm32_iwdg_start() 111 reg_write(wdt->regs, IWDG_KR, KR_KEY_RELOAD); in stm32_iwdg_start() 123 reg_write(wdt->regs, IWDG_KR, KR_KEY_RELOAD); in stm32_iwdg_ping()
|
/Linux-v4.19/drivers/i2c/busses/ |
D | i2c-pasemi.c | 60 static inline void reg_write(struct pasemi_smbus *smbus, int reg, int val) in reg_write() function 76 #define TXFIFO_WR(smbus, reg) reg_write((smbus), REG_MTXFIFO, (reg)) 84 reg_write(smbus, REG_SMSTA, status); in pasemi_smb_clear() 105 reg_write(smbus, REG_SMSTA, status); in pasemi_smb_waitready() 110 reg_write(smbus, REG_SMSTA, SMSTA_XEN); in pasemi_smb_waitready() 153 reg_write(smbus, REG_CTL, (CTL_MTR | CTL_MRR | in pasemi_i2c_xfer_msg() 320 reg_write(smbus, REG_CTL, (CTL_MTR | CTL_MRR | in pasemi_smb_xfer() 372 reg_write(smbus, REG_CTL, (CTL_MTR | CTL_MRR | in pasemi_smb_probe()
|
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | btcoex.c | 118 } reg_write; in brcmf_btcoex_params_write() local 120 reg_write.addr = cpu_to_le32(addr); in brcmf_btcoex_params_write() 121 reg_write.data = cpu_to_le32(data); in brcmf_btcoex_params_write() 123 ®_write, sizeof(reg_write)); in brcmf_btcoex_params_write()
|