Searched refs:p_msg (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/media/common/siano/
H A Dsmscoreapi.c1962 } *p_msg; smscore_gpio_configure() local
1978 p_msg = (struct set_gpio_msg *) SMS_ALIGN_ADDRESS(buffer); smscore_gpio_configure()
1980 p_msg->x_msg_header.msg_src_id = DVBT_BDA_CONTROL_MSG_ID; smscore_gpio_configure()
1981 p_msg->x_msg_header.msg_dst_id = HIF_TASK; smscore_gpio_configure()
1982 p_msg->x_msg_header.msg_flags = 0; smscore_gpio_configure()
1983 p_msg->x_msg_header.msg_length = (u16) total_len; smscore_gpio_configure()
1984 p_msg->msg_data[0] = pin_num; smscore_gpio_configure()
1987 p_msg->x_msg_header.msg_type = MSG_SMS_GPIO_CONFIG_REQ; smscore_gpio_configure()
1994 p_msg->msg_data[1] = translatedpin_num; smscore_gpio_configure()
1995 p_msg->msg_data[2] = group_num; smscore_gpio_configure()
2000 p_msg->msg_data[3] = electric_char; smscore_gpio_configure()
2001 p_msg->msg_data[4] = p_gpio_config->direction; smscore_gpio_configure()
2002 p_msg->msg_data[5] = group_cfg; smscore_gpio_configure()
2004 p_msg->x_msg_header.msg_type = MSG_SMS_GPIO_CONFIG_EX_REQ; smscore_gpio_configure()
2005 p_msg->msg_data[1] = p_gpio_config->pullupdown; smscore_gpio_configure()
2006 p_msg->msg_data[2] = p_gpio_config->outputslewrate; smscore_gpio_configure()
2007 p_msg->msg_data[3] = p_gpio_config->outputdriving; smscore_gpio_configure()
2008 p_msg->msg_data[4] = p_gpio_config->direction; smscore_gpio_configure()
2009 p_msg->msg_data[5] = 0; smscore_gpio_configure()
2012 rc = smscore_sendrequest_and_wait(coredev, p_msg, total_len, smscore_gpio_configure()
2037 } *p_msg; smscore_gpio_set_level() local
2050 p_msg = (struct set_gpio_msg *) SMS_ALIGN_ADDRESS(buffer); smscore_gpio_set_level()
2052 p_msg->x_msg_header.msg_src_id = DVBT_BDA_CONTROL_MSG_ID; smscore_gpio_set_level()
2053 p_msg->x_msg_header.msg_dst_id = HIF_TASK; smscore_gpio_set_level()
2054 p_msg->x_msg_header.msg_flags = 0; smscore_gpio_set_level()
2055 p_msg->x_msg_header.msg_type = MSG_SMS_GPIO_SET_LEVEL_REQ; smscore_gpio_set_level()
2056 p_msg->x_msg_header.msg_length = (u16) total_len; smscore_gpio_set_level()
2057 p_msg->msg_data[0] = pin_num; smscore_gpio_set_level()
2058 p_msg->msg_data[1] = new_level; smscore_gpio_set_level()
2061 rc = smscore_sendrequest_and_wait(coredev, p_msg, total_len, smscore_gpio_set_level()
2085 } *p_msg; smscore_gpio_get_level() local
2098 p_msg = (struct set_gpio_msg *) SMS_ALIGN_ADDRESS(buffer); smscore_gpio_get_level()
2100 p_msg->x_msg_header.msg_src_id = DVBT_BDA_CONTROL_MSG_ID; smscore_gpio_get_level()
2101 p_msg->x_msg_header.msg_dst_id = HIF_TASK; smscore_gpio_get_level()
2102 p_msg->x_msg_header.msg_flags = 0; smscore_gpio_get_level()
2103 p_msg->x_msg_header.msg_type = MSG_SMS_GPIO_GET_LEVEL_REQ; smscore_gpio_get_level()
2104 p_msg->x_msg_header.msg_length = (u16) total_len; smscore_gpio_get_level()
2105 p_msg->msg_data[0] = pin_num; smscore_gpio_get_level()
2106 p_msg->msg_data[1] = 0; smscore_gpio_get_level()
2109 rc = smscore_sendrequest_and_wait(coredev, p_msg, total_len, smscore_gpio_get_level()
/linux-4.4.14/drivers/i2c/busses/
H A Di2c-cadence.c126 * @p_msg: Message pointer
146 struct i2c_msg *p_msg; member in struct:cdns_i2c
287 cdns_i2c_writereg(id->p_msg->addr & CDNS_I2C_ADDR_MASK, cdns_i2c_isr()
365 id->p_recv_buf = id->p_msg->buf; cdns_i2c_mrecv()
366 id->recv_count = id->p_msg->len; cdns_i2c_mrecv()
372 if (id->p_msg->flags & I2C_M_RECV_LEN) cdns_i2c_mrecv()
406 ((id->p_msg->flags & I2C_M_RECV_LEN) != I2C_M_RECV_LEN) && cdns_i2c_mrecv()
410 cdns_i2c_writereg(id->p_msg->addr & CDNS_I2C_ADDR_MASK, cdns_i2c_mrecv()
427 id->p_send_buf = id->p_msg->buf; cdns_i2c_msend()
428 id->send_count = id->p_msg->len; cdns_i2c_msend()
472 cdns_i2c_writereg(id->p_msg->addr & CDNS_I2C_ADDR_MASK, cdns_i2c_msend()
513 id->p_msg = msg; cdns_i2c_process_msg()

Completed in 106 milliseconds