| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
| H A D | gf119.c | 58 int indx = pwm_info(therm, line); in gf119_fan_pwm_ctrl() local 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() 71 int indx = pwm_info(therm, line); in gf119_fan_pwm_get() local 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() 76 *divs = nvkm_rd32(device, 0x00e114 + (indx * 8)); in gf119_fan_pwm_get() 77 *duty = nvkm_rd32(device, 0x00e118 + (indx * 8)); in gf119_fan_pwm_get() [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()
|
| /linux/fs/ntfs3/ |
| H A D | index.c | 204 static int bmp_buf_get(struct ntfs_index *indx, struct ntfs_inode *ni, in bmp_buf_get() argument 215 const struct INDEX_NAMES *in = &s_index_names[indx->type]; in bmp_buf_get() 246 bh = ntfs_bread_run(sbi, &indx->bitmap_run, off); in bmp_buf_get() 314 static int indx_mark_used(struct ntfs_index *indx, struct ntfs_inode *ni, in indx_mark_used() argument 320 err = bmp_buf_get(indx, ni, bit, &bbuf); in indx_mark_used() 334 static int indx_mark_free(struct ntfs_index *indx, struct ntfs_inode *ni, in indx_mark_free() argument 340 err = bmp_buf_get(indx, ni, bit, &bbuf); in indx_mark_free() 359 struct ntfs_index *indx, size_t from, in scan_nres_bitmap() argument 366 struct runs_tree *run = &indx->bitmap_run; in scan_nres_bitmap() 367 struct rw_semaphore *lock = &indx->run_lock; in scan_nres_bitmap() [all …]
|
| H A D | fsntfs.c | 1996 struct ntfs_index *indx = &sbi->security.index_sii; in ntfs_get_security_by_id() local 2014 root_sii = indx_get_root(indx, ni, NULL, NULL); in ntfs_get_security_by_id() 2021 err = indx_find(indx, ni, root_sii, &security_id, sizeof(security_id), in ntfs_get_security_by_id() 2297 struct ntfs_index *indx = &sbi->reparse.index_r; in ntfs_reparse_init() local 2320 err = indx_init(indx, sbi, attr, INDEX_MUTEX_SR); in ntfs_reparse_init() 2335 struct ntfs_index *indx = &sbi->objid.index_o; in ntfs_objid_init() local 2358 err = indx_init(indx, sbi, attr, INDEX_MUTEX_SO); in ntfs_objid_init() 2370 struct ntfs_index *indx = &sbi->objid.index_o; in ntfs_objid_remove() local 2377 err = indx_delete_entry(indx, ni, guid, sizeof(*guid), NULL); in ntfs_objid_remove() 2390 struct ntfs_index *indx = &sbi->reparse.index_r; in ntfs_insert_reparse() local [all …]
|
| H A D | ntfs_fs.h | 748 int indx_used_bit(struct ntfs_index *indx, struct ntfs_inode *ni, size_t *bit); 762 int indx_init(struct ntfs_index *indx, struct ntfs_sb_info *sbi, 764 struct INDEX_ROOT *indx_get_root(struct ntfs_index *indx, struct ntfs_inode *ni, 773 int indx_find(struct ntfs_index *indx, struct ntfs_inode *dir, 777 int indx_find_sort(struct ntfs_index *indx, struct ntfs_inode *ni, 780 int indx_find_raw(struct ntfs_index *indx, struct ntfs_inode *ni, 783 int indx_insert_entry(struct ntfs_index *indx, struct ntfs_inode *ni, 786 int indx_delete_entry(struct ntfs_index *indx, struct ntfs_inode *ni,
|
| /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()
|
| /linux/drivers/net/ppp/ |
| H A D | bsd_comp.c | 466 int indx; in bsd_init() local 478 indx = LAST; in bsd_init() 481 db->lens[indx] = 1; in bsd_init() 483 while (indx-- > 0); in bsd_init() 486 indx = db->hsize; in bsd_init() 487 while (indx-- != 0) in bsd_init() 489 db->dict[indx].codem1 = BADCODEM1; in bsd_init() 490 db->dict[indx].cptr = 0; in bsd_init() 701 int indx; in bsd_compress() local 715 indx = dictp2->cptr; in bsd_compress() [all …]
|
| H A D | ppp_generic.c | 1238 int indx; in ppp_dev_configure() local 1249 for (indx = 0; indx < NUM_NP; ++indx) in ppp_dev_configure() 1250 ppp->npmode[indx] = NPMODE_PASS; in ppp_dev_configure()
|
| /linux/drivers/net/usb/ |
| H A D | rtl8150.c | 159 static int get_registers(rtl8150_t * dev, u16 indx, u16 size, void *data) in get_registers() argument 162 RTL8150_REQT_READ, indx, 0, data, size, in get_registers() 166 static int set_registers(rtl8150_t * dev, u16 indx, u16 size, const void *data) in set_registers() argument 169 RTL8150_REQT_WRITE, indx, 0, data, size, in set_registers() 184 static int async_set_registers(rtl8150_t *dev, u16 indx, u16 size, u16 reg) in async_set_registers() argument 202 req->dr.wValue = cpu_to_le16(indx); in async_set_registers() 218 static int read_mii_word(rtl8150_t * dev, u8 phy, __u8 indx, u16 * reg) in read_mii_word() argument 225 tmp = indx | PHY_READ | PHY_GO; in read_mii_word() 242 static int write_mii_word(rtl8150_t * dev, u8 phy, __u8 indx, u16 reg) in write_mii_word() argument 250 tmp = indx | PHY_WRITE | PHY_GO; in write_mii_word()
|
| /linux/tools/perf/util/cs-etm-decoder/ |
| H A D | cs-etm-decoder.c | 289 const ocsd_trc_index_t indx) in cs_etm_decoder__do_hard_timestamp() argument 332 indx); in cs_etm_decoder__do_hard_timestamp() 340 pr_err("Timestamp calculation underflow at Idx:%" OCSD_TRC_IDX_STR "\n", indx); in cs_etm_decoder__do_hard_timestamp() 578 const ocsd_trc_index_t indx, in cs_etm_decoder__gen_trace_elem_printer() 612 indx); in cs_etm_decoder__create_etm_decoder() 749 u64 indx, const u8 *buf, in cs_etm_decoder__process_data_block() 769 indx + processed, in cs_etm_decoder__process_data_block() 567 cs_etm_decoder__gen_trace_elem_printer(const void * context,const ocsd_trc_index_t indx,const u8 trace_chan_id __maybe_unused,const ocsd_generic_trace_elem * elem) cs_etm_decoder__gen_trace_elem_printer() argument 738 cs_etm_decoder__process_data_block(struct cs_etm_decoder * decoder,u64 indx,const u8 * buf,size_t len,size_t * consumed) cs_etm_decoder__process_data_block() argument
|
| H A D | cs-etm-decoder.h | 91 u64 indx, const u8 *buf,
|
| /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); 348 CONFIGFS_ATTR_RO(target_stat_lu_, indx); 500 CONFIGFS_ATTR_RO(target_stat_port_, indx); 653 CONFIGFS_ATTR_RO(target_stat_tgt_port_, indx); 781 CONFIGFS_ATTR_RO(target_stat_transport_, indx); 1091 CONFIGFS_ATTR_RO(target_stat_auth_, indx); 1278 CONFIGFS_ATTR_RO(target_stat_iport_, indx);
|
| /linux/drivers/target/iscsi/ |
| H A D | iscsi_target_stat.c | 364 CONFIGFS_ATTR_RO(iscsi_stat_tgt_attr_, indx); 496 CONFIGFS_ATTR_RO(iscsi_stat_login_, indx); 561 CONFIGFS_ATTR_RO(iscsi_stat_logout_, indx); 774 CONFIGFS_ATTR_RO(iscsi_stat_sess_, indx);
|
| /linux/net/rds/ |
| H A D | send.c | 992 if (vct->indx >= vct->len) { in rds_rm_size() 1002 iov = &vct->vec[vct->indx]; in rds_rm_size() 1004 vct->indx++; in rds_rm_size() 1081 if (ind >= vct->indx) in rds_cmsg_send() 1460 for (ind = 0; ind < vct.indx; ind++) in rds_sendmsg() 1467 for (ind = 0; ind < vct.indx; ind++) in rds_sendmsg()
|
| H A D | rds.h | 420 int indx; member
|
| /linux/drivers/infiniband/hw/ocrdma/ |
| H A D | ocrdma_hw.c | 2924 int status = -EINVAL, indx, slindx; in ocrdma_parse_dcbxcfg_rsp() local 2955 for (indx = 0; indx < ventry_cnt; indx++) { in ocrdma_parse_dcbxcfg_rsp() 2956 app_param = &dcbxcfg->app_param[indx]; in ocrdma_parse_dcbxcfg_rsp() 2998 int status = 0, indx; in ocrdma_init_service_level() local 3003 for (indx = 0; indx < 2; indx++) { in ocrdma_init_service_level()
|
| /linux/arch/x86/kernel/apic/ |
| H A D | x2apic_uv_x.c | 580 int bytes, i, sid, lsid = -1, indx = 0, lindx = -1; in build_uv_gr_table() local 611 grt = &_gr_table[indx]; in build_uv_gr_table() 616 lindx = indx++; in build_uv_gr_table()
|
| /linux/drivers/video/fbdev/aty/ |
| H A D | radeon_pm.c | 549 static void OUTMC( struct radeonfb_info *rinfo, u8 indx, u32 value) in OUTMC() argument 551 OUTREG( MC_IND_INDEX, indx | MC_IND_INDEX__MC_IND_WR_EN); in OUTMC() 555 static u32 INMC(struct radeonfb_info *rinfo, u8 indx) in INMC() argument 557 OUTREG( MC_IND_INDEX, indx); in INMC()
|
| /linux/drivers/scsi/ |
| H A D | ips.c | 1773 ips_scb_t * scb, int indx, unsigned int e_len) in ips_fill_scb_sg_single() argument 1780 scb->breakup = indx; in ips_fill_scb_sg_single() 1788 scb->sg_list.enh_list[indx].address_lo = in ips_fill_scb_sg_single() 1790 scb->sg_list.enh_list[indx].address_hi = in ips_fill_scb_sg_single() 1792 scb->sg_list.enh_list[indx].length = cpu_to_le32(e_len); in ips_fill_scb_sg_single() 1794 scb->sg_list.std_list[indx].address = in ips_fill_scb_sg_single() 1796 scb->sg_list.std_list[indx].length = cpu_to_le32(e_len); in ips_fill_scb_sg_single()
|