/drivers/gpu/drm/nouveau/core/subdev/therm/ |
D | nvd0.c | 59 int indx = pwm_info(therm, line); in nvd0_fan_pwm_ctrl() local 60 if (indx < 0) in nvd0_fan_pwm_ctrl() 61 return indx; in nvd0_fan_pwm_ctrl() 62 else if (indx < 2) in nvd0_fan_pwm_ctrl() 71 int indx = pwm_info(therm, line); in nvd0_fan_pwm_get() local 72 if (indx < 0) in nvd0_fan_pwm_get() 73 return indx; in nvd0_fan_pwm_get() 74 else if (indx < 2) { in nvd0_fan_pwm_get() 76 *divs = nv_rd32(therm, 0x00e114 + (indx * 8)); in nvd0_fan_pwm_get() 77 *duty = nv_rd32(therm, 0x00e118 + (indx * 8)); in nvd0_fan_pwm_get() [all …]
|
D | nv50.c | 33 pwm_info(struct nouveau_therm *therm, int *line, int *ctrl, int *indx) in pwm_info() argument 38 *indx = 0; in pwm_info() 43 *indx = 1; in pwm_info() 48 *indx = 0; in pwm_info()
|
/drivers/gpu/host1x/hw/ |
D | host1x04_hardware.h | 30 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument 32 return host1x_uclass_wait_syncpt_indx_f(indx) in host1x_class_host_wait_syncpt() 37 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument 39 return host1x_uclass_load_syncpt_base_base_indx_f(indx) in host1x_class_host_load_syncpt_base() 44 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument 46 return host1x_uclass_wait_syncpt_base_indx_f(indx) in host1x_class_host_wait_syncpt_base() 59 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument 62 | host1x_uclass_incr_syncpt_indx_f(indx); in host1x_class_host_incr_syncpt() 114 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument 117 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
|
D | host1x02_hardware.h | 30 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument 32 return host1x_uclass_wait_syncpt_indx_f(indx) in host1x_class_host_wait_syncpt() 37 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument 39 return host1x_uclass_load_syncpt_base_base_indx_f(indx) in host1x_class_host_load_syncpt_base() 44 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument 46 return host1x_uclass_wait_syncpt_base_indx_f(indx) in host1x_class_host_wait_syncpt_base() 59 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument 62 | host1x_uclass_incr_syncpt_indx_f(indx); in host1x_class_host_incr_syncpt() 114 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument 117 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
|
D | host1x01_hardware.h | 30 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument 32 return host1x_uclass_wait_syncpt_indx_f(indx) in host1x_class_host_wait_syncpt() 37 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument 39 return host1x_uclass_load_syncpt_base_base_indx_f(indx) in host1x_class_host_load_syncpt_base() 44 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument 46 return host1x_uclass_wait_syncpt_base_indx_f(indx) in host1x_class_host_wait_syncpt_base() 59 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument 62 | host1x_uclass_incr_syncpt_indx_f(indx); in host1x_class_host_incr_syncpt() 115 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument 118 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
|
/drivers/thermal/ |
D | thermal_core.c | 1363 int indx; in create_trip_attrs() local 1386 for (indx = 0; indx < tz->trips; indx++) { in create_trip_attrs() 1388 snprintf(tz->trip_type_attrs[indx].name, THERMAL_NAME_LENGTH, in create_trip_attrs() 1389 "trip_point_%d_type", indx); in create_trip_attrs() 1391 sysfs_attr_init(&tz->trip_type_attrs[indx].attr.attr); in create_trip_attrs() 1392 tz->trip_type_attrs[indx].attr.attr.name = in create_trip_attrs() 1393 tz->trip_type_attrs[indx].name; in create_trip_attrs() 1394 tz->trip_type_attrs[indx].attr.attr.mode = S_IRUGO; in create_trip_attrs() 1395 tz->trip_type_attrs[indx].attr.show = trip_point_type_show; in create_trip_attrs() 1398 &tz->trip_type_attrs[indx].attr); in create_trip_attrs() [all …]
|
/drivers/staging/ft1000/ft1000-usb/ |
D | ft1000_usb.h | 112 u16 indx, u8 *buffer, u16 cnt); 114 u16 indx, u8 *buffer, u16 cnt); 116 u16 indx, u8 *buffer, u8 highlow); 118 u16 indx, u16 value, u8 highlow); 120 u16 indx, u8 *buffer); 122 u16 indx, u8 *buffer);
|
D | ft1000_hw.c | 107 int ft1000_read_dpram32(struct ft1000_usb *ft1000dev, u16 indx, u8 *buffer, in ft1000_read_dpram32() argument 117 indx, in ft1000_read_dpram32() 126 int ft1000_write_dpram32(struct ft1000_usb *ft1000dev, u16 indx, u8 *buffer, in ft1000_write_dpram32() argument 139 indx, in ft1000_write_dpram32() 148 int ft1000_read_dpram16(struct ft1000_usb *ft1000dev, u16 indx, u8 *buffer, in ft1000_read_dpram16() argument 164 indx, in ft1000_read_dpram16() 173 int ft1000_write_dpram16(struct ft1000_usb *ft1000dev, u16 indx, u16 value, in ft1000_write_dpram16() argument 189 indx, in ft1000_write_dpram16() 198 int fix_ft1000_read_dpram32(struct ft1000_usb *ft1000dev, u16 indx, in fix_ft1000_read_dpram32() argument 205 pos = (indx / 4) * 4; in fix_ft1000_read_dpram32() [all …]
|
/drivers/isdn/i4l/ |
D | isdn_bsdcomp.c | 381 int indx; in bsd_init() local 400 for (indx = LAST; indx >= 0; indx--) in bsd_init() 401 db->lens[indx] = 1; in bsd_init() 403 indx = db->hsize; in bsd_init() 404 while (indx-- != 0) { in bsd_init() 405 db->dict[indx].codem1 = BADCODEM1; in bsd_init() 406 db->dict[indx].cptr = 0; in bsd_init() 548 int indx; in bsd_compress() local 561 indx = dictp2->cptr; in bsd_compress() 562 dictp3 = dict_ptr(db, indx); in bsd_compress() [all …]
|
/drivers/net/wireless/rsi/ |
D | rsi_91x_usb_ops.c | 40 u32 indx, ii; in rsi_copy_to_card() local 47 for (indx = 0, ii = 0; ii < num_blocks; ii++, indx += block_size) { in rsi_copy_to_card() 51 (u8 *)(fw + indx), in rsi_copy_to_card() 66 (u8 *)(fw + indx), in rsi_copy_to_card()
|
D | rsi_91x_sdio_ops.c | 83 u32 indx, ii; in rsi_copy_to_card() local 96 for (indx = 0, ii = 0; ii < num_blocks; ii++, indx += block_size) { in rsi_copy_to_card() 100 (u8 *)(fw + indx), in rsi_copy_to_card() 125 (u8 *)(fw + indx), in rsi_copy_to_card()
|
/drivers/net/ppp/ |
D | bsd_comp.c | 467 int indx; in bsd_init() local 479 indx = LAST; in bsd_init() 482 db->lens[indx] = 1; in bsd_init() 484 while (indx-- > 0); in bsd_init() 487 indx = db->hsize; in bsd_init() 488 while (indx-- != 0) in bsd_init() 490 db->dict[indx].codem1 = BADCODEM1; in bsd_init() 491 db->dict[indx].cptr = 0; in bsd_init() 702 int indx; in bsd_compress() local 716 indx = dictp2->cptr; in bsd_compress() [all …]
|
/drivers/scsi/ |
D | aha1542.c | 976 int indx; in aha1542_detect() local 1016 for(indx = 0; indx < ARRAY_SIZE(bases); indx++) { in aha1542_detect() 1017 if(bases[indx]) in aha1542_detect() 1040 bases[indx] = pnp_port_start(pdev, 0); in aha1542_detect() 1045 printk(KERN_INFO "ISAPnP found an AHA1535 at I/O 0x%03X\n", bases[indx]); in aha1542_detect() 1048 for (indx = 0; indx < ARRAY_SIZE(bases); indx++) in aha1542_detect() 1049 if (bases[indx] != 0 && request_region(bases[indx], 4, "aha1542")) { in aha1542_detect() 1054 release_region(bases[indx], 4); in aha1542_detect() 1057 if (!aha1542_test_port(bases[indx], shpnt)) in aha1542_detect() 1060 base_io = bases[indx]; in aha1542_detect() [all …]
|
/drivers/hwmon/ |
D | coretemp.c | 556 int indx) in coretemp_remove_core() argument 558 struct temp_data *tdata = pdata->core_data[indx]; in coretemp_remove_core() 563 kfree(pdata->core_data[indx]); in coretemp_remove_core() 564 pdata->core_data[indx] = NULL; in coretemp_remove_core() 724 int i, indx; in put_core_offline() local 734 indx = TO_ATTR_NO(cpu); in put_core_offline() 737 if (indx > MAX_CORE_DATA - 1) in put_core_offline() 740 if (pdata->core_data[indx] && pdata->core_data[indx]->cpu == cpu) in put_core_offline() 741 coretemp_remove_core(pdata, indx); in put_core_offline()
|
D | w83791d.c | 595 int indx = 0; in store_fan_div() local 613 indx = 0; in store_fan_div() 618 indx = 0; in store_fan_div() 623 indx = 1; in store_fan_div() 628 indx = 2; in store_fan_div() 633 indx = 2; in store_fan_div() 645 fan_div_reg = w83791d_read(client, W83791D_REG_FAN_DIV[indx]) in store_fan_div() 649 w83791d_write(client, W83791D_REG_FAN_DIV[indx], in store_fan_div()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma.h | 503 int indx; in ocrdma_get_eq_table_index() local 505 for (indx = 0; indx < dev->eq_cnt; indx++) { in ocrdma_get_eq_table_index() 506 if (dev->eq_tbl[indx].q.id == eqid) in ocrdma_get_eq_table_index() 507 return indx; in ocrdma_get_eq_table_index()
|
D | ocrdma_verbs.c | 994 u32 irq, indx; in ocrdma_destroy_cq() local 997 indx = ocrdma_get_eq_table_index(dev, cq->eqn); in ocrdma_destroy_cq() 998 if (indx == -EINVAL) in ocrdma_destroy_cq() 1001 eq = &dev->eq_tbl[indx]; in ocrdma_destroy_cq() 2232 int indx = 0; in ocrdma_srq_get_idx() local 2236 indx = ffs(srq->idx_bit_fields[row]); in ocrdma_srq_get_idx() 2237 indx = (row * 32) + (indx - 1); in ocrdma_srq_get_idx() 2238 if (indx >= srq->rq.max_cnt) in ocrdma_srq_get_idx() 2240 ocrdma_srq_toggle_bit(srq, indx); in ocrdma_srq_get_idx() 2247 return indx + 1; /* Use from index 1 */ in ocrdma_srq_get_idx()
|
D | ocrdma_hw.c | 2684 int status = -EINVAL, indx, slindx; in ocrdma_parse_dcbxcfg_rsp() local 2715 for (indx = 0; indx < ventry_cnt; indx++) { in ocrdma_parse_dcbxcfg_rsp() 2716 app_param = &dcbxcfg->app_param[indx]; in ocrdma_parse_dcbxcfg_rsp() 2758 int status = 0, indx; in ocrdma_init_service_level() local 2763 for (indx = 0; indx < 2; indx++) { in ocrdma_init_service_level()
|
/drivers/net/usb/ |
D | rtl8150.c | 156 static int get_registers(rtl8150_t * dev, u16 indx, u16 size, void *data) in get_registers() argument 167 indx, 0, buf, size, 500); in get_registers() 174 static int set_registers(rtl8150_t * dev, u16 indx, u16 size, const void *data) in set_registers() argument 185 indx, 0, buf, size, 500); in set_registers() 201 static int async_set_registers(rtl8150_t *dev, u16 indx, u16 size, u16 reg) in async_set_registers() argument 219 req->dr.wValue = cpu_to_le16(indx); in async_set_registers() 233 static int read_mii_word(rtl8150_t * dev, u8 phy, __u8 indx, u16 * reg) in read_mii_word() argument 240 tmp = indx | PHY_READ | PHY_GO; in read_mii_word() 257 static int write_mii_word(rtl8150_t * dev, u8 phy, __u8 indx, u16 reg) in write_mii_word() argument 265 tmp = indx | PHY_WRITE | PHY_GO; in write_mii_word()
|
D | pegasus.c | 127 static int get_registers(pegasus_t *pegasus, __u16 indx, __u16 size, void *data) in get_registers() argument 138 indx, buf, size, 1000); in get_registers() 148 static int set_registers(pegasus_t *pegasus, __u16 indx, __u16 size, in set_registers() argument 160 indx, buf, size, 100); in set_registers() 168 static int set_register(pegasus_t *pegasus, __u16 indx, __u8 data) in set_register() argument 179 indx, buf, 1, 1000); in set_register() 222 static int __mii_op(pegasus_t *p, __u8 phy, __u8 indx, __u16 *regd, __u8 cmd) in __mii_op() argument 225 __u8 data[4] = { phy, 0, 0, indx }; in __mii_op() 235 set_register(p, PhyCtrl, (indx | cmd)); in __mii_op() 257 static int read_mii_word(pegasus_t *pegasus, __u8 phy, __u8 indx, __u16 *regd) in read_mii_word() argument [all …]
|
/drivers/char/ |
D | mmtimer.c | 529 unsigned indx = cpu_to_node(smp_processor_id()); in mmtimer_interrupt() local 532 spin_lock(&timers[indx].lock); in mmtimer_interrupt() 533 base = rb_entry(timers[indx].next, struct mmtimer, list); in mmtimer_interrupt() 535 spin_unlock(&timers[indx].lock); in mmtimer_interrupt() 546 tasklet_schedule(&timers[indx].tasklet); in mmtimer_interrupt() 550 spin_unlock(&timers[indx].lock); in mmtimer_interrupt()
|
/drivers/staging/rtl8192u/ |
D | r8192U_core.c | 236 void write_nic_byte_E(struct net_device *dev, int indx, u8 data) in write_nic_byte_E() argument 244 indx|0xfe00, 0, &data, 1, HZ / 2); in write_nic_byte_E() 250 int read_nic_byte_E(struct net_device *dev, int indx, u8 *data) in read_nic_byte_E() argument 258 indx|0xfe00, 0, data, 1, HZ / 2); in read_nic_byte_E() 268 void write_nic_byte(struct net_device *dev, int indx, u8 data) in write_nic_byte() argument 277 (indx&0xff)|0xff00, (indx>>8)&0x0f, &data, 1, HZ / 2); in write_nic_byte() 286 void write_nic_word(struct net_device *dev, int indx, u16 data) in write_nic_word() argument 296 (indx&0xff)|0xff00, (indx>>8)&0x0f, &data, 2, HZ / 2); in write_nic_word() 304 void write_nic_dword(struct net_device *dev, int indx, u32 data) in write_nic_dword() argument 314 (indx&0xff)|0xff00, (indx>>8)&0x0f, &data, 4, HZ / 2); in write_nic_dword() [all …]
|
/drivers/crypto/ |
D | picoxcell_crypto.c | 202 unsigned indx, in spacc_ctx_page_addr() argument 206 (indx * ctx->engine->cipher_pg_sz) : in spacc_ctx_page_addr() 207 ctx->engine->hash_key_base + (indx * ctx->engine->hash_pg_sz); in spacc_ctx_page_addr() 241 unsigned indx = ctx->engine->next_ctx++; in spacc_load_ctx() local 244 ciph_page_addr = spacc_ctx_page_addr(ctx, indx, 1); in spacc_load_ctx() 245 hash_page_addr = spacc_ctx_page_addr(ctx, indx, 0); in spacc_load_ctx() 250 writel(ciph_len | (indx << SPA_KEY_SZ_CTX_INDEX_OFFSET) | in spacc_load_ctx() 256 writel(hash_len | (indx << SPA_KEY_SZ_CTX_INDEX_OFFSET), in spacc_load_ctx() 260 return indx; in spacc_load_ctx()
|
/drivers/target/ |
D | target_core_stat.c | 95 DEV_STAT_SCSI_DEV_ATTR_RO(indx); 172 DEV_STAT_SCSI_TGT_DEV_ATTR_RO(indx); 287 DEV_STAT_SCSI_LU_ATTR_RO(indx); 601 DEV_STAT_SCSI_PORT_ATTR_RO(indx); 744 DEV_STAT_SCSI_TGT_PORT_ATTR_RO(indx); 987 DEV_STAT_SCSI_TRANSPORT_ATTR_RO(indx); 1171 DEV_STAT_SCSI_AUTH_INTR_ATTR_RO(indx); 1541 DEV_STAT_SCSI_ATTR_INTR_PORT_ATTR_RO(indx);
|
/drivers/target/iscsi/ |
D | iscsi_target_stat.c | 334 ISCSI_STAT_TGT_ATTR_RO(indx); 498 ISCSI_STAT_LOGIN_RO(indx); 655 ISCSI_STAT_LOGOUT_RO(indx); 778 ISCSI_STAT_SESS_RO(indx);
|