Searched refs:reg_id (Results 1 - 18 of 18) sorted by relevance

/drivers/media/video/s5p-tv/
H A Dmixer_reg.c22 static inline u32 vp_read(struct mxr_device *mdev, u32 reg_id) argument
24 return readl(mdev->res.vp_regs + reg_id);
27 static inline void vp_write(struct mxr_device *mdev, u32 reg_id, u32 val) argument
29 writel(val, mdev->res.vp_regs + reg_id);
32 static inline void vp_write_mask(struct mxr_device *mdev, u32 reg_id, argument
35 u32 old = vp_read(mdev, reg_id);
38 writel(val, mdev->res.vp_regs + reg_id);
41 static inline u32 mxr_read(struct mxr_device *mdev, u32 reg_id) argument
43 return readl(mdev->res.mxr_regs + reg_id);
46 static inline void mxr_write(struct mxr_device *mdev, u32 reg_id, u3 argument
51 mxr_write_mask(struct mxr_device *mdev, u32 reg_id, u32 val, u32 mask) argument
453 mxr_reg_vp_filter_set(struct mxr_device *mdev, int reg_id, const u8 *data, unsigned int size) argument
[all...]
H A Dsdo_drv.c74 void sdo_write_mask(struct sdo_device *sdev, u32 reg_id, u32 value, u32 mask) argument
76 u32 old = readl(sdev->regs + reg_id);
78 writel(value, sdev->regs + reg_id);
82 void sdo_write(struct sdo_device *sdev, u32 reg_id, u32 value) argument
84 writel(value, sdev->regs + reg_id);
88 u32 sdo_read(struct sdo_device *sdev, u32 reg_id) argument
90 return readl(sdev->regs + reg_id);
104 #define DBGREG(reg_id) \
105 dev_info(sdev->dev, #reg_id " = %08x\n", \
106 sdo_read(sdev, reg_id))
[all...]
H A Dhdmi_drv.c162 void hdmi_write(struct hdmi_device *hdev, u32 reg_id, u32 value) argument
164 writel(value, hdev->regs + reg_id);
168 void hdmi_write_mask(struct hdmi_device *hdev, u32 reg_id, u32 value, u32 mask) argument
170 u32 old = readl(hdev->regs + reg_id);
172 writel(value, hdev->regs + reg_id);
176 void hdmi_writeb(struct hdmi_device *hdev, u32 reg_id, u8 value) argument
178 writeb(value, hdev->regs + reg_id);
181 static inline u32 hdmi_read(struct hdmi_device *hdev, u32 reg_id) argument
183 return readl(hdev->regs + reg_id);
328 #define DUMPREG(reg_id) \
[all...]
/drivers/gpu/drm/exynos/
H A Dexynos_mixer.c73 static inline u32 vp_reg_read(struct mixer_resources *res, u32 reg_id) argument
75 return readl(res->vp_regs + reg_id);
78 static inline void vp_reg_write(struct mixer_resources *res, u32 reg_id, argument
81 writel(val, res->vp_regs + reg_id);
84 static inline void vp_reg_writemask(struct mixer_resources *res, u32 reg_id, argument
87 u32 old = vp_reg_read(res, reg_id);
90 writel(val, res->vp_regs + reg_id);
93 static inline u32 mixer_reg_read(struct mixer_resources *res, u32 reg_id) argument
95 return readl(res->mixer_regs + reg_id);
98 static inline void mixer_reg_write(struct mixer_resources *res, u32 reg_id, argument
104 mixer_reg_writemask(struct mixer_resources *res, u32 reg_id, u32 val, u32 mask) argument
180 vp_filter_set(struct mixer_resources *res, int reg_id, const u8 *data, unsigned int size) argument
[all...]
H A Dexynos_hdmi.c308 static inline u32 hdmi_reg_read(struct hdmi_context *hdata, u32 reg_id) argument
310 return readl(hdata->regs + reg_id);
314 u32 reg_id, u8 value)
316 writeb(value, hdata->regs + reg_id);
320 u32 reg_id, u32 value, u32 mask)
322 u32 old = readl(hdata->regs + reg_id);
324 writel(value, hdata->regs + reg_id);
329 #define DUMPREG(reg_id) \
330 DRM_DEBUG_KMS("%s:" #reg_id " = %08x\n", prefix, \
331 readl(hdata->regs + reg_id))
313 hdmi_reg_writeb(struct hdmi_context *hdata, u32 reg_id, u8 value) argument
319 hdmi_reg_writemask(struct hdmi_context *hdata, u32 reg_id, u32 value, u32 mask) argument
[all...]
/drivers/regulator/
H A Dmc13xxx-regulator-core.c102 int reg_id = rdev_get_id(rdev); local
115 for (i = 0; i < mc13xxx_regulators[reg_id].desc.n_voltages; i++) {
116 if (mc13xxx_regulators[reg_id].voltages[i] >= min_uV &&
117 mc13xxx_regulators[reg_id].voltages[i] < bestmatch) {
118 bestmatch = mc13xxx_regulators[reg_id].voltages[i];
H A Dvirtual.c290 char *reg_id = pdev->dev.platform_data; local
300 drvdata->regulator = regulator_get(&pdev->dev, reg_id);
304 reg_id, ret);
/drivers/media/video/pvrusb2/
H A Dpvrusb2-hdw.h246 reg_id - register number to access
250 struct v4l2_dbg_match *match, u64 reg_id,
H A Dpvrusb2-hdw.c5297 struct v4l2_dbg_match *match, u64 reg_id,
5308 req.reg = reg_id;
5296 pvr2_hdw_register_access(struct pvr2_hdw *hdw, struct v4l2_dbg_match *match, u64 reg_id, int setFl, u64 *val_ptr) argument
/drivers/net/can/
H A Dflexcan.c492 u32 reg_ctrl, reg_id; local
495 reg_id = flexcan_read(&mb->can_id);
497 cf->can_id = ((reg_id >> 0) & CAN_EFF_MASK) | CAN_EFF_FLAG;
499 cf->can_id = (reg_id >> 18) & CAN_SFF_MASK;
/drivers/net/wireless/rt2x00/
H A Drt2400pci.c929 u8 reg_id; local
954 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID);
956 rt2400pci_bbp_write(rt2x00dev, reg_id, value);
H A Drt2500usb.c928 u8 reg_id; local
969 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID);
971 rt2500usb_bbp_write(rt2x00dev, reg_id, value);
H A Drt2500pci.c1068 u8 reg_id; local
1109 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID);
1111 rt2500pci_bbp_write(rt2x00dev, reg_id, value);
H A Drt73usb.c1316 u8 reg_id; local
1352 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID);
1354 rt73usb_bbp_write(rt2x00dev, reg_id, value);
H A Drt61pci.c1665 u8 reg_id; local
1700 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID);
1702 rt61pci_bbp_write(rt2x00dev, reg_id, value);
H A Drt2800lib.c3009 u8 reg_id; local
3175 reg_id = rt2x00_get_field16(eeprom, EEPROM_BBP_REG_ID);
3177 rt2800_bbp_write(rt2x00dev, reg_id, value);
/drivers/net/wireless/ath/ath5k/
H A Dphy.c183 * @reg_id: RF register ID
192 u32 val, u8 reg_id, bool set)
206 if (rf_regs[i].index == reg_id) {
191 ath5k_hw_rfb_op(struct ath5k_hw *ah, const struct ath5k_rf_reg *rf_regs, u32 val, u8 reg_id, bool set) argument
/drivers/scsi/lpfc/
H A Dlpfc_bsg.c57 uint32_t reg_id; member in struct:lpfc_bsg_event
720 evt->reg_id = ev_reg_id;
1050 if (evt->reg_id == event_req->ev_reg_id) {
1126 if (evt->reg_id == event_req->ev_reg_id) {

Completed in 195 milliseconds