Home
last modified time | relevance | path

Searched refs:app_id (Results 1 – 11 of 11) sorted by relevance

/drivers/iio/accel/
Dmma9551_core.c72 u8 app_id; member
87 u8 app_id; member
109 u8 app_id, u8 command, u16 offset, in mma9551_transfer() argument
126 req.app_id = app_id; in mma9551_transfer()
173 if (rsp.app_id != app_id) { in mma9551_transfer()
176 rsp.app_id, app_id); in mma9551_transfer()
216 int mma9551_read_config_byte(struct i2c_client *client, u8 app_id, in mma9551_read_config_byte() argument
219 return mma9551_transfer(client, app_id, MMA9551_CMD_READ_CONFIG, in mma9551_read_config_byte()
241 int mma9551_write_config_byte(struct i2c_client *client, u8 app_id, in mma9551_write_config_byte() argument
244 return mma9551_transfer(client, app_id, MMA9551_CMD_WRITE_CONFIG, reg, in mma9551_write_config_byte()
[all …]
Dmma9551_core.h41 int mma9551_read_config_byte(struct i2c_client *client, u8 app_id,
43 int mma9551_write_config_byte(struct i2c_client *client, u8 app_id,
45 int mma9551_read_status_byte(struct i2c_client *client, u8 app_id,
47 int mma9551_read_config_word(struct i2c_client *client, u8 app_id,
49 int mma9551_write_config_word(struct i2c_client *client, u8 app_id,
51 int mma9551_read_status_word(struct i2c_client *client, u8 app_id,
53 int mma9551_read_config_words(struct i2c_client *client, u8 app_id,
55 int mma9551_read_status_words(struct i2c_client *client, u8 app_id,
57 int mma9551_write_config_words(struct i2c_client *client, u8 app_id,
59 int mma9551_update_config_bits(struct i2c_client *client, u8 app_id,
[all …]
/drivers/misc/genwqe/
Dcard_sysfs.c63 u64 slu_id, app_id; in version_show() local
67 app_id = __genwqe_readq(cd, IO_APP_UNITCFG); in version_show()
69 return sprintf(buf, "%016llx.%016llx\n", slu_id, app_id); in version_show()
Dcard_debugfs.c287 u64 app_id, slu_id, bitstream = -1; in info_show() local
291 app_id = __genwqe_readq(cd, IO_APP_UNITCFG); in info_show()
306 cd->card_idx, slu_id, app_id, in info_show()
Dcard_utils.c138 u32 app_id = (u32)cd->app_unitcfg; in genwqe_read_app_id() local
142 char ch = (char)((app_id >> (24 - j*8)) & 0xff); in genwqe_read_app_id()
Dcard_dev.c582 *(__be64 *)&req->__asiv[96] = cpu_to_be64(load->app_id); in do_flash_update()
594 *(__be64 *)&req->asiv[88] = cpu_to_be64(load->app_id); in do_flash_update()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c783 static int __cxgb4_getapp(struct net_device *dev, u8 app_idtype, u16 app_id, in __cxgb4_getapp() argument
811 if (be16_to_cpu(pcmd.u.dcb.app_priority.protocolid) == app_id) in __cxgb4_getapp()
826 static int cxgb4_getapp(struct net_device *dev, u8 app_idtype, u16 app_id) in cxgb4_getapp() argument
830 app_idtype : 3, app_id, 0); in cxgb4_getapp()
835 static int __cxgb4_setapp(struct net_device *dev, u8 app_idtype, u16 app_id, in __cxgb4_setapp() argument
862 if (be16_to_cpu(pcmd.u.dcb.app_priority.protocolid) == app_id) { in __cxgb4_setapp()
884 pcmd.u.dcb.app_priority.protocolid = cpu_to_be16(app_id); in __cxgb4_setapp()
900 static int cxgb4_setapp(struct net_device *dev, u8 app_idtype, u16 app_id, in cxgb4_setapp() argument
906 .protocol = app_id, in cxgb4_setapp()
916 app_idtype : 3, app_id, app_prio); in cxgb4_setapp()
/drivers/staging/isdn/hysdn/
Dhycapi.c49 static inline int _hycapi_appCheck(int app_id, int ctrl_no) in _hycapi_appCheck() argument
51 if ((ctrl_no <= 0) || (ctrl_no > CAPI_MAXCONTR) || (app_id <= 0) || in _hycapi_appCheck()
52 (app_id > CAPI_MAXAPPL)) in _hycapi_appCheck()
54 printk(KERN_ERR "HYCAPI: Invalid request app_id %d for controller %d", app_id, ctrl_no); in _hycapi_appCheck()
57 return ((hycapi_applications[app_id - 1].ctrl_mask & (1 << (ctrl_no-1))) != 0); in _hycapi_appCheck()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c162 i, features->app.app_pri_tbl[i].app_id); in bnx2x_dump_dcbx_drv_param()
230 TCP_PORT_ISCSI == entry[index].app_id) { in bnx2x_dcbx_get_ap_feature()
235 ETH_TYPE_FCOE == entry[index].app_id) { in bnx2x_dcbx_get_ap_feature()
716 app.protocol = ent->app_id; in bnx2x_dcbnl_update_applist()
920 if ((ETH_TYPE_FCOE == table[i].app_id) && in bnx2x_dcbx_admin_mib_updated_params()
923 else if ((TCP_PORT_ISCSI == table[i].app_id) && in bnx2x_dcbx_admin_mib_updated_params()
929 af->app.app_pri_tbl[traf_type].app_id = in bnx2x_dcbx_admin_mib_updated_params()
930 table[i].app_id; in bnx2x_dcbx_admin_mib_updated_params()
2271 app_ent->app_id = idval; in bnx2x_admin_app_set_ent()
2294 if (app_ent->app_id != idval) in bnx2x_admin_app_is_equal()
[all …]
Dbnx2x_dcb.h92 u32 app_id; member
Dbnx2x_hsi.h1828 u16 app_id; member
1849 u16 app_id;