Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 3965) sorted by relevance

12345678910>>...159

/drivers/i2c/busses/
Di2c-sh7760.c114 struct cami2c *id = ptr; in sh7760_i2c_irq() local
115 struct i2c_msg *msg = id->msg; in sh7760_i2c_irq()
119 msr = IN32(id, I2CMSR); in sh7760_i2c_irq()
120 fsr = IN32(id, I2CFSR); in sh7760_i2c_irq()
124 OUT32(id, I2CMCR, 0); in sh7760_i2c_irq()
125 OUT32(id, I2CSCR, 0); in sh7760_i2c_irq()
126 OUT32(id, I2CSAR, 0); in sh7760_i2c_irq()
127 id->status |= IDS_DONE | IDS_ARBLOST; in sh7760_i2c_irq()
139 OUT32(id, I2CFCR, FCR_RFRST | FCR_TFRST); in sh7760_i2c_irq()
140 OUT32(id, I2CMCR, MCR_MIE | MCR_FSB); in sh7760_i2c_irq()
[all …]
Di2c-cadence.c122 #define cdns_i2c_readreg(offset) readl_relaxed(id->membase + offset)
123 #define cdns_i2c_writereg(val, offset) writel_relaxed(val, id->membase + offset)
181 static void cdns_i2c_clear_bus_hold(struct cdns_i2c *id) in cdns_i2c_clear_bus_hold() argument
188 static inline bool cdns_is_holdquirk(struct cdns_i2c *id, bool hold_wrkaround) in cdns_is_holdquirk() argument
191 (id->curr_recv_count == CDNS_I2C_FIFO_DEPTH + 1)); in cdns_is_holdquirk()
209 struct cdns_i2c *id = ptr; in cdns_i2c_isr() local
228 if (id->recv_count > id->curr_recv_count) in cdns_i2c_isr()
231 hold_quirk = (id->quirks & CDNS_I2C_BROKEN_HOLD_BIT) && updatetx; in cdns_i2c_isr()
234 if (id->p_recv_buf && in cdns_i2c_isr()
245 if ((id->recv_count < CDNS_I2C_FIFO_DEPTH) && in cdns_i2c_isr()
[all …]
/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_fail.h42 int __cfs_fail_check_set(__u32 id, __u32 value, int set);
43 int __cfs_fail_timeout_set(__u32 id, __u32 value, int ms, int set);
72 static inline bool CFS_FAIL_PRECHECK(__u32 id) in CFS_FAIL_PRECHECK() argument
75 ((cfs_fail_loc & CFS_FAIL_MASK_LOC) == (id & CFS_FAIL_MASK_LOC) || in CFS_FAIL_PRECHECK()
76 (cfs_fail_loc & id & CFS_FAULT)); in CFS_FAIL_PRECHECK()
79 static inline int cfs_fail_check_set(__u32 id, __u32 value, in cfs_fail_check_set() argument
84 if (unlikely(CFS_FAIL_PRECHECK(id))) { in cfs_fail_check_set()
85 ret = __cfs_fail_check_set(id, value, set); in cfs_fail_check_set()
89 id, value); in cfs_fail_check_set()
92 id, value); in cfs_fail_check_set()
[all …]
/drivers/media/platform/s3c-camif/
Dcamif-regs.h66 #define CIGCTRL_IRQ_CLR(id) (1 << (19 - (id))) argument
72 #define S3C_CAMIF_REG_CIYSA(id, n) (0x18 + (id) * 0x54 + (n) * 4) argument
74 #define S3C_CAMIF_REG_CICBSA(id, n) (0x28 + (id) * 0x54 + (n) * 4) argument
76 #define S3C_CAMIF_REG_CICRSA(id, n) (0x38 + (id) * 0x54 + (n) * 4) argument
79 #define S3C_CAMIF_REG_CITRGFMT(id, _offs) (0x48 + (id) * (0x34 + (_offs))) argument
99 #define S3C_CAMIF_REG_CICTRL(id, _offs) (0x4c + (id) * (0x34 + (_offs))) argument
112 #define S3C_CAMIF_REG_CISCPRERATIO(id, _offs) (0x50 + (id) * (0x34 + (_offs))) argument
115 #define S3C_CAMIF_REG_CISCPREDST(id, _offs) (0x54 + (id) * (0x34 + (_offs))) argument
118 #define S3C_CAMIF_REG_CISCCTRL(id, _offs) (0x58 + (id) * (0x34 + (_offs))) argument
148 #define S3C_CAMIF_REG_CITAREA(id, _offs) (0x5c + (id) * (0x34 + (_offs))) argument
[all …]
/drivers/macintosh/
Dadbhid.c211 int id; member
236 static void init_trackpad(int id);
237 static void init_trackball(int id);
238 static void init_turbomouse(int id);
239 static void init_microspeed(int id);
240 static void init_ms_a3(int id);
267 int id = (data[0] >> 4) & 0x0f; in adbhid_keyboard_input() local
269 if (!adbhid[id]) { in adbhid_keyboard_input()
271 id, data[0], data[1], data[2], data[3]); in adbhid_keyboard_input()
278 adbhid_input_keycode(id, data[1], 0); in adbhid_keyboard_input()
[all …]
/drivers/nvme/target/
Dadmin-cmd.c172 struct nvme_id_ctrl *id; in nvmet_execute_identify_ctrl() local
175 id = kzalloc(sizeof(*id), GFP_KERNEL); in nvmet_execute_identify_ctrl()
176 if (!id) { in nvmet_execute_identify_ctrl()
182 id->vid = 0; in nvmet_execute_identify_ctrl()
183 id->ssvid = 0; in nvmet_execute_identify_ctrl()
185 memset(id->sn, ' ', sizeof(id->sn)); in nvmet_execute_identify_ctrl()
186 snprintf(id->sn, sizeof(id->sn), "%llx", ctrl->serial); in nvmet_execute_identify_ctrl()
188 memset(id->mn, ' ', sizeof(id->mn)); in nvmet_execute_identify_ctrl()
189 strncpy((char *)id->mn, "Linux", sizeof(id->mn)); in nvmet_execute_identify_ctrl()
191 memset(id->fr, ' ', sizeof(id->fr)); in nvmet_execute_identify_ctrl()
[all …]
/drivers/gpu/host1x/hw/
Dhw_host1x01_sync.h56 static inline u32 host1x_sync_syncpt_r(unsigned int id) in host1x_sync_syncpt_r() argument
58 return 0x400 + id * REGISTER_STRIDE; in host1x_sync_syncpt_r()
60 #define HOST1X_SYNC_SYNCPT(id) \ argument
61 host1x_sync_syncpt_r(id)
62 static inline u32 host1x_sync_syncpt_thresh_cpu0_int_status_r(unsigned int id) in host1x_sync_syncpt_thresh_cpu0_int_status_r() argument
64 return 0x40 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_cpu0_int_status_r()
66 #define HOST1X_SYNC_SYNCPT_THRESH_CPU0_INT_STATUS(id) \ argument
67 host1x_sync_syncpt_thresh_cpu0_int_status_r(id)
68 static inline u32 host1x_sync_syncpt_thresh_int_disable_r(unsigned int id) in host1x_sync_syncpt_thresh_int_disable_r() argument
70 return 0x60 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_int_disable_r()
[all …]
Dhw_host1x04_sync.h56 static inline u32 host1x_sync_syncpt_r(unsigned int id) in host1x_sync_syncpt_r() argument
58 return 0xf80 + id * REGISTER_STRIDE; in host1x_sync_syncpt_r()
60 #define HOST1X_SYNC_SYNCPT(id) \ argument
61 host1x_sync_syncpt_r(id)
62 static inline u32 host1x_sync_syncpt_thresh_cpu0_int_status_r(unsigned int id) in host1x_sync_syncpt_thresh_cpu0_int_status_r() argument
64 return 0xe80 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_cpu0_int_status_r()
66 #define HOST1X_SYNC_SYNCPT_THRESH_CPU0_INT_STATUS(id) \ argument
67 host1x_sync_syncpt_thresh_cpu0_int_status_r(id)
68 static inline u32 host1x_sync_syncpt_thresh_int_disable_r(unsigned int id) in host1x_sync_syncpt_thresh_int_disable_r() argument
70 return 0xf00 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_int_disable_r()
[all …]
Dhw_host1x02_sync.h56 static inline u32 host1x_sync_syncpt_r(unsigned int id) in host1x_sync_syncpt_r() argument
58 return 0x400 + id * REGISTER_STRIDE; in host1x_sync_syncpt_r()
60 #define HOST1X_SYNC_SYNCPT(id) \ argument
61 host1x_sync_syncpt_r(id)
62 static inline u32 host1x_sync_syncpt_thresh_cpu0_int_status_r(unsigned int id) in host1x_sync_syncpt_thresh_cpu0_int_status_r() argument
64 return 0x40 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_cpu0_int_status_r()
66 #define HOST1X_SYNC_SYNCPT_THRESH_CPU0_INT_STATUS(id) \ argument
67 host1x_sync_syncpt_thresh_cpu0_int_status_r(id)
68 static inline u32 host1x_sync_syncpt_thresh_int_disable_r(unsigned int id) in host1x_sync_syncpt_thresh_int_disable_r() argument
70 return 0x60 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_int_disable_r()
[all …]
Dhw_host1x05_sync.h56 static inline u32 host1x_sync_syncpt_r(unsigned int id) in host1x_sync_syncpt_r() argument
58 return 0xf80 + id * REGISTER_STRIDE; in host1x_sync_syncpt_r()
60 #define HOST1X_SYNC_SYNCPT(id) \ argument
61 host1x_sync_syncpt_r(id)
62 static inline u32 host1x_sync_syncpt_thresh_cpu0_int_status_r(unsigned int id) in host1x_sync_syncpt_thresh_cpu0_int_status_r() argument
64 return 0xe80 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_cpu0_int_status_r()
66 #define HOST1X_SYNC_SYNCPT_THRESH_CPU0_INT_STATUS(id) \ argument
67 host1x_sync_syncpt_thresh_cpu0_int_status_r(id)
68 static inline u32 host1x_sync_syncpt_thresh_int_disable_r(unsigned int id) in host1x_sync_syncpt_thresh_int_disable_r() argument
70 return 0xf00 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_int_disable_r()
[all …]
/drivers/reset/
Dreset-uniphier.c25 unsigned int id; member
35 { .id = UNIPHIER_RESET_ID_END }
39 .id = (_id), \
46 .id = (_id), \
53 #define UNIPHIER_SLD3_SYS_RESET_STDMAC(id) \ argument
54 UNIPHIER_RESETX((id), 0x2000, 10)
56 #define UNIPHIER_LD11_SYS_RESET_STDMAC(id) \ argument
57 UNIPHIER_RESETX((id), 0x200c, 8)
59 #define UNIPHIER_PRO4_SYS_RESET_GIO(id) \ argument
60 UNIPHIER_RESETX((id), 0x2000, 6)
[all …]
/drivers/memory/tegra/
Dtegra114.c18 .id = 0x00,
22 .id = 0x01,
36 .id = 0x02,
50 .id = 0x03,
64 .id = 0x04,
78 .id = 0x05,
92 .id = 0x06,
106 .id = 0x09,
120 .id = 0x0a,
134 .id = 0x0b,
[all …]
Dtegra30.c18 .id = 0x00,
22 .id = 0x01,
36 .id = 0x02,
50 .id = 0x03,
64 .id = 0x04,
78 .id = 0x05,
92 .id = 0x06,
106 .id = 0x07,
120 .id = 0x08,
134 .id = 0x09,
[all …]
Dtegra210.c20 .id = 0x00,
24 .id = 0x01,
38 .id = 0x02,
52 .id = 0x03,
66 .id = 0x04,
80 .id = 0x05,
94 .id = 0x06,
108 .id = 0x0e,
122 .id = 0x0f,
136 .id = 0x10,
[all …]
Dtegra124.c60 .id = 0x00,
64 .id = 0x01,
78 .id = 0x02,
92 .id = 0x03,
106 .id = 0x04,
120 .id = 0x05,
134 .id = 0x06,
148 .id = 0x0e,
162 .id = 0x0f,
176 .id = 0x10,
[all …]
/drivers/gpu/drm/msm/dsi/
Ddsi_manager.c41 #define IS_MASTER_DSI_LINK(id) (msm_dsim_glb.master_dsi_link_id == id) argument
43 static inline struct msm_dsi *dsi_mgr_get_dsi(int id) in dsi_mgr_get_dsi() argument
45 return msm_dsim_glb.dsi[id]; in dsi_mgr_get_dsi()
48 static inline struct msm_dsi *dsi_mgr_get_other_dsi(int id) in dsi_mgr_get_other_dsi() argument
50 return msm_dsim_glb.dsi[(id + 1) % DSI_MAX]; in dsi_mgr_get_other_dsi()
53 static int dsi_mgr_parse_dual_dsi(struct device_node *np, int id) in dsi_mgr_parse_dual_dsi() argument
66 msm_dsim->master_dsi_link_id = id; in dsi_mgr_parse_dual_dsi()
75 static int dsi_mgr_host_register(int id) in dsi_mgr_host_register() argument
77 struct msm_dsi *msm_dsi = dsi_mgr_get_dsi(id); in dsi_mgr_host_register()
78 struct msm_dsi *other_dsi = dsi_mgr_get_other_dsi(id); in dsi_mgr_host_register()
[all …]
/drivers/regulator/
Das3722-regulator.c337 int id = rdev_get_id(rdev); in as3722_ldo_get_current_limit() local
341 ret = as3722_read(as3722, as3722_reg_lookup[id].vsel_reg, &val); in as3722_ldo_get_current_limit()
344 as3722_reg_lookup[id].vsel_reg, ret); in as3722_ldo_get_current_limit()
357 int id = rdev_get_id(rdev); in as3722_ldo_set_current_limit() local
371 return as3722_update_bits(as3722, as3722_reg_lookup[id].vsel_reg, in as3722_ldo_set_current_limit()
395 int id, u8 mode) in as3722_ldo3_set_tracking_mode() argument
405 as3722_reg_lookup[id].vsel_reg, in as3722_ldo3_set_tracking_mode()
491 int id = rdev_get_id(rdev); in as3722_sd_get_mode() local
495 if (!as3722_reg_lookup[id].control_reg) in as3722_sd_get_mode()
498 ret = as3722_read(as3722, as3722_reg_lookup[id].control_reg, &val); in as3722_sd_get_mode()
[all …]
Dmax77620-regulator.c103 int id) in max77620_regulator_get_fps_src() argument
105 struct max77620_regulator_info *rinfo = pmic->rinfo[id]; in max77620_regulator_get_fps_src()
120 int fps_src, int id) in max77620_regulator_set_fps_src() argument
122 struct max77620_regulator_info *rinfo = pmic->rinfo[id]; in max77620_regulator_set_fps_src()
144 pmic->active_fps_src[id] = ret; in max77620_regulator_set_fps_src()
149 fps_src, id); in max77620_regulator_set_fps_src()
161 pmic->active_fps_src[id] = fps_src; in max77620_regulator_set_fps_src()
167 int id, bool is_suspend) in max77620_regulator_set_fps_slots() argument
169 struct max77620_regulator_pdata *rpdata = &pmic->reg_pdata[id]; in max77620_regulator_set_fps_slots()
170 struct max77620_regulator_info *rinfo = pmic->rinfo[id]; in max77620_regulator_set_fps_slots()
[all …]
/drivers/isdn/hardware/eicon/
Ddebug.c17 static void DI_format(int do_lock, word id, int type, char *format, va_list argument_list);
18 static void DI_format_locked(word id, int type, char *format, va_list argument_list);
19 static void DI_format_old(word id, char *format, va_list ap) { } in DI_format_old() argument
20 static void DiProcessEventLog(unsigned short id, unsigned long msgID, va_list ap) { } in DiProcessEventLog() argument
374 int id, free_id = -1, best_id = 0; in DI_register() local
383 ((hDbg->id == 0) && (((_OldDbgHandle_ *)hDbg)->id == -1)) || in DI_register()
390 for (id = 1; id < ARRAY_SIZE(clients); id++) { in DI_register()
391 if (clients[id].hDbg == hDbg) { in DI_register()
398 if (clients[id].hDbg) { /* slot is busy */ in DI_register()
401 free_id = id; in DI_register()
[all …]
/drivers/media/pci/saa7164/
Dsaa7164-cards.c65 .id = 0x1d,
72 .id = 0x04,
79 .id = 0x1b,
86 .id = 0x1e,
93 .id = 0x1f,
111 .id = 0x06,
118 .id = 0x04,
125 .id = 0x05,
132 .id = 0x1e,
139 .id = 0x1f,
[all …]
/drivers/ide/
Dide-iops.c48 void ide_fix_driveid(u16 *id) in ide_fix_driveid() argument
55 id[i] = __le16_to_cpu(id[i]); in ide_fix_driveid()
196 int ide_in_drive_list(u16 *id, const struct drive_list_entry *table) in ide_in_drive_list() argument
199 if ((!strcmp(table->id_model, (char *)&id[ATA_ID_PROD])) && in ide_in_drive_list()
201 strstr((char *)&id[ATA_ID_FW_REV], table->id_firmware))) in ide_in_drive_list()
231 u16 *id = drive->id; in eighty_ninty_three() local
232 int ivb = ide_in_drive_list(id, ivb_list); in eighty_ninty_three()
241 if (ata_id_is_sata(id) && !ivb) in eighty_ninty_three()
253 if (id[ATA_ID_HW_CONFIG] & 0x4000) in eighty_ninty_three()
257 const char *model = (char *)&id[ATA_ID_PROD]; in eighty_ninty_three()
[all …]
/drivers/net/ethernet/intel/fm10k/
Dfm10k_tlv.h79 unsigned int id; member
84 #define FM10K_TLV_ATTR_NULL_STRING(id, len) { id, FM10K_TLV_NULL_STRING, len } argument
85 #define FM10K_TLV_ATTR_MAC_ADDR(id) { id, FM10K_TLV_MAC_ADDR, 6 } argument
86 #define FM10K_TLV_ATTR_BOOL(id) { id, FM10K_TLV_BOOL, 0 } argument
87 #define FM10K_TLV_ATTR_U8(id) { id, FM10K_TLV_UNSIGNED, 1 } argument
88 #define FM10K_TLV_ATTR_U16(id) { id, FM10K_TLV_UNSIGNED, 2 } argument
89 #define FM10K_TLV_ATTR_U32(id) { id, FM10K_TLV_UNSIGNED, 4 } argument
90 #define FM10K_TLV_ATTR_U64(id) { id, FM10K_TLV_UNSIGNED, 8 } argument
91 #define FM10K_TLV_ATTR_S8(id) { id, FM10K_TLV_SIGNED, 1 } argument
92 #define FM10K_TLV_ATTR_S16(id) { id, FM10K_TLV_SIGNED, 2 } argument
[all …]
/drivers/infiniband/core/
Dcma.c269 struct rdma_cm_id id; member
323 struct rdma_id_private *id; member
331 struct rdma_id_private *id; member
337 struct rdma_id_private *id; member
441 id_priv->id.device = cma_dev->device; in _cma_attach_to_dev()
442 id_priv->id.route.addr.dev_addr.transport = in _cma_attach_to_dev()
452 cma_dev->default_gid_type[id_priv->id.port_num - in cma_attach_to_dev()
481 return (struct sockaddr *) &id_priv->id.route.addr.src_addr; in cma_src_addr()
486 return (struct sockaddr *) &id_priv->id.route.addr.dst_addr; in cma_dst_addr()
491 return id_priv->id.route.addr.src_addr.ss_family; in cma_family()
[all …]
/drivers/clk/versatile/
Dclk-impd1.c86 void integrator_impd1_clk_init(void __iomem *base, unsigned int id) in integrator_impd1_clk_init() argument
93 if (id > 3) { in integrator_impd1_clk_init()
97 imc = &impd1_clks[id]; in integrator_impd1_clk_init()
100 imc->pclkname = kasprintf(GFP_KERNEL, "lm%x-pclk", id); in integrator_impd1_clk_init()
104 imc->vco1name = kasprintf(GFP_KERNEL, "lm%x-vco1", id); in integrator_impd1_clk_init()
108 imc->clks[0] = clkdev_alloc(pclk, "apb_pclk", "lm%x:01000", id); in integrator_impd1_clk_init()
109 imc->clks[1] = clkdev_alloc(clk, NULL, "lm%x:01000", id); in integrator_impd1_clk_init()
112 imc->vco2name = kasprintf(GFP_KERNEL, "lm%x-vco2", id); in integrator_impd1_clk_init()
118 imc->clks[2] = clkdev_alloc(pclk, "apb_pclk", "lm%x:00700", id); in integrator_impd1_clk_init()
119 imc->clks[3] = clkdev_alloc(clk, NULL, "lm%x:00700", id); in integrator_impd1_clk_init()
[all …]
/drivers/usb/core/
Dotg_whitelist.h51 struct usb_device_id *id = whitelist_table; in is_targeted() local
66 for (id = whitelist_table; id->match_flags; id++) { in is_targeted()
67 if ((id->match_flags & USB_DEVICE_ID_MATCH_VENDOR) && in is_targeted()
68 id->idVendor != le16_to_cpu(dev->descriptor.idVendor)) in is_targeted()
71 if ((id->match_flags & USB_DEVICE_ID_MATCH_PRODUCT) && in is_targeted()
72 id->idProduct != le16_to_cpu(dev->descriptor.idProduct)) in is_targeted()
77 if ((id->match_flags & USB_DEVICE_ID_MATCH_DEV_LO) && in is_targeted()
78 (id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted()
81 if ((id->match_flags & USB_DEVICE_ID_MATCH_DEV_HI) && in is_targeted()
82 (id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted()
[all …]

12345678910>>...159