Home
last modified time | relevance | path

Searched refs:indx (Results 1 – 25 of 57) sorted by relevance

123

/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dgf119.c57 int indx = pwm_info(therm, line); in gf119_fan_pwm_ctrl() local
58 if (indx < 0) in gf119_fan_pwm_ctrl()
59 return indx; in gf119_fan_pwm_ctrl()
60 else if (indx < 2) in gf119_fan_pwm_ctrl()
70 int indx = pwm_info(therm, line); in gf119_fan_pwm_get() local
71 if (indx < 0) in gf119_fan_pwm_get()
72 return indx; in gf119_fan_pwm_get()
73 else if (indx < 2) { in gf119_fan_pwm_get()
75 *divs = nvkm_rd32(device, 0x00e114 + (indx * 8)); in gf119_fan_pwm_get()
76 *duty = nvkm_rd32(device, 0x00e118 + (indx * 8)); in gf119_fan_pwm_get()
[all …]
H A Dnv50.c28 pwm_info(struct nvkm_therm *therm, int *line, int *ctrl, int *indx) in pwm_info() argument
35 *indx = 0; in pwm_info()
40 *indx = 1; in pwm_info()
45 *indx = 0; in pwm_info()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dbitmap.h318 unsigned int indx; member
331 : indx (0), tree_form (false), padding (0), alloc_descriptor (0), first (NULL), in class()
335 unsigned int indx; in class() local
461 head->indx = head->tree_form = 0; in bitmap_initialize()
546 if (bi->elt1->indx >= start_bit / BITMAP_ELEMENT_ALL_BITS) in bmp_iter_set_init()
552 if (bi->elt1->indx != start_bit / BITMAP_ELEMENT_ALL_BITS) in bmp_iter_set_init()
553 start_bit = bi->elt1->indx * BITMAP_ELEMENT_ALL_BITS; in bmp_iter_set_init()
591 if (bi->elt1->indx >= start_bit / BITMAP_ELEMENT_ALL_BITS) in bmp_iter_and_init()
605 if (bi->elt2->indx >= bi->elt1->indx) in bmp_iter_and_init()
611 if (bi->elt1->indx == bi->elt2->indx) in bmp_iter_and_init()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dbitmap.h318 unsigned int indx; member
331 : indx (0), tree_form (false), padding (0), alloc_descriptor (0), first (NULL), in class()
335 unsigned int indx; in class() local
461 head->indx = head->tree_form = 0; in bitmap_initialize()
546 if (bi->elt1->indx >= start_bit / BITMAP_ELEMENT_ALL_BITS) in bmp_iter_set_init()
552 if (bi->elt1->indx != start_bit / BITMAP_ELEMENT_ALL_BITS) in bmp_iter_set_init()
553 start_bit = bi->elt1->indx * BITMAP_ELEMENT_ALL_BITS; in bmp_iter_set_init()
591 if (bi->elt1->indx >= start_bit / BITMAP_ELEMENT_ALL_BITS) in bmp_iter_and_init()
605 if (bi->elt2->indx >= bi->elt1->indx) in bmp_iter_and_init()
611 if (bi->elt1->indx == bi->elt2->indx) in bmp_iter_and_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/host1x/hw/
H A Dhost1x05_hardware.h19 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument
21 return host1x_uclass_wait_syncpt_indx_f(indx) in host1x_class_host_wait_syncpt()
26 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument
28 return host1x_uclass_load_syncpt_base_base_indx_f(indx) in host1x_class_host_load_syncpt_base()
33 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument
35 return host1x_uclass_wait_syncpt_base_indx_f(indx) in host1x_class_host_wait_syncpt_base()
48 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument
51 | host1x_uclass_incr_syncpt_indx_f(indx); in host1x_class_host_incr_syncpt()
103 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument
106 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
H A Dhost1x02_hardware.h19 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument
21 return host1x_uclass_wait_syncpt_indx_f(indx) in host1x_class_host_wait_syncpt()
26 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument
28 return host1x_uclass_load_syncpt_base_base_indx_f(indx) in host1x_class_host_load_syncpt_base()
33 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument
35 return host1x_uclass_wait_syncpt_base_indx_f(indx) in host1x_class_host_wait_syncpt_base()
48 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument
51 | host1x_uclass_incr_syncpt_indx_f(indx); in host1x_class_host_incr_syncpt()
103 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument
106 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
H A Dhost1x01_hardware.h19 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument
21 return host1x_uclass_wait_syncpt_indx_f(indx) in host1x_class_host_wait_syncpt()
26 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument
28 return host1x_uclass_load_syncpt_base_base_indx_f(indx) in host1x_class_host_load_syncpt_base()
33 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument
35 return host1x_uclass_wait_syncpt_base_indx_f(indx) in host1x_class_host_wait_syncpt_base()
48 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument
51 | host1x_uclass_incr_syncpt_indx_f(indx); in host1x_class_host_incr_syncpt()
104 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument
107 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
H A Dhost1x04_hardware.h19 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument
21 return host1x_uclass_wait_syncpt_indx_f(indx) in host1x_class_host_wait_syncpt()
26 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument
28 return host1x_uclass_load_syncpt_base_base_indx_f(indx) in host1x_class_host_load_syncpt_base()
33 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument
35 return host1x_uclass_wait_syncpt_base_indx_f(indx) in host1x_class_host_wait_syncpt_base()
48 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument
51 | host1x_uclass_incr_syncpt_indx_f(indx); in host1x_class_host_incr_syncpt()
103 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument
106 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
H A Dhost1x07_hardware.h20 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument
22 return host1x_uclass_wait_syncpt_indx_f(indx) in host1x_class_host_wait_syncpt()
27 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument
29 return host1x_uclass_load_syncpt_base_base_indx_f(indx) in host1x_class_host_load_syncpt_base()
34 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument
36 return host1x_uclass_wait_syncpt_base_indx_f(indx) in host1x_class_host_wait_syncpt_base()
49 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument
52 | host1x_uclass_incr_syncpt_indx_f(indx); in host1x_class_host_incr_syncpt()
104 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument
107 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
H A Dhost1x06_hardware.h20 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument
22 return host1x_uclass_wait_syncpt_indx_f(indx) in host1x_class_host_wait_syncpt()
27 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument
29 return host1x_uclass_load_syncpt_base_base_indx_f(indx) in host1x_class_host_load_syncpt_base()
34 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument
36 return host1x_uclass_wait_syncpt_base_indx_f(indx) in host1x_class_host_wait_syncpt_base()
49 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument
52 | host1x_uclass_incr_syncpt_indx_f(indx); in host1x_class_host_incr_syncpt()
104 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument
107 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
/OK3568_Linux_fs/kernel/drivers/thermal/
H A Dthermal_sysfs.c497 int indx; in create_trip_attrs() local
535 for (indx = 0; indx < tz->trips; indx++) { in create_trip_attrs()
537 snprintf(tz->trip_type_attrs[indx].name, THERMAL_NAME_LENGTH, in create_trip_attrs()
538 "trip_point_%d_type", indx); in create_trip_attrs()
540 sysfs_attr_init(&tz->trip_type_attrs[indx].attr.attr); in create_trip_attrs()
541 tz->trip_type_attrs[indx].attr.attr.name = in create_trip_attrs()
542 tz->trip_type_attrs[indx].name; in create_trip_attrs()
543 tz->trip_type_attrs[indx].attr.attr.mode = S_IRUGO; in create_trip_attrs()
544 tz->trip_type_attrs[indx].attr.show = trip_point_type_show; in create_trip_attrs()
545 attrs[indx] = &tz->trip_type_attrs[indx].attr.attr; in create_trip_attrs()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/sysdev/xics/
H A Dicp-native.c256 unsigned int *indx) in icp_native_init_one_node() argument
277 *indx = of_read_number(ireg, 1); in icp_native_init_one_node()
303 " for interrupt server 0x%x (%d)\n", *indx, err); in icp_native_init_one_node()
307 if (icp_native_map_one_cpu(*indx, r.start, resource_size(&r))) in icp_native_init_one_node()
310 (*indx)++; in icp_native_init_one_node()
330 u32 indx = 0; in icp_native_init() local
334 if (icp_native_init_one_node(np, &indx) == 0) in icp_native_init()
339 if (icp_native_init_one_node(np, &indx) == 0) in icp_native_init()
/OK3568_Linux_fs/kernel/drivers/net/ppp/
H A Dbsd_comp.c467 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 …]
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dcoretemp.c535 static void coretemp_remove_core(struct platform_data *pdata, int indx) in coretemp_remove_core() argument
537 struct temp_data *tdata = pdata->core_data[indx]; in coretemp_remove_core()
546 kfree(pdata->core_data[indx]); in coretemp_remove_core()
547 pdata->core_data[indx] = NULL; in coretemp_remove_core()
549 if (indx >= BASE_SYSFS_ATTR_NO) in coretemp_remove_core()
550 ida_free(&pdata->ida, indx - BASE_SYSFS_ATTR_NO); in coretemp_remove_core()
676 int i, indx = -1, target; in coretemp_cpu_offline() local
693 indx = i + BASE_SYSFS_ATTR_NO; in coretemp_cpu_offline()
699 if (indx < 0) in coretemp_cpu_offline()
702 tdata = pd->core_data[indx]; in coretemp_cpu_offline()
[all …]
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Daha1542.c729 …c struct Scsi_Host *aha1542_hw_init(struct scsi_host_template *tpnt, struct device *pdev, int indx) in aha1542_hw_init() argument
731 unsigned int base_io = io[indx]; in aha1542_hw_init()
756 aha1542_set_bus_times(sh, bus_on[indx], bus_off[indx], dma_speed[indx]); in aha1542_hw_init()
1054 int indx; in aha1542_pnp_probe() local
1057 for (indx = 0; indx < ARRAY_SIZE(io); indx++) { in aha1542_pnp_probe()
1058 if (io[indx]) in aha1542_pnp_probe()
1064 io[indx] = pnp_port_start(pdev, 0); in aha1542_pnp_probe()
1069 dev_info(&pdev->dev, "ISAPnP found an AHA1535 at I/O 0x%03X", io[indx]); in aha1542_pnp_probe()
1072 sh = aha1542_hw_init(&driver_template, &pdev->dev, indx); in aha1542_pnp_probe()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/bnxt_re/
H A Dmain.c263 int indx; in bnxt_re_stop_irq() local
265 for (indx = BNXT_RE_NQ_IDX; indx < rdev->num_msix; indx++) { in bnxt_re_stop_irq()
266 nq = &rdev->nq[indx - 1]; in bnxt_re_stop_irq()
279 int indx, rc; in bnxt_re_start_irq() local
294 for (indx = 0; indx < rdev->num_msix; indx++) in bnxt_re_start_irq()
295 rdev->msix_entries[indx].vector = ent[indx].vector; in bnxt_re_start_irq()
299 for (indx = BNXT_RE_NQ_IDX ; indx < rdev->num_msix; indx++) { in bnxt_re_start_irq()
300 nq = &rdev->nq[indx - 1]; in bnxt_re_start_irq()
301 rc = bnxt_qplib_nq_start_irq(nq, indx - 1, in bnxt_re_start_irq()
302 msix_ent[indx].vector, false); in bnxt_re_start_irq()
[all …]
H A Dqplib_fp.h600 int indx; in bnxt_qplib_calc_ilsize() local
602 for (indx = 0; indx < wqe->num_sge; indx++) in bnxt_qplib_calc_ilsize()
603 size += wqe->sg_list[indx].size; in bnxt_qplib_calc_ilsize()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/ocrdma/
H A Docrdma.h556 int indx; in ocrdma_get_eq_table_index() local
558 for (indx = 0; indx < dev->eq_cnt; indx++) { in ocrdma_get_eq_table_index()
559 if (dev->eq_tbl[indx].q.id == eqid) in ocrdma_get_eq_table_index()
560 return indx; in ocrdma_get_eq_table_index()
/OK3568_Linux_fs/kernel/drivers/net/usb/
H A Drtl8150.c153 static int get_registers(rtl8150_t * dev, u16 indx, u16 size, void *data) in get_registers() argument
156 RTL8150_REQT_READ, indx, 0, data, size, in get_registers()
160 static int set_registers(rtl8150_t * dev, u16 indx, u16 size, const void *data) in set_registers() argument
163 RTL8150_REQT_WRITE, indx, 0, data, size, in set_registers()
178 static int async_set_registers(rtl8150_t *dev, u16 indx, u16 size, u16 reg) in async_set_registers() argument
196 req->dr.wValue = cpu_to_le16(indx); in async_set_registers()
210 static int read_mii_word(rtl8150_t * dev, u8 phy, __u8 indx, u16 * reg) in read_mii_word() argument
217 tmp = indx | PHY_READ | PHY_GO; in read_mii_word()
234 static int write_mii_word(rtl8150_t * dev, u8 phy, __u8 indx, u16 reg) in write_mii_word() argument
242 tmp = indx | PHY_WRITE | PHY_GO; in write_mii_word()
H A Dpegasus.c125 static int get_registers(pegasus_t *pegasus, __u16 indx, __u16 size, void *data) in get_registers() argument
128 PEGASUS_REQT_READ, 0, indx, data, size, in get_registers()
132 static int set_registers(pegasus_t *pegasus, __u16 indx, __u16 size, in set_registers() argument
138 PEGASUS_REQT_WRITE, 0, indx, data, size, in set_registers()
151 static int set_register(pegasus_t *pegasus, __u16 indx, __u8 data) in set_register() argument
157 PEGASUS_REQT_WRITE, data, indx, buf, 1, in set_register()
200 static int __mii_op(pegasus_t *p, __u8 phy, __u8 indx, __u16 *regd, __u8 cmd) in __mii_op() argument
204 __u8 data[4] = { phy, 0, 0, indx }; in __mii_op()
212 set_register(p, PhyCtrl, (indx | cmd)); in __mii_op()
237 static int read_mii_word(pegasus_t *pegasus, __u8 phy, __u8 indx, __u16 *regd) in read_mii_word() argument
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86VidMode.c54 xf86VidModeGetMonitorValue(ScreenPtr pScreen, int valtyp, int indx) in xf86VidModeGetMonitorValue() argument
77 ret.f = (100.0 * monitor->hsync[indx].lo); in xf86VidModeGetMonitorValue()
80 ret.f = (100.0 * monitor->hsync[indx].hi); in xf86VidModeGetMonitorValue()
83 ret.f = (100.0 * monitor->vrefresh[indx].lo); in xf86VidModeGetMonitorValue()
86 ret.f = (100.0 * monitor->vrefresh[indx].hi); in xf86VidModeGetMonitorValue()
/OK3568_Linux_fs/external/xserver/hw/xfree86/dri/
H A Ddri.h132 void (*InitBuffers) (WindowPtr pWin, RegionPtr prgn, CARD32 indx);
134 DDXPointRec ptOldOrg, RegionPtr prgnSrc, CARD32 indx);
138 void (*SetDrawableIndex) (WindowPtr pWin, CARD32 indx);
240 unsigned int *indx,
/OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/hpre/
H A Dhpre_main.c589 enum hpre_ctrl_dbgfs_file type, int indx) in hpre_create_debugfs_file() argument
603 spin_lock_init(&dbg->files[indx].lock); in hpre_create_debugfs_file()
604 dbg->files[indx].debug = dbg; in hpre_create_debugfs_file()
605 dbg->files[indx].type = type; in hpre_create_debugfs_file()
606 dbg->files[indx].index = indx; in hpre_create_debugfs_file()
608 dbg->files + indx, &hpre_ctrl_debug_fops); in hpre_create_debugfs_file()
/OK3568_Linux_fs/kernel/arch/x86/lib/
H A Dinsn-eval.c1115 long base, indx; in get_eff_addr_sib() local
1155 indx = 0; in get_eff_addr_sib()
1159 indx = regs_get_register(regs, indx_offset); in get_eff_addr_sib()
1165 idx32 = indx & 0xffffffff; in get_eff_addr_sib()
1172 *eff_addr = base + indx * (1 << X86_SIB_SCALE(insn->sib.value)); in get_eff_addr_sib()
/OK3568_Linux_fs/kernel/drivers/target/
H A Dtarget_core_stat.c74 CONFIGFS_ATTR_RO(target_stat_, indx);
163 CONFIGFS_ATTR_RO(target_stat_tgt_, indx);
347 CONFIGFS_ATTR_RO(target_stat_lu_, indx);
499 CONFIGFS_ATTR_RO(target_stat_port_, indx);
675 CONFIGFS_ATTR_RO(target_stat_tgt_port_, indx);
803 CONFIGFS_ATTR_RO(target_stat_transport_, indx);
1148 CONFIGFS_ATTR_RO(target_stat_auth_, indx);
1336 CONFIGFS_ATTR_RO(target_stat_iport_, indx);

123