Home
last modified time | relevance | path

Searched refs:req_channel (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/iio/adc/
H A Dmcp3422.c135 u8 req_channel = channel->channel; in mcp3422_read_channel() local
139 if (req_channel != MCP3422_CHANNEL(adc->config)) { in mcp3422_read_channel()
142 config |= MCP3422_CHANNEL_VALUE(req_channel); in mcp3422_read_channel()
144 config |= MCP3422_PGA_VALUE(adc->pga[req_channel]); in mcp3422_read_channel()
201 u8 req_channel = channel->channel; in mcp3422_write_raw() local
212 adc->pga[req_channel] = i; in mcp3422_write_raw()
215 config |= MCP3422_CHANNEL_VALUE(req_channel); in mcp3422_write_raw()
217 config |= MCP3422_PGA_VALUE(adc->pga[req_channel]); in mcp3422_write_raw()
245 config |= MCP3422_CHANNEL_VALUE(req_channel); in mcp3422_write_raw()
/openbmc/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_pro.c232 u8 req_data_type, req_channel; in pcan_usb_pro_wait_rsp() local
241 req_channel = pum->u.rec_buffer[5]; in pcan_usb_pro_wait_rsp()
295 else if ((req_channel != 0xff) && in pcan_usb_pro_wait_rsp()
296 (pr->bus_act.channel != req_channel)) in pcan_usb_pro_wait_rsp()