Searched refs:cmd_hd (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/hwmon/ |
| H A D | nct6694-hwmon.c | 246 struct nct6694_cmd_header cmd_hd; in nct6694_in_read() local 259 cmd_hd = (struct nct6694_cmd_header) { in nct6694_in_read() 264 ret = nct6694_read_msg(data->nct6694, &cmd_hd, in nct6694_in_read() 273 cmd_hd = (struct nct6694_cmd_header) { in nct6694_in_read() 279 ret = nct6694_read_msg(data->nct6694, &cmd_hd, in nct6694_in_read() 288 cmd_hd = (struct nct6694_cmd_header) { in nct6694_in_read() 294 ret = nct6694_read_msg(data->nct6694, &cmd_hd, in nct6694_in_read() 303 cmd_hd = (struct nct6694_cmd_header) { in nct6694_in_read() 308 ret = nct6694_read_msg(data->nct6694, &cmd_hd, in nct6694_in_read() 325 struct nct6694_cmd_header cmd_hd; in nct6694_temp_read() local [all …]
|
| /linux/drivers/gpio/ |
| H A D | gpio-nct6694.c | 56 const struct nct6694_cmd_header cmd_hd = { in nct6694_get_direction() local 65 ret = nct6694_read_msg(data->nct6694, &cmd_hd, &data->reg_val); in nct6694_get_direction() 75 const struct nct6694_cmd_header cmd_hd = { in nct6694_direction_input() local 84 ret = nct6694_read_msg(data->nct6694, &cmd_hd, &data->reg_val); in nct6694_direction_input() 90 return nct6694_write_msg(data->nct6694, &cmd_hd, &data->reg_val); in nct6694_direction_input() 97 struct nct6694_cmd_header cmd_hd = { in nct6694_direction_output() local 107 ret = nct6694_read_msg(data->nct6694, &cmd_hd, &data->reg_val); in nct6694_direction_output() 112 ret = nct6694_write_msg(data->nct6694, &cmd_hd, &data->reg_val); in nct6694_direction_output() 117 cmd_hd.offset = cpu_to_le16(NCT6694_GPO_DATA + data->group); in nct6694_direction_output() 118 ret = nct6694_read_msg(data->nct6694, &cmd_hd, &data->reg_val); in nct6694_direction_output() [all …]
|
| /linux/drivers/net/can/usb/ |
| H A D | nct6694_canfd.c | 213 const struct nct6694_cmd_header cmd_hd = { in nct6694_canfd_handle_rx() local 222 ret = nct6694_read_msg(priv->nct6694, &cmd_hd, frame); in nct6694_canfd_handle_rx() 385 const struct nct6694_cmd_header cmd_hd = { in nct6694_canfd_irq() local 394 ret = nct6694_read_msg(priv->nct6694, &cmd_hd, priv->event); in nct6694_canfd_irq() 442 static const struct nct6694_cmd_header cmd_hd = { in nct6694_canfd_tx_work() local 491 err = nct6694_write_msg(priv->nct6694, &cmd_hd, frame); in nct6694_canfd_tx_work() 521 const struct nct6694_cmd_header cmd_hd = { in nct6694_canfd_start() local 574 ret = nct6694_write_msg(priv->nct6694, &cmd_hd, setting); in nct6694_canfd_start() 587 const struct nct6694_cmd_header cmd_hd = { in nct6694_canfd_stop() local 603 nct6694_read_msg(priv->nct6694, &cmd_hd, setting); in nct6694_canfd_stop() [all …]
|