/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | gf119.c | 59 if (indx < 0) in gf119_fan_pwm_ctrl() 60 return indx; in gf119_fan_pwm_ctrl() 61 else if (indx < 2) in gf119_fan_pwm_ctrl() 72 if (indx < 0) in gf119_fan_pwm_get() 73 return indx; in gf119_fan_pwm_get() 74 else if (indx < 2) { in gf119_fan_pwm_get() 94 if (indx < 0) in gf119_fan_pwm_set() 95 return indx; in gf119_fan_pwm_set() 96 else if (indx < 2) { in gf119_fan_pwm_set() 111 if (indx < 0) in gf119_fan_pwm_clock() [all …]
|
H A D | nv50.c | 28 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()
|
/openbmc/linux/fs/ntfs3/ |
H A D | index.c | 870 run_close(&indx->alloc_run); in indx_clear() 891 indx->type = type; in indx_init() 918 init_rwsem(&indx->run_lock); in indx_init() 921 if (!indx->cmp) in indx_init() 1736 indx_mark_used(indx, ni, new_vbn >> indx->idx2vbn_bits); in indx_insert_into_root() 1767 indx_write(indx, ni, n, 0); in indx_insert_into_root() 1882 hdr_insert_de(indx, in indx_insert_into_buffer() 1890 indx_mark_used(indx, ni, new_vbn >> indx->idx2vbn_bits); in indx_insert_into_buffer() 1917 indx_mark_free(indx, ni, new_vbn >> indx->idx2vbn_bits); in indx_insert_into_buffer() 2241 indx_write(indx, ni, n, 0); in indx_get_entry_to_replace() [all …]
|
H A D | fsntfs.c | 1986 struct ntfs_index *indx = &sbi->security.index_sii; in ntfs_get_security_by_id() local 2004 root_sii = indx_get_root(indx, ni, NULL, NULL); in ntfs_get_security_by_id() 2287 struct ntfs_index *indx = &sbi->reparse.index_r; in ntfs_reparse_init() local 2310 err = indx_init(indx, sbi, attr, INDEX_MUTEX_SR); in ntfs_reparse_init() 2325 struct ntfs_index *indx = &sbi->objid.index_o; in ntfs_objid_init() local 2348 err = indx_init(indx, sbi, attr, INDEX_MUTEX_SO); in ntfs_objid_init() 2360 struct ntfs_index *indx = &sbi->objid.index_o; in ntfs_objid_remove() local 2380 struct ntfs_index *indx = &sbi->reparse.index_r; in ntfs_insert_reparse() local 2397 err = indx_insert_entry(indx, ni, &re.de, NULL, NULL, 0); in ntfs_insert_reparse() 2410 struct ntfs_index *indx = &sbi->reparse.index_r; in ntfs_remove_reparse() local [all …]
|
H A D | ntfs_fs.h | 660 int indx_used_bit(struct ntfs_index *indx, struct ntfs_inode *ni, size_t *bit); 674 int indx_init(struct ntfs_index *indx, struct ntfs_sb_info *sbi, 676 struct INDEX_ROOT *indx_get_root(struct ntfs_index *indx, struct ntfs_inode *ni, 680 int indx_find(struct ntfs_index *indx, struct ntfs_inode *dir, 684 int indx_find_sort(struct ntfs_index *indx, struct ntfs_inode *ni, 687 int indx_find_raw(struct ntfs_index *indx, struct ntfs_inode *ni, 690 int indx_insert_entry(struct ntfs_index *indx, struct ntfs_inode *ni, 693 int indx_delete_entry(struct ntfs_index *indx, struct ntfs_inode *ni,
|
/openbmc/linux/drivers/gpu/host1x/hw/ |
H A D | opcodes.h | 14 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument 16 return host1x_uclass_wait_syncpt_indx_f(indx) in host1x_class_host_wait_syncpt() 21 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument 23 return host1x_uclass_load_syncpt_base_base_indx_f(indx) in host1x_class_host_load_syncpt_base() 28 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() argument 30 return host1x_uclass_wait_syncpt_base_indx_f(indx) in host1x_class_host_wait_syncpt_base() 43 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument 46 | host1x_uclass_incr_syncpt_indx_f(indx); in host1x_class_host_incr_syncpt() 97 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument 100 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
|
/openbmc/linux/drivers/thermal/ |
H A D | thermal_sysfs.c | 437 int indx; in create_trip_attrs() local 472 for (indx = 0; indx < tz->num_trips; indx++) { in create_trip_attrs() 475 "trip_point_%d_type", indx); in create_trip_attrs() 479 tz->trip_type_attrs[indx].name; in create_trip_attrs() 482 attrs[indx] = &tz->trip_type_attrs[indx].attr.attr; in create_trip_attrs() 486 "trip_point_%d_temp", indx); in create_trip_attrs() 494 mask & (1 << indx)) { in create_trip_attrs() 499 attrs[indx + tz->num_trips] = &tz->trip_temp_attrs[indx].attr.attr; in create_trip_attrs() 502 "trip_point_%d_hyst", indx); in create_trip_attrs() 506 tz->trip_hyst_attrs[indx].name; in create_trip_attrs() [all …]
|
/openbmc/linux/arch/powerpc/sysdev/xics/ |
H A D | icp-native.c | 257 unsigned int *indx) in icp_native_init_one_node() argument 278 *indx = of_read_number(ireg, 1); in icp_native_init_one_node() 297 " for interrupt server 0x%x (%d)\n", *indx, err); in icp_native_init_one_node() 301 if (icp_native_map_one_cpu(*indx, r.start, resource_size(&r))) in icp_native_init_one_node() 304 (*indx)++; in icp_native_init_one_node() 324 u32 indx = 0; in icp_native_init() local 328 if (icp_native_init_one_node(np, &indx) == 0) in icp_native_init() 333 if (icp_native_init_one_node(np, &indx) == 0) in icp_native_init()
|
/openbmc/qemu/target/avr/ |
H A D | disas.c | 30 static int to_regs_16_31_by_one(DisasContext *ctx, int indx) in to_regs_16_31_by_one() argument 32 return 16 + (indx % 16); in to_regs_16_31_by_one() 35 static int to_regs_16_23_by_one(DisasContext *ctx, int indx) in to_regs_16_23_by_one() argument 37 return 16 + (indx % 8); in to_regs_16_23_by_one() 40 static int to_regs_24_30_by_two(DisasContext *ctx, int indx) in to_regs_24_30_by_two() argument 42 return 24 + (indx % 4) * 2; in to_regs_24_30_by_two() 45 static int to_regs_00_30_by_two(DisasContext *ctx, int indx) in to_regs_00_30_by_two() argument 47 return (indx % 16) * 2; in to_regs_00_30_by_two()
|
/openbmc/linux/drivers/net/ppp/ |
H A 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() 491 db->dict[indx].cptr = 0; in bsd_init() 702 int indx; in bsd_compress() local 716 indx = dictp2->cptr; in bsd_compress() 1056 int hval, disp, indx; in bsd_decompress() local [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | coretemp.c | 573 static void coretemp_remove_core(struct platform_data *pdata, int indx) in coretemp_remove_core() argument 575 struct temp_data *tdata = pdata->core_data[indx]; in coretemp_remove_core() 584 kfree(pdata->core_data[indx]); in coretemp_remove_core() 585 pdata->core_data[indx] = NULL; in coretemp_remove_core() 587 if (indx >= BASE_SYSFS_ATTR_NO) in coretemp_remove_core() 588 ida_free(&pdata->ida, indx - BASE_SYSFS_ATTR_NO); in coretemp_remove_core() 701 int i, indx = -1, target; in coretemp_cpu_offline() local 714 indx = i + BASE_SYSFS_ATTR_NO; in coretemp_cpu_offline() 720 if (indx < 0) in coretemp_cpu_offline() 723 tdata = pd->core_data[indx]; in coretemp_cpu_offline() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | aha1542.c | 741 struct device *pdev, int indx) in aha1542_hw_init() argument 743 unsigned int base_io = io[indx]; in aha1542_hw_init() 768 aha1542_set_bus_times(sh, bus_on[indx], bus_off[indx], dma_speed[indx]); in aha1542_hw_init() 1089 int indx; in aha1542_pnp_probe() local 1092 for (indx = 0; indx < ARRAY_SIZE(io); indx++) { in aha1542_pnp_probe() 1093 if (io[indx]) in aha1542_pnp_probe() 1099 io[indx] = pnp_port_start(pdev, 0); in aha1542_pnp_probe() 1106 dev_info(&pdev->dev, "ISAPnP found an AHA1535 at I/O 0x%03X", io[indx]); in aha1542_pnp_probe() 1109 sh = aha1542_hw_init(&driver_template, &pdev->dev, indx); in aha1542_pnp_probe()
|
/openbmc/linux/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma.h | 556 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()
|
/openbmc/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | main.c | 301 int indx; in bnxt_re_stop_irq() local 303 for (indx = BNXT_RE_NQ_IDX; indx < rdev->num_msix; indx++) { in bnxt_re_stop_irq() 304 nq = &rdev->nq[indx - 1]; in bnxt_re_stop_irq() 317 int indx, rc; in bnxt_re_start_irq() local 332 for (indx = 0; indx < rdev->num_msix; indx++) in bnxt_re_start_irq() 333 rdev->en_dev->msix_entries[indx].vector = ent[indx].vector; in bnxt_re_start_irq() 341 for (indx = BNXT_RE_NQ_IDX ; indx < rdev->num_msix; indx++) { in bnxt_re_start_irq() 342 nq = &rdev->nq[indx - 1]; in bnxt_re_start_irq() 343 rc = bnxt_qplib_nq_start_irq(nq, indx - 1, in bnxt_re_start_irq() 344 msix_ent[indx].vector, false); in bnxt_re_start_irq() [all …]
|
H A D | qplib_fp.h | 623 int indx; in bnxt_qplib_calc_ilsize() local 625 for (indx = 0; indx < wqe->num_sge; indx++) in bnxt_qplib_calc_ilsize() 626 size += wqe->sg_list[indx].size; in bnxt_qplib_calc_ilsize()
|
H A D | qplib_res.h | 352 u32 indx, u64 *pg) in bnxt_qplib_get_qe() argument 356 pg_num = (indx / hwq->qe_ppg); in bnxt_qplib_get_qe() 357 pg_idx = (indx % hwq->qe_ppg); in bnxt_qplib_get_qe()
|
H A D | qplib_fp.c | 807 int indx; in bnxt_qplib_alloc_init_swq() local 815 for (indx = 0; indx < que->max_wqe; indx++) in bnxt_qplib_alloc_init_swq() 816 que->swq[indx].next_idx = indx + 1; in bnxt_qplib_alloc_init_swq() 1672 int indx; in bnxt_qplib_put_inline() local 1676 for (indx = 0; indx < wqe->num_sge; indx++) { in bnxt_qplib_put_inline() 1677 len = wqe->sg_list[indx].size; in bnxt_qplib_put_inline() 1678 il_src = (void *)wqe->sg_list[indx].addr; in bnxt_qplib_put_inline() 1712 int indx, len = 0; in bnxt_qplib_put_sges() local 1714 for (indx = 0; indx < nsge; indx++, (*idx)++) { in bnxt_qplib_put_sges() 1718 dsge->size = cpu_to_le32(ssge[indx].size); in bnxt_qplib_put_sges() [all …]
|
/openbmc/linux/drivers/net/usb/ |
H A D | rtl8150.c | 153 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 D | pegasus.c | 103 PEGASUS_REQT_READ, 0, indx, data, size, in get_registers() 107 static int set_registers(pegasus_t *pegasus, __u16 indx, __u16 size, in set_registers() argument 113 PEGASUS_REQT_WRITE, 0, indx, data, size, in set_registers() 126 static int set_register(pegasus_t *pegasus, __u16 indx, __u8 data) in set_register() argument 132 PEGASUS_REQT_WRITE, data, indx, buf, 1, in set_register() 175 static int __mii_op(pegasus_t *p, __u8 phy, __u8 indx, __u16 *regd, __u8 cmd) in __mii_op() argument 179 __u8 data[4] = { phy, 0, 0, indx }; in __mii_op() 187 set_register(p, PhyCtrl, (indx | cmd)); in __mii_op() 212 static int read_mii_word(pegasus_t *pegasus, __u8 phy, __u8 indx, __u16 *regd) in read_mii_word() argument 214 return __mii_op(pegasus, phy, indx, regd, PHY_READ); in read_mii_word() [all …]
|
/openbmc/linux/tools/perf/util/cs-etm-decoder/ |
H A D | cs-etm-decoder.c | 308 const ocsd_trc_index_t indx) in cs_etm_decoder__do_hard_timestamp() argument 351 indx); in cs_etm_decoder__do_hard_timestamp() 359 pr_err("Timestamp calculation underflow at Idx:%" OCSD_TRC_IDX_STR "\n", indx); in cs_etm_decoder__do_hard_timestamp() 582 const ocsd_trc_index_t indx, in cs_etm_decoder__gen_trace_elem_printer() argument 620 indx); in cs_etm_decoder__gen_trace_elem_printer() 777 u64 indx, const u8 *buf, in cs_etm_decoder__process_data_block() argument 797 indx + processed, in cs_etm_decoder__process_data_block()
|
H A D | cs-etm-decoder.h | 91 u64 indx, const u8 *buf,
|
/openbmc/linux/drivers/target/ |
H A D | target_core_stat.c | 71 CONFIGFS_ATTR_RO(target_stat_, indx); 160 CONFIGFS_ATTR_RO(target_stat_tgt_, indx); 344 CONFIGFS_ATTR_RO(target_stat_lu_, indx); 496 CONFIGFS_ATTR_RO(target_stat_port_, indx); 672 CONFIGFS_ATTR_RO(target_stat_tgt_port_, indx); 800 CONFIGFS_ATTR_RO(target_stat_transport_, indx); 1144 CONFIGFS_ATTR_RO(target_stat_auth_, indx); 1331 CONFIGFS_ATTR_RO(target_stat_iport_, indx);
|
/openbmc/linux/arch/x86/lib/ |
H A D | insn-eval.c | 1153 long base, indx; in get_eff_addr_sib() local 1193 indx = 0; in get_eff_addr_sib() 1197 indx = regs_get_register(regs, indx_offset); in get_eff_addr_sib() 1203 idx32 = indx & 0xffffffff; in get_eff_addr_sib() 1210 *eff_addr = base + indx * (1 << X86_SIB_SCALE(insn->sib.value)); in get_eff_addr_sib()
|
/openbmc/linux/drivers/staging/rtl8192u/ |
H A D | r8192U_core.c | 228 indx | 0xfe00, 0, usbdata, 1, 500); in write_nic_byte_E() 250 indx | 0xfe00, 0, usbdata, 1, 500); in read_nic_byte_E() 263 int write_nic_byte(struct net_device *dev, int indx, u8 data) in write_nic_byte() argument 277 (indx & 0xff) | 0xff00, (indx >> 8) & 0x0f, in write_nic_byte() 303 (indx & 0xff) | 0xff00, (indx >> 8) & 0x0f, in write_nic_word() 329 (indx & 0xff) | 0xff00, (indx >> 8) & 0x0f, in write_nic_dword() 341 int read_nic_byte(struct net_device *dev, int indx, u8 *data) in read_nic_byte() argument 353 (indx & 0xff) | 0xff00, (indx >> 8) & 0x0f, in read_nic_byte() 378 (indx & 0xff) | 0xff00, (indx >> 8) & 0x0f, in read_nic_word() 403 indx | 0xfe00, 0, usbdata, 2, 500); in read_nic_word_E() [all …]
|
/openbmc/linux/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_main.c | 955 enum hpre_ctrl_dbgfs_file type, int indx) in hpre_create_debugfs_file() argument 969 spin_lock_init(&dbg->files[indx].lock); in hpre_create_debugfs_file() 970 dbg->files[indx].debug = dbg; in hpre_create_debugfs_file() 971 dbg->files[indx].type = type; in hpre_create_debugfs_file() 972 dbg->files[indx].index = indx; in hpre_create_debugfs_file() 974 dbg->files + indx, &hpre_ctrl_debug_fops); in hpre_create_debugfs_file()
|